summaryrefslogtreecommitdiff
path: root/GradeBook.scss
diff options
context:
space:
mode:
Diffstat (limited to 'GradeBook.scss')
-rw-r--r--GradeBook.scss21
1 files changed, 21 insertions, 0 deletions
diff --git a/GradeBook.scss b/GradeBook.scss
index dfa25d5..1b41dd6 100644
--- a/GradeBook.scss
+++ b/GradeBook.scss
@@ -28,6 +28,11 @@ $Unset: #cccccc;
$table_hover_bg: #ffeebb;
$controls_bg: #dddddd;
+
+$col_controls_bg: #dddddd;
+$col_controls_fg: black;
+$col_controls_dangerous_bg: red;
+$col_controls_dangerous_fg: black;
// --------- Color definitions end -------------------
// --------- Mixing definitions start -------------------
@@ -44,6 +49,13 @@ $controls_bg: #dddddd;
background-color: darken($clr,15%);
}
}
+@mixin col_control($name, $fg, $bg) {
+ span.column_control_#{$name} {
+ font-weight: bold;
+ background-color: $bg;
+ color: $fg;
+ }
+}
// --------- Mixing definitions end -------------------
body {
@@ -87,6 +99,15 @@ body {
background-color: $controls_bg;
font-weight: bold;
}
+
+ @include col_control(sort, $col_controls_fg, $col_controls_bg);
+ @include col_control(userhidecolumn, $col_controls_fg, $col_controls_bg);
+ @include col_control(deletecolumn, $col_controls_dangerous_fg, $col_controls_dangerous_bg);
+ @include col_control(changegrades, $col_controls_fg, $col_controls_bg);
+ @include col_control(unhidecolfromstudents, $col_controls_fg, white);
+ @include col_control(hidecolfromstudents, $col_controls_fg, $col_controls_bg);
+ @include col_control(changecolumn, $col_controls_fg, $col_controls_bg);
+
div.changegrades {
background-color: #8f0000;
padding: {