From 91930aa4a5dbbc5a0297e72793607b87b792b478 Mon Sep 17 00:00:00 2001 From: Matt Amos Date: Mon, 10 Nov 2014 20:05:54 +0000 Subject: [PATCH] Consolidated list highlight colours to one parameter. --- app/assets/stylesheets/common.css.scss | 8 ++++---- app/assets/stylesheets/parameters.scss | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index ad068138b..d6549e740 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -1010,7 +1010,7 @@ header .search_forms, border-bottom: $keyline; cursor: pointer; &:first-child { border-top: $keyline; } - &.selected { background: #FFFFE6; } + &.selected { background: $list-highlight; } } .search_details { @@ -1062,7 +1062,7 @@ tr.turn { cursor: pointer; } tr.turn:hover { - background: lighten($green, 30%); + background: $list-highlight; } .routing_engines, #route_from, #route_to { margin-left: 25px; } .routing_marker { width: 15px; position: absolute; } @@ -1088,7 +1088,7 @@ tr.turn:hover { border-bottom: 1px solid #ddd; cursor: pointer; - &.selected { background: #FFFFE6; } + &.selected { background: $list-highlight; } /* color is derived from changeset bbox fillColor in history.js */ } @@ -1245,7 +1245,7 @@ tr.turn:hover { } &.selected { - background: #FFFFE6; + background: $list-highlight; } } } diff --git a/app/assets/stylesheets/parameters.scss b/app/assets/stylesheets/parameters.scss index b26b29105..989444a62 100644 --- a/app/assets/stylesheets/parameters.scss +++ b/app/assets/stylesheets/parameters.scss @@ -15,3 +15,4 @@ $headerHeight: 55px; $sidebarWidth: 350px; $keyline: 1px solid $lightgrey; $border-radius: 3px; +$list-highlight: #FFFFE6; -- 2.45.1