327 lines
5.6 KiB
CSS
327 lines
5.6 KiB
CSS
.clicks-fullscreen-container {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
}
|
|
|
|
.clicks-add-video {
|
|
position: absolute;
|
|
z-index: 3;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
user-select: none;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
font-family: "proxima-nova";
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-color: black;
|
|
|
|
visibility: hidden;
|
|
}
|
|
|
|
.clicks-add-video-active {
|
|
visibility: visible;
|
|
}
|
|
|
|
.clicks-add-video-dialog {
|
|
border: 1px solid red;
|
|
border-radius: 10px;
|
|
padding: 10px;
|
|
color: white;
|
|
}
|
|
|
|
.clicks-add-video-dialog:before {
|
|
content: "YouTube ID or URL: ";
|
|
}
|
|
|
|
.clicks-add-video-input {
|
|
width: 30em;
|
|
height: 1.5em;
|
|
padding: 3px;
|
|
border: 1px dashed red;
|
|
font-family: "source-code-pro";
|
|
outline: none;
|
|
}
|
|
|
|
@keyframes clicks-loading {
|
|
0% {
|
|
color: rgba(255,0,0,0.8);
|
|
}
|
|
|
|
50% {
|
|
color: rgba(255,0,0,0.4);
|
|
}
|
|
|
|
100% {
|
|
color: rgba(255,0,0,0.8);
|
|
}
|
|
}
|
|
|
|
.clicks-loading {
|
|
position: absolute;
|
|
z-index: 2;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
user-select: none;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
font-family: "proxima-nova";
|
|
font-size: 100px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-color: black;
|
|
color: rgba(255,0,0,0.8);
|
|
|
|
animation: clicks-loading 3s infinite ease-in-out;
|
|
|
|
transition: visibility 0.3s, opacity 0.3s linear;
|
|
visibility: visible;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.clicks-loading:before {
|
|
content: "Loading...";
|
|
|
|
}
|
|
|
|
.clicks-loading-complete {
|
|
visibility: hidden;
|
|
opacity: 0.0;
|
|
}
|
|
|
|
.clicks-controls {
|
|
position: absolute;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
user-select: none;
|
|
z-index: 1;
|
|
left: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
max-width: 50%;
|
|
background: rgba(50,50,50,0.7);
|
|
border-width: 1px;
|
|
border-color: rgba(255,0,0,0.5);
|
|
border-style: none solid none none;
|
|
box-shadow: 5px 0 5px rgba(255,0,0,0.1);
|
|
color: white;
|
|
cursor: default;
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
transition: visibility 0.15s, opacity 0.15s linear;
|
|
visibility: hidden;
|
|
opacity: 0.0;
|
|
}
|
|
|
|
.clicks-controls-active {
|
|
visibility: visible;
|
|
opacity: 1.0;
|
|
}
|
|
|
|
.clicks-title {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.clicks-current-time, .clicks-total-time {
|
|
font-family: "source-code-pro";
|
|
font-size: small;
|
|
}
|
|
|
|
.clicks-current-time:before {
|
|
content: "Current: ";
|
|
}
|
|
|
|
.clicks-total-time:before {
|
|
content: " Total: ";
|
|
white-space: pre;
|
|
}
|
|
|
|
.clicks-buffering {
|
|
position: absolute;
|
|
right: 0;
|
|
bottom: 0;
|
|
width: 75px;
|
|
height: 75px;
|
|
|
|
transition: opacity 0.15s linear;
|
|
opacity: 0.0;
|
|
}
|
|
|
|
.clicks-buffering-active {
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.clicks-control-info-area, .clicks-control-section-select-area {
|
|
position: relative;
|
|
padding: 10px;
|
|
border-bottom: 1px solid rgba(255,0,0,0.5);
|
|
}
|
|
|
|
.clicks-control-section-area {
|
|
flex-grow: 1;
|
|
position: relative;
|
|
}
|
|
|
|
.clicks-control-section-select {
|
|
width: 100px;
|
|
height: 40px;
|
|
display: inline-flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
box-shadow: 5px 0 5px rgba(255,0,0,0.1);
|
|
overflow: hidden;
|
|
border-radius: 10px;
|
|
padding: 5px;
|
|
margin: 5px;
|
|
font-family: "source-code-pro";
|
|
text-transform: uppercase;
|
|
cursor: pointer;
|
|
|
|
transition: border 0.15s linear, background-color 0.15s linear;
|
|
border: 1px solid rgba(255,0,0,0.7);
|
|
background-color: rgba(255,255,255,0.1);
|
|
}
|
|
|
|
.clicks-control-section-select-active {
|
|
border: 1px solid rgba(255,255,0,0.7);
|
|
background-color: rgba(255,255,0,0.3);
|
|
}
|
|
|
|
.clicks-control-section {
|
|
display: none;
|
|
padding: 10px;
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
}
|
|
|
|
.clicks-control-section-active {
|
|
display: block;
|
|
}
|
|
|
|
.clicks-button {
|
|
position: relative;
|
|
width: 75px;
|
|
height: 75px;
|
|
display: inline-block;
|
|
box-shadow: 5px 0 5px rgba(255,0,0,0.1);
|
|
background-color: rgba(0,0,0,0.8);
|
|
overflow: hidden;
|
|
border-radius: 10px;
|
|
padding: 5px;
|
|
text-align: center;
|
|
margin: 5px;
|
|
cursor: pointer;
|
|
|
|
transition: border 0.15s linear;
|
|
border: 1px solid rgba(255,0,0,0.7);
|
|
}
|
|
|
|
.clicks-button img {
|
|
width: 50px;
|
|
height: 50px;
|
|
}
|
|
|
|
.clicks-shortcut {
|
|
position: absolute;
|
|
text-align: center;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
padding-bottom: 3px;
|
|
font-family: "source-code-pro";
|
|
text-transform: uppercase;
|
|
|
|
transition: background-color 0.15s linear;
|
|
background-color: rgba(255,255,255,0.2);
|
|
}
|
|
|
|
.clicks-button-active {
|
|
border: 1px solid rgba(255,255,0,0.7);
|
|
}
|
|
|
|
.clicks-button-active .clicks-shortcut {
|
|
background-color: rgba(255,255,0,0.3);
|
|
}
|
|
|
|
.clicks-controls-marker {
|
|
position: relative;
|
|
min-width: 300px;
|
|
height: 40px;
|
|
display: inline-block;
|
|
border: 1px solid rgba(255,0,0,0.7);
|
|
box-shadow: 5px 0 5px rgba(255,0,0,0.1);
|
|
background-color: rgba(0,0,0,0.8);
|
|
overflow: hidden;
|
|
border-radius: 10px;
|
|
padding: 8px;
|
|
text-align: left;
|
|
margin: 5px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.clicks-controls-marker-time {
|
|
font-family: "source-code-pro";
|
|
}
|
|
|
|
.clicks-players-container {
|
|
position: absolute;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
user-select: none;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: black;
|
|
}
|
|
|
|
.clicks-player-container {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
overflow: scroll;
|
|
text-align: center;
|
|
|
|
visibility: hidden;
|
|
}
|
|
|
|
.clicks-player-container-active {
|
|
visibility: visible;
|
|
}
|
|
|
|
.clicks-player-crop {
|
|
display: inline-block;
|
|
}
|
|
|
|
.clicks-player-scale {
|
|
position: relative;
|
|
transform-origin: top left;
|
|
}
|
|
|
|
.clicks-player-overlay {
|
|
position: absolute;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
user-select: none;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
z-index: 1;
|
|
}
|