mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-08-16 15:44:49 +00:00
Slider styles refactored
This commit is contained in:
parent
7d2c5a4e10
commit
d2e27801d9
1 changed files with 21 additions and 21 deletions
|
|
@ -4,27 +4,6 @@
|
|||
z-index: 0;
|
||||
cursor: pointer;
|
||||
|
||||
.track {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
background-color: var(--track-color);
|
||||
}
|
||||
|
||||
.track-before {
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
background-color: var(--track-before-color);
|
||||
}
|
||||
|
||||
.thumb {
|
||||
position: absolute;
|
||||
z-index: 3;
|
||||
width: var(--thumb-size);
|
||||
height: var(--thumb-size);
|
||||
border-radius: 50%;
|
||||
background-color: var(--thumb-color);
|
||||
}
|
||||
|
||||
&.horizontal {
|
||||
.track {
|
||||
top: calc(50% - var(--track-size) * 0.5);
|
||||
|
|
@ -68,4 +47,25 @@
|
|||
&:global(.disabled) {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.track {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
background-color: var(--track-color);
|
||||
}
|
||||
|
||||
.track-before {
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
background-color: var(--track-before-color);
|
||||
}
|
||||
|
||||
.thumb {
|
||||
position: absolute;
|
||||
z-index: 3;
|
||||
width: var(--thumb-size);
|
||||
height: var(--thumb-size);
|
||||
border-radius: 50%;
|
||||
background-color: var(--thumb-color);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue