2017-08-09 19:40:03 +00:00
|
|
|
.video-quality-dialog {
|
|
|
|
|
2017-08-15 20:22:32 +00:00
|
|
|
.hide-warning {
|
|
|
|
height: 0;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2017-08-09 19:40:03 +00:00
|
|
|
.video-quality-dialog-title {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-quality-dialog-contents {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
padding: 10px;
|
|
|
|
min-width: 250px;
|
|
|
|
|
|
|
|
.video-quality-dialog-slider-container {
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-quality-dialog-slider {
|
|
|
|
width: calc(100% - 5px);
|
|
|
|
|
|
|
|
@mixin sliderTrackStyles() {
|
|
|
|
height: 15px;
|
|
|
|
border-radius: 10px;
|
2017-10-06 16:14:45 +00:00
|
|
|
background: #0E1624;
|
2017-08-09 19:40:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&::-ms-track {
|
|
|
|
@include sliderTrackStyles();
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-moz-range-track {
|
|
|
|
@include sliderTrackStyles();
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-webkit-slider-runnable-track {
|
|
|
|
@include sliderTrackStyles();
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin sliderThumbStyles() {
|
|
|
|
top: 50%;
|
|
|
|
border: none;
|
|
|
|
position: relative;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-ms-thumb {
|
|
|
|
@include sliderThumbStyles();
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-moz-range-thumb {
|
|
|
|
@include sliderThumbStyles();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-webkit-slider-thumb {
|
|
|
|
@include sliderThumbStyles();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-quality-dialog-labels {
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: flex;
|
|
|
|
margin-top: 5px;
|
|
|
|
position: relative;
|
|
|
|
width: 90%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-quality-dialog-label-container {
|
|
|
|
position: absolute;
|
|
|
|
text-align: center;
|
|
|
|
transform: translate(-50%, 0%);
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '';
|
|
|
|
border-radius: 50%;
|
|
|
|
left: 0;
|
|
|
|
height: 6px;
|
|
|
|
margin: 0 auto;
|
|
|
|
pointer-events: none;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: -16px;
|
|
|
|
width: 6px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-quality-dialog-label-container.active {
|
2017-10-06 16:14:45 +00:00
|
|
|
color: $videoQualityActive;
|
2017-08-09 19:40:03 +00:00
|
|
|
|
|
|
|
&::before {
|
2017-10-06 16:14:45 +00:00
|
|
|
background: $videoQualityActive;
|
2017-08-09 19:40:03 +00:00
|
|
|
height: 12px;
|
|
|
|
top: -19px;
|
|
|
|
width: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-quality-dialog-label-container:first-child {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-quality-dialog-label {
|
|
|
|
display: table-caption;
|
|
|
|
word-spacing: unset;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-state-indicator {
|
|
|
|
background: $videoStateIndicatorBackground;
|
|
|
|
cursor: default;
|
|
|
|
font-size: 13px;
|
2017-10-06 16:14:45 +00:00
|
|
|
height: $videoStateIndicatorSize;
|
2017-08-09 19:40:03 +00:00
|
|
|
line-height: 20px;
|
|
|
|
text-align: left;
|
2017-10-06 16:14:45 +00:00
|
|
|
min-width: $videoStateIndicatorSize;
|
2017-08-09 19:40:03 +00:00
|
|
|
border-radius: 50%;
|
|
|
|
position: absolute;
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
i {
|
2017-10-06 16:14:45 +00:00
|
|
|
line-height: $videoStateIndicatorSize;
|
2017-08-09 19:40:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Give the label padding so it has more volume and can be easily clicked.
|
|
|
|
*/
|
|
|
|
.video-quality-label-status {
|
2017-10-06 16:14:45 +00:00
|
|
|
line-height: $videoStateIndicatorSize;
|
|
|
|
min-width: $videoStateIndicatorSize;
|
2017-08-09 19:40:03 +00:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.centeredVideoLabel.moveToCorner {
|
|
|
|
z-index: $tooltipsZ;
|
|
|
|
}
|
|
|
|
|
2017-08-22 18:32:51 +00:00
|
|
|
#videoResolutionLabel {
|
|
|
|
z-index: #{$tooltipsZ + 1};
|
|
|
|
}
|
|
|
|
|
2017-08-09 19:40:03 +00:00
|
|
|
.centeredVideoLabel {
|
|
|
|
bottom: 45%;
|
|
|
|
border-radius: 2px;
|
|
|
|
display: none;
|
2017-08-25 16:45:30 +00:00
|
|
|
padding: 10px;
|
|
|
|
transform: translate(-50%, 0);
|
2017-08-09 19:40:03 +00:00
|
|
|
z-index: $centeredVideoLabelZ;
|
|
|
|
|
|
|
|
&.moveToCorner {
|
|
|
|
bottom: auto;
|
2017-08-25 16:45:30 +00:00
|
|
|
transform: none;
|
|
|
|
-webkit-transition: all 2s 2s linear;
|
|
|
|
transition: all 2s 2s linear;
|
2017-08-09 19:40:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.moveToCorner {
|
|
|
|
position: absolute;
|
|
|
|
top: 30px;
|
|
|
|
right: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.moveToCorner + .moveToCorner {
|
|
|
|
right: 80px;
|
|
|
|
}
|