You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ytDownloader/assets/css/index.css

238 lines
3.7 KiB
CSS

:root {
--background: whitesmoke;
--text: rgb(45, 45, 45);
--box-main: rgb(143, 239, 207);
--box-toggle: rgb(108, 231, 190);
--box-toggleOn: rgb(67, 212, 164);
--theme-toggle: rgb(147, 174, 185);
}
4 years ago
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
sans-serif;
text-align: center;
font-size: xx-large;
padding: 10px;
background-color: var(--background);
color: var(--text);
4 years ago
}
#title {
font-size: x-large;
font-family: sans-serif;
}
#menuIcon{
position: absolute;
top:10px;
right:10px;
width:40px;
height:40px;
cursor: pointer;
transition: .3s;
}
#menu{
display:none;
flex-direction: column;
backdrop-filter: blur(16px) saturate(160%);
-webkit-backdrop-filter: blur(16px) saturate(160%);
background-color: rgba(17, 25, 40, 0.75);
border-radius: 12px;
position: absolute;
top:40px;
right:50px;
padding:15px;
text-align: left;
opacity:1;
font-size: large;
}
.menuItem{
color:white;
text-decoration: none;
padding:5px;
cursor:pointer;
}
.menuItem:active, .menuItem:link{
color:white;
}
4 years ago
h1 {
font-size: 50px;
}
input[type="text"] {
padding: 10px;
border-radius: 10px;
border: 1px solid gray;
outline: none;
font-size: large;
width: 70%;
}
#getInfo {
padding: 10px;
background-color: rgb(64, 227, 64);
border: none;
border-radius: 8px;
color: white;
font-size: large;
cursor: pointer;
/* animation-name: clickAnimation; */
animation-duration: 0.5s;
4 years ago
animation-timing-function: linear;
}
@keyframes clickAnimation {
0% {
background-color: rgb(64, 227, 64);
}
50% {
background-color: rgb(40, 126, 40);
}
100% {
background-color: rgb(64, 227, 64);
}
4 years ago
}
#hidden {
display: none;
/* display: inline-block; */
background-color: var(--box-main);
4 years ago
border-radius: 10px;
width: 80%;
padding: 10px 10px 20px 10px;
color: var(--text);
}
#videoProgressBox, #audioProgressBox {
display: none;
4 years ago
}
#btnContainer {
display: flex;
flex-direction: row;
justify-content: center;
}
.toggleBtn {
width: 50%;
font-size: x-large;
border: none;
background-color: var(--box-toggle);
4 years ago
border-radius: 10px;
cursor: pointer;
padding: 8px;
color: var(--text);
4 years ago
}
select {
padding: 15px;
background-color: rgb(127, 253, 127);
4 years ago
border: none;
border-radius: 8px;
cursor: pointer;
font-size: large;
margin: 8px;
outline: none;
4 years ago
}
label {
position: relative;
top: 3px;
}
#videoList,
#audioList {
display: none;
}
.submitBtn {
padding: 15px;
margin: 15px;
border-radius: 8px;
background-color: rgb(64, 227, 64);
color: white;
border: none;
font-size: large;
cursor: pointer;
display: inline-block;
animation-duration: 0.5s;
4 years ago
animation-timing-function: linear;
}
#incorrectMsg {
color: rgb(250, 59, 59);
}
#loadingWrapper {
display: none;
4 years ago
flex-direction: row;
justify-content: center;
align-items: center;
}
#preparingBox {
display: none;
flex-direction: row;
justify-content: center;
align-items: center;
}
4 years ago
svg {
width: 100px;
height: 100px;
display: inline-block;
margin-left: 20px;
}
4 years ago
#themeToggle {
width: 55px;
height: 30px;
background-color: var(--theme-toggle);
4 years ago
border-radius: 40px;
display: flex;
cursor: pointer;
transition: linear;
transition-duration: 0.4s;
}
#themeToggleInside {
background-color: rgb(255, 255, 255);
border-radius: 30px;
width: 22px;
height: 22px;
margin: 4px;
position: relative;
transition: linear;
transition-duration: 0.4s;
left: 0px;
4 years ago
}
.savedMsg {
color: rgb(52, 170, 234);
cursor: pointer;
4 years ago
}
#savedMsg{
cursor: pointer;
}
/* Scrollbar */
body::-webkit-scrollbar {
width: 5px;
}
body::-webkit-scrollbar-track {
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}
body::-webkit-scrollbar-thumb {
background-color: rgb(79, 78, 78);
border-radius: 5px;
}