-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
195 lines (168 loc) · 5.64 KB
/
styles.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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
body {
height: 100%;
margin: 0;
padding: 0;
}
#noiseSliderDiv {
position: fixed;
z-index: 100;
top: 20px;
left: 20px;
width: 50%;
max-width: 320px;
padding: 18px 0 18px 14px;
font-family: "Ubuntu", Tahoma, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
border-radius: .25em;
border: 1px solid #CCC;
box-shadow: 6px 6px 9px #777;
background: -webkit-linear-gradient(#fff, #d7d7d7);
background: linear-gradient(#fff, #d7d7d7);
}
#noiseSliderDiv span {
float: left;
color: #999;
font-weight: bold;
}
#container {
width: 100%;
position: absolute;
top: 0;
bottom: 0;
}
#mapGoogle {
height: 100%;
}
/* SLIDER */
input[type='range'] {
width: 55%;
margin-left: 10px;
padding: 0;
opacity: .75;
background: transparent;
font: 1em trebuchet ms, verdana, arial, sans-serif;
cursor: pointer;
}
input[type='range'],
input[type='range']::-webkit-slider-runnable-track,
input[type='range']::-webkit-slider-thumb {
-webkit-appearance: none;
}
input[type='range']::-webkit-slider-runnable-track {
position: relative;
}
input[type='range']::-webkit-slider-runnable-track:before,
input[type='range']::-webkit-slider-runnable-track:after,
input[type='range'] /deep/ #track:before,
input[type='range'] /deep/ #track:after {
position: absolute;
}
input[type='range']::-ms-track {
border: none;
color: transparent;
}
input[type='range']::-webkit-slider-thumb {
box-sizing: border-box;
border: solid 0 transparent;
border-radius: 50%;
cursor: ew-resize;
}
input[type='range']::-moz-range-thumb {
box-sizing: border-box;
border: solid 0 transparent;
border-radius: 50%;
cursor: ew-resize;
}
input[type='range']::-ms-thumb {
box-sizing: border-box;
border: solid 0 transparent;
border-radius: 50%;
cursor: ew-resize;
}
input[type='range'] {
padding: 0 1em;
}
input[type='range']::-webkit-slider-runnable-track {
height: 0.4375em;
border-radius: 0.21875em;
box-shadow: inset 0 1px 1px #888;
background: #c6c6c6;
-webkit-transform: translateY(-0.4375em);
transform: translateY(-0.4375em);
}
input[type='range']::-moz-range-track {
height: 0.4375em;
border-radius: 0.21875em;
box-shadow: inset 0 1px 1px #888;
background: #c6c6c6;
}
input[type='range']::-ms-track {
height: 0.4375em;
border-radius: 0.21875em;
box-shadow: inset 0 1px 1px #888;
background: #c6c6c6;
}
input[type='range']::-moz-range-progress {
height: 0.4375em;
border-radius: 0.21875em;
background: linear-gradient(0deg, #4e7a0e 1px, #80b03a 1px, #98c751 90%, #c5df9c);
}
input[type='range']::-ms-fill-lower {
height: 0.4375em;
border-radius: 0.21875em;
background: linear-gradient(0deg, #4e7a0e 1px, #80b03a 1px, #98c751 90%, #c5df9c);
}
input[type='range']::-webkit-slider-thumb {
position: relative;
z-index: 2;
margin-top: -0.28125em;
border-width: 0.125em;
width: 1em;
height: 1em;
background: -webkit-radial-gradient(#b4dbaf, #0e5401, #559149 3px, #73af67, #bff0b4, #abe29a 65%) padding-box, -webkit-linear-gradient(135deg, green, #6db04f) border-box #fff;
background: radial-gradient(#b4dbaf, #0e5401, #559149 3px, #73af67, #bff0b4, #abe29a 65%) padding-box, linear-gradient(-45deg, green, #6db04f) border-box #fff;
-webkit-filter: drop-shadow(1px 0.125em 0.125em rgba(0, 0, 0, 0.4));
filter: drop-shadow(1px 0.125em 0.125em rgba(0, 0, 0, 0.4));
}
input[type='range']::-moz-range-thumb {
border-width: 0.125em;
width: 1em;
height: 1em;
background: radial-gradient(#b4dbaf, #0e5401, #559149 3px, #73af67, #bff0b4, #abe29a 65%) padding-box, linear-gradient(-45deg, green, #6db04f) border-box #fff;
filter: drop-shadow(1px 0.125em 0.125em rgba(0, 0, 0, 0.4));
}
input[type='range']::-ms-thumb {
border-width: 0.125em;
width: 1em;
height: 1em;
background: radial-gradient(#b4dbaf, #0e5401, #559149 3px, #73af67, #bff0b4, #abe29a 65%) padding-box, linear-gradient(-45deg, green, #6db04f) border-box #fff;
filter: drop-shadow(1px 0.125em 0.125em rgba(0, 0, 0, 0.4));
}
input[type='range']::-webkit-slider-thumb:after,
input[type='range'] /deep/ #thumb:after {
position: absolute;
right: 50%;
bottom: 150%;
width: 2.54545em;
height: 3.27273em;
-webkit-transform: translate(25%);
transform: translate(25%);
background: rgba(255, 255, 255, 0.5);
color: #222;
font: 900 0.6875em/2.86364em trebuchet ms, verdana, arial, sans-serif;
text-align: center;
text-shadow: 0 0 1px rgba(0, 0, 0, 0.25);
-webkit-clip-path: polygon(75% 100%, 0.72051em 2.2466em, 0.27767em 1.91867em, 0.03191em 1.4448em, 0.03191em 0.91884em, 0.27767em 0.44497em, 0.72051em 0.11704em, 1.27273em 0em, 1.82494em 0.11704em, 2.26779em 0.44497em, 2.51354em 0.91884em, 2.51354em 1.4448em, 2.26779em 1.91867em, 1.82494em 2.2466em);
clip-path: polygon(75% 100%, 0.72051em 2.2466em, 0.27767em 1.91867em, 0.03191em 1.4448em, 0.03191em 0.91884em, 0.27767em 0.44497em, 0.72051em 0.11704em, 1.27273em 0em, 1.82494em 0.11704em, 2.26779em 0.44497em, 2.51354em 0.91884em, 2.51354em 1.4448em, 2.26779em 1.91867em, 1.82494em 2.2466em);
}
.js input[type='range']::-webkit-slider-thumb:after,
.js input[type='range'] /deep/ #thumb:after {
content: "60%";
}
input[type='range']:focus {
outline: none;
opacity: .99;
}
input[type='range']:not(*:root):first-of-type {
background-position: 1.5em calc(50% - 0.5em), 0 0, 0 0;
}