-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathleaflet.reachability.css
105 lines (96 loc) · 2.75 KB
/
leaflet.reachability.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
/* Button to expand the reachability control in a toggleable state state */
.reachability-control-expand-button
{
font-size: 18px;
font-weight: bold;
}
.leaflet-touch .reachability-control-expand-button
{
font-size: 22px;
}
/* Button to collapse the reachability control when in a toggleable state */
.reachability-control-collapse-button
{
display: block;
height: 20px;
line-height: 20px;
border-radius: 5px;
font-size: 18px;
margin-top: 5px;
background-color: #f4f4f4;
border: 1px solid transparent;
}
.reachability-control-collapse-button:hover
{
border: 1px dotted #757575;
}
/* The container for the reachability control user interface */
.reachability-control-settings-container
{
background: #fff;
padding: 6px;
border-radius: 5px;
}
/* General class for styling the 'button' controls in the user interface container */
.reachability-control-settings-button
{
display: inline-block;
width: 38px;
height: 38px;
line-height: 38px;
border-radius: 5px;
margin-right: 10px;
border: 2px solid #757575;
}
.reachability-control-settings-button:last-child
{
margin-right: 0px;
}
.reachability-control-settings-button, .reachability-control-collapse-button
{
text-align: center;
cursor: pointer;
color: #757575;
}
.reachability-control-settings-button:hover
{
background-color: #f4f4f4;
}
/* Dividers between the different UI sections */
.reachability-control-settings-block-container
{
display: block;
margin-bottom: 10px;
padding-bottom: 10px;
border-bottom: 1px dotted #757575;
}
/* General class for highlighting the selected 'button' controls in the user interface container and the collapsed control if either the draw or delete mode is active */
.reachability-control-active, .leaflet-touch .reachability-control-active, .reachability-control-active a, .leaflet-touch .reachability-control-active a
{
border-color: #0073d4;
color: #0073d4;
box-shadow: 0 1px 5px rgba(0,115,212,0.65);
}
/* If something has gone wrong or the user tries to perform an action that isn't allowed e.g. trying to delete when there are no isolines */
.reachability-control-error, .leaflet-touch .reachability-control-error
{
border-color: red;
color: red;
box-shadow: 0 1px 5px rgba(255,0,0,0.65);
}
/* Container for the range titles - applies to both time and distance */
.reachability-control-range-title
{
font-weight: bold;
margin: 0 5px 5px 0;
display: inline-block; /* change to 'block' if you want more space for the title */
}
.reachability-control-show-range-interval
{
padding-left: 5px;
}
/* Used to hide elements of the control as necessary, e.g. when it is in its collapsed state etc. */
.reachability-control-hide-content
{
display: none;
}