diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2016-08-12 12:32:05 -0400 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2016-08-12 12:32:05 -0400 |
commit | 2d186dd9f77e499bf5746b2f5e17273480894dda (patch) | |
tree | e8249998101f1b3c40b87d26d84e538feef90f89 /GradeBook.scss | |
parent | e8319c89bce5d39172753d6da05721abcca95aec (diff) | |
download | GradeBook-2d186dd9f77e499bf5746b2f5e17273480894dda.tar.gz GradeBook-2d186dd9f77e499bf5746b2f5e17273480894dda.zip |
a more general color scheme for hovering
Diffstat (limited to 'GradeBook.scss')
-rw-r--r-- | GradeBook.scss | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/GradeBook.scss b/GradeBook.scss index 2fb6c2a..7308f1b 100644 --- a/GradeBook.scss +++ b/GradeBook.scss @@ -4,6 +4,8 @@ $body_padding: 0px; $body_margin: 20px; $body_font_family: Sans-Serif; +$on_hover_lighting: 5%; + $link_color_cmd_normal: black; $link_color_cmd_visited: $link_color_cmd_normal; $link_color_cmd_hover: $link_color_cmd_normal; @@ -32,7 +34,7 @@ $Participation: #cccc99; $Unset: #cccccc; $Deleted: #aaaaaa; -$table_hover_bg: #ffeebb; +$table_hover_bg: lighten($normal_bg, $on_hover_lighting); $controls_bg: #dddddd; @@ -47,7 +49,7 @@ $col_controls_dangerous_fg: black; &.#{$name} { background-color: $clr; &:hover { - background-color: $table_hover_bg; + background-color: lighten($clr, $on_hover_lighting); } } } |