2020-02-13 14:51:11 +07:00
|
|
|
.ckin {
|
|
|
|
&__player {
|
|
|
|
letter-spacing: 0.02em;
|
2020-08-26 22:25:43 +03:00
|
|
|
|
|
|
|
&.ckin__fullscreen {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
z-index: 10000000;
|
|
|
|
background: #000;
|
|
|
|
border-radius: 0 !important;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
video {
|
2020-09-01 15:53:46 +03:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
/* max-height: none;
|
|
|
|
max-width: none; */
|
2020-08-26 22:25:43 +03:00
|
|
|
object-fit: contain;
|
|
|
|
}
|
|
|
|
}
|
2020-10-28 18:11:57 +02:00
|
|
|
|
|
|
|
.time {
|
|
|
|
float: right;
|
|
|
|
padding: 7px 0px 9px 14px;
|
|
|
|
font-size: 15px;
|
|
|
|
color: white;
|
|
|
|
|
|
|
|
@include respond-to(handhelds) {
|
2021-01-23 00:12:57 +02:00
|
|
|
padding: 7px 0px 9px;
|
2020-10-28 18:11:57 +02:00
|
|
|
}
|
|
|
|
}
|
2020-02-13 14:51:11 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
&__overlay {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&:before {
|
2021-01-23 00:12:57 +02:00
|
|
|
background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, .5) 100%);
|
2020-02-13 14:51:11 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
&--2:before {
|
2021-01-23 00:12:57 +02:00
|
|
|
background: rgba(24, 24, 24, .8);
|
2020-02-13 14:51:11 +07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.default {
|
2021-01-23 00:12:57 +02:00
|
|
|
border: 0 solid rgba(0, 0, 0, .2);
|
|
|
|
box-shadow: 0 0 20px rgba(0, 0, 0, .2);
|
2020-02-13 14:51:11 +07:00
|
|
|
position: relative;
|
|
|
|
font-size: 0;
|
2020-06-16 23:48:08 +03:00
|
|
|
//overflow: hidden;
|
2020-02-13 14:51:11 +07:00
|
|
|
//border-radius: 5px;
|
|
|
|
cursor: pointer;
|
2020-09-01 15:53:46 +03:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2020-02-13 14:51:11 +07:00
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
transition: opacity .2s;
|
|
|
|
opacity: 1;
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__title {
|
|
|
|
position: absolute;
|
|
|
|
left: 20px;
|
|
|
|
top: 20px;
|
|
|
|
z-index: 1;
|
|
|
|
font-size: 24px;
|
2021-01-23 00:12:57 +02:00
|
|
|
color: rgba(255, 255, 255, .8);
|
2020-02-13 14:51:11 +07:00
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__button {
|
|
|
|
background: none;
|
|
|
|
border: 0;
|
|
|
|
color: #fff;
|
|
|
|
outline: 0;
|
|
|
|
padding: 3px 10px 6px 10px;
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 24px;
|
|
|
|
line-height: 1;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
i {
|
|
|
|
align-self: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--big {
|
|
|
|
background: none;
|
|
|
|
border: 0;
|
|
|
|
line-height: 1;
|
|
|
|
color: #fff;
|
|
|
|
text-align: center;
|
|
|
|
outline: 0;
|
|
|
|
padding: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
position: absolute;
|
|
|
|
opacity: 1;
|
|
|
|
visibility: visible;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
2020-09-23 23:29:53 +03:00
|
|
|
transform: translate3d(-50%, -50%, 0) scale(1);
|
2020-02-13 14:51:11 +07:00
|
|
|
font-size: 64px;
|
|
|
|
transition: all .2s;
|
2020-06-05 19:01:06 +03:00
|
|
|
touch-action: manipulation;
|
2020-02-13 14:51:11 +07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__slider {
|
|
|
|
width: 10px;
|
|
|
|
height: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__controls {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
transition: all .3s;
|
|
|
|
text-align: left;
|
|
|
|
direction: ltr;
|
2020-02-15 23:47:14 +07:00
|
|
|
z-index: 6;
|
2020-08-26 22:25:43 +03:00
|
|
|
|
|
|
|
.progress-line {
|
|
|
|
margin: 0 16px;
|
2021-01-02 19:22:11 +04:00
|
|
|
border-radius: var(--border-radius);
|
2020-08-26 22:25:43 +03:00
|
|
|
|
|
|
|
&__filled {
|
|
|
|
background: #63a2e3;
|
|
|
|
}
|
|
|
|
|
2021-01-02 19:22:11 +04:00
|
|
|
&__loaded, & {
|
|
|
|
background: rgba(255, 255, 255, .38);
|
2020-08-26 22:25:43 +03:00
|
|
|
}
|
|
|
|
}
|
2020-02-13 14:51:11 +07:00
|
|
|
}
|
|
|
|
|
2020-08-26 22:25:43 +03:00
|
|
|
&__gradient-bottom {
|
|
|
|
height: 49px;
|
|
|
|
// padding-top: 49px;
|
|
|
|
padding-top: 93px;
|
|
|
|
bottom: 0;
|
|
|
|
z-index: 2;
|
|
|
|
background-position: bottom;
|
|
|
|
width: 100%;
|
|
|
|
position: absolute;
|
|
|
|
background-repeat: repeat-x;
|
|
|
|
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADGCAYAAAAT+OqFAAAAdklEQVQoz42QQQ7AIAgEF/T/D+kbq/RWAlnQyyazA4aoAB4FsBSA/bFjuF1EOL7VbrIrBuusmrt4ZZORfb6ehbWdnRHEIiITaEUKa5EJqUakRSaEYBJSCY2dEstQY7AuxahwXFrvZmWl2rh4JZ07z9dLtesfNj5q0FU3A5ObbwAAAABJRU5ErkJggg==);
|
|
|
|
transition: all .3s;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2020-02-15 23:47:14 +07:00
|
|
|
|
2020-08-30 14:06:24 +03:00
|
|
|
.toggle:before {
|
|
|
|
content: $tgico-play;
|
|
|
|
}
|
|
|
|
|
2020-08-26 22:25:43 +03:00
|
|
|
&.is-playing {
|
|
|
|
.default__gradient-bottom {
|
2020-09-23 23:29:53 +03:00
|
|
|
transform: translate3d(0, 50px, 0);
|
2020-08-26 22:25:43 +03:00
|
|
|
}
|
2020-02-15 23:47:14 +07:00
|
|
|
|
2020-09-01 15:53:46 +03:00
|
|
|
html.no-touch &:hover,
|
|
|
|
&.show-controls {
|
2020-08-26 22:25:43 +03:00
|
|
|
.default__gradient-bottom {
|
2020-09-23 23:29:53 +03:00
|
|
|
transform: translateZ(0);
|
2020-08-26 22:25:43 +03:00
|
|
|
}
|
2020-02-15 23:47:14 +07:00
|
|
|
|
2020-08-26 22:25:43 +03:00
|
|
|
.default__controls {
|
2020-09-23 23:29:53 +03:00
|
|
|
transform: translateZ(0);
|
2020-08-26 22:25:43 +03:00
|
|
|
}
|
|
|
|
}
|
2020-02-13 14:51:11 +07:00
|
|
|
|
2020-08-26 22:25:43 +03:00
|
|
|
&:before {
|
|
|
|
opacity: 0;
|
|
|
|
visibility: hidden;
|
2020-09-23 23:29:53 +03:00
|
|
|
transform: translate3d(-50%, -50%, 0) scale(1.3);
|
2020-08-26 22:25:43 +03:00
|
|
|
}
|
2020-02-13 14:51:11 +07:00
|
|
|
|
2020-08-26 22:25:43 +03:00
|
|
|
.default__button--big {
|
|
|
|
opacity: 0;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
2020-02-13 14:51:11 +07:00
|
|
|
|
2020-08-26 22:25:43 +03:00
|
|
|
.default__controls {
|
2020-09-23 23:29:53 +03:00
|
|
|
transform: translate3d(0, 52px, 0);
|
2020-08-26 22:25:43 +03:00
|
|
|
}
|
2020-08-30 14:06:24 +03:00
|
|
|
|
|
|
|
.toggle {
|
|
|
|
&:before {
|
|
|
|
content: $tgico-pause;
|
|
|
|
}
|
|
|
|
}
|
2020-08-26 22:25:43 +03:00
|
|
|
}
|
2020-02-13 14:51:11 +07:00
|
|
|
|
2020-08-26 22:25:43 +03:00
|
|
|
.player-volume {
|
2020-08-28 14:25:43 +03:00
|
|
|
margin: -3px 2px 0 10px;
|
2020-08-26 22:25:43 +03:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2020-09-01 15:53:46 +03:00
|
|
|
|
|
|
|
@include respond-to(handhelds) {
|
2020-09-01 22:15:50 +03:00
|
|
|
//margin: -3px .75rem 0 2px;
|
|
|
|
margin: -3px 2px 0 2px;
|
2020-09-01 15:53:46 +03:00
|
|
|
}
|
2020-08-26 22:25:43 +03:00
|
|
|
|
|
|
|
&__icon {
|
|
|
|
fill: #fff;
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
margin-right: 8px;
|
|
|
|
cursor: pointer;
|
2020-09-01 22:15:50 +03:00
|
|
|
|
|
|
|
@include respond-to(handhelds) {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
}
|
2020-04-25 04:17:50 +03:00
|
|
|
}
|
2020-06-16 23:48:08 +03:00
|
|
|
|
2020-08-26 22:25:43 +03:00
|
|
|
.progress-line {
|
|
|
|
margin: 0;
|
|
|
|
width: 50px;
|
|
|
|
|
2020-09-01 19:44:53 +03:00
|
|
|
// https://stackoverflow.com/a/4816050
|
|
|
|
html.is-ios & {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2020-08-26 22:25:43 +03:00
|
|
|
&__filled {
|
|
|
|
background: #fff;
|
|
|
|
}
|
2021-01-02 19:22:11 +04:00
|
|
|
|
|
|
|
&__seek {
|
|
|
|
--thumb-size: 15px;
|
|
|
|
|
|
|
|
&::-webkit-slider-thumb {
|
|
|
|
background: #fff;
|
|
|
|
}
|
2020-08-26 22:25:43 +03:00
|
|
|
}
|
2020-06-16 23:48:08 +03:00
|
|
|
}
|
2020-08-26 22:25:43 +03:00
|
|
|
|
2020-04-25 04:17:50 +03:00
|
|
|
}
|
2020-08-27 21:25:47 +03:00
|
|
|
|
|
|
|
&.is-buffering {
|
|
|
|
> .toggle {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
2020-02-13 14:51:11 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 480px) {
|
|
|
|
.ckin__player button {
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
video::-webkit-media-controls-enclosure {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
2020-08-26 22:25:43 +03:00
|
|
|
.progress-line {
|
2021-01-02 19:22:11 +04:00
|
|
|
--height: 5px;
|
|
|
|
--border-radius: 6px;
|
2021-01-03 14:59:12 +04:00
|
|
|
border-radius: var(--border-radius);
|
2021-01-02 19:22:11 +04:00
|
|
|
height: var(--height);
|
2020-04-25 04:17:50 +03:00
|
|
|
position: relative;
|
2020-02-13 14:51:11 +07:00
|
|
|
cursor: pointer;
|
|
|
|
|
2020-12-22 00:38:26 +02:00
|
|
|
&__seek {
|
2021-01-02 19:22:11 +04:00
|
|
|
--thumb-size: 13px;
|
|
|
|
--thumb-color: #63a2e3;
|
2020-04-25 04:17:50 +03:00
|
|
|
-webkit-appearance: none;
|
|
|
|
-moz-appearance: none;
|
|
|
|
background: transparent;
|
2021-01-02 19:22:11 +04:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2020-04-25 04:17:50 +03:00
|
|
|
cursor: pointer;
|
|
|
|
padding: 0;
|
2021-01-02 19:22:11 +04:00
|
|
|
margin: 0;
|
2020-04-25 04:17:50 +03:00
|
|
|
outline: none;
|
2020-02-13 14:51:11 +07:00
|
|
|
|
2020-04-25 04:17:50 +03:00
|
|
|
&:focus {
|
|
|
|
outline: none;
|
2020-02-13 14:51:11 +07:00
|
|
|
|
2020-04-25 04:17:50 +03:00
|
|
|
&::-webkit-slider-runnable-track {
|
|
|
|
background: transparent;
|
|
|
|
}
|
2020-02-13 14:51:11 +07:00
|
|
|
|
2020-04-25 04:17:50 +03:00
|
|
|
&::-moz-range-track {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
}
|
2020-02-13 14:51:11 +07:00
|
|
|
|
2020-04-25 04:17:50 +03:00
|
|
|
&::-webkit-slider-runnable-track {
|
|
|
|
width: 100%;
|
|
|
|
cursor: pointer;
|
|
|
|
border-radius: 1.3px;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
}
|
2020-02-13 14:51:11 +07:00
|
|
|
|
2020-04-25 04:17:50 +03:00
|
|
|
&::-webkit-slider-thumb {
|
2021-01-02 19:22:11 +04:00
|
|
|
height: var(--thumb-size);
|
|
|
|
width: var(--thumb-size);
|
|
|
|
border-radius: 50%;
|
|
|
|
background-color: var(--thumb-color);
|
|
|
|
cursor: pointer;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
border: none;
|
|
|
|
//margin-left: -.5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-moz-range-thumb {
|
|
|
|
height: var(--thumb-size);
|
|
|
|
width: var(--thumb-size);
|
|
|
|
border-radius: 50%;
|
|
|
|
background-color: var(--thumb-color);
|
|
|
|
cursor: pointer;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
border: none;
|
|
|
|
//margin-left: -.5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-ms-thumb {
|
|
|
|
height: var(--thumb-size);
|
|
|
|
width: var(--thumb-size);
|
|
|
|
border-radius: 50%;
|
|
|
|
background-color: var(--thumb-color);
|
2020-04-25 04:17:50 +03:00
|
|
|
cursor: pointer;
|
|
|
|
-webkit-appearance: none;
|
2020-06-21 15:25:17 +03:00
|
|
|
border: none;
|
2021-01-02 19:22:11 +04:00
|
|
|
//margin-left: -.5px;
|
2020-04-25 04:17:50 +03:00
|
|
|
}
|
2020-02-13 14:51:11 +07:00
|
|
|
|
2020-04-25 04:17:50 +03:00
|
|
|
&::-moz-range-track {
|
|
|
|
width: 100%;
|
|
|
|
height: 8.4px;
|
|
|
|
cursor: pointer;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
background: transparent;
|
2021-01-02 19:22:11 +04:00
|
|
|
//border-radius: 1.3px;
|
2020-04-25 04:17:50 +03:00
|
|
|
}
|
|
|
|
}
|
2020-02-15 23:47:14 +07:00
|
|
|
|
2021-01-02 19:22:11 +04:00
|
|
|
&__filled {
|
|
|
|
padding-right: 1px; // * need because there is border-radius
|
|
|
|
max-width: 100%;
|
2020-04-25 04:17:50 +03:00
|
|
|
}
|
2020-08-22 19:53:59 +03:00
|
|
|
|
2021-01-02 19:22:11 +04:00
|
|
|
&__seek, &__filled, &__loaded {
|
|
|
|
border-radius: var(--border-radius);
|
2020-08-22 19:53:59 +03:00
|
|
|
position: absolute;
|
2021-01-02 19:22:11 +04:00
|
|
|
height: 100%;
|
2020-08-22 19:53:59 +03:00
|
|
|
top: 0;
|
|
|
|
}
|
2020-02-15 23:47:14 +07:00
|
|
|
}
|
|
|
|
|
2020-04-25 04:17:50 +03:00
|
|
|
input[type=range] {
|
|
|
|
&::-ms-track {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
2020-02-15 23:47:14 +07:00
|
|
|
|
2020-04-25 04:17:50 +03:00
|
|
|
&::-ms-ticks {
|
|
|
|
background: none;
|
|
|
|
color: none;
|
|
|
|
border: none;
|
|
|
|
}
|
2020-02-13 14:51:11 +07:00
|
|
|
|
2020-04-25 04:17:50 +03:00
|
|
|
&::-ms-thumb {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
2020-02-13 14:51:11 +07:00
|
|
|
|
2020-04-25 04:17:50 +03:00
|
|
|
&::-ms-tooltip {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
2020-02-13 14:51:11 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
.left-controls {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2020-02-15 23:47:14 +07:00
|
|
|
.right-controls {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2020-02-13 14:51:11 +07:00
|
|
|
.bottom-controls {
|
2020-02-13 18:59:55 +07:00
|
|
|
padding: 3px 4px 0px 4px;
|
2020-02-13 14:51:11 +07:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
}
|