Adapt theather icon depending on the player state
This commit is contained in:
parent
db5529f548
commit
4555697f21
|
@ -10,6 +10,7 @@
|
|||
}
|
||||
|
||||
.video-js.vjs-peertube-skin {
|
||||
|
||||
font-size: $font-size;
|
||||
color: $primary-foreground-color;
|
||||
|
||||
|
@ -402,6 +403,7 @@
|
|||
margin-right: 1px;
|
||||
|
||||
.vjs-icon-placeholder {
|
||||
transition: transform 0.2s ease;
|
||||
display: inline-block;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
|
@ -536,6 +538,24 @@
|
|||
width: 33px;
|
||||
}
|
||||
}
|
||||
|
||||
// Theater mode is enabled
|
||||
&.vjs-theater-enabled {
|
||||
.vjs-theater-control {
|
||||
width: 30px;
|
||||
|
||||
.vjs-icon-placeholder {
|
||||
transform: scale(0.8);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// On fullscreen, hide theater control
|
||||
&.vjs-fullscreen {
|
||||
.vjs-theater-control {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Play/pause animations
|
||||
|
|
|
@ -13,7 +13,7 @@ $setting-transition-easing: ease-out;
|
|||
@include disable-outline;
|
||||
|
||||
cursor: pointer;
|
||||
width: 37px;
|
||||
width: 33px;
|
||||
|
||||
.vjs-icon-placeholder {
|
||||
display: inline-block;
|
||||
|
|
Loading…
Reference in New Issue