@font-face {
font-family: "JetBrains";
src: url("../fonts/JetBrainsMono-Regular.ttf") format("truetype");
}
:root[theme="light"] {
--background: #f9fafb;
--text: #1f2937;
--box-main: #f3f4f6;
--box-toggle: rgb(215 238 233);
--box-separation: #e5e7eb;
--box-toggleOn: rgb(127, 250, 172);
--item-bg: #dddddd;
--box-shadow: none;
--select: #a7f3d0;
--greenBtn: #22c55e;
--greenBtn-bottom: #16a34a;
--redBtn: #d64d4f;
--redBtn-bottom: #854243;
--blueBtn: #3b82f6;
--blueBtn-bottom: rgb(44, 78, 180);
}
:root[theme="dark"] {
--background: #121212;
--text: rgb(229, 229, 229);
--box-main: #1d1d1d;
--box-toggle: #191919;
--box-separation: #2e2e2e;
--box-toggleOn: #2e2e2e;
--item-bg: #2c2e31;
--box-shadow: none;
--select: #252426;
--greenBtn: #05aa76;
--greenBtn-bottom: #047652;
--redBtn: #c82b2d;
--redBtn-bottom: #803334;
--blueBtn: rgb(80, 140, 230);
--blueBtn-bottom: rgb(44, 78, 180);
--border: none;
}
:root[theme="frappe"] {
--background: #232634;
--text: #e2e8ff;
--box-main: #303446;
--box-toggle: #414559;
--box-separation: #414559;
--box-toggleOn: #607dc1;
--item-bg: #414559;
--select: #3b3e4a;
--greenBtn: #78c346;
--greenBtn-bottom: #597844;
--redBtn: #d64d4f;
--redBtn-bottom: #854243;
--blueBtn: rgb(80, 128, 230);
--blueBtn-bottom: rgb(44, 78, 180);
}
:root[theme="onedark"] {
--background: #282c34;
--text: #d2d6df;
--box-main: #3a3d46;
--box-toggle: #2f333d;
--box-separation: #2f333d;
--box-toggleOn: #13a3b7;
--item-bg: #4d515d;
--select: #262c33;
--greenBtn: #85cf50;
--greenBtn-bottom: #406923;
--redBtn: #be2d39;
--redBtn-bottom: #791a22;
--blueBtn: rgb(80, 128, 230);
--blueBtn-bottom: rgb(44, 78, 180);
}
:root[theme="matrix"] {
--background: #0d0208;
--text: #00ff41;
--box-main: #0c2216;
--box-toggle: #214338;
--box-separation: #214338;
--box-toggleOn: #24782e;
--item-bg: #214338;
--select: #08180f;
--greenBtn: #19b42b;
--greenBtn-bottom: #10701c;
--redBtn: #19b42b;
--redBtn-bottom: #10701c;
--blueBtn: #19b42b;
--blueBtn-bottom: #10701c;
}
:root[theme="github"] {
--background: #f6f8fa;
--text: #292d31;
--box-main: #ffffff;
--box-toggle: #f3f3f3;
--box-separation: #f3f3f3;
--box-toggleOn: #cce5ff;
--item-bg: #3a66d150;
--select: #cce5ff;
--greenBtn: #0a9431;
--greenBtn-bottom: #0c6826;
--redBtn: #d73a49;
--redBtn-bottom: #9b2733;
--blueBtn: #005cc5;
--blueBtn-bottom: #00428e;
}
:root[theme="latte"] {
--background: #dce0e8;
--text: #4c4f69;
--box-main: #eff1f5;
--box-toggle: #e6e9ef;
--box-separation: #e6e9ef;
--box-toggleOn: #cce5ff;
--item-bg: #bcc0cc;
--select: #cce5ff;
--greenBtn: #40a02b;
--greenBtn-bottom: #2e711f;
--redBtn: #d20f39;
--redBtn-bottom: #9c0c2b;
--blueBtn: #1e66f5;
--blueBtn-bottom: rgb(3, 49, 101);
}
:root[theme="solarized-dark"] {
--background: #002b36;
--text: #a4b1b3;
--box-main: #003745;
--box-toggle: #2e4c52;
--box-separation: #2e4c52;
--box-toggleOn: #005a6f;
--item-bg: #003745;
--select: rgb(9, 57, 53);
--greenBtn: #859900;
--greenBtn-bottom: rgb(73, 84, 1);
--redBtn: #dc322f;
--redBtn-bottom: #af2523;
--blueBtn: #268bd2;
--blueBtn-bottom: #2074b1;
}
:root[theme = "gruvbox"]{
--background: #242424;
--text: #fffefd;
--box-main: #32302f;
--box-toggle: #282828;
--box-separation: #504945;
--box-toggleOn: #458588;
--item-bg: #4d515d;
--select: #98971a;
--greenBtn:#8ec07c;
--greenBtn-bottom:#689D6A;
--redBtn: #fb4934;
--redBtn-bottom: #cc241d;
--blueBtn: #7fa2ac;
--blueBtn-bottom: #458588;
}
body {
background-color: var(--background);
color: var(--text);
padding: 20px;
font-size: x-large;
text-align: left;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
sans-serif;
}
h1 {
margin-top: 0;
display: inline-block;
}
#version {
margin: 5px;
}
input[type="text"],
.input {
border-radius: 5px;
padding: 5px;
outline: none;
border: none;
width: 50%;
height: 35px;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
sans-serif;
}
.input {
width: 70px;
font-size: larger;
padding: 5px;
}
.prefBox,
#pathConfig {
display: flex;
justify-content: space-between;
align-items: center;
margin: 15px 15px;
padding: 20px 15px;
border-radius: 15px;
background-color: var(--box-main);
}
#ytDlpArgBox {
margin: 15px 15px;
padding: 20px 15px;
border-radius: 15px;
background-color: var(--box-main);
}
#path {
font-family: "JetBrains";
font-size: medium;
}
#flatpakTxt {
margin: 0 15px;
padding: 20px 15px;
cursor: pointer;
text-decoration: underline;
color: var(--blueBtn);
display: none;
}
.prefBox {
flex-direction: row;
}
#pathConfig {
flex-direction: column;
}
.configBox {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
width: 100%;
}
#configBtn {
display: inline-block;
}
#configOpts {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
#save {
padding: 10px;
border-radius: 8px;
border: none;
color: rgb(255, 255, 255);
background-color: rgb(49, 215, 49);
cursor: pointer;
}
#save:active {
background-color: rgb(41, 155, 41);
}
#top {
position: absolute;
top: 10px;
right: 10px;
display: flex;
}
#back,
#restart {
text-decoration: none;
padding: 8px;
border-radius: 10px;
margin: 3px;
font-size: large;
cursor: pointer;
}
#back {
background-color: var(--blueBtn);
color: white;
}
#restart {
background-color: var(--redBtn);
color: white;
}
.redBtn {
background-color: var(--redBtn);
color: white;
text-decoration: none;
border: none;
margin: 5px;
border-radius: 10px;
cursor: pointer;
font-size: medium;
padding: 5px;
}
a {
color: rgb(29, 140, 209);
cursor: pointer;
}
input[type="checkbox"] {
width: 25px;
height: 25px;
}
.greenBtn {
padding: 10px;
margin: 0 20px;
border: none;
border-radius: 10px;
font-size: large;
color: white;
background-color: var(--greenBtn);
cursor: pointer;
position: relative;
outline: none;
}
#selectLocation:active {
border-bottom: none;
top: 4px;
margin-bottom: 4px;
}
select {
padding: 15px;
background-color: var(--select);
color: var(--text);
border: none;
border-radius: 8px;
cursor: pointer;
font-size: large;
outline: none;
position: relative;
width: 160px;
}
#browserInfo {
cursor: pointer;
}
#configOpts {
display: none;
}
body::-webkit-scrollbar {
width: 10px;
}
body::-webkit-scrollbar-thumb {
background: linear-gradient(rgb(110, 110, 110), rgb(77, 77, 77));
border-radius: 8px;
}
#proxyTxt:valid {
border: 2px solid var(--greenBtn);
}
#proxyTxt:invalid {
border: 2px solid var(--redBtn);
}
#customArgsInput {
padding: 8px;
width: 94%;
margin: auto;
outline: none;
font-family: "JetBrains";
border-radius: 8px;
resize: none;
overflow: hidden;
}
.popup-container {
position: fixed;
bottom: 30px;
left: 30px;
z-index: 9999;
display: flex;
flex-direction: column;
gap: 12px;
}
.popup-item {
display: inline-block;
color: #fff;
padding: 12px 24px;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
font-weight: 600;
font-size: 15px;
opacity: 1;
transition: opacity 0.4s;
}