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

279 lines
4.3 KiB
CSS

:root {
--background: rgb(40, 40, 40);
--text: white;
--box-main: rgb(80, 80, 80);
--box-toggle: rgb(70, 70, 70);
--box-toggleOn: rgb(67, 212, 164);
--theme-toggle: rgb(80, 193, 238);
--item-bg: rgb(60, 60, 60);
--box-shadow: none;
}
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
sans-serif;
text-align: center;
padding: 10px;
background-color: var(--background);
color: var(--text);
transition: 0.4s;
font-size: large;
}
#menuIcon {
position: absolute;
top: 10px;
right: 10px;
width: 40px;
height: 40px;
cursor: pointer;
transition: 0.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;
}
.item {
display: flex;
position: relative;
width: 86%;
height: 100px;
background-color: var(--item-bg);
color:var(--text);
margin: 10px auto;
border-radius: 10px;
padding: 20px 10px;
align-items: center;
justify-content: space-between;
box-shadow: var(--box-shadow);
}
@media screen and (max-width: 650px) {
.item {
width: 90%;
}
}
.itemIcon {
max-width: 160px;
max-height: 90px;
border-radius: 10px;
margin: 0 10px 0 0;
}
.itemTitle {
font-family: sans-serif;
}
.itemBody {
height: 90%;
width: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.itemProgress{
font-weight:bold;
cursor: pointer;
}
.itemClose{
position: absolute;
top:5px;
right:5px;
cursor: pointer;
cursor: pointer;
width:15px;
height:15px;
}
@keyframes clickAnimation {
0% {
background-color: rgb(64, 227, 64);
}
50% {
background-color: rgb(40, 126, 40);
}
100% {
background-color: rgb(64, 227, 64);
}
}
#hidden {
display: none;
/* display: inline-block; */
position: absolute;
z-index: 1;
left: 0;
right: 0;
margin: auto;
top:20%;
background-color: var(--box-main);
border-radius: 10px;
width: 80%;
padding: 10px 10px 20px 10px;
color: var(--text);
}
.hiddenVideoProgress, .hiddenAudioProgress{
display:none;
}
#btnContainer {
display: flex;
flex-direction: row;
justify-content: center;
}
.toggleBtn {
width: 50%;
font-size: x-large;
border: none;
background-color: var(--box-toggle);
border-radius: 10px;
cursor: pointer;
padding: 8px;
color: var(--text);
}
select {
padding: 15px;
background-color: rgb(127, 253, 127);
border: none;
border-radius: 8px;
cursor: pointer;
font-size: large;
margin: 8px;
outline: none;
}
label {
position: relative;
top: 3px;
}
#videoList,
#audioList {
display: none;
}
.submitBtn {
padding: 15px;
border-radius: 8px;
background-color: rgb(64, 227, 64);
color: white;
border: none;
border-bottom: 5px solid rgb(50, 185, 50);
font-size: large;
cursor: pointer;
display: inline-block;
outline:none;
position:relative;
animation-duration: 0.5s;
animation-timing-function: linear;
}
.submitBtn:active{
border:none;
top:5px;
margin-bottom: 5px;
transition:.3s;
}
#incorrectMsg {
color: rgb(250, 59, 59);
}
#loadingWrapper {
/* Default is flex */
display: none;
flex-direction: row;
justify-content: center;
align-items: center;
}
#preparingBox {
display: none;
flex-direction: row;
justify-content: center;
align-items: center;
}
svg {
width: 100px;
height: 100px;
display: inline-block;
margin-left: 20px;
}
#themeToggle {
width: 55px;
height: 30px;
background-color: var(--theme-toggle);
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;
}
.savedMsg {
color: rgb(52, 170, 234);
cursor: pointer;
}
#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;
}