103 lines
1.5 KiB
CSS
103 lines
1.5 KiB
CSS
#file-input, #remove-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;
|
|
}
|
|
|
|
#file-drop-area.dropping {
|
|
border-color: black;
|
|
}
|
|
|
|
#uploaded-video {
|
|
display: none;
|
|
opacity: 0;
|
|
margin: 3rem auto 1rem auto;
|
|
}
|
|
|
|
#filesize {
|
|
border-top-right-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
width: 80px;
|
|
}
|
|
|
|
#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;
|
|
}
|
|
|
|
#preset-divider {
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.preset {
|
|
display: inline-flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
gap: 0.5rem;
|
|
background-color: white;
|
|
padding: 0.5rem;
|
|
margin: 1rem 0.25rem auto 0.25rem;
|
|
border-radius: 0.5rem;
|
|
border: 1px solid #BDBDBD;
|
|
width: 100px;
|
|
height: 100px;
|
|
cursor: pointer;
|
|
position: relative;
|
|
bottom: 0;
|
|
transition: box-shadow, bottom 200ms;
|
|
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.preset:hover {
|
|
bottom: 3px;
|
|
box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.preset:focus {
|
|
border-color: black;
|
|
outline: 1px solid black;
|
|
}
|
|
|
|
.preset p {
|
|
margin: 0;
|
|
color: #757575;
|
|
}
|
|
|
|
.preset svg {
|
|
color: #BDBDBD;
|
|
}
|