UNPKG

1.24 kBCSSView Raw
1/**
2 * The zoomslider in the second map shall be placed between the zoom-in and
3 * zoom-out buttons.
4 */
5#map2 .ol-zoom .ol-zoom-out {
6 margin-top: 204px;
7}
8#map2 .ol-zoomslider {
9 background-color: transparent;
10 top: 2.3em;
11}
12
13#map2 .ol-touch .ol-zoom .ol-zoom-out {
14 margin-top: 212px;
15}
16#map2 .ol-touch .ol-zoomslider {
17 top: 2.75em;
18}
19
20#map2 .ol-zoom-in.ol-has-tooltip:hover [role=tooltip],
21#map2 .ol-zoom-in.ol-has-tooltip:focus [role=tooltip] {
22 top: 3px;
23}
24
25#map2 .ol-zoom-out.ol-has-tooltip:hover [role=tooltip],
26#map2 .ol-zoom-out.ol-has-tooltip:focus [role=tooltip] {
27 top: 232px;
28}
29
30/**
31 * The zoomslider in the third map shall be horizontal, placed in the top-right
32 * corner, smaller and orange.
33 */
34#map3 .ol-zoomslider {
35 top: 8px;
36 left: auto;
37 right: 8px;
38 background-color: rgba(255,69,0,0.2);
39 width: 200px;
40 height: 15px;
41 padding: 0;
42 box-shadow: 0 0 5px rgb(255,69,0);
43 border-radius: 20px;
44}
45
46#map3 .ol-zoomslider:hover {
47 background-color: rgba(255,69,0,0.3);
48}
49
50#map3 .ol-zoomslider-thumb {
51 height: 15px;
52 width: 15px;
53 margin: 0;
54 filter: none;
55 background-color: rgba(255,69,0,0.6);
56 border-radius: 20px;
57}
58#map3 a.ol-zoomslider-handle:hover {
59 background-color: rgba(255,69,0,0.7);
60}