+@import '_variables';
+@import '_mixins';
+
#video-container {
background-color: #000;
display: flex;
width: 888px;
height: 500px;
+ @media screen and (max-width: 800px) {
+ height: auto;
+ }
+
// VideoJS create an inner video player
video {
outline: 0;
+ position: relative !important;
}
}
}
align-items: center;
.video-info-name {
+ margin-right: 30px;
font-size: 27px;
font-weight: $font-semibold;
flex-grow: 1;
}
.video-info-actions {
+ min-width: 215px;
+
.action-button {
@include peertube-button;
@include grey-button;
&.icon-more {
background-image: url('../../../assets/images/video/more.svg');
+ top: -1px;
}
}
.action-more {
display: inline-block;
- .dropdown-menu .icon {
- display: inline-block;
- background-repeat: no-repeat;
- background-size: contain;
- width: 21px;
- height: 21px;
- vertical-align: middle;
- margin-right: 5px;
- position: relative;
- top: -1px;
+ .dropdown-menu .dropdown-item {
+ padding: 6px 24px;
- &.icon-download {
- background-image: url('../../../assets/images/video/download-grey.svg');
- }
+ .icon {
+ @include icon(24px);
- &.icon-alert {
- background-image: url('../../../assets/images/video/alert.svg');
- }
+ margin-right: 10px;
+ position: relative;
+ top: -1px;
- &.icon-blacklist {
- background-image: url('../../../assets/images/video/eye-closed.svg');
+ &.icon-download {
+ background-image: url('../../../assets/images/video/download-black.svg');
+ }
+
+ &.icon-alert {
+ background-image: url('../../../assets/images/video/alert.svg');
+ }
+
+ &.icon-blacklist {
+ background-image: url('../../../assets/images/video/blacklist.svg');
+ }
}
}
}
}
}
+
+@media screen and (max-width: 1200px) {
+ .other-videos {
+ display: none;
+ }
+
+ .video-bottom {
+ .video-info {
+ margin-right: 0;
+
+ .video-info-name-actions {
+ align-items: left;
+ flex-direction: column;
+ margin-bottom: 30px;
+ }
+
+ .video-info-date-views-bar {
+ align-items: left;
+ flex-direction: column;
+ margin-bottom: 30px;
+
+ .video-info-likes-dislikes-bar {
+ margin-top: 0;
+ }
+ }
+ }
+ }
+}
+
+@media screen and (max-width: 800px) {
+ .video-bottom {
+ margin: 20px 0 0 0;
+ }
+}