2017-12-11 11:36:46 -05:00
|
|
|
@import '_variables';
|
|
|
|
@import '_mixins';
|
|
|
|
|
2018-04-03 12:06:58 -04:00
|
|
|
#video-element-wrapper {
|
2017-12-05 04:44:11 -05:00
|
|
|
background-color: #000;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2018-07-16 13:15:20 -04:00
|
|
|
height: 500px;
|
2017-12-05 04:44:11 -05:00
|
|
|
|
2018-07-16 13:15:20 -04:00
|
|
|
@media screen and (max-width: 600px) {
|
|
|
|
width: 100vw;
|
|
|
|
height: calc(100vw / 1.7); // 16/9
|
|
|
|
}
|
|
|
|
|
|
|
|
.remote-server-down {
|
|
|
|
color: #fff;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
text-align: center;
|
|
|
|
justify-content: center;
|
|
|
|
background-color: #141313;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
font-size: 24px;
|
|
|
|
|
|
|
|
@media screen and (max-width: 1000px) {
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
2017-12-07 04:02:01 -05:00
|
|
|
|
2018-02-28 03:39:08 -05:00
|
|
|
@media screen and (max-width: 600px) {
|
2018-07-16 13:15:20 -04:00
|
|
|
font-size: 16px;
|
2017-12-11 03:08:15 -05:00
|
|
|
}
|
2018-07-16 13:15:20 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
/deep/ .video-js {
|
|
|
|
width: 888px;
|
|
|
|
height: 100%;
|
2017-12-11 03:08:15 -05:00
|
|
|
|
2017-12-07 04:02:01 -05:00
|
|
|
// VideoJS create an inner video player
|
|
|
|
video {
|
|
|
|
outline: 0;
|
2017-12-11 03:08:15 -05:00
|
|
|
position: relative !important;
|
2017-12-07 04:02:01 -05:00
|
|
|
}
|
2017-12-05 04:44:11 -05:00
|
|
|
}
|
2018-06-11 10:49:56 -04:00
|
|
|
|
|
|
|
/deep/ .video-js.vjs-theater-enabled {
|
|
|
|
width: 100%;
|
|
|
|
height: calc(100vh - #{$header-height} - #{$theater-bottom-space});
|
|
|
|
}
|
2016-06-05 02:48:44 -04:00
|
|
|
}
|
|
|
|
|
2018-06-15 10:52:15 -04:00
|
|
|
.alert {
|
2018-06-12 14:04:58 -04:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2016-11-16 14:09:36 -05:00
|
|
|
#video-not-found {
|
|
|
|
height: 300px;
|
|
|
|
line-height: 300px;
|
|
|
|
margin-top: 50px;
|
|
|
|
text-align: center;
|
2017-12-21 09:24:49 -05:00
|
|
|
font-weight: $font-semibold;
|
|
|
|
font-size: 15px;
|
2016-11-16 14:09:36 -05:00
|
|
|
}
|
|
|
|
|
2017-12-06 11:15:59 -05:00
|
|
|
.video-bottom {
|
|
|
|
margin-top: 40px;
|
|
|
|
display: flex;
|
2016-11-04 11:04:50 -04:00
|
|
|
|
2017-12-06 11:15:59 -05:00
|
|
|
.video-info {
|
|
|
|
flex-grow: 1;
|
2018-03-26 03:36:30 -04:00
|
|
|
margin-right: 40px;
|
|
|
|
// Set min width for flex item
|
|
|
|
min-width: 1px;
|
2017-05-01 12:05:28 -04:00
|
|
|
|
2018-01-31 05:38:05 -05:00
|
|
|
.video-info-first-row {
|
2017-12-06 11:15:59 -05:00
|
|
|
display: flex;
|
2018-01-31 05:38:05 -05:00
|
|
|
|
2018-02-07 05:02:56 -05:00
|
|
|
& > div:first-child {
|
2018-01-31 05:38:05 -05:00
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2016-11-04 11:04:50 -04:00
|
|
|
|
2017-12-06 11:15:59 -05:00
|
|
|
.video-info-name {
|
2017-12-12 08:41:59 -05:00
|
|
|
margin-right: 30px;
|
2018-02-07 05:02:56 -05:00
|
|
|
min-height: 40px; // Align with the action buttons
|
2017-12-06 11:15:59 -05:00
|
|
|
font-size: 27px;
|
|
|
|
font-weight: $font-semibold;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2017-04-21 10:40:45 -04:00
|
|
|
|
2018-01-31 05:38:05 -05:00
|
|
|
.video-info-date-views {
|
|
|
|
font-size: 16px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-info-channel {
|
|
|
|
font-weight: $font-semibold;
|
|
|
|
font-size: 15px;
|
2018-05-07 05:20:58 -04:00
|
|
|
|
|
|
|
a {
|
|
|
|
@include disable-default-a-behaviour;
|
|
|
|
|
|
|
|
color: #000;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
2018-06-29 08:34:04 -04:00
|
|
|
|
|
|
|
img {
|
|
|
|
@include avatar(18px);
|
|
|
|
|
|
|
|
margin: -2px 2px 0 5px;
|
|
|
|
}
|
2018-05-07 05:20:58 -04:00
|
|
|
}
|
2018-05-07 11:40:46 -04:00
|
|
|
|
|
|
|
my-help {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2018-01-31 05:38:05 -05:00
|
|
|
}
|
|
|
|
|
2018-04-25 08:32:19 -04:00
|
|
|
.video-info-by a {
|
|
|
|
@include disable-default-a-behaviour;
|
|
|
|
|
2018-06-15 17:34:50 -04:00
|
|
|
display: inline;
|
2018-01-31 05:38:05 -05:00
|
|
|
align-items: center;
|
|
|
|
font-size: 13px;
|
2018-04-25 08:32:19 -04:00
|
|
|
color: #000;
|
2018-01-31 05:38:05 -05:00
|
|
|
|
2018-04-25 08:32:19 -04:00
|
|
|
span:hover {
|
|
|
|
opacity: 0.8;
|
2018-04-17 09:11:12 -04:00
|
|
|
}
|
|
|
|
|
2018-01-31 05:38:05 -05:00
|
|
|
img {
|
|
|
|
@include avatar(18px);
|
2017-12-21 05:08:46 -05:00
|
|
|
|
2018-06-29 08:34:04 -04:00
|
|
|
margin-top: -2px;
|
2018-01-31 05:38:05 -05:00
|
|
|
margin-left: 7px;
|
2017-12-21 05:08:46 -05:00
|
|
|
}
|
2018-01-31 05:38:05 -05:00
|
|
|
}
|
2017-12-12 08:41:59 -05:00
|
|
|
|
2018-04-16 18:49:04 -04:00
|
|
|
my-video-feed {
|
|
|
|
margin-left: 5px;
|
|
|
|
margin-top: 1px;
|
|
|
|
}
|
|
|
|
|
2018-01-31 05:38:05 -05:00
|
|
|
.video-actions-rates {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2018-02-07 05:02:56 -05:00
|
|
|
align-items: flex-end;
|
2017-04-21 10:40:45 -04:00
|
|
|
|
2018-01-31 05:38:05 -05:00
|
|
|
.video-actions {
|
|
|
|
height: 40px; // Align with the title
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2017-04-21 10:40:45 -04:00
|
|
|
|
2018-01-31 05:38:05 -05:00
|
|
|
.action-button:not(:first-child), .action-more {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
2017-12-07 04:27:33 -05:00
|
|
|
|
2018-01-31 05:38:05 -05:00
|
|
|
.action-button {
|
|
|
|
@include peertube-button;
|
|
|
|
@include grey-button;
|
2017-12-07 04:02:01 -05:00
|
|
|
|
2018-01-31 05:38:05 -05:00
|
|
|
font-size: 15px;
|
|
|
|
font-weight: $font-semibold;
|
|
|
|
display: inline-block;
|
|
|
|
padding: 0 10px 0 10px;
|
2018-02-20 10:13:05 -05:00
|
|
|
white-space: nowrap;
|
2017-12-07 04:02:01 -05:00
|
|
|
|
2018-01-31 05:38:05 -05:00
|
|
|
.icon {
|
|
|
|
@include icon(21px);
|
2017-12-07 04:02:01 -05:00
|
|
|
|
2018-01-31 05:38:05 -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');
|
|
|
|
}
|
2017-12-07 04:02:01 -05:00
|
|
|
|
2018-02-20 10:13:05 -05:00
|
|
|
&.icon-support {
|
|
|
|
background-image: url('../../../assets/images/video/heart.svg');
|
|
|
|
}
|
|
|
|
|
2018-01-31 05:38:05 -05: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 04:02:01 -05:00
|
|
|
}
|
2017-03-08 15:35:43 -05:00
|
|
|
|
2018-06-05 10:52:25 -04:00
|
|
|
.icon-text {
|
|
|
|
margin-left: 3px;
|
2018-02-07 05:02:56 -05:00
|
|
|
}
|
|
|
|
|
2018-01-31 05:38:05 -05:00
|
|
|
&.action-button-like.activated {
|
|
|
|
background-color: #39CC0B;
|
2017-07-06 11:18:10 -04:00
|
|
|
|
2018-01-31 05:38:05 -05:00
|
|
|
.icon-like {
|
|
|
|
background-image: url('../../../assets/images/video/like-white.svg');
|
|
|
|
}
|
2017-12-07 04:02:01 -05:00
|
|
|
}
|
2017-12-21 05:08:46 -05:00
|
|
|
|
2018-01-31 05:38:05 -05:00
|
|
|
&.action-button-dislike.activated {
|
|
|
|
background-color: #FF0000;
|
2017-03-08 15:35:43 -05:00
|
|
|
|
2018-01-31 05:38:05 -05:00
|
|
|
.icon-dislike {
|
|
|
|
background-image: url('../../../assets/images/video/dislike-white.svg');
|
|
|
|
}
|
2017-12-07 04:02:01 -05:00
|
|
|
}
|
2017-12-06 11:15:59 -05:00
|
|
|
}
|
2017-03-08 15:35:43 -05:00
|
|
|
|
2018-01-31 05:38:05 -05:00
|
|
|
.action-more {
|
|
|
|
display: inline-block;
|
2017-01-20 13:22:15 -05:00
|
|
|
|
2018-01-31 05:38:05 -05:00
|
|
|
.dropdown-menu .dropdown-item {
|
|
|
|
padding: 6px 24px;
|
2017-12-07 04:02:01 -05:00
|
|
|
|
2018-01-31 05:38:05 -05:00
|
|
|
.icon {
|
|
|
|
@include icon(24px);
|
2017-12-07 04:02:01 -05:00
|
|
|
|
2018-01-31 05:38:05 -05:00
|
|
|
margin-right: 10px;
|
|
|
|
position: relative;
|
|
|
|
top: -1px;
|
2017-12-20 11:49:58 -05:00
|
|
|
|
2018-01-31 05:38:05 -05:00
|
|
|
&.icon-download {
|
|
|
|
background-image: url('../../../assets/images/video/download-black.svg');
|
|
|
|
}
|
2017-12-20 11:49:58 -05:00
|
|
|
|
2018-01-31 05:38:05 -05:00
|
|
|
&.icon-edit {
|
|
|
|
background-image: url('../../../assets/images/global/edit-black.svg');
|
|
|
|
}
|
2017-12-27 10:11:53 -05:00
|
|
|
|
2018-01-31 05:38:05 -05:00
|
|
|
&.icon-alert {
|
|
|
|
background-image: url('../../../assets/images/video/alert.svg');
|
|
|
|
}
|
2017-12-07 04:02:01 -05:00
|
|
|
|
2018-01-31 05:38:05 -05:00
|
|
|
&.icon-blacklist {
|
|
|
|
background-image: url('../../../assets/images/video/blacklist.svg');
|
|
|
|
}
|
2017-12-20 11:49:58 -05:00
|
|
|
}
|
2017-12-07 04:02:01 -05:00
|
|
|
}
|
2017-12-06 11:15:59 -05:00
|
|
|
}
|
2017-07-06 11:18:10 -04:00
|
|
|
}
|
2017-12-06 12:04:40 -05:00
|
|
|
|
2018-01-31 05:38:05 -05:00
|
|
|
.video-info-likes-dislikes-bar {
|
|
|
|
height: 5px;
|
|
|
|
width: 186px;
|
|
|
|
background-color: #E5E5E5;
|
|
|
|
margin-top: 25px;
|
2017-12-06 12:04:40 -05:00
|
|
|
|
2018-01-31 05:38:05 -05:00
|
|
|
.likes-bar {
|
|
|
|
height: 100%;
|
|
|
|
background-color: #39CC0B;
|
|
|
|
}
|
2017-12-06 12:04:40 -05:00
|
|
|
}
|
|
|
|
}
|
2016-11-04 11:04:50 -04:00
|
|
|
}
|
|
|
|
|
2017-12-06 11:15:59 -05:00
|
|
|
.video-info-description {
|
|
|
|
margin: 20px 0;
|
|
|
|
font-size: 15px;
|
2016-11-04 11:04:50 -04:00
|
|
|
|
2018-02-20 05:29:28 -05:00
|
|
|
.video-info-description-html {
|
2018-04-20 02:19:46 -04:00
|
|
|
@include peertube-word-wrap;
|
2018-02-20 05:29:28 -05:00
|
|
|
}
|
|
|
|
|
2018-06-13 09:59:40 -04:00
|
|
|
.glyphicon, .description-loading {
|
|
|
|
margin-left: 3px;
|
|
|
|
}
|
|
|
|
|
2017-11-28 09:40:53 -05:00
|
|
|
.description-loading {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2017-12-06 11:15:59 -05:00
|
|
|
.video-info-description-more {
|
2017-10-30 15:26:06 -04:00
|
|
|
cursor: pointer;
|
2017-12-06 11:15:59 -05:00
|
|
|
font-weight: $font-semibold;
|
|
|
|
color: #585858;
|
|
|
|
font-size: 14px;
|
2017-10-30 15:26:06 -04:00
|
|
|
|
|
|
|
.glyphicon {
|
|
|
|
position: relative;
|
|
|
|
top: 2px;
|
|
|
|
}
|
|
|
|
}
|
2017-04-21 10:40:45 -04:00
|
|
|
}
|
|
|
|
|
2018-01-31 05:38:05 -05: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 12:05:28 -04:00
|
|
|
}
|
|
|
|
}
|
2017-12-06 12:10:57 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.other-videos {
|
2018-04-17 12:55:14 -04:00
|
|
|
padding-left: 1em;
|
2018-04-19 13:40:18 -04:00
|
|
|
|
2017-12-06 12:10:57 -05:00
|
|
|
.title-page {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/deep/ .video-miniature {
|
|
|
|
display: flex;
|
|
|
|
height: 100%;
|
|
|
|
margin-bottom: 20px;
|
2018-06-25 13:13:47 -04:00
|
|
|
flex-wrap: wrap;
|
2017-11-06 05:46:11 -05:00
|
|
|
|
2017-12-06 12:10:57 -05:00
|
|
|
.video-miniature-information {
|
2018-06-25 13:13:47 -04:00
|
|
|
flex-grow: 1;
|
2017-12-06 12:10:57 -05:00
|
|
|
}
|
|
|
|
}
|
2017-11-06 05:46:11 -05:00
|
|
|
}
|
2016-11-04 11:04:50 -04:00
|
|
|
}
|
2017-12-06 12:10:57 -05:00
|
|
|
|
2018-03-07 11:35:30 -05:00
|
|
|
// If the view is not expanded, take into account the menu
|
|
|
|
.privacy-concerns {
|
|
|
|
width: calc(100% - #{$menu-width});
|
|
|
|
}
|
|
|
|
|
|
|
|
:host-context(.expanded) {
|
|
|
|
.privacy-concerns {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.privacy-concerns {
|
|
|
|
position: fixed;
|
|
|
|
bottom: 0;
|
|
|
|
|
|
|
|
padding: 5px 15px;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: flex-start;
|
|
|
|
background-color: rgba(0, 0, 0, 0.9);
|
|
|
|
color: #fff;
|
|
|
|
|
|
|
|
.privacy-concerns-text {
|
|
|
|
margin: 0 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
@include disable-default-a-behaviour;
|
|
|
|
|
|
|
|
color: $orange-color;
|
|
|
|
transition: color 0.3s;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.privacy-concerns-okay {
|
|
|
|
background-color: $orange-color;
|
|
|
|
padding: 5px 8px 5px 7px;
|
|
|
|
margin-left: auto;
|
|
|
|
border-radius: 3px;
|
|
|
|
cursor: pointer;
|
|
|
|
transition: background-color 0.3s;
|
|
|
|
font-weight: $font-semibold;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: #000;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-12-11 03:08:15 -05:00
|
|
|
|
2018-02-20 10:13:05 -05:00
|
|
|
@media screen and (max-width: 1600px) {
|
2017-12-11 03:08:15 -05:00
|
|
|
.video-bottom {
|
|
|
|
.video-info {
|
2018-03-26 03:39:23 -04:00
|
|
|
margin-right: 20px;
|
2017-12-11 03:39:40 -05:00
|
|
|
|
2018-01-31 05:38:05 -05:00
|
|
|
.video-info-first-row {
|
2017-12-11 03:08:15 -05:00
|
|
|
flex-direction: column;
|
|
|
|
margin-bottom: 30px;
|
2018-01-31 05:38:05 -05:00
|
|
|
|
|
|
|
.video-actions-rates {
|
|
|
|
margin-top: 20px;
|
2018-04-18 04:20:13 -04:00
|
|
|
align-items: start;
|
2018-01-31 05:38:05 -05:00
|
|
|
|
|
|
|
.video-info-likes-dislikes-bar {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
}
|
2017-12-11 03:08:15 -05:00
|
|
|
}
|
|
|
|
|
2018-01-31 05:38:05 -05:00
|
|
|
.video-info-date-views {
|
2017-12-11 03:08:15 -05:00
|
|
|
flex-direction: column;
|
|
|
|
margin-bottom: 30px;
|
|
|
|
|
|
|
|
.video-info-likes-dislikes-bar {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
2018-01-31 05:38:05 -05:00
|
|
|
|
|
|
|
.video-attributes .video-attribute {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
2017-12-11 03:08:15 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-12-12 08:41:59 -05:00
|
|
|
|
2018-03-29 02:49:34 -04:00
|
|
|
@media screen and (max-width: 1300px) {
|
2018-06-25 13:13:47 -04:00
|
|
|
.video-bottom {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2018-02-20 10:13:05 -05:00
|
|
|
.other-videos {
|
2018-06-25 13:13:47 -04:00
|
|
|
padding-left: 0;
|
2018-07-16 09:05:06 -04:00
|
|
|
|
|
|
|
/deep/ .video-miniature .video-miniature-information {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
2018-02-20 10:13:05 -05:00
|
|
|
}
|
2018-03-07 11:35:30 -05:00
|
|
|
|
|
|
|
.privacy-concerns {
|
|
|
|
font-size: 12px;
|
|
|
|
padding: 2px 5px;
|
|
|
|
|
|
|
|
.privacy-concerns-text {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
2018-02-20 10:13:05 -05:00
|
|
|
}
|
|
|
|
|
2018-01-31 05:38:05 -05:00
|
|
|
@media screen and (max-width: 600px) {
|
2017-12-12 08:41:59 -05:00
|
|
|
.video-bottom {
|
|
|
|
margin: 20px 0 0 0;
|
2018-01-31 05:38:05 -05:00
|
|
|
|
|
|
|
.video-info {
|
|
|
|
|
|
|
|
.video-info-first-row {
|
|
|
|
|
|
|
|
.video-info-name {
|
|
|
|
font-size: 20px;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-12-12 08:41:59 -05:00
|
|
|
}
|
2018-03-07 11:35:30 -05:00
|
|
|
|
|
|
|
.privacy-concerns {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
strong {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2017-12-12 08:41:59 -05:00
|
|
|
}
|
2018-02-20 10:13:05 -05:00
|
|
|
|
|
|
|
@media screen and (max-width: 450px) {
|
|
|
|
.video-bottom .action-button .icon-text {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|