From c8e35afecb0715e419207b31fb640533f2fe0323 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Tue, 24 Nov 2015 16:42:36 +0100 Subject: [PATCH 1/2] Remove fallback css color All browsers supports CSS3 color: http://caniuse.com/#feat=css3-colors --- css/ol.css | 4 ---- 1 file changed, 4 deletions(-) diff --git a/css/ol.css b/css/ol.css index 993aa48e04..274c32a099 100644 --- a/css/ol.css +++ b/css/ol.css @@ -11,7 +11,6 @@ } .ol-scale-line { - background: #95b9e6; background: rgba(0,60,136,0.3); border-radius: 4px; bottom: 8px; @@ -47,7 +46,6 @@ .ol-control { position: absolute; - background-color: #eee; background-color: rgba(255,255,255,0.4); border-radius: 4px; padding: 2px; @@ -95,7 +93,6 @@ height: 1.375em; width: 1.375em; line-height: .4em; - background-color: #7b98bc; background-color: rgba(0,60,136,0.5); border: none; border-radius: 2px; @@ -122,7 +119,6 @@ .ol-control button:hover, .ol-control button:focus { text-decoration: none; - background-color: #4c6079; background-color: rgba(0,60,136,0.7); } .ol-zoom .ol-zoom-in { From f6326fcc99bb63f345f12fed78dbf2f90e472f4a Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Tue, 24 Nov 2015 17:01:22 +0100 Subject: [PATCH 2/2] Simplify css color notation --- css/ol.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/css/ol.css b/css/ol.css index 274c32a099..538a602616 100644 --- a/css/ol.css +++ b/css/ol.css @@ -19,9 +19,9 @@ position: absolute; } .ol-scale-line-inner { - border: 1px solid #eeeeee; + border: 1px solid #eee; border-top: none; - color: #eeeeee; + color: #eee; font-size: 10px; text-align: center; margin: 1px;