@mixin playlist-below-player {
width: 100%;
+ height: auto;
+ max-height: 300px;
border-bottom: 1px solid $separator-border-color;
}
.root {
- margin: 0 -15px;
-
&.theater-enabled #video-wrapper {
flex-direction: column;
justify-content: center;
background-color: #000;
display: flex;
justify-content: center;
+ margin: 0 -15px;
+
+ #videojs-wrapper {
+ display: flex;
+ justify-content: center;
+ flex-grow: 1;
+ }
.remote-server-down {
color: #fff;
}
.playlist {
- width: 400px;
+ min-width: 200px;
+ max-width: 470px;
height: 66vh;
background-color: var(--mainBackgroundColor);
overflow-y: auto;
+ border-bottom: 1px solid $separator-border-color;
.playlist-info {
padding: 5px 30px;
display: flex;
align-items: center;
- .action-button:not(:first-child), .action-dropdown {
+ .action-button:not(:first-child),
+ .action-dropdown,
+ my-video-actions-dropdown {
margin-left: 10px;
}
margin-left: 3px;
}
}
-
- .action-dropdown {
- display: inline-block;
-
- .dropdown-menu .dropdown-item {
- @include dropdown-with-icon-item;
- }
- }
}
.video-info-likes-dislikes-bar {
// If the view is not expanded, take into account the menu
.privacy-concerns {
width: calc(100% - #{$menu-width});
+ margin-left: -15px;
}
@media screen and (max-width: $small-view) {
}
@media screen and (max-width: 1100px) {
+ #video-wrapper {
+ flex-direction: column;
+ justify-content: center;
+
+ .playlist {
+ @include playlist-below-player;
+ }
+ }
+
.video-bottom {
flex-direction: column;
}
}
-@media screen and (max-width: 900px) {
- #video-wrapper {
- flex-direction: column;
- justify-content: center;
-
- #videojs-wrapper {
- display: flex;
- justify-content: center;
- }
-
- .playlist {
- @include playlist-below-player;
- }
- }
-}
-
@media screen and (max-width: 600px) {
.video-bottom {
- margin: 20px 0 0 0;
+ margin: 20px 0 0 0 !important;
.video-info {
padding: 0;