-
Notifications
You must be signed in to change notification settings - Fork 11
/
leaflet.rainviewer.css
80 lines (67 loc) · 1.64 KB
/
leaflet.rainviewer.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
.leaflet-control-rainviewer {
}
.leaflet-control-rainviewer-active {
width: auto;
height: auto;
background-color: #fff;
padding: 25px 25px;
}
.leaflet-control-rainviewer-active a.leaflet-control-rainviewer-button {
display: none;
}
.leaflet-control-rainviewer-container {
margin: auto;
text-align: center;
position: relative;
}
.leaflet-control-rainviewer-opacityslider, .leaflet-control-rainviewer-positionslider, .leaflet-control-rainviewer-label{
display: block;
clear: both;
margin-top: 15px;
}
.leaflet-control-rainviewer-timestamp {
text-align: center;
margin: auto;
clear: both;
margin-top: 15px;
}
.leaflet-control-rainviewer-close {
position: absolute;
right: 3px;
top: 5px;
width: 16px;
height: 16px;
opacity: 0.3;
}
.leaflet-control-rainviewer-close:hover {
opacity: 1;
cursor: pointer;
}
.leaflet-control-rainviewer-close:before,
.leaflet-control-rainviewer-close:after {
position: absolute;
right: 8px;
content: ' ';
height: 16px;
width: 2px;
background-color: #333;
}
.leaflet-control-rainviewer-close:before {
transform: rotate(45deg);
}
.leaflet-control-rainviewer-close:after {
transform: rotate(-45deg);
}
.leaflet-control-rainviewer a.leaflet-control-rainviewer-button {
background: #fff url(images/rainviewer.png) no-repeat 0 0;
background-size: 26px 26px;
}
.leaflet-touch .leaflet-control-rainviewer a {
background-position: 2px 2px;
}
@media (-webkit-min-device-pixel-ratio:2),
(min-resolution:192dpi) {
.leaflet-control-rainviewer a {
background-image: url(images/rainviewer@2x.png);
}
}