diff options
-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); } } } |