@import '_bootstrap-variables';
@import '_miniature';
-$player-factor: #{16/9};
+$player-factor: 16/9;
$video-info-margin-left: 44px;
-@function getPlayerHeight($width){
- @return calc(#{$width} / #{$player-factor})
+@function getPlayerHeight ($width) {
+ @return calc(#{$width} / #{$player-factor});
}
-@function getPlayerWidth($height){
- @return calc(#{$height} * #{$player-factor})
+@function getPlayerWidth ($height) {
+ @return calc(#{$height} * #{$player-factor});
}
@mixin playlist-below-player {
.root {
&.theater-enabled #video-wrapper {
+ $height: calc(100vh - #{$header-height} - #{$theater-bottom-space});
+
flex-direction: column;
justify-content: center;
- $height: calc(100vh - #{$header-height} - #{$theater-bottom-space});
-
#videojs-wrapper {
width: 100%;
height: $height;
font-weight: $font-semibold;
}
+.placeholder-image {
+ height: 100%;
+}
+
#video-wrapper {
$video-height: 66vh;
.video-info-first-row {
display: flex;
- & > div:first-child {
+ > div:first-child {
flex-grow: 1;
}
.video-info-name {
+ @include peertube-word-wrap;
+
margin-right: 30px;
min-height: 40px; // Align with the action buttons
font-size: 27px;
a {
@include disable-default-a-behaviour;
+ @include peertube-word-wrap;
color: pvar(--mainForegroundColor);
}
}
- my-feed {
- margin-left: 5px;
- margin-top: 1px;
- }
-
.video-actions-rates {
- margin: 0 0 10px 0;
+ margin: 0 0 10px;
align-items: start;
width: max-content;
margin-left: auto;
font-size: 100%;
font-weight: $font-semibold;
display: inline-block;
- padding: 0 10px 0 10px;
+ padding: 0 10px;
white-space: nowrap;
background-color: transparent !important;
color: pvar(--actionButtonColor);
}
}
- .glyphicon, .description-loading {
+ .glyphicon,
+ .description-loading {
margin-left: 3px;
}
&.video-attribute-tags {
.video-attribute-value:not(:nth-child(2)) {
&::before {
- content: ', '
+ content: ', ';
}
}
}