From: Matt Amos Date: Mon, 10 Nov 2014 20:05:54 +0000 (+0000) Subject: Consolidated list highlight colours to one parameter. X-Git-Tag: live~4400^2~13^2 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/91930aa4a5dbbc5a0297e72793607b87b792b478?ds=sidebyside;hp=e3062aa794b89a37b53f4b4b39ea1c985f9da82d Consolidated list highlight colours to one parameter. --- 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;