2017-12-11 16:36:46 +00:00
|
|
|
@import '_variables';
|
|
|
|
@import '_mixins';
|
|
|
|
|
2016-11-08 19:49:43 +00:00
|
|
|
#video-container {
|
2017-12-05 09:44:11 +00:00
|
|
|
background-color: #000;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
#video-element {
|
|
|
|
width: 888px;
|
|
|
|
height: 500px;
|
2017-12-07 09:02:01 +00:00
|
|
|
|
2017-12-11 08:08:15 +00:00
|
|
|
@media screen and (max-width: 800px) {
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
2017-12-07 09:02:01 +00:00
|
|
|
// VideoJS create an inner video player
|
|
|
|
video {
|
|
|
|
outline: 0;
|
2017-12-11 08:08:15 +00:00
|
|
|
position: relative !important;
|
2017-12-07 09:02:01 +00:00
|
|
|
}
|
2017-12-05 09:44:11 +00:00
|
|
|
}
|
2016-06-05 06:48:44 +00:00
|
|
|
}
|
|
|
|
|
2016-11-16 19:09:36 +00:00
|
|
|
#video-not-found {
|
|
|
|
height: 300px;
|
|
|
|
line-height: 300px;
|
|
|
|
margin-top: 50px;
|
|
|
|
text-align: center;
|
2017-12-21 14:24:49 +00:00
|
|
|
font-weight: $font-semibold;
|
|
|
|
font-size: 15px;
|
2016-11-16 19:09:36 +00:00
|
|
|
}
|
|
|
|
|
2017-12-06 16:15:59 +00:00
|
|
|
.video-bottom {
|
|
|
|
margin-top: 40px;
|
|
|
|
display: flex;
|
2016-11-04 15:04:50 +00:00
|
|
|
|
2017-12-06 16:15:59 +00:00
|
|
|
.video-info {
|
|
|
|
flex-grow: 1;
|
|
|
|
margin-right: 28px;
|
2017-05-01 16:05:28 +00:00
|
|
|
|
2018-01-31 10:38:05 +00:00
|
|
|
.video-info-first-row {
|
2017-12-06 16:15:59 +00:00
|
|
|
display: flex;
|
2018-01-31 10:38:05 +00:00
|
|
|
|
2018-02-07 10:02:56 +00:00
|
|
|
& > div:first-child {
|
2018-01-31 10:38:05 +00:00
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2016-11-04 15:04:50 +00:00
|
|
|
|
2017-12-06 16:15:59 +00:00
|
|
|
.video-info-name {
|
2017-12-12 13:41:59 +00:00
|
|
|
margin-right: 30px;
|
2018-02-07 10:02:56 +00:00
|
|
|
min-height: 40px; // Align with the action buttons
|
2017-12-06 16:15:59 +00:00
|
|
|
font-size: 27px;
|
|
|
|
font-weight: $font-semibold;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2017-04-21 14:40:45 +00:00
|
|
|
|
2018-01-31 10:38:05 +00:00
|
|
|
.video-info-date-views {
|
|
|
|
font-size: 16px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-info-channel {
|
|
|
|
font-weight: $font-semibold;
|
|
|
|
font-size: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-info-by {
|
2017-12-21 10:08:46 +00:00
|
|
|
display: flex;
|
2018-01-31 10:38:05 +00:00
|
|
|
align-items: center;
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
|
|
img {
|
|
|
|
@include avatar(18px);
|
2017-12-21 10:08:46 +00:00
|
|
|
|
2018-01-31 10:38:05 +00:00
|
|
|
margin-left: 7px;
|
2017-12-21 10:08:46 +00:00
|
|
|
}
|
2018-01-31 10:38:05 +00:00
|
|
|
}
|
2017-12-12 13:41:59 +00:00
|
|
|
|
2018-01-31 10:38:05 +00:00
|
|
|
.video-actions-rates {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2018-02-07 10:02:56 +00:00
|
|
|
align-items: flex-end;
|
2017-04-21 14:40:45 +00:00
|
|
|
|
2018-01-31 10:38:05 +00:00
|
|
|
.video-actions {
|
|
|
|
height: 40px; // Align with the title
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2017-04-21 14:40:45 +00:00
|
|
|
|
2018-01-31 10:38:05 +00:00
|
|
|
.action-button:not(:first-child), .action-more {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
2017-12-07 09:27:33 +00:00
|
|
|
|
2018-01-31 10:38:05 +00:00
|
|
|
.action-button {
|
|
|
|
@include peertube-button;
|
|
|
|
@include grey-button;
|
2017-12-07 09:02:01 +00:00
|
|
|
|
2018-01-31 10:38:05 +00:00
|
|
|
font-size: 15px;
|
|
|
|
font-weight: $font-semibold;
|
|
|
|
display: inline-block;
|
|
|
|
padding: 0 10px 0 10px;
|
2017-12-07 09:02:01 +00:00
|
|
|
|
2018-01-31 10:38:05 +00:00
|
|
|
.icon {
|
|
|
|
@include icon(21px);
|
2017-12-07 09:02:01 +00:00
|
|
|
|
2018-01-31 10:38:05 +00: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');
|
|
|
|
}
|
2017-12-07 09:02:01 +00:00
|
|
|
|
2018-01-31 10:38:05 +00:00
|
|
|
&.icon-share {
|
|
|
|
background-image: url('../../../assets/images/video/share.svg');
|
|
|
|
}
|
|
|
|
|
|
|
|
&.icon-more {
|
|
|
|
background-image: url('../../../assets/images/video/more.svg');
|
|
|
|
top: -1px;
|
|
|
|
}
|
2017-12-07 09:02:01 +00:00
|
|
|
}
|
2017-03-08 20:35:43 +00:00
|
|
|
|
2018-02-07 10:02:56 +00:00
|
|
|
&.action-button-share {
|
|
|
|
width: 82px;
|
|
|
|
}
|
|
|
|
|
2018-01-31 10:38:05 +00:00
|
|
|
&.action-button-like.activated {
|
|
|
|
background-color: #39CC0B;
|
2017-07-06 15:18:10 +00:00
|
|
|
|
2018-01-31 10:38:05 +00:00
|
|
|
.icon-like {
|
|
|
|
background-image: url('../../../assets/images/video/like-white.svg');
|
|
|
|
}
|
2017-12-07 09:02:01 +00:00
|
|
|
}
|
2017-12-21 10:08:46 +00:00
|
|
|
|
2018-01-31 10:38:05 +00:00
|
|
|
&.action-button-dislike.activated {
|
|
|
|
background-color: #FF0000;
|
2017-03-08 20:35:43 +00:00
|
|
|
|
2018-01-31 10:38:05 +00:00
|
|
|
.icon-dislike {
|
|
|
|
background-image: url('../../../assets/images/video/dislike-white.svg');
|
|
|
|
}
|
2017-12-07 09:02:01 +00:00
|
|
|
}
|
2017-12-06 16:15:59 +00:00
|
|
|
}
|
2017-03-08 20:35:43 +00:00
|
|
|
|
2018-01-31 10:38:05 +00:00
|
|
|
.action-more {
|
|
|
|
display: inline-block;
|
2017-01-20 18:22:15 +00:00
|
|
|
|
2018-01-31 10:38:05 +00:00
|
|
|
.dropdown-menu .dropdown-item {
|
|
|
|
padding: 6px 24px;
|
2017-12-07 09:02:01 +00:00
|
|
|
|
2018-01-31 10:38:05 +00:00
|
|
|
.icon {
|
|
|
|
@include icon(24px);
|
2017-12-07 09:02:01 +00:00
|
|
|
|
2018-01-31 10:38:05 +00:00
|
|
|
margin-right: 10px;
|
|
|
|
position: relative;
|
|
|
|
top: -1px;
|
2017-12-20 16:49:58 +00:00
|
|
|
|
2018-01-31 10:38:05 +00:00
|
|
|
&.icon-download {
|
|
|
|
background-image: url('../../../assets/images/video/download-black.svg');
|
|
|
|
}
|
2017-12-20 16:49:58 +00:00
|
|
|
|
2018-01-31 10:38:05 +00:00
|
|
|
&.icon-edit {
|
|
|
|
background-image: url('../../../assets/images/global/edit-black.svg');
|
|
|
|
}
|
2017-12-27 15:11:53 +00:00
|
|
|
|
2018-01-31 10:38:05 +00:00
|
|
|
&.icon-alert {
|
|
|
|
background-image: url('../../../assets/images/video/alert.svg');
|
|
|
|
}
|
2017-12-07 09:02:01 +00:00
|
|
|
|
2018-01-31 10:38:05 +00:00
|
|
|
&.icon-blacklist {
|
|
|
|
background-image: url('../../../assets/images/video/blacklist.svg');
|
|
|
|
}
|
2017-12-20 16:49:58 +00:00
|
|
|
}
|
2017-12-07 09:02:01 +00:00
|
|
|
}
|
2017-12-06 16:15:59 +00:00
|
|
|
}
|
2017-07-06 15:18:10 +00:00
|
|
|
}
|
2017-12-06 17:04:40 +00:00
|
|
|
|
2018-01-31 10:38:05 +00:00
|
|
|
.video-info-likes-dislikes-bar {
|
|
|
|
height: 5px;
|
|
|
|
width: 186px;
|
|
|
|
background-color: #E5E5E5;
|
|
|
|
margin-top: 25px;
|
2017-12-06 17:04:40 +00:00
|
|
|
|
2018-01-31 10:38:05 +00:00
|
|
|
.likes-bar {
|
|
|
|
height: 100%;
|
|
|
|
background-color: #39CC0B;
|
|
|
|
}
|
2017-12-06 17:04:40 +00:00
|
|
|
}
|
|
|
|
}
|
2016-11-04 15:04:50 +00:00
|
|
|
}
|
|
|
|
|
2017-12-06 16:15:59 +00:00
|
|
|
.video-info-description {
|
|
|
|
margin: 20px 0;
|
|
|
|
font-size: 15px;
|
2016-11-04 15:04:50 +00:00
|
|
|
|
2017-11-28 14:40:53 +00:00
|
|
|
.description-loading {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2017-12-06 16:15:59 +00:00
|
|
|
.video-info-description-more {
|
2017-10-30 19:26:06 +00:00
|
|
|
cursor: pointer;
|
2017-12-06 16:15:59 +00:00
|
|
|
font-weight: $font-semibold;
|
|
|
|
color: #585858;
|
|
|
|
font-size: 14px;
|
2017-10-30 19:26:06 +00:00
|
|
|
|
|
|
|
.glyphicon {
|
|
|
|
position: relative;
|
|
|
|
top: 2px;
|
|
|
|
}
|
|
|
|
}
|
2017-04-21 14:40:45 +00:00
|
|
|
}
|
|
|
|
|
2018-01-31 10:38:05 +00:00
|
|
|
.video-attributes .video-attribute {
|
|
|
|
font-size: 13px;
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 12px;
|
|
|
|
|
|
|
|
.video-attribute-label {
|
|
|
|
width: 86px;
|
|
|
|
display: inline-block;
|
|
|
|
color: #585858;
|
|
|
|
font-weight: $font-bold;
|
2017-05-01 16:05:28 +00:00
|
|
|
}
|
|
|
|
}
|
2017-12-06 17:10:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.other-videos {
|
|
|
|
.title-page {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/deep/ .video-miniature {
|
|
|
|
display: flex;
|
|
|
|
height: 100%;
|
|
|
|
margin-bottom: 20px;
|
2017-11-06 10:46:11 +00:00
|
|
|
|
2017-12-06 17:10:57 +00:00
|
|
|
.video-miniature-information {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
}
|
2017-11-06 10:46:11 +00:00
|
|
|
}
|
2016-11-04 15:04:50 +00:00
|
|
|
}
|
2017-12-06 17:10:57 +00:00
|
|
|
|
2017-12-11 08:08:15 +00:00
|
|
|
|
2017-12-21 10:08:46 +00:00
|
|
|
@media screen and (max-width: 1300px) {
|
2017-12-11 08:08:15 +00:00
|
|
|
.other-videos {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-bottom {
|
|
|
|
.video-info {
|
2017-12-11 09:02:17 +00:00
|
|
|
margin-right: 0;
|
2017-12-11 08:39:40 +00:00
|
|
|
|
2018-01-31 10:38:05 +00:00
|
|
|
.video-info-first-row {
|
2017-12-11 08:08:15 +00:00
|
|
|
flex-direction: column;
|
|
|
|
margin-bottom: 30px;
|
2018-01-31 10:38:05 +00:00
|
|
|
|
|
|
|
.video-actions-rates {
|
|
|
|
margin-top: 20px;
|
|
|
|
align-items: left;
|
|
|
|
|
|
|
|
.video-info-likes-dislikes-bar {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
}
|
2017-12-11 08:08:15 +00:00
|
|
|
}
|
|
|
|
|
2018-01-31 10:38:05 +00:00
|
|
|
.video-info-date-views {
|
2017-12-11 08:08:15 +00:00
|
|
|
flex-direction: column;
|
|
|
|
margin-bottom: 30px;
|
|
|
|
|
|
|
|
.video-info-likes-dislikes-bar {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
2018-01-31 10:38:05 +00:00
|
|
|
|
|
|
|
.video-attributes .video-attribute {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
2017-12-11 08:08:15 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-12-12 13:41:59 +00:00
|
|
|
|
2018-01-31 10:38:05 +00:00
|
|
|
@media screen and (max-width: 600px) {
|
2017-12-12 13:41:59 +00:00
|
|
|
.video-bottom {
|
|
|
|
margin: 20px 0 0 0;
|
2018-01-31 10:38:05 +00:00
|
|
|
|
|
|
|
.video-info {
|
|
|
|
|
|
|
|
.video-info-first-row {
|
|
|
|
|
|
|
|
.video-info-name {
|
|
|
|
font-size: 20px;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-12-12 13:41:59 +00:00
|
|
|
}
|
|
|
|
}
|