188 lines
3.1 KiB
CSS
188 lines
3.1 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
|
|
|
|
body {
|
|
background-color: #F0F0F0;
|
|
font-family: "Open Sans", sans-serif;
|
|
text-align: center;
|
|
}
|
|
|
|
*::selection {
|
|
background-color: #00BCD4;
|
|
color: white;
|
|
}
|
|
|
|
h1 {
|
|
background-image: linear-gradient(to right, #4CAF50, #4CAF50 40%, #00BCD4 60%);
|
|
background-clip: text;
|
|
color: transparent;
|
|
font-size: 3rem;
|
|
margin-top: 3rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
p {
|
|
color: #9E9E9E;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
* {
|
|
opacity: 1;
|
|
transition: opacity 300ms;
|
|
}
|
|
|
|
video {
|
|
width: 355px;
|
|
height: 200px;
|
|
border: 2px solid #212121;
|
|
background-color: black;
|
|
border-radius: 1rem;
|
|
box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
#file-input, #change-file {
|
|
display: none;
|
|
opacity: 0;
|
|
}
|
|
|
|
#file-input-spacing * {
|
|
visibility: hidden;
|
|
}
|
|
|
|
#file-drop-area {
|
|
max-width: 355px;
|
|
height: 198px;
|
|
border: 3px dotted #BDBDBD;
|
|
margin: 3rem auto 1rem auto;
|
|
border-radius: 1rem;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
transition: all 300ms;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#file-drop-area span {
|
|
color: #9E9E9E;
|
|
}
|
|
|
|
#file-drop-area:hover, #file-drop-area:focus {
|
|
background-color: #E0E0E0;
|
|
outline: none;
|
|
}
|
|
|
|
#uploaded-video {
|
|
display: none;
|
|
opacity: 0;
|
|
margin: 3rem auto 1rem auto;
|
|
}
|
|
|
|
button.primary {
|
|
background-image: linear-gradient(to right, #4CAF50, #00BCD4);
|
|
border: none;
|
|
color: white;
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 0.5rem;
|
|
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.1);
|
|
font-weight: bold;
|
|
transition: all ease-in 100ms;
|
|
cursor: pointer;
|
|
}
|
|
|
|
button.primary:hover {
|
|
filter: brightness(1.1);
|
|
}
|
|
|
|
button.primary:active {
|
|
filter: brightness(0.8);
|
|
}
|
|
|
|
button.primary:focus {
|
|
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
|
|
outline: 2px solid black;
|
|
}
|
|
|
|
button.simple {
|
|
border: none;
|
|
background-color: transparent;
|
|
transition: color 100ms;
|
|
cursor: pointer;
|
|
color: #9E9E9E;
|
|
margin: 1rem auto;
|
|
}
|
|
|
|
button.simple:hover {
|
|
color: black;
|
|
}
|
|
|
|
input, select {
|
|
background-color: white;
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 0.5rem;
|
|
border: 1px solid #BDBDBD;
|
|
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.1);
|
|
transition: all ease-in 100ms;
|
|
}
|
|
|
|
input:focus, select:focus {
|
|
outline: none;
|
|
border: 1px solid #00BCD4;
|
|
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
#filesize {
|
|
border-top-right-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
}
|
|
|
|
#filesize-unit {
|
|
border-top-left-radius: 0;
|
|
border-bottom-left-radius: 0;
|
|
border-left: 1px solid white;
|
|
}
|
|
|
|
#filesize-unit:focus {
|
|
border-left: 1px solid #00BCD4;
|
|
}
|
|
|
|
#compress {
|
|
margin-left: 1rem;
|
|
}
|
|
|
|
#loading-title {
|
|
color: #757575;
|
|
font-size: 3rem;
|
|
font-weight: bold;
|
|
margin-top: 4rem;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
#loading-description {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
#progress-container {
|
|
width: 80vw;
|
|
height: 2rem;
|
|
max-width: 500px;
|
|
border-radius: 2rem;
|
|
margin: auto;
|
|
background-color: #E0E0E0;
|
|
position: relative;
|
|
margin-top: 3rem;
|
|
}
|
|
|
|
#progress-indicator {
|
|
position: absolute;
|
|
inset: 0;
|
|
background-image: linear-gradient(to right, #4CAF50, #00BCD4);
|
|
border-radius: 2rem;
|
|
transition: clip-path 200ms;
|
|
}
|
|
|
|
#progress-percentage {
|
|
color: #757575;
|
|
font-weight: bold;
|
|
font-size: 1.2rem;
|
|
}
|
|
|