30
30
padding : 80px ;
31
31
text-align : center ;
32
32
max-width : 600px ;
33
- margin :0 auto ;
33
+ margin : 0 auto ;
34
34
}
35
- .get-started button {
35
+
36
+ .get-started button {
36
37
background-color : $blue ;
37
38
padding : 24px 36px ;
38
39
color : white ;
@@ -62,12 +63,14 @@ header {
62
63
margin : 0 ;
63
64
padding : 0 ;
64
65
}
66
+
65
67
a {
66
68
margin-left : 22px ;
67
69
margin-top : 13px ;
68
70
vertical-align : top ;
69
71
display : inline-block ;
70
72
text-decoration : underline ;
73
+
71
74
& :hover {
72
75
cursor : pointer ;
73
76
}
@@ -76,16 +79,18 @@ header {
76
79
.header-controls {
77
80
display : flex ;
78
81
justify-content : space-between ;
79
- margin : 0 ;
82
+ margin : 0 auto ;
80
83
padding : 24px 0 0 0 ;
81
84
align-items : center ;
85
+ width : 800px ;
82
86
}
83
87
}
84
88
85
89
.scroll-contents {
86
90
width : 960px ;
87
91
margin : 0 auto 40px ;
88
92
padding-left : 20px ;
93
+
89
94
/* Pads the bottom so the controls can scroll above the keyboard. */
90
95
.scroll-footer {
91
96
height : 280px ;
@@ -107,20 +112,25 @@ footer {
107
112
which causes notice-able stuttering in audio playback when ARP is on.
108
113
*/
109
114
transform : translate3d (0 , 0 , 0 );
115
+
110
116
.footer-info {
111
117
padding : 4px ;
112
118
text-align : right ;
113
119
}
114
- a , p {
120
+
121
+ a ,
122
+ p {
115
123
font-size : 12px ;
116
124
display : inline-block ;
117
125
margin : 0 12px 0 0 ;
118
126
font-weight : 400 ;
119
127
letter-spacing : 0.06em ;
120
128
}
129
+
121
130
a {
122
131
color : white ;
123
132
text-decoration : underline ;
133
+
124
134
& :hover {
125
135
cursor : pointer ;
126
136
}
@@ -129,19 +139,23 @@ footer {
129
139
130
140
.share-button-row {
131
141
display : inline-block ;
142
+
132
143
.share-button-container {
133
144
display : inline-block ;
134
145
}
146
+
135
147
.share-button {
136
148
display : inline-block ;
137
149
border : 1px solid $blue ;
138
150
border-radius : 24px ;
139
- vertical-align : middle ;
151
+ vertical-align : middle ;
152
+
140
153
& :hover {
141
154
cursor : pointer ;
142
155
border : 1px solid white ;
143
156
}
144
157
}
158
+
145
159
.share-count {
146
160
display : inline-block ;
147
161
vertical-align : top ;
169
183
}
170
184
171
185
.module {
172
- display :inline-block ;
186
+ display : inline-block ;
173
187
width : 300px ;
174
188
margin-right : 20px ;
175
189
}
@@ -184,11 +198,13 @@ h1 {
184
198
vertical-align : middle ;
185
199
text-align : center ;
186
200
187
- & :hover , & .selected {
201
+ & :hover ,
202
+ & .selected {
188
203
cursor : pointer ;
189
204
color : #fff ;
190
205
background-color : $blue ;
191
206
}
207
+
192
208
& .algorithm-button {
193
209
margin-left : 23px ;
194
210
}
@@ -197,33 +213,44 @@ h1 {
197
213
198
214
@for $i from 1 through length ($colors-list ) {
199
215
$current-color : nth ($colors-list , $i );
200
- $y : (-7 + $i * 46 ) + px;
216
+ $y : (-7 + $i * 46 )+ px;
201
217
202
218
& .plus.color-#{$current-color } {
203
219
background : url (' ../images/operator-btns.png' );
204
220
background-position : 411px $y ;
205
- & :hover , & .selected {
221
+
222
+ & :hover ,
223
+ & .selected {
206
224
background-position : 147px $y ;
207
225
}
208
226
}
227
+
209
228
& .minus.color-#{$current-color } {
210
229
background : url (' ../images/operator-btns.png' );
211
230
background-position : 288px $y ;
212
- & :hover , & .selected {
231
+
232
+ & :hover ,
233
+ & .selected {
213
234
background-position : 39px $y ;
214
235
}
215
236
}
237
+
216
238
& .divide.color-#{$current-color } {
217
239
background : url (' ../images/operator-btns.png' );
218
240
background-position : 349px $y ;
219
- & :hover , & .selected {
241
+
242
+ & :hover ,
243
+ & .selected {
220
244
background-position : 93px $y ;
221
245
}
222
246
}
247
+
223
248
& .multiply.color-#{$current-color } {
224
249
background : url (' ../images/operator-btns.png' );
225
250
background-position : 471px $y ;
226
- & :hover , & .selected {
251
+
252
+ & :hover ,
253
+ & .selected {
227
254
background-position : 201px $y ;
228
255
}
229
256
}
@@ -234,27 +261,39 @@ h1 {
234
261
width : 52px ;
235
262
height : 52px ;
236
263
background : url (' ../images/lfo-shape-btns.png' );
264
+
237
265
& .random {
238
266
background-position : 74px -66px ;
239
- & :hover , & .selected {
267
+
268
+ & :hover ,
269
+ & .selected {
240
270
background-position : 207px -67px ;
241
271
}
242
272
}
273
+
243
274
& .triangle {
244
275
background-position : 138px -1px ;
245
- & :hover , & .selected {
276
+
277
+ & :hover ,
278
+ & .selected {
246
279
background-position : -1px -1px ;
247
280
}
248
281
}
282
+
249
283
& .sawtooth {
250
284
background-position : 72px -1px ;
251
- & :hover , & .selected {
285
+
286
+ & :hover ,
287
+ & .selected {
252
288
background-position : -67px -1px ;
253
289
}
254
290
}
291
+
255
292
& .square {
256
293
background-position : 137px 57px ;
257
- & :hover , & .selected {
294
+
295
+ & :hover ,
296
+ & .selected {
258
297
background-position : -1px 53px ;
259
298
}
260
299
}
263
302
.algorithm-switch {
264
303
margin : 20px 0 ;
265
304
}
305
+
266
306
.combine-prompt {
267
307
font-size : 16px ;
268
308
display : inline-block ;
@@ -273,17 +313,21 @@ h1 {
273
313
.oscillator-sliders {
274
314
margin : 16px 0 0 0 ;
275
315
}
316
+
276
317
.horizontal-slider {
277
318
margin : 6px 0 0 0 ;
319
+
278
320
.slider-label {
279
321
display : inline-block ;
280
322
width : 80px ;
281
323
}
324
+
282
325
.slider-value {
283
326
display : inline-block ;
284
327
text-align : right ;
285
328
width : 34px ;
286
329
}
330
+
287
331
input {
288
332
display : inline-block ;
289
333
width : 180px ;
@@ -301,8 +345,10 @@ h1 {
301
345
.asdr-sliders {
302
346
display : inline-block ;
303
347
margin-left : 38px ;
348
+
304
349
.vertical-slider {
305
350
width : 10px ;
351
+
306
352
.vertical-slider-container {
307
353
margin-left : -7px ;
308
354
}
@@ -311,21 +357,25 @@ h1 {
311
357
312
358
// LFOs
313
359
.lfo {
314
- .shape-switch {
360
+ .shape-switch {
315
361
width : 142px ;
316
362
display : inline-block ;
317
363
vertical-align : top ;
318
364
margin : 25px 16px ;
365
+
319
366
.wave-label {
320
367
text-align : center ;
321
368
}
322
369
}
370
+
323
371
.sliders {
324
372
display : inline-block ;
325
373
}
374
+
326
375
.toggle-button {
327
376
margin : 8px ;
328
377
}
378
+
329
379
.Select-arrow-zone {
330
380
padding-right : 15px ;
331
381
}
@@ -335,13 +385,14 @@ h1 {
335
385
.arp-switch-label {
336
386
margin-bottom : 12px ;
337
387
text-align : center ;
338
- display :block ;
388
+ display : block ;
339
389
}
340
390
341
391
.arpeggiator-switch {
342
392
display : flex ;
343
393
vertical-align : bottom ;
344
- .toggle-button :first-child {
394
+
395
+ .toggle-button :first-child {
345
396
margin-bottom : 12px ;
346
397
}
347
398
}
@@ -352,21 +403,25 @@ h1 {
352
403
float : right ;
353
404
padding : 10px ;
354
405
font-size : 16px ;
406
+
355
407
& :hover {
356
408
cursor : pointer ;
357
409
}
358
410
}
411
+
359
412
p {
360
413
text-align : center ;
361
414
max-width : 500px ;
362
415
margin : 12px auto ;
416
+
363
417
& .inverted {
364
418
border : 3px solid $blue ;
365
419
word-wrap : break-word ;
366
420
padding : 32px ;
367
421
max-width : 436px ;
368
422
}
369
423
}
424
+
370
425
img {
371
426
margin : 0 auto ;
372
427
display : block ;
0 commit comments