1
0
Fork 0
peertube/client/src/app/videos/+video-watch/video-watch.component.scss

212 lines
4.2 KiB
SCSS
Raw Normal View History

2016-11-08 14:49:43 -05:00
#video-container {
2017-12-05 04:44:11 -05:00
background-color: #000;
display: flex;
justify-content: center;
#video-element {
width: 888px;
height: 500px;
2017-12-07 04:02:01 -05:00
// VideoJS create an inner video player
video {
outline: 0;
}
2017-12-05 04:44:11 -05:00
}
}
#video-not-found {
height: 300px;
line-height: 300px;
margin-top: 50px;
text-align: center;
font-weight: bold;
}
2017-12-06 11:15:59 -05:00
.video-bottom {
margin-top: 40px;
display: flex;
2017-12-06 11:15:59 -05:00
.video-info {
flex-grow: 1;
margin-right: 28px;
2017-05-01 12:05:28 -04:00
2017-12-06 11:15:59 -05:00
.video-info-name-actions {
display: flex;
align-items: center;
2017-12-06 11:15:59 -05:00
.video-info-name {
font-size: 27px;
font-weight: $font-semibold;
flex-grow: 1;
}
2017-04-21 10:40:45 -04:00
2017-12-06 11:15:59 -05:00
.video-info-actions {
.action-button {
@include peertube-button;
2017-12-07 04:02:01 -05:00
@include grey-button;
2017-04-21 10:40:45 -04:00
2017-12-06 11:15:59 -05:00
font-size: 15px;
font-weight: $font-semibold;
display: inline-block;
padding: 0 10px 0 10px;
2017-04-21 10:40:45 -04:00
2017-12-07 04:02:01 -05:00
.icon {
2017-12-07 04:27:33 -05:00
@include icon(21px);
2017-12-07 04:02:01 -05:00
position: relative;
top: -2px;
&.icon-like {
background-image: url('../../../assets/images/video/like-grey.svg');
}
&.icon-dislike {
background-image: url('../../../assets/images/video/dislike-grey.svg');
}
&.icon-share {
background-image: url('../../../assets/images/video/share.svg');
}
&.icon-more {
background-image: url('../../../assets/images/video/more.svg');
}
2017-12-06 11:15:59 -05:00
}
2017-03-08 15:35:43 -05:00
2017-12-07 04:02:01 -05:00
&.activated {
@include orange-button;
2017-07-06 11:18:10 -04:00
2017-12-07 04:02:01 -05:00
.icon-like {
background-image: url('../../../assets/images/video/like-white.svg');
}
2017-03-08 15:35:43 -05:00
2017-12-07 04:02:01 -05:00
.icon-dislike {
background-image: url('../../../assets/images/video/dislike-white.svg');
}
2017-12-06 11:15:59 -05:00
}
2017-12-07 04:02:01 -05:00
}
2017-03-08 15:35:43 -05:00
2017-12-07 04:02:01 -05:00
.action-more {
display: inline-block;
2017-01-20 13:22:15 -05:00
2017-12-07 04:02:01 -05:00
.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;
&.icon-download {
2017-12-07 04:27:33 -05:00
background-image: url('../../../assets/images/video/download-grey.svg');
2017-12-07 04:02:01 -05:00
}
&.icon-alert {
background-image: url('../../../assets/images/video/alert.svg');
}
&.icon-blacklist {
background-image: url('../../../assets/images/video/eye-closed.svg');
}
2017-12-06 11:15:59 -05:00
}
2017-07-06 11:18:10 -04:00
}
}
2017-01-20 13:22:15 -05:00
}
2017-12-06 12:04:40 -05:00
.video-info-date-views-bar {
display: flex;
.video-info-date-views {
font-size: 16px;
margin-bottom: 10px;
flex-grow: 1;
}
.video-info-likes-dislikes-bar {
height: 5px;
width: 186px;
background-color: #E5E5E5;
margin-top: 25px;
.likes-bar {
height: 100%;
background-color: #39CC0B;
}
}
}
2017-12-06 11:15:59 -05:00
.video-info-channel {
font-weight: $font-semibold;
font-size: 15px;
}
2017-12-06 11:15:59 -05:00
.video-info-by {
display: flex;
align-items: center;
font-size: 13px;
2017-04-21 10:40:45 -04:00
2017-12-06 11:15:59 -05:00
img {
width: 16px;
height: 16px;
margin-left: 3px;
2017-04-21 10:40:45 -04:00
}
2017-03-22 16:15:55 -04:00
}
2017-03-27 15:11:37 -04:00
2017-12-06 11:15:59 -05:00
.video-info-description {
margin: 20px 0;
font-size: 15px;
.description-loading {
display: inline-block;
}
2017-12-06 11:15:59 -05:00
.video-info-description-more {
cursor: pointer;
2017-12-06 11:15:59 -05:00
font-weight: $font-semibold;
color: #585858;
font-size: 14px;
.glyphicon {
position: relative;
top: 2px;
}
}
2017-04-21 10:40:45 -04:00
}
2017-12-06 11:15:59 -05:00
.video-attributes {
.video-attribute {
font-size: 13px;
display: block;
margin-bottom: 12px;
2017-05-01 12:05:28 -04:00
2017-12-06 11:15:59 -05:00
.video-attribute-label {
width: 86px;
display: inline-block;
color: #585858;
font-weight: $font-bold;
2017-05-01 12:05:28 -04:00
}
}
}
}
.other-videos {
.title-page {
margin-top: 0;
}
/deep/ .video-miniature {
display: flex;
height: 100%;
margin-bottom: 20px;
2017-11-06 05:46:11 -05:00
.video-miniature-information {
margin-left: 10px;
}
}
2017-11-06 05:46:11 -05:00
}
}