}
@mixin playlist-below-player {
- width: 100%;
- height: auto;
- max-height: 300px;
- border-bottom: 1px solid $separator-border-color;
+ width: 100% !important;
+ height: auto !important;
+ max-height: 300px !important;
+ border-bottom: 1px solid $separator-border-color !important;
}
.root {
width: 100%;
}
- .playlist {
+ my-video-watch-playlist /deep/ .playlist {
@include playlist-below-player;
}
}
}
}
- .playlist {
- 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;
- background-color: #e4e4e4;
-
- .playlist-display-name {
- font-size: 18px;
- font-weight: $font-semibold;
- margin-bottom: 5px;
- }
-
- .playlist-by-index {
- color: $grey-foreground-color;
- display: flex;
-
- .playlist-by {
- margin-right: 5px;
- }
-
- .playlist-index span:first-child::after {
- content: '/';
- margin: 0 3px;
- }
- }
- }
-
- my-video-playlist-element-miniature {
- /deep/ {
- .video {
- .position {
- margin-right: 0;
- }
-
- .video-info {
- .video-info-name {
- font-size: 15px;
- }
- }
- }
-
- my-video-thumbnail {
- @include thumbnail-size-component(90px, 50px);
- }
- }
- }
- }
-
/deep/ .video-js {
width: getPlayerWidth(66vh);
height: 66vh;
.alert {
text-align: center;
+ border-radius: 0;
}
#video-not-found {
// 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) {
.privacy-concerns {
- margin-left: $menu-width;
+ margin-left: $menu-width - 15px; // Menu is absolute
}
}
:host-context(.expanded) {
.privacy-concerns {
width: 100%;
- margin-left: 0;
+ margin-left: -15px;
}
}
padding: 5px 15px;
display: flex;
+ flex-wrap: nowrap;
align-items: center;
justify-content: flex-start;
background-color: rgba(0, 0, 0, 0.9);
flex-direction: column;
justify-content: center;
- .playlist {
+ my-video-watch-playlist /deep/ .playlist {
@include playlist-below-player;
}
}