diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2011-03-09 18:49:11 -0500 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2011-03-09 18:49:11 -0500 |
commit | 38e2cfe110db43fb08e5f639f32ba3cd463fc958 (patch) | |
tree | c1a9bbc193b492573d97ce7dbded0aa31132f5c0 /GradeBook.scss | |
parent | 7c8e4cf4c879192b5b6ae3c083fc7ad1b3c2a432 (diff) | |
download | GradeBook-38e2cfe110db43fb08e5f639f32ba3cd463fc958.tar.gz GradeBook-38e2cfe110db43fb08e5f639f32ba3cd463fc958.zip |
added styles for column controls
Ignore-this: 6ea280399828b52fe87bf430ba101849
darcs-hash:20110309234911-067c0-aa5af5a776ff3cb6b02d6f8ea4e7abf5b7e511b7.gz
Diffstat (limited to 'GradeBook.scss')
-rw-r--r-- | GradeBook.scss | 21 |
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: { |