mirror of https://github.com/Chocobozzz/PeerTube
Improve player control bar icons alignment
parent
c97b8fd2ea
commit
1c0270ca8a
|
@ -11,7 +11,7 @@ $font-size: 13px;
|
||||||
|
|
||||||
$control-bar-height: 38px;
|
$control-bar-height: 38px;
|
||||||
$control-bar-icon-size: 26px;
|
$control-bar-icon-size: 26px;
|
||||||
$control-bar-volume-slider-height: 14px;
|
$control-bar-volume-slider-height: 16px;
|
||||||
$control-bar-slider-top: -15px;
|
$control-bar-slider-top: -15px;
|
||||||
$control-bar-font-size: 14px;
|
$control-bar-font-size: 14px;
|
||||||
$control-bar-play-font-size: 34px;
|
$control-bar-play-font-size: 34px;
|
||||||
|
|
|
@ -370,12 +370,12 @@
|
||||||
@include disable-outline;
|
@include disable-outline;
|
||||||
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
width: $control-bar-button-width - 5px;
|
width: $control-bar-button-width - 4px;
|
||||||
|
|
||||||
.vjs-icon-placeholder {
|
.vjs-icon-placeholder {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
height: $control-bar-icon-size - 5px;
|
height: $control-bar-icon-size - 4px;
|
||||||
width: $control-bar-icon-size - 5px;
|
width: $control-bar-icon-size - 4px;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
background: url('#{$assets-path}/player/images/settings.svg') no-repeat;
|
background: url('#{$assets-path}/player/images/settings.svg') no-repeat;
|
||||||
background-size: contain;
|
background-size: contain;
|
||||||
|
@ -440,7 +440,7 @@
|
||||||
|
|
||||||
> .vjs-icon-placeholder::before {
|
> .vjs-icon-placeholder::before {
|
||||||
font-size: 2.3em;
|
font-size: 2.3em;
|
||||||
line-height: 1.3;
|
line-height: 38px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue