]> git.openstreetmap.org Git - rails.git/commitdiff
Consolidated list highlight colours to one parameter.
authorMatt Amos <zerebubuth@gmail.com>
Mon, 10 Nov 2014 20:05:54 +0000 (20:05 +0000)
committerMatt Amos <zerebubuth@gmail.com>
Mon, 10 Nov 2014 20:05:54 +0000 (20:05 +0000)
app/assets/stylesheets/common.css.scss
app/assets/stylesheets/parameters.scss

index ad068138b6e96392910eb266f9ec3dbbf898a0bf..d6549e740debff83c5a316f3a717d1b3b4ee230c 100644 (file)
@@ -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;
         }
       }
     }
index b26b29105b0c2af83197b790f1cf3d45dd6c0fa2..989444a62d77999c5f96dfa5b935122833623250 100644 (file)
@@ -15,3 +15,4 @@ $headerHeight: 55px;
 $sidebarWidth: 350px;
 $keyline: 1px solid $lightgrey;
 $border-radius: 3px;
+$list-highlight: #FFFFE6;