blob: 85b31660f74a143ce986e700c92242b4c4bedb11 (
plain) (
blame)
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
|
@import './config.scss';
.theme__dark .franz-form .franz-form__slider-wrapper .slider {
border: 1px solid $dark-theme-gray;
background: $dark-theme-gray;
}
.franz-form {
.franz-form__slider-wrapper {
display: flex;
flex-direction: row;
.franz-form__label {
margin-left: 20px;
}
.slider-container {
width: 100%; /* Width of the outside container */
}
/* The slider itself */
.slider {
-webkit-appearance: none;
width: 100%;
height: 14px;
border-radius: $theme-border-radius;
background: $theme-gray-lighter;
outline: none;
opacity: 1;
@media (prefers-reduced-motion: no-preference) {
transition: opacity 0.2s;
}
}
.slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 14px;
height: 14px;
border-radius: 50%;
background: $theme-brand-primary;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
cursor: pointer;
}
}
}
|