]> git.openstreetmap.org Git - rails.git/blob - app/assets/openlayers/theme/openstreetmap/SimplePanZoom.css.scss
Fix rendering of PanZoom control in RTL mode
[rails.git] / app / assets / openlayers / theme / openstreetmap / SimplePanZoom.css.scss
1 .olControlSimplePanZoom {
2   top: 10px;
3   right: 10px;
4 }
5
6 .olControlSimplePanZoom .button {
7   background-image: image-url("theme/openstreetmap/img/map_sprite.png");
8   position: absolute;
9   background-repeat: no-repeat;
10   cursor: hand;
11   cursor: pointer;
12 }
13
14 .olControlSimplePanZoom #panup {
15   left: 10px;
16   width: 25px;
17   height: 13px;
18   background-position: -15px -5px;
19 }
20
21 .olControlSimplePanZoom #pandown {
22   left: 10px;
23   top: 36px;
24   width: 25px;
25   height: 15px;
26   background-position: -15px -40px;
27 }
28
29 .olControlSimplePanZoom #panleft {
30   top: 13px;
31   width: 25px;
32   height: 24px;
33   left: 0px;
34   background-position: -5px -17px;
35 }
36
37 .olControlSimplePanZoom #panright {
38   top: 13px;
39   width: 25px;
40   height: 24px;
41   left: 25px;
42   background-position: -30px -17px;
43 }
44
45 .olControlSimplePanZoom #zoomin {
46   top: 50px;
47   width: 26px;
48   height: 20px;
49   left: 10px;
50   background-position: -15px -61px;
51 }
52
53 .olControlSimplePanZoom #zoomout {
54   top: 210px;
55   width: 26px;
56   height: 20px;
57   left: 10px;
58   background-position: -15px -220px;
59 }
60
61 .olControlSimplePanZoom #slider {
62   top: 75px;
63   width: 25px;
64   height: 10px;
65   left: 10px;
66   -webkit-transition: top 100ms linear;
67   -moz-transition: top 100ms linear;
68   -o-transition: top 100ms linear;
69   background-position: -77px -58px;
70   pointer: move;
71   cursor: move;
72 }
73
74 .olControlSimplePanZoom #zoombar {
75   top: 70px;
76   width: 26px;
77   height: 140px;
78   left: 10px;
79   background-position: -15px -80px;
80 }