]> git.openstreetmap.org Git - rails.git/blob - app/assets/openlayers/theme/openstreetmap/SimpleLayerSwitcher.css.scss
Reposition the zoom slider after recreating the SimplePanZoom control
[rails.git] / app / assets / openlayers / theme / openstreetmap / SimpleLayerSwitcher.css.scss
1 .SimpleLayerSwitcher {
2   position: absolute;
3   top: 10px;
4   right: 10px;
5   background: #fff;
6   border: 1px solid #ccc;
7   min-width: 150px;
8   background: #fff;
9 }
10
11 .SimpleLayerSwitcher a.basey {
12   display: block;
13   text-decoration: none;
14   color: #838383;
15   padding: 2px 5px 2px 20px;
16 }
17
18 .SimpleLayerSwitcher a.basey-on {
19   color: #000;
20   background-color: #fff;
21   background-image: image-url("theme/openstreetmap/img/carat.png");
22   background-repeat: no-repeat;
23   background-position: 7px 9px;
24 }
25
26 .SimpleLayerSwitcher a.basey-off {
27   display: none;
28 }
29
30 .SimpleLayerSwitcher:hover a {
31   border-top: 1px solid #eee;
32 }
33
34 .SimpleLayerSwitcher a:hover {
35   background-color: #f5f5f5;
36 }
37
38 .SimpleLayerSwitcher:hover a:first-child {
39   border-top: none;
40 }
41
42 .SimpleLayerSwitcher:hover a.basey-off {
43   display: block;
44 }