Simplify .ol-zoomslider and .ol-overviewmap CSS

The .ol-control class already defines the position and background values.
This commit is contained in:
Frederic Junod
2015-04-15 11:02:41 +02:00
parent ce1659bc14
commit 5bc875e075
-4
View File
@@ -190,11 +190,8 @@
} }
.ol-zoomslider { .ol-zoomslider {
position: absolute;
top: 4.5em; top: 4.5em;
left: .5em; left: .5em;
background: #eee;
background: rgba(255, 255, 255, 0.4);
width: 24px; width: 24px;
height: 200px; height: 200px;
} }
@@ -218,7 +215,6 @@
} }
.ol-overviewmap { .ol-overviewmap {
position: absolute;
left: 0.5em; left: 0.5em;
bottom: 0.5em; bottom: 0.5em;
} }