2018-01-14 00:18:50 +02:00
|
|
|
.video-error-cover {
|
|
|
|
align-items: center;
|
|
|
|
background: $base-overlay-background;
|
|
|
|
color: $primary-text-color;
|
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
height: 100%;
|
|
|
|
justify-content: center;
|
|
|
|
margin-top: 8px;
|
|
|
|
position: relative;
|
|
|
|
text-align: center;
|
|
|
|
z-index: 100;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-spoiler {
|
|
|
|
background: $base-overlay-background;
|
2018-05-05 18:58:46 +03:00
|
|
|
color: $darker-text-color;
|
2018-01-14 00:18:50 +02:00
|
|
|
border: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
2018-05-05 18:58:46 +03:00
|
|
|
color: lighten($darker-text-color, 8%);
|
2018-01-14 00:18:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.status__content > & {
|
|
|
|
margin-top: 15px; // Add margin when used bare for NSFW video player
|
|
|
|
}
|
|
|
|
@include fullwidth-gallery;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-spoiler__warning {
|
|
|
|
display: block;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-spoiler__trigger {
|
|
|
|
display: block;
|
|
|
|
font-size: 11px;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-gallery__gifv__label {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
color: $primary-text-color;
|
|
|
|
background: rgba($base-overlay-background, 0.5);
|
|
|
|
bottom: 6px;
|
|
|
|
left: 6px;
|
|
|
|
padding: 2px 6px;
|
|
|
|
border-radius: 2px;
|
|
|
|
font-size: 11px;
|
|
|
|
font-weight: 600;
|
|
|
|
z-index: 1;
|
|
|
|
pointer-events: none;
|
|
|
|
opacity: 0.9;
|
|
|
|
transition: opacity 0.1s ease;
|
2019-05-02 09:34:32 +03:00
|
|
|
line-height: 18px;
|
2018-01-14 00:18:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.media-gallery__gifv {
|
|
|
|
&.autoplay {
|
|
|
|
.media-gallery__gifv__label {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.media-gallery__gifv__label {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-gallery {
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin-top: 8px;
|
|
|
|
overflow: hidden;
|
2018-09-03 21:46:00 +03:00
|
|
|
border-radius: 4px;
|
2018-01-14 00:18:50 +02:00
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
2018-01-14 04:07:32 +02:00
|
|
|
height: 110px;
|
2018-01-14 00:18:50 +02:00
|
|
|
|
|
|
|
@include fullwidth-gallery;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-gallery__item {
|
|
|
|
border: none;
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: block;
|
|
|
|
float: left;
|
|
|
|
position: relative;
|
2018-09-03 21:46:00 +03:00
|
|
|
border-radius: 4px;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
.full-width & {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
2018-01-14 00:18:50 +02:00
|
|
|
|
|
|
|
&.standalone {
|
|
|
|
.media-gallery__item-gifv-thumbnail {
|
|
|
|
transform: none;
|
2018-03-16 20:54:00 +02:00
|
|
|
top: 0;
|
2018-01-14 00:18:50 +02:00
|
|
|
}
|
|
|
|
}
|
2018-09-03 21:46:00 +03:00
|
|
|
|
|
|
|
&.letterbox {
|
|
|
|
background: $base-shadow-color;
|
|
|
|
}
|
2018-01-14 00:18:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.media-gallery__item-thumbnail {
|
|
|
|
cursor: zoom-in;
|
|
|
|
display: block;
|
|
|
|
text-decoration: none;
|
2018-09-03 21:46:00 +03:00
|
|
|
color: $secondary-text-color;
|
2019-04-27 04:24:09 +03:00
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
2018-01-14 00:18:50 +02:00
|
|
|
|
|
|
|
&,
|
|
|
|
img {
|
2018-01-14 02:25:35 +02:00
|
|
|
height: 100%;
|
2018-01-14 00:18:50 +02:00
|
|
|
width: 100%;
|
|
|
|
object-fit: contain;
|
|
|
|
|
|
|
|
&:not(.letterbox) {
|
|
|
|
height: 100%;
|
|
|
|
object-fit: cover;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-27 04:24:09 +03:00
|
|
|
.media-gallery__preview {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
object-fit: cover;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: 0;
|
|
|
|
background: $base-overlay-background;
|
|
|
|
|
|
|
|
&--hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-14 00:18:50 +02:00
|
|
|
.media-gallery__gifv {
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-gallery__item-gifv-thumbnail {
|
|
|
|
cursor: zoom-in;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
object-fit: contain;
|
2019-04-16 19:45:04 +03:00
|
|
|
user-select: none;
|
2018-01-14 00:18:50 +02:00
|
|
|
|
|
|
|
&:not(.letterbox) {
|
|
|
|
height: 100%;
|
|
|
|
object-fit: cover;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-gallery__item-thumbnail-label {
|
|
|
|
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
|
|
|
|
clip: rect(1px, 1px, 1px, 1px);
|
|
|
|
overflow: hidden;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
2019-10-03 04:34:58 +03:00
|
|
|
.video-modal__container {
|
2018-04-09 00:15:25 +03:00
|
|
|
max-width: 100vw;
|
|
|
|
max-height: 100vh;
|
2019-10-03 04:34:58 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.audio-modal__container {
|
|
|
|
width: 50vw;
|
2018-04-14 22:47:56 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.media-modal {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
position: relative;
|
2018-04-09 01:42:26 +03:00
|
|
|
|
|
|
|
.extended-video-player {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
video {
|
|
|
|
max-width: $media-modal-media-max-width;
|
|
|
|
max-height: $media-modal-media-max-height;
|
|
|
|
}
|
|
|
|
}
|
2018-04-09 00:15:25 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.media-modal__closer {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-modal__navigation {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
transition: opacity 0.3s linear;
|
|
|
|
will-change: opacity;
|
|
|
|
|
|
|
|
* {
|
|
|
|
pointer-events: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.media-modal__navigation--hidden {
|
|
|
|
opacity: 0;
|
|
|
|
|
|
|
|
* {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-modal__nav {
|
|
|
|
background: rgba($base-overlay-background, 0.5);
|
|
|
|
box-sizing: border-box;
|
|
|
|
border: 0;
|
|
|
|
color: $primary-text-color;
|
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
font-size: 24px;
|
|
|
|
height: 20vmax;
|
|
|
|
margin: auto 0;
|
|
|
|
padding: 30px 15px;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-modal__nav--left {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-modal__nav--right {
|
|
|
|
right: 0;
|
2018-01-14 00:18:50 +02:00
|
|
|
}
|
|
|
|
|
2018-01-14 00:48:18 +02:00
|
|
|
.media-modal__pagination {
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
2018-01-14 00:18:50 +02:00
|
|
|
position: absolute;
|
2018-01-14 00:48:18 +02:00
|
|
|
left: 0;
|
2018-04-09 00:15:25 +03:00
|
|
|
bottom: 20px;
|
|
|
|
pointer-events: none;
|
2018-01-14 00:48:18 +02:00
|
|
|
}
|
2018-01-14 00:18:50 +02:00
|
|
|
|
2019-05-03 17:16:30 +03:00
|
|
|
.media-modal__meta {
|
|
|
|
text-align: center;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
bottom: 20px;
|
|
|
|
width: 100%;
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
|
|
&--shifted {
|
|
|
|
bottom: 62px;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2019-10-03 04:34:58 +03:00
|
|
|
pointer-events: auto;
|
2019-05-03 17:16:30 +03:00
|
|
|
text-decoration: none;
|
|
|
|
font-weight: 500;
|
|
|
|
color: $ui-secondary-color;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-14 00:48:18 +02:00
|
|
|
.media-modal__page-dot {
|
|
|
|
display: inline-block;
|
2018-01-14 00:18:50 +02:00
|
|
|
}
|
|
|
|
|
2018-01-14 00:48:18 +02:00
|
|
|
.media-modal__button {
|
|
|
|
background-color: $white;
|
|
|
|
height: 12px;
|
|
|
|
width: 12px;
|
|
|
|
border-radius: 6px;
|
|
|
|
margin: 10px;
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
font-size: 0;
|
2018-01-14 00:18:50 +02:00
|
|
|
}
|
|
|
|
|
2018-01-14 00:48:18 +02:00
|
|
|
.media-modal__button--active {
|
|
|
|
background-color: $ui-highlight-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-modal__close {
|
|
|
|
position: absolute;
|
2018-04-09 00:15:25 +03:00
|
|
|
right: 8px;
|
|
|
|
top: 8px;
|
2018-01-14 00:48:18 +02:00
|
|
|
z-index: 100;
|
2018-01-14 00:18:50 +02:00
|
|
|
}
|
|
|
|
|
2018-11-27 16:21:57 +02:00
|
|
|
.detailed,
|
|
|
|
.fullscreen {
|
|
|
|
.video-player__volume__current,
|
|
|
|
.video-player__volume::before {
|
|
|
|
bottom: 27px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-player__volume__handle {
|
|
|
|
bottom: 23px;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2019-08-23 23:38:02 +03:00
|
|
|
.audio-player {
|
|
|
|
box-sizing: border-box;
|
|
|
|
position: relative;
|
|
|
|
background: darken($ui-base-color, 8%);
|
|
|
|
border-radius: 4px;
|
|
|
|
padding-bottom: 44px;
|
2019-10-03 04:17:41 +03:00
|
|
|
direction: ltr;
|
2019-08-23 23:38:02 +03:00
|
|
|
|
|
|
|
&.editable {
|
|
|
|
border-radius: 0;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__waveform {
|
|
|
|
padding: 15px 0;
|
2019-08-25 16:09:19 +03:00
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
border-top: 1px solid lighten($ui-base-color, 4%);
|
|
|
|
width: 100%;
|
|
|
|
height: 0;
|
|
|
|
left: 0;
|
|
|
|
top: calc(50% + 1px);
|
|
|
|
}
|
2019-08-23 23:38:02 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
&__progress-placeholder {
|
|
|
|
background-color: rgba(lighten($ui-highlight-color, 8%), 0.5);
|
|
|
|
}
|
|
|
|
|
|
|
|
&__wave-placeholder {
|
|
|
|
background-color: lighten($ui-base-color, 16%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-player__controls {
|
|
|
|
padding: 0 15px;
|
|
|
|
padding-top: 10px;
|
|
|
|
background: darken($ui-base-color, 8%);
|
|
|
|
border-top: 1px solid lighten($ui-base-color, 4%);
|
|
|
|
border-radius: 0 0 4px 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-14 00:18:50 +02:00
|
|
|
.video-player {
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
background: $base-shadow-color;
|
|
|
|
max-width: 100%;
|
2019-08-14 05:07:32 +03:00
|
|
|
border-radius: 4px;
|
2019-08-23 23:38:02 +03:00
|
|
|
box-sizing: border-box;
|
2019-10-03 04:17:41 +03:00
|
|
|
direction: ltr;
|
2019-08-14 05:07:32 +03:00
|
|
|
|
|
|
|
&.editable {
|
|
|
|
border-radius: 0;
|
2019-08-23 23:38:02 +03:00
|
|
|
height: 100% !important;
|
2019-08-14 05:07:32 +03:00
|
|
|
}
|
2018-01-14 00:18:50 +02:00
|
|
|
|
2018-05-17 18:10:17 +03:00
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
2018-01-14 00:18:50 +02:00
|
|
|
.detailed-status & {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include fullwidth-gallery;
|
|
|
|
|
|
|
|
video {
|
2018-04-09 01:42:26 +03:00
|
|
|
max-width: 100vw;
|
|
|
|
max-height: 80vh;
|
2018-01-14 00:18:50 +02:00
|
|
|
z-index: 1;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.fullscreen {
|
|
|
|
width: 100% !important;
|
|
|
|
height: 100% !important;
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
video {
|
|
|
|
max-width: 100% !important;
|
|
|
|
max-height: 100% !important;
|
2018-04-23 21:38:08 +03:00
|
|
|
width: 100% !important;
|
|
|
|
height: 100% !important;
|
2019-10-24 23:47:37 +03:00
|
|
|
outline: 0;
|
2018-01-14 00:18:50 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.inline {
|
|
|
|
video {
|
2018-04-14 18:14:04 +03:00
|
|
|
object-fit: contain;
|
2018-01-14 00:18:50 +02:00
|
|
|
position: relative;
|
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__controls {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 2;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
box-sizing: border-box;
|
|
|
|
background: linear-gradient(0deg, rgba($base-shadow-color, 0.85) 0, rgba($base-shadow-color, 0.45) 60%, transparent);
|
|
|
|
padding: 0 15px;
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity .1s ease;
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.inactive {
|
|
|
|
video,
|
|
|
|
.video-player__controls {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__spoiler {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
z-index: 4;
|
|
|
|
border: 0;
|
|
|
|
background: $base-shadow-color;
|
2018-05-05 18:58:46 +03:00
|
|
|
color: $darker-text-color;
|
2018-01-14 00:18:50 +02:00
|
|
|
transition: none;
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
display: block;
|
|
|
|
pointer-events: auto;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
2018-05-05 18:58:46 +03:00
|
|
|
color: lighten($darker-text-color, 7%);
|
2018-01-14 00:18:50 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__title {
|
|
|
|
display: block;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__subtitle {
|
|
|
|
display: block;
|
|
|
|
font-size: 11px;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__buttons-bar {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding-bottom: 10px;
|
2019-10-25 12:48:20 +03:00
|
|
|
|
|
|
|
.video-player__download__icon {
|
|
|
|
color: inherit;
|
|
|
|
}
|
2018-01-14 00:18:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&__buttons {
|
|
|
|
font-size: 16px;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
|
|
&.left {
|
|
|
|
button {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.right {
|
|
|
|
button {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
background: transparent;
|
|
|
|
padding: 2px 10px;
|
|
|
|
font-size: 16px;
|
|
|
|
border: 0;
|
|
|
|
color: rgba($white, 0.75);
|
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: $white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__time-sep,
|
|
|
|
&__time-total,
|
|
|
|
&__time-current {
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__time-current {
|
|
|
|
color: $white;
|
2018-11-27 16:21:57 +02:00
|
|
|
margin-left: 60px;
|
2018-01-14 00:18:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&__time-sep {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__time-sep,
|
|
|
|
&__time-total {
|
|
|
|
color: $white;
|
|
|
|
}
|
|
|
|
|
2018-11-27 16:21:57 +02:00
|
|
|
&__volume {
|
|
|
|
cursor: pointer;
|
|
|
|
height: 24px;
|
|
|
|
display: inline;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
width: 50px;
|
|
|
|
background: rgba($white, 0.35);
|
|
|
|
border-radius: 4px;
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
height: 4px;
|
|
|
|
left: 70px;
|
|
|
|
bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__current {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
height: 4px;
|
|
|
|
border-radius: 4px;
|
|
|
|
left: 70px;
|
|
|
|
bottom: 20px;
|
|
|
|
background: lighten($ui-highlight-color, 8%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&__handle {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 3;
|
|
|
|
border-radius: 50%;
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
bottom: 16px;
|
|
|
|
left: 70px;
|
|
|
|
transition: opacity .1s ease;
|
|
|
|
background: lighten($ui-highlight-color, 8%);
|
|
|
|
box-shadow: 1px 2px 6px rgba($base-shadow-color, 0.2);
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-03 17:16:30 +03:00
|
|
|
&__link {
|
|
|
|
padding: 2px 10px;
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 500;
|
|
|
|
color: $white;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-14 00:18:50 +02:00
|
|
|
&__seek {
|
|
|
|
cursor: pointer;
|
|
|
|
height: 24px;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
width: 100%;
|
|
|
|
background: rgba($white, 0.35);
|
|
|
|
border-radius: 4px;
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
height: 4px;
|
|
|
|
top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__progress,
|
|
|
|
&__buffer {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
height: 4px;
|
|
|
|
border-radius: 4px;
|
|
|
|
top: 10px;
|
|
|
|
background: lighten($ui-highlight-color, 8%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&__buffer {
|
|
|
|
background: rgba($white, 0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
&__handle {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 3;
|
|
|
|
opacity: 0;
|
|
|
|
border-radius: 50%;
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
top: 6px;
|
|
|
|
margin-left: -6px;
|
|
|
|
transition: opacity .1s ease;
|
|
|
|
background: lighten($ui-highlight-color, 8%);
|
|
|
|
box-shadow: 1px 2px 6px rgba($base-shadow-color, 0.2);
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.video-player__seek__handle {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-30 01:14:36 +03:00
|
|
|
&.detailed,
|
|
|
|
&.fullscreen {
|
|
|
|
.video-player__buttons {
|
|
|
|
button {
|
|
|
|
padding-top: 10px;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
2018-01-14 00:18:50 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|