mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-05-09 06:20:27 +00:00
69 lines
No EOL
1.4 KiB
Text
69 lines
No EOL
1.4 KiB
Text
// Copyright (C) 2017-2022 Smart code 203358507
|
|
|
|
@import (reference) '~@stremio/stremio-colors/less/stremio-colors.less';
|
|
|
|
html.active-slider-within {
|
|
cursor: grabbing;
|
|
|
|
body {
|
|
pointer-events: none;
|
|
}
|
|
}
|
|
|
|
.slider-container {
|
|
position: relative;
|
|
z-index: 0;
|
|
overflow: visible;
|
|
cursor: pointer;
|
|
|
|
&:global(.disabled) {
|
|
pointer-events: none;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.layer {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 0;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
overflow: visible;
|
|
}
|
|
|
|
.track {
|
|
z-index: 0;
|
|
flex: 1;
|
|
height: var(--track-size);
|
|
border-radius: var(--track-size);
|
|
background-color: var(--primary-overlay-color);
|
|
}
|
|
|
|
.track-before {
|
|
z-index: 1;
|
|
flex: none;
|
|
height: var(--track-size);
|
|
border-radius: var(--track-size);
|
|
background-color: var(--primary-overlay-color);
|
|
}
|
|
|
|
.track-after {
|
|
z-index: 2;
|
|
flex: none;
|
|
height: var(--track-size);
|
|
border-radius: var(--track-size);
|
|
background-color: var(--primary-foreground-color);
|
|
}
|
|
|
|
.thumb {
|
|
z-index: 3;
|
|
flex: none;
|
|
width: var(--thumb-size);
|
|
height: var(--thumb-size);
|
|
transform: translateX(-50%);
|
|
fill: var(--primary-foreground-color);
|
|
}
|
|
} |