Revert "Make dark mode headers look nicer"

This reverts commit 05c7e61c17.
This commit is contained in:
Tudor Brindus 2023-02-08 01:25:27 -05:00
parent 05c7e61c17
commit f7ab0908ec
4 changed files with 11 additions and 23 deletions

View File

@ -18,9 +18,9 @@
th {
height: 2em;
color: $color_header_text;
background-color: $color_header_bg;
border-color: $color_header_border;
color: $color_primary0;
background-color: $color_primary75;
border-color: $color_primary50;
border-width: 0 1px 1px 0;
border-style: solid;
padding: 4px 10px;

View File

@ -18,10 +18,6 @@ $color_link75: #6bf; // default
$color_link100: #49e; // hover
$color_link200: #d83; // active
$color_header_text: $color_primary75;
$color_header_bg: $color_primary5;
$color_header_border: $color_primary10;
$color_pageBg: #222; // #222 because some elements should be darker than pageBg
// custom one-off colours
@ -44,8 +40,6 @@ $color_user_submission_activity2: #006d32;
$color_user_submission_activity3: #26a641;
$color_user_submission_activity4: #39d353;
$color_pagination_hover: $color_primary33;
$color_problem_submit_select2: #8a8a8a;
$path_to_root: '..'; // relative path from style.css to STATIC_ROOT

View File

@ -18,10 +18,6 @@ $color_link75: #1958c1; // default
$color_link100: #0645ad; // hover
$color_link200: #faa700; // active
$color_header_text: $color_primary0;
$color_header_bg: $color_primary75;
$color_header_border: $color_primary50;
$color_pageBg: #fff;
// custom one-off colours
@ -44,8 +40,6 @@ $color_user_submission_activity2: #40c463;
$color_user_submission_activity3: #2f9c4c;
$color_user_submission_activity4: #216e39;
$color_pagination_hover: $color_primary100;
$color_problem_submit_select2: #757575;
$path_to_root: '.'; // relative path from style.css to STATIC_ROOT

View File

@ -244,7 +244,7 @@ textarea:focus {
// Bootstrap-y pagination
ul.pagination a:hover {
background: rgba($color_pagination_hover, 0.55);
background: rgba($color_primary100, 0.55);
}
ul.pagination {
@ -278,9 +278,9 @@ ul.pagination {
padding: 4px 12px;
line-height: 1.42857;
text-decoration: none;
color: $color_header_text;
background-color: $color_header_bg;
border: 1px solid $color_header_border;
color: $color_primary0;
background-color: $color_primary75;
border: 1px solid $color_primary50;
margin-left: -1px;
}
}
@ -405,9 +405,9 @@ a.close {
.sidebox h3 {
margin: 0 -5px;
background: $color_header_bg;
background: $color_primary75;
border-radius: $widget_border_radius $widget_border_radius 0 0;
color: $color_header_text;
color: $color_primary0;
padding-top: 5px;
padding-bottom: 5px;
padding-left: 7px;
@ -415,13 +415,13 @@ a.close {
}
.sidebox h3 .fa {
color: $color_header_text;
color: $color_primary0;
float: right;
margin: 0.2em 0.4em 0 0;
}
.sidebox-content {
border: 1px solid $color_header_border;
border: 1px solid $color_primary25;
border-top: none;
margin: 0 -5px;
padding: 1px 0.5em 3px;