mirror of
https://github.com/DMOJ/online-judge.git
synced 2024-11-25 16:32:37 +08:00
c126f07fe7
This reverts commits: -2035e606f3
-ce1196f74f
Since they do not interact well with dark mode.
44 lines
854 B
SCSS
44 lines
854 B
SCSS
@import "vars";
|
|
|
|
div.dmmd-preview {
|
|
padding: 0;
|
|
}
|
|
|
|
div.dmmd-preview-update {
|
|
background: $color_primary25;
|
|
color: $color_primary75;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
border-radius: 4px;
|
|
height: 2em;
|
|
line-height: 2em;
|
|
}
|
|
|
|
div.dmmd-preview-content {
|
|
padding: 0 7px;
|
|
}
|
|
|
|
div.dmmd-preview.dmmd-preview-has-content div.dmmd-preview-update {
|
|
border-radius: 4px 4px 0 0;
|
|
}
|
|
|
|
div.dmmd-preview-has-content div.dmmd-preview-content {
|
|
padding-bottom: 7px;
|
|
}
|
|
|
|
div.dmmd-no-button div.dmmd-preview-update {
|
|
display: none;
|
|
}
|
|
|
|
div.dmmd-no-button div.dmmd-preview-content {
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
div.dmmd-no-button:not(.dmmd-preview-has-content) {
|
|
display: none;
|
|
}
|
|
|
|
div.dmmd-preview-stale {
|
|
background: repeating-linear-gradient(-45deg, $color_primary0, $color_primary0 10px, $color_primary5 10px, $color_primary5 20px);
|
|
}
|