2022-11-27 15:31:39 +08:00
|
|
|
@import "vars";
|
|
|
|
|
2017-12-06 13:56:11 +08:00
|
|
|
#problem-table {
|
2023-02-08 11:37:28 +08:00
|
|
|
td, th {
|
|
|
|
// Text columns are left-aligned
|
|
|
|
&.problem, &.category, &.types {
|
2017-12-06 13:56:11 +08:00
|
|
|
text-align: left;
|
2023-02-08 14:45:26 +08:00
|
|
|
padding: 0 1rem;
|
2017-12-06 13:56:11 +08:00
|
|
|
}
|
2023-02-08 11:37:28 +08:00
|
|
|
|
|
|
|
// Numeric columns are center-aligned
|
|
|
|
&.solved, &.points, &.ac-rate, &.editorial, &.users {
|
|
|
|
padding: 0 10px;
|
2017-12-06 13:56:11 +08:00
|
|
|
}
|
|
|
|
|
2023-02-08 11:37:28 +08:00
|
|
|
&.problem {
|
|
|
|
width: 100%; // Fill up all spare space with problem titles
|
2017-12-06 13:56:11 +08:00
|
|
|
}
|
|
|
|
}
|
2023-02-08 11:37:28 +08:00
|
|
|
|
|
|
|
th a {
|
|
|
|
color: inherit;
|
|
|
|
}
|
2017-12-06 13:56:11 +08:00
|
|
|
|
|
|
|
tr {
|
|
|
|
transition: background-color linear 0.2s;
|
|
|
|
|
|
|
|
&:hover {
|
2022-11-27 15:31:39 +08:00
|
|
|
background: rgba($color_primary100, 0.05);
|
2017-12-06 13:56:11 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#filter-form {
|
|
|
|
vertical-align: top;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
margin-top: 0.75em;
|
|
|
|
|
|
|
|
a {
|
|
|
|
margin-right: 5px;
|
|
|
|
display: inline-block;
|
|
|
|
padding: 3px 10px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
vertical-align: middle;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
label {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.filter-form-group {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#content-right {
|
|
|
|
&.problems {
|
|
|
|
max-width: unset;
|
2019-10-01 12:01:22 +08:00
|
|
|
padding-top: 0;
|
2017-12-06 13:56:11 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#content-left {
|
|
|
|
&.problems {
|
2022-04-22 02:21:40 +08:00
|
|
|
flex: 3;
|
2017-12-06 13:56:11 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#search {
|
|
|
|
width: 100%;
|
|
|
|
height: 2.3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
label[for="category"], label[for="type"] {
|
|
|
|
padding-bottom: 0.25em;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
#category {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#types {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
span.type-tag {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2023-01-15 15:09:22 +08:00
|
|
|
ul.problem-list {
|
|
|
|
list-style: none;
|
|
|
|
padding-left: 1em;
|
|
|
|
padding-right: 0.5em;
|
|
|
|
|
|
|
|
li {
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-12-06 13:56:11 +08:00
|
|
|
.pi-name {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pi-name:after {
|
|
|
|
content: " ";
|
|
|
|
}
|
|
|
|
|
2019-01-05 04:31:11 +08:00
|
|
|
.authors-value, .judges-value {
|
2017-12-06 13:56:11 +08:00
|
|
|
padding-left: 1.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lang-name:after {
|
|
|
|
content: ": ";
|
|
|
|
}
|
|
|
|
|
|
|
|
.lang-limit {
|
|
|
|
margin-left: 1.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.solved-problem-color {
|
|
|
|
color: #44AD41;
|
|
|
|
}
|
|
|
|
|
|
|
|
.unsolved-problem-color {
|
|
|
|
color: #DE2121;
|
|
|
|
}
|
|
|
|
|
|
|
|
.attempted-problem-color {
|
|
|
|
color: orange;
|
|
|
|
}
|
|
|
|
|
2022-02-22 13:10:08 +08:00
|
|
|
.has-editorial-color {
|
|
|
|
color: #44AD41;
|
|
|
|
}
|
|
|
|
|
|
|
|
.no-editorial-color {
|
|
|
|
color: #DE2121;
|
|
|
|
}
|
|
|
|
|
2017-12-06 13:56:11 +08:00
|
|
|
.submissions-left {
|
2022-11-27 15:31:39 +08:00
|
|
|
color: $color_primary100;
|
2017-12-06 13:56:11 +08:00
|
|
|
font-weight: 600;
|
|
|
|
text-align: center;
|
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.no-submissions-left {
|
|
|
|
color: red;
|
|
|
|
}
|
2017-12-06 16:49:13 +08:00
|
|
|
|
2019-03-16 14:56:12 +08:00
|
|
|
.organization-tags {
|
|
|
|
padding-left: 0.75em;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.organization-tag {
|
2022-11-27 15:31:39 +08:00
|
|
|
box-shadow: inset 0 -0.1em 0 rgba($color_primary100, 0.12);
|
2019-03-16 14:56:12 +08:00
|
|
|
padding: 0.15em 0.3em;
|
|
|
|
border-radius: 0.15em;
|
|
|
|
font-weight: 600;
|
|
|
|
margin-right: 0.45em;
|
|
|
|
position: relative;
|
2022-11-27 15:31:39 +08:00
|
|
|
background-color: $color_primary25;
|
2019-03-16 14:56:12 +08:00
|
|
|
transform: translateY(+35%);
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.organization-tag a {
|
2022-11-27 15:31:39 +08:00
|
|
|
color: $color_primary100;
|
2019-03-16 14:56:12 +08:00
|
|
|
}
|
|
|
|
|
2017-12-06 16:49:13 +08:00
|
|
|
.pdf-icon {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 1.5em;
|
|
|
|
|
|
|
|
.pdf-icon-logo {
|
|
|
|
color: #d40e13;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pdf-icon-bar {
|
|
|
|
height: 0.2em;
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 0.3em;
|
|
|
|
background: #d40e13;
|
|
|
|
width: 0.6em;
|
|
|
|
margin-left: -0.15em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.license {
|
|
|
|
float: left;
|
|
|
|
font-size: 0.85em;
|
|
|
|
|
|
|
|
a {
|
2022-11-27 15:31:39 +08:00
|
|
|
color: $color_primary50;
|
2017-12-06 16:49:13 +08:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.clarify {
|
|
|
|
float: right;
|
|
|
|
}
|
2017-12-06 17:24:41 +08:00
|
|
|
|
|
|
|
#problem_submit {
|
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
.button {
|
2020-04-20 08:10:57 +08:00
|
|
|
display: inline-block !important;
|
2017-12-06 17:24:41 +08:00
|
|
|
padding: 6px 12px;
|
|
|
|
}
|
2020-04-20 08:10:57 +08:00
|
|
|
|
|
|
|
.submit-bar {
|
|
|
|
float: right;
|
|
|
|
}
|
2023-02-06 11:00:26 +08:00
|
|
|
|
|
|
|
#submit-wrapper {
|
|
|
|
margin-top: 0.7em;
|
|
|
|
|
|
|
|
#editor, #language {
|
|
|
|
margin-top: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#id_language {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#language-select2 {
|
|
|
|
&.select2-dropdown--above {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
}
|
|
|
|
|
|
|
|
.select2-results__message {
|
|
|
|
white-space: nowrap
|
|
|
|
}
|
|
|
|
|
|
|
|
.select2-results__option {
|
|
|
|
color: $color_problem_submit_select2 !important;
|
|
|
|
background: $color_primary0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.select2-results__option--highlighted {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.select2-results__option[aria-selected=true] {
|
|
|
|
font-weight: bold;
|
|
|
|
color: $color_primary100 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.select2-results__option {
|
|
|
|
padding: 4px 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.select2-results__options {
|
|
|
|
overflow-y: visible !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.select2-results__option {
|
|
|
|
break-inside: avoid-column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.select2-results {
|
|
|
|
-webkit-columns: 10 7em;
|
|
|
|
-moz-columns: 10 7em;
|
|
|
|
columns: 10 7em;
|
|
|
|
padding-left: 1.5em;
|
|
|
|
padding-top: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#result-version-info {
|
|
|
|
border-bottom: 1px solid $color_primary50;
|
|
|
|
margin: 0px 1em;
|
|
|
|
color: $color_problem_submit_select2;
|
|
|
|
font-weight: 600;
|
|
|
|
padding: 0.2em 0;
|
|
|
|
text-align: right;
|
|
|
|
}
|
2017-12-06 17:24:41 +08:00
|
|
|
}
|
2017-12-06 17:55:03 +08:00
|
|
|
|
|
|
|
@media (max-width: 550px) {
|
2020-05-07 06:55:45 +08:00
|
|
|
#problem-table tr .users {
|
2017-12-06 17:55:03 +08:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 450px) {
|
2020-05-07 06:55:45 +08:00
|
|
|
#problem-table tr .ac-rate {
|
2017-12-06 17:55:03 +08:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 350px) {
|
2020-05-07 06:55:45 +08:00
|
|
|
#problem-table tr .category {
|
2017-12-06 17:55:03 +08:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#category, #types {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
#filter-form .form-label {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
#point-slider {
|
|
|
|
margin: 30px 15px 10px;
|
|
|
|
height: 10px;
|
|
|
|
|
|
|
|
.noUi-handle {
|
|
|
|
height: 20px;
|
|
|
|
width: 16px;
|
|
|
|
left: -8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.noUi-handle:before, .noUi-handle:after {
|
|
|
|
top: 3px;
|
|
|
|
height: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.noUi-handle:before {
|
|
|
|
left: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.noUi-handle:after {
|
|
|
|
left: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.noUi-tooltip {
|
|
|
|
height: 17px;
|
|
|
|
line-height: 13px;
|
|
|
|
padding: 0 3px;
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
2019-01-05 04:31:11 +08:00
|
|
|
}
|