File tree 3 files changed +29
-12
lines changed
commonUI/general/res/sass/controls
features/conductor-v2/res/templates
3 files changed +29
-12
lines changed Original file line number Diff line number Diff line change @@ -430,25 +430,35 @@ input[type="search"] {
430
430
// border-radius: 50% !important;
431
431
}
432
432
433
+ @mixin sliderKnobRound () {
434
+ $h : 12px ;
435
+ cursor : pointer ;
436
+ width : $h ;
437
+ height : $h ;
438
+ margin-top : 1 + floor ($h / 2 ) * -1 ;
439
+ @include btnSubtle (pullForward ($colorBtnBg , 10% ));
440
+ border-radius : 50% !important ;
441
+ }
442
+
433
443
input [type = " range" ] {
434
444
// HTML5 range inputs
435
445
436
446
-webkit-appearance : none ; /* Hides the slider so that custom slider can be made */
437
447
background : transparent ; /* Otherwise white in Chrome */
438
448
& :focus {
439
- outline : none ; /* Removes the blue border. You should probably do some kind of focus styling for accessibility reasons though. */
449
+ outline : none ; /* Removes the blue border. */
440
450
}
441
451
442
452
// Thumb
443
453
& ::-webkit-slider-thumb {
444
454
-webkit-appearance : none ;
445
- @include sliderKnob ();
455
+ @include sliderKnobRound ();
446
456
}
447
457
& ::-moz-range-thumb {
448
- @include sliderKnob ();
458
+ @include sliderKnobRound ();
449
459
}
450
460
& ::-ms-thumb {
451
- @include sliderKnob ();
461
+ @include sliderKnobRound ();
452
462
}
453
463
454
464
// Track
Original file line number Diff line number Diff line change 119
119
}
120
120
121
121
.l-time-conductor-inputs-holder ,
122
- .l-time-conductor-ticks {
122
+ .l-time-conductor-ticks ,
123
+ .l-time-conductor-zoom-w {
123
124
font-size : 0.8rem ;
124
125
}
125
126
203
204
.l-time-conductor-controls {
204
205
align-items : center ;
205
206
margin-top : $interiorMargin ;
206
- .time-conductor-zoom {
207
- // @include test();
208
- min-width : 100px ;
209
- height : $r3H ;
210
- width : 25% ;
207
+ .l-time-conductor-zoom-w {
208
+ @include justify-content (flex-end );
209
+ .time-conductor-zoom {
210
+ height : $r3H ;
211
+ min-width : 100px ;
212
+ width : 20% ;
213
+ }
214
+ .time-conductor-zoom-current-range {
215
+ color : $colorTick ;
216
+ }
211
217
}
212
218
213
219
}
Original file line number Diff line number Diff line change 105
105
]} ">
106
106
</ mct-control >
107
107
<!-- Zoom control -->
108
- < div class ="l-time-conductor-zoom-w grows flex-elem contents-align-right ">
109
- < input class ="time-conductor-zoom " type ="range " />
108
+ < div class ="l-time-conductor-zoom-w grows flex-elem l-flex-row ">
109
+ < span class ="time-conductor-zoom-current-range flex-elem flex-fixed holder "> Mars Minutes</ span >
110
+ < input class ="time-conductor-zoom flex-elem " type ="range " />
110
111
</ div >
111
112
</ div >
112
113
You can’t perform that action at this time.
0 commit comments