aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--client/src/sass/player/peertube-skin.scss20
-rw-r--r--client/src/sass/player/settings-menu.scss2
2 files changed, 21 insertions, 1 deletions
diff --git a/client/src/sass/player/peertube-skin.scss b/client/src/sass/player/peertube-skin.scss
index e60a854d4..75c6a0e5c 100644
--- a/client/src/sass/player/peertube-skin.scss
+++ b/client/src/sass/player/peertube-skin.scss
@@ -10,6 +10,7 @@
10} 10}
11 11
12.video-js.vjs-peertube-skin { 12.video-js.vjs-peertube-skin {
13
13 font-size: $font-size; 14 font-size: $font-size;
14 color: $primary-foreground-color; 15 color: $primary-foreground-color;
15 16
@@ -402,6 +403,7 @@
402 margin-right: 1px; 403 margin-right: 1px;
403 404
404 .vjs-icon-placeholder { 405 .vjs-icon-placeholder {
406 transition: transform 0.2s ease;
405 display: inline-block; 407 display: inline-block;
406 width: 22px; 408 width: 22px;
407 height: 22px; 409 height: 22px;
@@ -536,6 +538,24 @@
536 width: 33px; 538 width: 33px;
537 } 539 }
538 } 540 }
541
542 // Theater mode is enabled
543 &.vjs-theater-enabled {
544 .vjs-theater-control {
545 width: 30px;
546
547 .vjs-icon-placeholder {
548 transform: scale(0.8);
549 }
550 }
551 }
552
553 // On fullscreen, hide theater control
554 &.vjs-fullscreen {
555 .vjs-theater-control {
556 display: none;
557 }
558 }
539} 559}
540 560
541// Play/pause animations 561// Play/pause animations
diff --git a/client/src/sass/player/settings-menu.scss b/client/src/sass/player/settings-menu.scss
index 6c213c5d1..f95123f52 100644
--- a/client/src/sass/player/settings-menu.scss
+++ b/client/src/sass/player/settings-menu.scss
@@ -13,7 +13,7 @@ $setting-transition-easing: ease-out;
13 @include disable-outline; 13 @include disable-outline;
14 14
15 cursor: pointer; 15 cursor: pointer;
16 width: 37px; 16 width: 33px;
17 17
18 .vjs-icon-placeholder { 18 .vjs-icon-placeholder {
19 display: inline-block; 19 display: inline-block;