/
_components.sass
280 lines (265 loc) · 5.94 KB
/
_components.sass
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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
@import 'sass/bourbon/bourbon'
.thermometer
display: list-item
width: 2em
height: 20em
margin: auto
padding-top: 0.2em
padding-bottom: 0.1em
border: 2px solid #f4b626
position: relative
@include border-top-radius(1.0em)
@include border-bottom-radius(0.2em)
div
display: block
position: relative
margin: 0px
padding: 0px
.thermometer_fill
width: 70%
vertical-align: bottom
margin-left: auto
margin-right: auto
background: #AA0E15
@include border-top-radius(0.5em)
.therm_text
display: block
width: 6.5em
height: 1.5em
margin-left: 0.5em
padding: 0em 0em
font-size: 1.2em
overflow: hidden
.component
display: inline-block
div
display: block
position: relative
margin: 0px
padding: 0px
-webkit-user-select: none
-khtml-user-select: none
-moz-user-select: none
-ms-user-select: none
-o-user-select: none
user-select: none
vertical-align: top
overflow: hidden
margin: 0px 5px
padding: 0px
.slider_content
margin: 0em
padding: 0em
.slider
left: 0px
top: 0px
width: 16em
height: 1.4em
padding: 0.4em 0.6em
.slider_well
width: 100%
height: 80%
background: #bddfdf
border: 1px solid #8cbbb8
cursor: pointer
border-radius: 0.6em
// overflow: hidden
&:hover
background: #eee
.slider_fill
background-color: #8cbbb8
position: absolute
height: 100%
.handle
width: 1.8em
height: 1.8em
border-radius: 0.9em
left: 1em
top: 1em
position: absolute
background-color: #3a878b
&:hover
$hover: darken(#3a878b, 10%)
background-color: $hover
.label
width: 100%
height: 20%
font-color: blue
font-size: 9px
.playback
display: inline-block
width: 20em
height: 3.4em
border: 1px solid #aaa
border-radius: 5px
padding: 0px
cursor: pointer
.button-art
stroke-width: 0.4em
fill: #fff
stroke: #aaa
stroke-linecap: round
stroke-linejoin: round
.button-art:hover
stroke: #777
.play.button-art
fill: #999
.play.button-art:hover
fill: #777
.stop.button-art
fill: #999
.stop.button-art:hover
fill: #777
.playbacksvg
.button-art
border: none
fill: #777 !important
stroke: transparent !important
stroke-width: 0 !important
.bg
fill: #ddd
stroke: #aaa
stroke-width: 1px
.highlight
border: solid 1px #ccc
border-bottom: none
fill: #fff
opacity: 0.6
stroke: transparent
stroke-width: 0
.pause-center
border: none
fill: #ddd
stroke: transparent
stroke-width: 0
.playbacksvgbutton
.button-art
border: none
fill: #777 !important
stroke: transparent !important
stroke-width: 0 !important
.bg
fill: #ddd
stroke: #aaa
stroke-width: 1px
.highlight
border: solid 1px #ccc
border-bottom: none
fill: #fff
opacity: 0.6
stroke: transparent
stroke-width: 0
.pause-center
border: none
fill: #ddd
stroke: transparent
stroke-width: 0
.playbacksvgbutton:hover
.button-art
fill: #777 !important
stroke: transparent !important
stroke-width: 0 !important
.bg
fill: #bbb
.highlight
opacity: 0.3
.pause-center
fill: #bbb
$button_color: hsla(10,80%,90%,0.1)
$button_hover: darken($button_color, 20%)
$button_down: darken($button_hover, 20%)
.component
&.button
border-radius: 5px
border: 1px solid #aaa
width: 3em
height: 3em
position: static
float: left
clear: none
background-color: $button_color
background-size: 100%
opacity: 0.7
&:hover
background-color: $button_hover
opacity: 0.8
&.up
background-color: $button_color
opacity: 0.7
&:hover
opacity: 0.8
background-color: $button_hover
&.down
opacity: 1
background-color: $button_down
&.hidden
display: none
&.play
background-image: url(../../resources/play.png)
&.pause
background-image: url(../../resources/pause.png)
&.reset
background-image: url(../../resources/reset.png)
&.forward
background-image: url(../../resources/forward.png)
&.back
background-image: url(../../resources/back.png)
&.toggle
display: inline-block
overflow: hidden
background-color: none
opacity: 1
.button
padding: 0px
margin: 0px
border: none
&.button_bar
padding: 0px
.button
margin: 4px
display: block
border-radius: 5px
border: 1px solid #aaa
.button:hover
cursor: pointer
.bg
fill: #ccc
.symbol
fill: #333
.highlight
opacity: .2
.component_group button
border: solid 1px #999
color: #222
margin: 0
opacity: 1.0 !important
padding: .75em 1.5em
@include linear-gradient(top, #f6f6f6 0%, #f6f6f6 50%, #ddd 50%, #ddd 100%, $fallback: #ddd)
@include box-shadow(0 0 0 rgba(000,000,000,0.5), inset 0 0 1px rgba(255,255,255,0.7))
.component_group button:hover, .component_group button:active
background: #aaa
color: #000
cursor: pointer
.component_group button.left_edge
border-right-width: 0
@include border-top-left-radius(3px)
@include border-top-right-radius(0)
@include border-bottom-right-radius(0)
@include border-bottom-left-radius(3px)
.component_group button.right_edge
@include border-top-left-radius(0)
@include border-top-right-radius(3px)
@include border-bottom-right-radius(3px)
@include border-bottom-left-radius(0)
.component_group
button#cool_button, button#heat_button
height: auto !important
padding: .5em 0
text-align: center
width: 50% !important
button#cool_button:hover, button#heat_button:hover
@include linear-gradient(top, #c9c9c9 0%, #c9c9c9 50%, #bbb 50%, #bbb 100%, $fallback: #ccc)
color: #111
button#cool_button.inactive, button#heat_button.inactive, button#cool_button.inactive:hover, button#heat_button.inactive:hover
@include linear-gradient(top, #f6f6f6 0%, #f6f6f6 50%, #ddd 50%, #ddd 100%, $fallback: #ddd)
color: #999