mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-20 14:52:13 +00:00
76 lines
No EOL
1.8 KiB
Text
76 lines
No EOL
1.8 KiB
Text
@import 'stremio-colors';
|
|
|
|
@control-bar-height: 52px;
|
|
|
|
.root-container {
|
|
height: @control-bar-height;
|
|
top: initial !important;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
|
|
.button {
|
|
height: @control-bar-height;
|
|
width: @control-bar-height;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
background-color: @colorprim;
|
|
}
|
|
|
|
.icon {
|
|
width: 66%;
|
|
height: 66%;
|
|
fill: @colorwhite;
|
|
}
|
|
}
|
|
|
|
.seek-bar {
|
|
height: round((@control-bar-height * 0.5));
|
|
flex: 1;
|
|
position: relative;
|
|
|
|
.seek-line {
|
|
position: absolute;
|
|
z-index: 0;
|
|
left: 0;
|
|
right: 0;
|
|
top: round((@control-bar-height * 0.2));
|
|
height: round((@control-bar-height * 0.1));
|
|
background-color: @colorprim80;
|
|
}
|
|
|
|
.thumb-container {
|
|
position: absolute;
|
|
z-index: 1;
|
|
width: round((@control-bar-height * 0.5));
|
|
height: round((@control-bar-height * 0.5));
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 50%;
|
|
transform: translateX(-50%);
|
|
|
|
.thumb {
|
|
width: round((@control-bar-height * 0.4));
|
|
height: round((@control-bar-height * 0.4));
|
|
border-radius: 50%;
|
|
background-color: @colorprimlight;
|
|
}
|
|
|
|
&:hover {
|
|
background-color: @colorprimlight60;
|
|
}
|
|
}
|
|
|
|
&.active {
|
|
.thumb-container {
|
|
background-color: @colorprimlight60;
|
|
}
|
|
}
|
|
}
|
|
|
|
} |