|
| 1 | +@import "variables"; |
| 2 | +//////////////////////////// |
| 3 | +// <----- Trackbar -----> // |
| 4 | +//////////////////////////// |
| 5 | + |
| 6 | +input[type=range] { |
| 7 | + -webkit-appearance: none; |
| 8 | + width: 70%; |
| 9 | + margin: 2.05px 0; |
| 10 | +} |
| 11 | +input[type=range]:focus { |
| 12 | + outline: none; |
| 13 | +} |
| 14 | +input[type=range]::-webkit-slider-runnable-track { |
| 15 | + width: 70%; |
| 16 | + height: 10.9px; |
| 17 | + cursor: pointer; |
| 18 | + box-shadow: 0 0 15px rgba(0, 0, 0, 0), 0 0 0 rgba(13, 13, 13, 0); |
| 19 | + background: $darkGrey; |
| 20 | + border: 2.6px solid rgba(152, 152, 152, 0.3); |
| 21 | +} |
| 22 | +input[type=range]::-webkit-slider-thumb { |
| 23 | + box-shadow: 0 0 0.1px $navFontColor, 0 0 0 $navFontColor; |
| 24 | + border: 0 solid rgba(0, 0, 0, 0); |
| 25 | + height: 15px; |
| 26 | + width: 32px; |
| 27 | + border-radius: 5px; |
| 28 | + background: $darkBlue; |
| 29 | + cursor: pointer; |
| 30 | + -webkit-appearance: none; |
| 31 | + margin-top: -4.65px; |
| 32 | +} |
| 33 | +input[type=range]:focus::-webkit-slider-runnable-track { |
| 34 | + background: rgba(126, 126, 126, 0.9); |
| 35 | +} |
| 36 | +input[type=range]::-moz-range-track { |
| 37 | + width: 70%; |
| 38 | + height: 10.9px; |
| 39 | + cursor: pointer; |
| 40 | + box-shadow: 0 0 15px rgba(0, 0, 0, 0), 0 0 0 rgba(13, 13, 13, 0); |
| 41 | + background: $darkGrey; |
| 42 | + border: 2.6px solid rgba(152, 152, 152, 0.3) rgba(152, 152, 152, 0.3); |
| 43 | +} |
| 44 | +input[type=range]::-moz-range-thumb { |
| 45 | + box-shadow: 0 0 0.1px $navFontColor, 0 0 0 $navFontColor; |
| 46 | + border: 0 solid rgba(0, 0, 0, 0); |
| 47 | + height: 15px; |
| 48 | + width: 32px; |
| 49 | + border-radius: 5px; |
| 50 | + background: $darkBlue; |
| 51 | + cursor: pointer; |
| 52 | +} |
| 53 | +input[type=range]::-ms-track { |
| 54 | + width: 70%; |
| 55 | + height: 10.9px; |
| 56 | + cursor: pointer; |
| 57 | + background: transparent; |
| 58 | + border-color: transparent; |
| 59 | + color: transparent; |
| 60 | +} |
| 61 | +input[type=range]::-ms-fill-lower { |
| 62 | + background: #000000; |
| 63 | + border: 2.6px solid rgba(152, 152, 152, 0.3); |
| 64 | + border-radius: 13px; |
| 65 | + box-shadow: 0 0 15px rgba(0, 0, 0, 0), 0 0 0 rgba(13, 13, 13, 0); |
| 66 | +} |
| 67 | +input[type=range]::-ms-fill-upper { |
| 68 | + background: $darkGrey; |
| 69 | + border: 2.6px solid rgba(152, 152, 152, 0.3); |
| 70 | + border-radius: 13px; |
| 71 | + box-shadow: 0 0 15px rgba(0, 0, 0, 0), 0 0 0 rgba(13, 13, 13, 0); |
| 72 | +} |
| 73 | +input[type=range]::-ms-thumb { |
| 74 | + box-shadow: 0 0 0.1px $navFontColor, 0 0 0 $navFontColor; |
| 75 | + border: 0 solid rgba(0, 0, 0, 0); |
| 76 | + height: 15px; |
| 77 | + width: 32px; |
| 78 | + border-radius: 5px; |
| 79 | + background: $darkBlue; |
| 80 | + cursor: pointer; |
| 81 | + height: 10.9px; |
| 82 | +} |
| 83 | +input[type=range]:focus::-ms-fill-lower { |
| 84 | + background: $darkGrey; |
| 85 | +} |
| 86 | +input[type=range]:focus::-ms-fill-upper { |
| 87 | + background: rgba(126, 126, 126, 0.9); |
| 88 | +} |
| 89 | +// end of trackbar... |
0 commit comments