zorn-js/src/styles/app.css

186 lines
3.8 KiB
CSS
Raw Normal View History

2023-10-16 15:53:54 -04:00
.plyx-player {
width: 100%;
display: inline-flex;
}
.video-container {
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
2023-10-16 17:35:27 -04:00
font-family: Arial, Helvetica, sans-serif;
2023-10-16 17:56:26 -04:00
color: white;
2023-10-16 15:53:54 -04:00
}
.plyx-player-controls {
display: inline-flex;
right: 0;
left: 0;
padding: 10px;
position: absolute;
bottom: 0;
transition: all 0.2s ease;
2023-10-16 17:35:27 -04:00
background-image: linear-gradient(to bottom, rgba(12, 12, 12, 0), rgba(12, 12, 12, 0.75));
2023-10-16 15:53:54 -04:00
flex-direction: inherit;
}
2023-10-16 17:56:26 -04:00
.video-container .row-1 {
2023-10-16 15:53:54 -04:00
display: flex;
justify-content: space-between;
width: 100%;
2023-10-16 17:35:27 -04:00
padding-bottom: 12px;
2023-10-16 15:53:54 -04:00
}
2023-10-16 17:56:26 -04:00
.video-container .row-1-start {
2023-10-16 15:53:54 -04:00
display: flex;
align-items: center;
}
2023-10-16 17:56:26 -04:00
.video-container .row-1-end {
2023-10-16 15:53:54 -04:00
display: flex;
align-items: center;
}
2023-10-16 17:56:26 -04:00
.video-container button {
2023-10-16 15:53:54 -04:00
aspect-ratio: 1;
height: 32px;
width: 32px;
color: white;
background-color: transparent;
border: none;
margin: 0px 6px;
}
2023-10-16 17:56:26 -04:00
.video-container button:hover {
2023-10-16 15:53:54 -04:00
background: rgba(44, 44, 44, 0.6);
border-radius: 6px;
}
2023-10-16 17:56:26 -04:00
.video-container #volume-button svg {
2023-10-16 15:53:54 -04:00
aspect-ratio: 1;
height: 32px;
width: 32px;
fill: white;
padding: 3px 0px 0px 0px;
}
2023-10-16 17:56:26 -04:00
.video-container .video-controls.hide {
2023-10-16 15:53:54 -04:00
opacity: 0;
pointer-events: none;
}
2023-10-16 17:56:26 -04:00
.video-container .video-progress {
2023-10-16 15:53:54 -04:00
position: relative;
height: 6.4px;
2023-10-16 17:35:27 -04:00
margin: 24px 0px;
2023-10-16 15:53:54 -04:00
}
2023-10-16 17:56:26 -04:00
.video-container progress {
2023-10-16 15:53:54 -04:00
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
border-radius: 2px;
width: 100%;
height: 8.4px;
pointer-events: none;
position: absolute;
top: 0;
}
2023-10-16 17:56:26 -04:00
.video-container progress::-webkit-progress-bar {
2023-10-16 15:53:54 -04:00
background-color: #474545;
border-radius: 2px;
}
2023-10-16 17:56:26 -04:00
.video-container progress::-webkit-progress-value {
2023-10-16 15:53:54 -04:00
background: red;
border-radius: 2px;
}
2023-10-16 17:56:26 -04:00
.video-container progress::-moz-progress-bar {
2023-10-16 15:53:54 -04:00
border: none;
background: #ff7e7e;
}
2023-10-16 17:56:26 -04:00
.video-container .seek {
2023-10-16 15:53:54 -04:00
position: absolute;
top: 0;
width: 100%;
cursor: pointer;
margin: 0;
}
2023-10-16 17:56:26 -04:00
.video-container .seek:hover + .seek-tooltip {
2023-10-16 15:53:54 -04:00
display: block;
}
2023-10-16 17:56:26 -04:00
.video-container .seek-tooltip {
2023-10-16 15:53:54 -04:00
display: none;
position: absolute;
top: -50px;
margin-left: -20px;
font-size: 12px;
padding: 3px;
content: attr(data-title);
font-weight: bold;
color: #fff;
background-color: rgba(0, 0, 0, 0.6);
}
2023-10-16 17:56:26 -04:00
.video-container input[type=range] {
2023-10-16 15:53:54 -04:00
-webkit-appearance: none;
-moz-appearance: none;
height: 8.4px;
background: transparent;
cursor: pointer;
}
2023-10-16 17:56:26 -04:00
.video-container input[type=range]:focus {
2023-10-16 15:53:54 -04:00
outline: none;
}
2023-10-16 17:56:26 -04:00
.video-container input[type=range]:focus::-webkit-slider-runnable-track {
2023-10-16 15:53:54 -04:00
background: transparent;
}
2023-10-16 17:56:26 -04:00
.video-container input[type=range]:focus::-moz-range-track {
2023-10-16 15:53:54 -04:00
outline: none;
}
2023-10-16 17:56:26 -04:00
.video-container input[type=range]::-webkit-slider-runnable-track {
2023-10-16 15:53:54 -04:00
width: 100%;
cursor: pointer;
border-radius: 1.3px;
-webkit-appearance: none;
transition: all 0.4s ease;
}
2023-10-16 17:56:26 -04:00
.video-container input[type=range]::-webkit-slider-thumb {
2023-10-16 15:53:54 -04:00
height: 16px;
width: 16px;
border-radius: 16px;
background: red;
cursor: pointer;
-webkit-appearance: none;
margin-left: -1px;
}
2023-10-16 17:56:26 -04:00
.video-container input[type=range]::-moz-range-track {
2023-10-16 15:53:54 -04:00
width: 100%;
height: 8.4px;
cursor: pointer;
border: 1px solid transparent;
background: transparent;
border-radius: 0;
}
2023-10-16 17:56:26 -04:00
.video-container input[type=range].volume {
2023-10-16 15:53:54 -04:00
height: 5px;
background-color: #fff;
}
2023-10-16 17:56:26 -04:00
.video-container input[type=range].volume::-webkit-slider-runnable-track {
2023-10-16 15:53:54 -04:00
background-color: transparent;
}
2023-10-16 17:56:26 -04:00
.video-container input[type=range].volume::-webkit-slider-thumb {
2023-10-16 15:53:54 -04:00
margin-left: 0;
height: 14px;
width: 14px;
background: #fff;
}
2023-10-16 17:56:26 -04:00
.video-container input[type=range].volume::-moz-range-thumb {
2023-10-16 15:53:54 -04:00
border: 1px solid #fff;
background: #fff;
}
2023-10-16 17:56:26 -04:00
.video-container input[type="range"]::-moz-range-thumb {
2023-10-16 15:53:54 -04:00
height: 12px;
2023-10-16 17:35:27 -04:00
width: 12px;
border-radius: 10px;
2023-10-16 15:53:54 -04:00
border: none;
background: #f00;
cursor: pointer;
}
2023-10-16 17:56:26 -04:00
.video-container .hide {
2023-10-16 15:53:54 -04:00
opacity: 0;
pointer-events: none;
}
2023-10-16 17:56:26 -04:00
.video-container #progress-bar {
2023-10-16 17:35:27 -04:00
background: rgba(12, 12, 12, 0.1);
2023-10-16 15:53:54 -04:00
border: none;
2023-10-16 17:35:27 -04:00
border-radius: 10px;
2023-10-16 15:53:54 -04:00
}