video-compressor/public/assets/style/main.css
2025-01-27 21:30:22 +01:00

124 lines
2.0 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;
}
h3 {
color: #757575;
font-size: 4rem;
font-weight: 400;
margin: 0;
}
p {
color: #9E9E9E;
font-size: 0.8rem;
}
section {
transition: opacity ease-in 400ms;
}
#file-input {
display: none;
}
#file-drop-area {
max-width: 355px;
height: 200px;
border: 3px dotted #BDBDBD;
margin: 3rem auto;
border-radius: 1rem;
display: flex;
justify-content: center;
align-items: center;
transition: background-color ease-in 200ms;
cursor: pointer;
}
#file-drop-area span {
color: #9E9E9E;
}
#file-drop-area:hover, #file-drop-area:focus {
background-color: #E0E0E0;
outline: none;
}
button {
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:hover {
filter: brightness(1.1);
}
button:active {
filter: brightness(0.8);
}
button:focus {
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
outline: 2px solid 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;
}