2017-12-11 11:36:46 -05:00
|
|
|
@import '_variables';
|
|
|
|
@import '_mixins';
|
2018-09-28 08:37:04 -04:00
|
|
|
@import '_bootstrap-variables';
|
2019-03-13 09:18:58 -04:00
|
|
|
@import '_miniature';
|
2018-09-28 08:37:04 -04:00
|
|
|
|
2021-04-12 02:57:32 -04:00
|
|
|
$player-factor: 16/9;
|
2019-12-15 15:27:37 -05:00
|
|
|
$video-info-margin-left: 44px;
|
2017-12-11 11:36:46 -05:00
|
|
|
|
2021-04-28 10:41:07 -04:00
|
|
|
@function getPlayerHeight ($width) {
|
|
|
|
@return calc(#{$width} / #{$player-factor});
|
2019-03-18 05:26:53 -04:00
|
|
|
}
|
|
|
|
|
2021-04-28 10:41:07 -04:00
|
|
|
@function getPlayerWidth ($height) {
|
|
|
|
@return calc(#{$height} * #{$player-factor});
|
2019-03-18 05:26:53 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
@mixin playlist-below-player {
|
2019-05-13 05:18:24 -04:00
|
|
|
width: 100% !important;
|
|
|
|
height: auto !important;
|
|
|
|
max-height: 300px !important;
|
2019-05-17 08:17:38 -04:00
|
|
|
max-width: initial;
|
2019-05-13 05:18:24 -04:00
|
|
|
border-bottom: 1px solid $separator-border-color !important;
|
2019-03-18 05:26:53 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.root {
|
|
|
|
&.theater-enabled #video-wrapper {
|
2021-04-28 10:41:07 -04:00
|
|
|
$height: calc(100vh - #{$header-height} - #{$theater-bottom-space});
|
|
|
|
|
2019-03-18 05:26:53 -04:00
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
#videojs-wrapper {
|
|
|
|
width: 100%;
|
2020-11-05 04:56:23 -05:00
|
|
|
height: $height;
|
2019-03-18 05:26:53 -04:00
|
|
|
}
|
|
|
|
|
2019-07-24 10:12:35 -04:00
|
|
|
::ng-deep .video-js {
|
2019-03-18 05:26:53 -04:00
|
|
|
height: $height;
|
|
|
|
width: 100%;
|
2019-08-06 03:49:46 -04:00
|
|
|
max-width: initial;
|
2019-03-18 05:26:53 -04:00
|
|
|
}
|
|
|
|
|
2019-07-24 10:12:35 -04:00
|
|
|
my-video-watch-playlist ::ng-deep .playlist {
|
2019-03-18 05:26:53 -04:00
|
|
|
@include playlist-below-player;
|
|
|
|
}
|
|
|
|
}
|
2018-08-14 03:08:47 -04:00
|
|
|
}
|
|
|
|
|
2020-06-02 14:50:42 -04:00
|
|
|
.blocked-label {
|
2018-08-14 03:08:47 -04:00
|
|
|
font-weight: $font-semibold;
|
|
|
|
}
|
|
|
|
|
2019-03-13 09:18:58 -04:00
|
|
|
#video-wrapper {
|
2020-09-25 04:04:21 -04:00
|
|
|
$video-height: 66vh;
|
|
|
|
|
2017-12-05 04:44:11 -05:00
|
|
|
background-color: #000;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2018-07-16 13:15:20 -04:00
|
|
|
|
2019-04-05 09:23:41 -04:00
|
|
|
#videojs-wrapper {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
flex-grow: 1;
|
2020-09-25 04:04:21 -04:00
|
|
|
height: $video-height;
|
2019-04-05 09:23:41 -04:00
|
|
|
}
|
|
|
|
|
2018-07-16 13:15:20 -04:00
|
|
|
.remote-server-down {
|
|
|
|
color: #fff;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
text-align: center;
|
|
|
|
justify-content: center;
|
|
|
|
background-color: #141313;
|
|
|
|
width: 100%;
|
|
|
|
font-size: 24px;
|
2018-07-17 11:06:34 -04:00
|
|
|
height: 500px;
|
2018-07-16 13:15:20 -04:00
|
|
|
|
|
|
|
@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
|
|
|
}
|
|
|
|
|
2019-07-24 10:12:35 -04:00
|
|
|
::ng-deep .video-js {
|
2019-08-02 05:16:42 -04:00
|
|
|
width: 100%;
|
|
|
|
max-width: getPlayerWidth(66vh);
|
2020-09-25 04:04:21 -04:00
|
|
|
height: $video-height;
|
2018-07-17 11:06:34 -04: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
|
|
|
|
2018-07-17 11:06:34 -04:00
|
|
|
@media screen and (max-width: 600px) {
|
2020-11-13 08:49:27 -05:00
|
|
|
#videojs-wrapper {
|
|
|
|
height: getPlayerHeight(100vw) !important;
|
|
|
|
}
|
|
|
|
|
2018-07-17 11:06:34 -04:00
|
|
|
.remote-server-down,
|
2019-07-24 10:12:35 -04:00
|
|
|
::ng-deep .video-js {
|
2018-07-17 11:06:34 -04:00
|
|
|
width: 100vw;
|
2020-11-13 08:49:27 -05:00
|
|
|
height: getPlayerHeight(100vw) !important;
|
2018-07-17 11:06:34 -04:00
|
|
|
}
|
2018-06-11 10:49:56 -04:00
|
|
|
}
|
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;
|
2019-04-11 04:21:45 -04:00
|
|
|
border-radius: 0;
|
2018-06-12 14:04:58 -04:00
|
|
|
}
|
|
|
|
|
2019-12-04 03:29:20 -05:00
|
|
|
.flex-direction-column {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
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 {
|
2019-03-18 05:26:53 -04:00
|
|
|
display: flex;
|
2020-06-12 06:27:37 -04:00
|
|
|
margin-top: 1.5rem;
|
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
|
|
|
// Set min width for flex item
|
|
|
|
min-width: 1px;
|
2018-09-17 09:28:32 -04:00
|
|
|
max-width: 100%;
|
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
|
|
|
|
2021-04-28 10:41:07 -04: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 {
|
2021-05-26 10:00:09 -04:00
|
|
|
@include peertube-word-wrap;
|
|
|
|
|
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
|
|
|
|
2019-12-04 03:29:20 -05:00
|
|
|
.video-info-first-row-bottom {
|
2019-12-21 03:25:02 -05:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2019-12-04 03:29:20 -05:00
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2018-01-31 05:38:05 -05:00
|
|
|
.video-info-date-views {
|
2019-12-16 16:13:07 -05:00
|
|
|
align-self: start;
|
2018-09-05 05:20:44 -04:00
|
|
|
margin-bottom: 10px;
|
|
|
|
margin-right: 10px;
|
2019-12-16 16:13:07 -05:00
|
|
|
font-size: 1em;
|
2018-01-31 05:38:05 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.video-info-channel {
|
|
|
|
font-weight: $font-semibold;
|
|
|
|
font-size: 15px;
|
2018-05-07 05:20:58 -04:00
|
|
|
|
|
|
|
a {
|
|
|
|
@include disable-default-a-behaviour;
|
2021-05-26 10:00:09 -04:00
|
|
|
@include peertube-word-wrap;
|
2018-05-07 05:20:58 -04:00
|
|
|
|
2020-06-09 03:33:28 -04:00
|
|
|
color: pvar(--mainForegroundColor);
|
2018-05-07 05:20:58 -04:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
}
|
2018-08-21 10:18:59 -04:00
|
|
|
|
2019-12-15 15:27:37 -05:00
|
|
|
.video-info-channel-left {
|
|
|
|
flex-grow: 1;
|
2018-01-31 05:38:05 -05:00
|
|
|
|
2019-12-15 15:27:37 -05:00
|
|
|
.video-info-channel-left-links {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
position: relative;
|
2019-12-28 20:10:17 -05:00
|
|
|
line-height: 1.37;
|
2018-07-30 05:55:58 -04:00
|
|
|
|
2019-12-15 15:27:37 -05:00
|
|
|
a:nth-of-type(2) {
|
2021-01-05 07:48:56 -05:00
|
|
|
font-weight: $font-regular;
|
2019-12-15 15:27:37 -05:00
|
|
|
font-size: 90%;
|
|
|
|
}
|
2020-07-24 02:49:59 -04:00
|
|
|
|
|
|
|
a.single-link {
|
|
|
|
margin-top: 7px;
|
|
|
|
}
|
2018-07-30 05:55:58 -04:00
|
|
|
}
|
|
|
|
}
|
2017-12-21 05:08:46 -05:00
|
|
|
|
2019-12-15 15:27:37 -05:00
|
|
|
my-subscribe-button {
|
|
|
|
margin-left: 5px;
|
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-01-31 05:38:05 -05:00
|
|
|
.video-actions-rates {
|
2021-04-28 10:41:07 -04:00
|
|
|
margin: 0 0 10px;
|
2018-09-03 09:01:52 -04:00
|
|
|
align-items: start;
|
2019-12-04 03:29:20 -05:00
|
|
|
width: max-content;
|
2019-12-21 03:25:02 -05:00
|
|
|
margin-left: auto;
|
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
|
|
|
|
2019-04-05 04:52:27 -04:00
|
|
|
.action-button:not(:first-child),
|
|
|
|
.action-dropdown,
|
|
|
|
my-video-actions-dropdown {
|
2019-12-24 08:04:37 -05:00
|
|
|
margin-left: 5px;
|
2018-01-31 05:38:05 -05:00
|
|
|
}
|
2017-12-07 04:27:33 -05:00
|
|
|
|
2019-12-24 08:04:37 -05:00
|
|
|
::ng-deep.action-button {
|
2018-01-31 05:38:05 -05:00
|
|
|
@include peertube-button;
|
2019-01-16 10:05:40 -05:00
|
|
|
@include button-with-icon(21px, 0, -1px);
|
2020-06-09 03:33:28 -04:00
|
|
|
@include apply-svg-color(pvar(--actionButtonColor));
|
2017-12-07 04:02:01 -05:00
|
|
|
|
2019-12-24 08:04:37 -05:00
|
|
|
font-size: 100%;
|
2018-01-31 05:38:05 -05:00
|
|
|
font-weight: $font-semibold;
|
|
|
|
display: inline-block;
|
2021-04-28 10:41:07 -04:00
|
|
|
padding: 0 10px;
|
2018-02-20 10:13:05 -05:00
|
|
|
white-space: nowrap;
|
2019-12-24 08:04:37 -05:00
|
|
|
background-color: transparent !important;
|
2020-06-09 03:33:28 -04:00
|
|
|
color: pvar(--actionButtonColor);
|
2019-12-24 08:04:37 -05:00
|
|
|
text-transform: uppercase;
|
2017-12-07 04:02:01 -05:00
|
|
|
|
2018-08-09 08:55:06 -04:00
|
|
|
&::after {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2019-12-24 08:04:37 -05:00
|
|
|
&:hover {
|
|
|
|
opacity: 0.9;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.action-button-like,
|
|
|
|
&.action-button-dislike {
|
|
|
|
filter: brightness(120%);
|
|
|
|
|
2019-12-05 10:28:05 -05:00
|
|
|
.count {
|
2020-06-30 05:21:04 -04:00
|
|
|
margin: 0 5px;
|
2019-12-05 10:28:05 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-31 05:38:05 -05:00
|
|
|
&.action-button-like.activated {
|
2019-12-05 10:28:05 -05:00
|
|
|
.count {
|
2020-06-09 03:33:28 -04:00
|
|
|
color: pvar(--activatedActionButtonColor);
|
2019-12-05 10:28:05 -05:00
|
|
|
}
|
|
|
|
|
2019-01-16 10:05:40 -05:00
|
|
|
my-global-icon {
|
2020-06-09 03:33:28 -04:00
|
|
|
@include apply-svg-color(pvar(--activatedActionButtonColor));
|
2018-01-31 05:38:05 -05:00
|
|
|
}
|
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 {
|
2019-12-05 10:28:05 -05:00
|
|
|
.count {
|
2020-06-09 03:33:28 -04:00
|
|
|
color: pvar(--activatedActionButtonColor);
|
2019-12-05 10:28:05 -05:00
|
|
|
}
|
|
|
|
|
2019-01-16 10:05:40 -05:00
|
|
|
my-global-icon {
|
2020-06-09 03:33:28 -04:00
|
|
|
@include apply-svg-color(pvar(--activatedActionButtonColor));
|
2018-01-31 05:38:05 -05:00
|
|
|
}
|
2017-12-07 04:02:01 -05:00
|
|
|
}
|
2019-01-16 10:05:40 -05:00
|
|
|
|
2019-12-03 14:10:27 -05:00
|
|
|
&.action-button-support {
|
2020-06-09 03:33:28 -04:00
|
|
|
color: pvar(--supportButtonColor);
|
2019-12-03 14:10:27 -05:00
|
|
|
|
2019-12-24 08:04:37 -05:00
|
|
|
my-global-icon {
|
2020-06-09 03:33:28 -04:00
|
|
|
@include apply-svg-color(pvar(--supportButtonColor));
|
2019-12-03 14:10:27 -05:00
|
|
|
}
|
2019-12-24 08:04:37 -05:00
|
|
|
}
|
2019-12-03 14:10:27 -05:00
|
|
|
|
2019-12-24 08:04:37 -05:00
|
|
|
&.action-button-support {
|
2019-12-03 14:10:27 -05:00
|
|
|
my-global-icon {
|
2019-12-24 08:04:37 -05:00
|
|
|
::ng-deep path:first-child {
|
2020-06-09 03:33:28 -04:00
|
|
|
fill: pvar(--supportButtonHeartColor) !important;
|
2019-12-24 08:04:37 -05:00
|
|
|
}
|
2019-12-03 14:10:27 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-07 11:06:00 -05:00
|
|
|
&.action-button-save {
|
|
|
|
my-global-icon {
|
|
|
|
top: 0 !important;
|
|
|
|
right: -1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-16 10:05:40 -05:00
|
|
|
.icon-text {
|
|
|
|
margin-left: 3px;
|
|
|
|
}
|
2017-12-06 11:15:59 -05:00
|
|
|
}
|
2017-07-06 11:18:10 -04:00
|
|
|
}
|
2017-12-06 12:04:40 -05:00
|
|
|
|
2019-12-20 11:49:57 -05:00
|
|
|
.video-info-likes-dislikes-bar-outer-container {
|
2019-12-15 18:13:31 -05:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2019-12-20 11:49:57 -05:00
|
|
|
.video-info-likes-dislikes-bar-inner-container {
|
2019-12-15 18:13:31 -05:00
|
|
|
position: absolute;
|
2019-12-20 11:49:57 -05:00
|
|
|
height: 20px;
|
2019-12-15 18:13:31 -05:00
|
|
|
}
|
|
|
|
|
2018-01-31 05:38:05 -05:00
|
|
|
.video-info-likes-dislikes-bar {
|
2018-08-30 05:15:22 -04:00
|
|
|
$likes-bar-height: 2px;
|
|
|
|
height: $likes-bar-height;
|
|
|
|
margin-top: -$likes-bar-height;
|
2019-12-24 08:04:37 -05:00
|
|
|
width: 120px;
|
|
|
|
background-color: #ccc;
|
2018-08-30 05:15:22 -04:00
|
|
|
position: relative;
|
|
|
|
top: 10px;
|
2017-12-06 12:04:40 -05:00
|
|
|
|
2018-01-31 05:38:05 -05:00
|
|
|
.likes-bar {
|
|
|
|
height: 100%;
|
2019-12-24 08:04:37 -05:00
|
|
|
background-color: #909090;
|
|
|
|
|
|
|
|
&.liked {
|
2020-06-09 03:33:28 -04:00
|
|
|
background-color: pvar(--activatedActionButtonColor);
|
2019-12-24 08:04:37 -05:00
|
|
|
}
|
2018-01-31 05:38:05 -05:00
|
|
|
}
|
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;
|
2019-12-15 15:27:37 -05:00
|
|
|
margin-left: $video-info-margin-left;
|
2017-12-06 11:15:59 -05:00
|
|
|
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;
|
2019-12-16 10:21:42 -05:00
|
|
|
|
2020-11-19 09:57:52 -05:00
|
|
|
::ng-deep a {
|
2019-12-16 10:21:42 -05:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
2018-02-20 05:29:28 -05:00
|
|
|
}
|
|
|
|
|
2021-04-28 10:41:07 -04:00
|
|
|
.glyphicon,
|
|
|
|
.description-loading {
|
2018-06-13 09:59:40 -04:00
|
|
|
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;
|
2020-06-09 03:33:28 -04:00
|
|
|
color: pvar(--greyForegroundColor);
|
2017-12-06 11:15:59 -05:00
|
|
|
font-size: 14px;
|
2017-10-30 15:26:06 -04:00
|
|
|
|
|
|
|
.glyphicon {
|
|
|
|
position: relative;
|
|
|
|
top: 2px;
|
|
|
|
}
|
|
|
|
}
|
2017-04-21 10:40:45 -04:00
|
|
|
}
|
|
|
|
|
2019-12-15 15:27:37 -05:00
|
|
|
.video-attributes {
|
|
|
|
margin-left: $video-info-margin-left;
|
|
|
|
}
|
|
|
|
|
2018-01-31 05:38:05 -05:00
|
|
|
.video-attributes .video-attribute {
|
|
|
|
font-size: 13px;
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 12px;
|
|
|
|
|
|
|
|
.video-attribute-label {
|
2019-01-12 08:45:39 -05:00
|
|
|
min-width: 142px;
|
2018-07-27 02:37:51 -04:00
|
|
|
padding-right: 5px;
|
2018-01-31 05:38:05 -05:00
|
|
|
display: inline-block;
|
2020-06-09 03:33:28 -04:00
|
|
|
color: pvar(--greyForegroundColor);
|
2018-01-31 05:38:05 -05:00
|
|
|
font-weight: $font-bold;
|
2017-05-01 12:05:28 -04:00
|
|
|
}
|
2018-07-24 05:40:04 -04:00
|
|
|
|
|
|
|
a.video-attribute-value {
|
|
|
|
@include disable-default-a-behaviour;
|
2020-06-09 03:33:28 -04:00
|
|
|
color: pvar(--mainForegroundColor);
|
2018-07-24 05:40:04 -04:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 0.9;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.video-attribute-tags {
|
|
|
|
.video-attribute-value:not(:nth-child(2)) {
|
|
|
|
&::before {
|
2021-04-28 10:41:07 -04:00
|
|
|
content: ', ';
|
2018-07-24 05:40:04 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-05-01 12:05:28 -04:00
|
|
|
}
|
2017-12-06 12:10:57 -05:00
|
|
|
}
|
2021-04-01 05:10:27 -04:00
|
|
|
}
|
2017-12-06 12:10:57 -05:00
|
|
|
|
2021-04-01 05:10:27 -04:00
|
|
|
my-recommended-videos {
|
|
|
|
display: block;
|
|
|
|
padding-left: 15px;
|
|
|
|
min-width: 250px;
|
2016-11-04 11:04:50 -04:00
|
|
|
}
|
2017-12-06 12:10:57 -05:00
|
|
|
|
2018-09-05 09:40:45 -04:00
|
|
|
my-video-comments {
|
|
|
|
display: inline-block;
|
2018-09-05 14:00:47 -04:00
|
|
|
width: 100%;
|
2018-09-05 09:40:45 -04:00
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
2018-03-07 11:35:30 -05:00
|
|
|
// If the view is not expanded, take into account the menu
|
|
|
|
.privacy-concerns {
|
2020-02-28 07:52:21 -05:00
|
|
|
z-index: z(dropdown) + 1;
|
2018-03-07 11:35:30 -05:00
|
|
|
width: calc(100% - #{$menu-width});
|
|
|
|
}
|
|
|
|
|
2018-09-05 05:20:44 -04:00
|
|
|
@media screen and (max-width: $small-view) {
|
|
|
|
.privacy-concerns {
|
2019-04-15 03:43:23 -04:00
|
|
|
margin-left: $menu-width - 15px; // Menu is absolute
|
2018-09-05 05:20:44 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-07 11:35:30 -05:00
|
|
|
:host-context(.expanded) {
|
|
|
|
.privacy-concerns {
|
|
|
|
width: 100%;
|
2019-04-15 03:43:23 -04:00
|
|
|
margin-left: -15px;
|
2018-03-07 11:35:30 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.privacy-concerns {
|
|
|
|
position: fixed;
|
|
|
|
bottom: 0;
|
2020-02-21 15:25:27 -05:00
|
|
|
z-index: z(privacymsg);
|
2018-03-07 11:35:30 -05:00
|
|
|
|
|
|
|
padding: 5px 15px;
|
|
|
|
|
|
|
|
display: flex;
|
2019-04-15 03:43:23 -04:00
|
|
|
flex-wrap: nowrap;
|
2018-03-07 11:35:30 -05:00
|
|
|
align-items: center;
|
2020-04-03 08:32:58 -04:00
|
|
|
justify-content: space-between;
|
2018-03-07 11:35:30 -05:00
|
|
|
background-color: rgba(0, 0, 0, 0.9);
|
|
|
|
color: #fff;
|
|
|
|
|
|
|
|
.privacy-concerns-text {
|
|
|
|
margin: 0 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
@include disable-default-a-behaviour;
|
|
|
|
|
2020-06-09 03:33:28 -04:00
|
|
|
color: pvar(--mainColor);
|
2018-03-07 11:35:30 -05:00
|
|
|
transition: color 0.3s;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-02-28 07:52:21 -05:00
|
|
|
.privacy-concerns-button {
|
2018-03-07 11:35:30 -05:00
|
|
|
padding: 5px 8px 5px 7px;
|
|
|
|
margin-left: auto;
|
|
|
|
border-radius: 3px;
|
2020-02-28 07:52:21 -05:00
|
|
|
white-space: nowrap;
|
2018-03-07 11:35:30 -05:00
|
|
|
cursor: pointer;
|
|
|
|
transition: background-color 0.3s;
|
|
|
|
font-weight: $font-semibold;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: #000;
|
|
|
|
}
|
|
|
|
}
|
2020-02-28 07:52:21 -05:00
|
|
|
|
|
|
|
.privacy-concerns-okay {
|
2020-06-09 03:33:28 -04:00
|
|
|
background-color: pvar(--mainColor);
|
2020-02-28 07:52:21 -05:00
|
|
|
margin-left: 10px;
|
|
|
|
}
|
2018-03-07 11:35:30 -05:00
|
|
|
}
|
|
|
|
|
2018-02-20 10:13:05 -05:00
|
|
|
@media screen and (max-width: 1600px) {
|
2018-09-05 05:20:44 -04:00
|
|
|
.video-bottom .video-info .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-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
|
|
|
}
|
|
|
|
|
2021-04-01 05:10:27 -04:00
|
|
|
// Use the same breakpoint than in the typescript component to display the other video miniatures as row
|
2019-03-18 05:26:53 -04:00
|
|
|
@media screen and (max-width: 1100px) {
|
2019-04-05 09:23:41 -04:00
|
|
|
#video-wrapper {
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
|
2019-07-24 10:12:35 -04:00
|
|
|
my-video-watch-playlist ::ng-deep .playlist {
|
2019-04-05 09:23:41 -04:00
|
|
|
@include playlist-below-player;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-18 05:26:53 -04:00
|
|
|
.video-bottom {
|
|
|
|
flex-direction: column;
|
2021-04-01 05:10:27 -04:00
|
|
|
}
|
2019-03-18 05:26:53 -04:00
|
|
|
|
2021-04-01 05:10:27 -04:00
|
|
|
my-recommended-videos {
|
|
|
|
padding-left: 0;
|
2019-03-18 05:26:53 -04: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 {
|
2020-05-01 17:24:05 -04:00
|
|
|
margin-top: 20px !important;
|
2020-06-12 06:27:37 -04:00
|
|
|
padding-bottom: 20px !important;
|
2018-01-31 05:38:05 -05:00
|
|
|
|
|
|
|
.video-info {
|
2018-09-20 08:49:12 -04:00
|
|
|
padding: 0;
|
2018-01-31 05:38:05 -05:00
|
|
|
|
|
|
|
.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%;
|
|
|
|
}
|
2017-12-12 08:41:59 -05:00
|
|
|
}
|
2018-02-20 10:13:05 -05:00
|
|
|
|
|
|
|
@media screen and (max-width: 450px) {
|
2018-09-20 08:49:12 -04:00
|
|
|
.video-bottom {
|
|
|
|
.action-button .icon-text {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-info .video-info-first-row {
|
|
|
|
.video-info-name {
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-info-date-views {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-actions-rates {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-info-description {
|
|
|
|
font-size: 14px !important;
|
|
|
|
}
|
2018-02-20 10:13:05 -05:00
|
|
|
}
|
|
|
|
}
|
2020-07-31 09:54:52 -04:00
|
|
|
|
|
|
|
|
|
|
|
// Special case for iOS, that takes into account the width for fullscreens
|
|
|
|
#video-wrapper ::ng-deep .video-js.vjs-fullscreen {
|
|
|
|
max-width: unset;
|
|
|
|
}
|