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.
1538 lines
24 KiB
CSS
1538 lines
24 KiB
CSS
@import "./themes.css";
|
|
|
|
body {
|
|
font-family: "Ubuntu";
|
|
text-align: center;
|
|
padding: 10px;
|
|
background-color: var(--background);
|
|
color: var(--text);
|
|
transition: 0.4s;
|
|
font-size: large;
|
|
user-select: none;
|
|
}
|
|
|
|
img {
|
|
-webkit-user-drag: none;
|
|
}
|
|
|
|
#popupBox,
|
|
#popupBoxMac {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
margin: 0;
|
|
background-color: rgba(17, 25, 40, 0.75);
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 2;
|
|
display: none;
|
|
}
|
|
#popup,
|
|
#popupMac {
|
|
position: absolute;
|
|
padding: 20px;
|
|
top: 50%;
|
|
left: 50%;
|
|
width: 300px;
|
|
border-radius: 10px;
|
|
transform: translate(-50%, -50%);
|
|
background-color: rgb(91, 91, 91);
|
|
color: white;
|
|
}
|
|
|
|
#tryBtn {
|
|
background-color: rgb(137, 226, 255);
|
|
color: rgb(35, 35, 35);
|
|
border: none;
|
|
padding: 10px;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
position: relative;
|
|
}
|
|
#tryBtn:active {
|
|
border: none;
|
|
}
|
|
|
|
#menuIcon {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
width: 40px;
|
|
height: 40px;
|
|
cursor: pointer;
|
|
transition: 0.3s;
|
|
z-index: 1;
|
|
}
|
|
|
|
.openFileBtn {
|
|
color: white;
|
|
background-color: var(--blueBtn);
|
|
border: none;
|
|
position: relative;
|
|
border-radius: 6px;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
padding: 10px;
|
|
display: flex;
|
|
margin: 8px 0;
|
|
font-weight: normal;
|
|
align-items: center;
|
|
font-size: 15px;
|
|
|
|
display: none;
|
|
}
|
|
|
|
.btnIcon {
|
|
width: 15px;
|
|
height: 15px;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.speedContainer {
|
|
display: flex;
|
|
}
|
|
|
|
.speedIcon {
|
|
width: 15px;
|
|
height: 15px;
|
|
|
|
color: var(--text)
|
|
}
|
|
|
|
#menu {
|
|
display: none;
|
|
flex-direction: column;
|
|
backdrop-filter: blur(18px) saturate(180%);
|
|
-webkit-backdrop-filter: blur(18px) saturate(180%);
|
|
background: rgba(15, 23, 42, 0.85);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 16px;
|
|
position: absolute;
|
|
top: 45px;
|
|
right: 50px;
|
|
padding: 12px;
|
|
width: 220px;
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
|
|
text-align: left;
|
|
font-family: "Inter", sans-serif;
|
|
font-size: medium;
|
|
color: #e2e8f0;
|
|
z-index: 2;
|
|
animation: fadeIn 0.25s ease-out;
|
|
}
|
|
|
|
.menuItem {
|
|
cursor: pointer;
|
|
padding: 10px 12px;
|
|
border-radius: 8px;
|
|
margin-bottom: 6px;
|
|
text-decoration: none;
|
|
color: #d6dadf;
|
|
transition: all 0.15s ease-in-out;
|
|
border-bottom: none;
|
|
background: rgba(25, 37, 66, 0.223);
|
|
}
|
|
|
|
.menuItem:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: #38bdf8;
|
|
transform: translateX(2px);
|
|
}
|
|
|
|
.menuDivider {
|
|
height: 1px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
margin: 4px 0;
|
|
}
|
|
|
|
.menuLabel {
|
|
margin-top: 5px;
|
|
font-size: 0.9rem;
|
|
color: #94a3b8;
|
|
padding: 4px 0;
|
|
}
|
|
|
|
.themeSelect {
|
|
margin-top: 4px;
|
|
background: rgba(30, 41, 59, 0.9);
|
|
color: #f8fafc;
|
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
border-radius: 8px;
|
|
padding: 8px;
|
|
font-family: "Inter", sans-serif;
|
|
transition:
|
|
border 0.2s,
|
|
background 0.2s;
|
|
width: 100%;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.themeSelect:hover,
|
|
.themeSelect:focus {
|
|
border-color: #38bdf8;
|
|
background: rgba(51, 65, 85, 0.9);
|
|
outline: none;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-6px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.item {
|
|
display: flex;
|
|
position: relative;
|
|
width: 86%;
|
|
background-color: var(--item-bg);
|
|
color: var(--text);
|
|
margin: 10px auto;
|
|
border-radius: 15px;
|
|
padding: 10px;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
@media (min-width: 1200px) {
|
|
.item {
|
|
width: 70%;
|
|
}
|
|
}
|
|
|
|
.playlistItem {
|
|
display: flex;
|
|
position: relative;
|
|
width: 94%;
|
|
height: 25px;
|
|
background-color: var(--item-bg);
|
|
color: var(--text);
|
|
padding: 16px 25px;
|
|
border-radius: 15px;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin: 10px auto;
|
|
}
|
|
|
|
.itemIconBox {
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: relative;
|
|
}
|
|
.itemIcon {
|
|
max-width: 180px;
|
|
height: 115px;
|
|
object-fit: cover;
|
|
border-radius: 10px;
|
|
margin: 0 10px 0 0;
|
|
}
|
|
|
|
.title {
|
|
padding: 12px 10px;
|
|
border-radius: 8px;
|
|
margin-left: 4px;
|
|
border: none;
|
|
outline: none;
|
|
width: 50%;
|
|
text-align: center;
|
|
background-color: var(--box-separation);
|
|
color: var(--text);
|
|
font-size: large;
|
|
font-family: "Ubuntu";
|
|
}
|
|
|
|
.itemTitle {
|
|
padding: 8px 0;
|
|
font-weight: bold;
|
|
font-size: 20px;
|
|
text-align: start;
|
|
max-width: 96%;
|
|
}
|
|
.itemChannel {
|
|
opacity: 0.6;
|
|
}
|
|
.itemBody {
|
|
height: 90%;
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
margin-left: 30px;
|
|
}
|
|
.itemProgress {
|
|
padding: 4px 0;
|
|
width: 90%;
|
|
text-align: start;
|
|
}
|
|
|
|
.custom-progress {
|
|
width: 100%;
|
|
height: 8px;
|
|
background: #e0e0e0;
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
display: inline-block;
|
|
}
|
|
|
|
.custom-progress-fill {
|
|
width: 0%;
|
|
height: 100%;
|
|
background: var(--blueBtn);
|
|
transition: width 0.3s ease;
|
|
border-radius: 6px 0 0 6px;
|
|
}
|
|
|
|
.itemSpeed {
|
|
padding: 10px 5px 5px 0;
|
|
}
|
|
.itemClose {
|
|
position: absolute;
|
|
top: 8px;
|
|
right: 8px;
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
width: 15px;
|
|
height: 15px;
|
|
background: color-mix(in srgb, var(--item-bg) 85%, black);
|
|
padding: 5px;
|
|
border-radius: 50%;
|
|
}
|
|
.itemType {
|
|
margin-top: 5px;
|
|
position: absolute;
|
|
padding: 5px;
|
|
background: #1310108a;
|
|
color: white;
|
|
left: 5px;
|
|
bottom: 5px;
|
|
margin: top 8px;
|
|
border-radius: 5px;
|
|
font-size: 10px;
|
|
}
|
|
|
|
#closeHidden {
|
|
bottom: 7px;
|
|
position: absolute;
|
|
right: 10px;
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
width: 15px;
|
|
height: 15px;
|
|
background: color-mix(in srgb, var(--item-bg) 85%, black);
|
|
padding: 5px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
#hidden {
|
|
display: none;
|
|
position: absolute;
|
|
z-index: 1;
|
|
left: 0;
|
|
right: 0;
|
|
margin: auto;
|
|
top: 20%;
|
|
background-color: var(--box-main);
|
|
border-radius: 15px;
|
|
width: 80%;
|
|
padding: 10px 10px 25px 10px;
|
|
color: var(--text);
|
|
border: var(--border);
|
|
}
|
|
|
|
#videoBox,
|
|
#audioBox {
|
|
background-color: var(--box-toggle);
|
|
padding: 10px;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
#audioExtract,
|
|
.separationBox {
|
|
margin: 10px;
|
|
padding: 10px;
|
|
background-color: var(--box-separation);
|
|
border-radius: 10px;
|
|
}
|
|
|
|
#options {
|
|
display: none;
|
|
position: absolute;
|
|
overflow: hidden;
|
|
z-index: 1;
|
|
left: 0;
|
|
right: 0;
|
|
margin: auto;
|
|
top: 15%;
|
|
background-color: var(--box-main);
|
|
width: 80%;
|
|
border-radius: 10px;
|
|
padding: 10px;
|
|
color: var(--text);
|
|
}
|
|
|
|
#btnContainer {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
padding-top: 10px;
|
|
}
|
|
|
|
.toggleBtn {
|
|
width: 50%;
|
|
font-size: x-large;
|
|
border: var(--border);
|
|
background-color: var(--box-toggle);
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
padding: 8px;
|
|
color: var(--text);
|
|
}
|
|
|
|
#audioToggle {
|
|
margin-left: 5px;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
#videoToggle {
|
|
background-color: var(--box-toggleOn);
|
|
margin-left: 10px;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.select {
|
|
padding: 12px 15px;
|
|
background-color: var(--select);
|
|
color: var(--text);
|
|
border: none;
|
|
border-radius: 12px;
|
|
cursor: pointer;
|
|
font-size: large;
|
|
margin-bottom: 8px;
|
|
margin-left: 8px;
|
|
outline: none;
|
|
max-width: min(400px, 100%);
|
|
font-family: "JetBrains";
|
|
}
|
|
|
|
.audioSelect {
|
|
width: 180px;
|
|
}
|
|
|
|
#videoTypeSelect {
|
|
width: 160px;
|
|
}
|
|
|
|
#audioQualitySelect {
|
|
width: 145px;
|
|
}
|
|
|
|
#link {
|
|
padding: 10px;
|
|
}
|
|
|
|
.formatSelect {
|
|
margin: 2px 4px 2px 0;
|
|
}
|
|
|
|
label {
|
|
position: relative;
|
|
top: 3px;
|
|
}
|
|
|
|
#videoList,
|
|
#audioList {
|
|
display: none;
|
|
}
|
|
|
|
.cb {
|
|
width: 20px;
|
|
height: 20px;
|
|
position: relative;
|
|
left: 5px;
|
|
top: 4px;
|
|
}
|
|
|
|
input[type="number"]::-webkit-inner-spin-button,
|
|
input[type="number"]::-webkit-outer-spin-button {
|
|
appearance: none;
|
|
}
|
|
|
|
.submitBtn {
|
|
padding: 15px;
|
|
border-radius: 10px;
|
|
background-color: var(--greenBtn);
|
|
color: white;
|
|
border: none;
|
|
font-size: large;
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
outline: none;
|
|
position: relative;
|
|
}
|
|
.submitBtn:active {
|
|
background-color: var(--greenBtn-bottom);
|
|
border: none;
|
|
}
|
|
|
|
#pasteUrl,
|
|
#pasteLink {
|
|
--greenTop: #34d399;
|
|
--greenBottom: #059669;
|
|
--greenHover: #10b981;
|
|
--greenActive: #047857;
|
|
|
|
background: linear-gradient(
|
|
to bottom right,
|
|
var(--greenTop),
|
|
var(--greenBottom)
|
|
);
|
|
color: #fff;
|
|
font-size: 1.1rem;
|
|
padding: 16px 28px;
|
|
border: none;
|
|
border-radius: 16px;
|
|
cursor: pointer;
|
|
outline: none;
|
|
position: relative;
|
|
transition: all 0.25s ease;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
|
|
margin-top: 15px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
#pasteUrl:hover,
|
|
#pasteLink:hover {
|
|
background: linear-gradient(
|
|
to bottom right,
|
|
var(--greenHover),
|
|
var(--greenBottom)
|
|
);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
#pasteUrl:active,
|
|
#pasteUrl.active,
|
|
#pasteLink:active {
|
|
background: linear-gradient(
|
|
to bottom right,
|
|
var(--greenActive),
|
|
var(--greenBottom)
|
|
);
|
|
transform: translateY(0);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) inset;
|
|
}
|
|
|
|
.paste-keys {
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.paste-keys .key {
|
|
background: rgba(255, 255, 255, 0.128);
|
|
border-radius: 8px;
|
|
padding: 6px 10px;
|
|
font-size: 15px;
|
|
font-family: "Inter", sans-serif;
|
|
color: #e5e5e5;
|
|
margin: 0 3px;
|
|
border-bottom: 3px solid rgba(2, 107, 72, 0.6);
|
|
}
|
|
|
|
.resumeBtn {
|
|
padding: 10px;
|
|
border-radius: 8px;
|
|
background-color: rgb(64, 227, 64);
|
|
color: white;
|
|
border: none;
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
outline: none;
|
|
position: absolute;
|
|
right: 10px;
|
|
bottom: 10px;
|
|
width: 100px;
|
|
}
|
|
|
|
.input {
|
|
padding: 8px;
|
|
border: none;
|
|
outline: none;
|
|
border-radius: 5px;
|
|
width: 70px;
|
|
font-size: large;
|
|
margin: 5px;
|
|
}
|
|
|
|
#incorrectMsg,
|
|
#incorrectMsgPlaylist {
|
|
color: var(--redBtn);
|
|
}
|
|
|
|
#incorrectMsgPlaylist {
|
|
display: none;
|
|
}
|
|
|
|
#errorBtn {
|
|
display: none;
|
|
}
|
|
#errorDetails {
|
|
cursor: pointer;
|
|
font-family: monospace;
|
|
padding: 15px;
|
|
margin: 10px 0;
|
|
border: 2px solid rgb(189, 0, 0);
|
|
border-radius: 8px;
|
|
display: none;
|
|
transition: 0.5s all;
|
|
}
|
|
#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;
|
|
}
|
|
|
|
.savedMsg {
|
|
color: rgb(52, 170, 234);
|
|
cursor: pointer;
|
|
}
|
|
#savedMsg {
|
|
cursor: pointer;
|
|
}
|
|
button {
|
|
font-family: "Ubuntu";
|
|
font-weight: bold;
|
|
outline: none;
|
|
}
|
|
|
|
#extractBtn,
|
|
.blueBtn {
|
|
color: white;
|
|
background-color: var(--blueBtn);
|
|
border: none;
|
|
position: relative;
|
|
padding: 15px;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
margin: 8px;
|
|
font-size: large;
|
|
text-decoration: none;
|
|
}
|
|
|
|
#extractBtn {
|
|
width: 150px;
|
|
}
|
|
|
|
#download,
|
|
#audioDownload {
|
|
width: 140px;
|
|
}
|
|
|
|
#clearBtn {
|
|
display: none;
|
|
}
|
|
|
|
#extractBtn:active,
|
|
.blueBtn:active {
|
|
background-color: var(--blueBtn-bottom);
|
|
border: none;
|
|
}
|
|
|
|
.advancedToggle {
|
|
color: white;
|
|
background-color: var(--redBtn);
|
|
border: none;
|
|
position: relative;
|
|
padding: 15px;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
margin: 8px;
|
|
font-size: large;
|
|
}
|
|
|
|
.advancedToggle:active {
|
|
background-color: var(--blueBtn-bottom);
|
|
border: none;
|
|
}
|
|
|
|
#advanced {
|
|
display: none;
|
|
}
|
|
.advancedItem {
|
|
border-radius: 15px;
|
|
padding: 20px;
|
|
margin: 10px;
|
|
background-color: var(--item-bg);
|
|
}
|
|
|
|
#path {
|
|
font-family: "JetBrains";
|
|
font-size: medium;
|
|
}
|
|
|
|
#subHeader {
|
|
font-weight: bold;
|
|
margin-top: 0;
|
|
}
|
|
|
|
h2 {
|
|
margin: 12px;
|
|
font-size: 24px;
|
|
}
|
|
|
|
/* 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;
|
|
}
|
|
|
|
#goToTop {
|
|
display: none;
|
|
position: fixed;
|
|
bottom: 10px;
|
|
right: 10px;
|
|
z-index: 2;
|
|
border: none;
|
|
outline: none;
|
|
background-image: url(../images/up-arrow.png);
|
|
background-size: contain;
|
|
width: 40px;
|
|
height: 40px;
|
|
cursor: pointer;
|
|
color: white;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.scale {
|
|
animation-name: scale;
|
|
animation-duration: 0.4s;
|
|
animation-fill-mode: forwards;
|
|
}
|
|
|
|
.scaleUp {
|
|
animation-name: scaleUp;
|
|
animation-duration: 0.4s;
|
|
animation-fill-mode: forwards;
|
|
}
|
|
|
|
body::-webkit-scrollbar {
|
|
width: 10px;
|
|
}
|
|
body::-webkit-scrollbar-thumb {
|
|
background: linear-gradient(rgb(110, 110, 110), rgb(77, 77, 77));
|
|
border-radius: 8px;
|
|
}
|
|
|
|
@keyframes scale {
|
|
0% {
|
|
scale: 1;
|
|
}
|
|
100% {
|
|
scale: 0;
|
|
}
|
|
}
|
|
@keyframes scaleUp {
|
|
0% {
|
|
scale: 0;
|
|
}
|
|
100% {
|
|
scale: 1;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 650px) {
|
|
.item {
|
|
width: 90%;
|
|
}
|
|
.title {
|
|
width: 80%;
|
|
}
|
|
}
|
|
|
|
/* Compressor styles */
|
|
#compressor-header {
|
|
text-align: center;
|
|
margin-top: 0;
|
|
}
|
|
|
|
.container {
|
|
max-width: 800px;
|
|
margin: 30px auto 10px auto;
|
|
background: var(--box-main);
|
|
padding: 30px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.drop-zone {
|
|
border: 2px dashed #ccc;
|
|
border-radius: 8px;
|
|
padding: 2rem;
|
|
text-align: center;
|
|
margin-bottom: 2rem;
|
|
transition: border-color 0.3s ease;
|
|
background: var(--box-toggle);
|
|
}
|
|
|
|
.drop-zone:hover {
|
|
border-color: #2196f3;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.compress-select {
|
|
font-family: "Ubuntu";
|
|
padding: 10px;
|
|
}
|
|
|
|
.drop-zone.dragover {
|
|
border-color: #2196f3;
|
|
background-color: var(--box-toggleOn);
|
|
}
|
|
|
|
#settings-group-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.output-folder-conf {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
#output-folder-box {
|
|
background-color: var(--box-toggle);
|
|
margin-bottom: 12px;
|
|
padding: 15px;
|
|
border-radius: 8px;
|
|
text-align: left;
|
|
}
|
|
|
|
#output-folder-input {
|
|
width: 20px;
|
|
height: 20px;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.folder-input-checkbox {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
#output-suffix {
|
|
cursor: text;
|
|
}
|
|
|
|
.settings-group {
|
|
margin-bottom: 10px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 46%;
|
|
}
|
|
|
|
.compress-label {
|
|
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
|
display: block;
|
|
margin-bottom: 10px;
|
|
font-weight: 500;
|
|
text-align: left;
|
|
}
|
|
|
|
#compression-status {
|
|
max-width: 800px;
|
|
margin: 20px auto 0 auto;
|
|
border-top: 1px solid var(--item-bg);
|
|
padding-top: 20px;
|
|
}
|
|
|
|
.status-item {
|
|
padding: 16px;
|
|
margin: 6px auto;
|
|
border-radius: 4px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
flex-direction: row;
|
|
background-color: var(--item-bg);
|
|
max-width: 800px;
|
|
}
|
|
|
|
.status-item.success {
|
|
color: var(--greenBtn);
|
|
}
|
|
|
|
.status-item.error {
|
|
color: var(--redBtn);
|
|
}
|
|
|
|
.status {
|
|
min-width: 80px;
|
|
text-transform: uppercase;
|
|
font-size: 0.9em;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.fileinput-btn {
|
|
background: var(--blueBtn);
|
|
color: white;
|
|
padding: 10px;
|
|
display: block;
|
|
border-radius: 5px;
|
|
margin: 5px 0 10px 0;
|
|
cursor: pointer;
|
|
border: none;
|
|
}
|
|
|
|
.progressBarCompress {
|
|
width: 200px;
|
|
}
|
|
|
|
.nvidia_opt,
|
|
.amf_opt,
|
|
.qsv_opt,
|
|
.vaapi_opt,
|
|
.videotoolbox_opt {
|
|
display: none;
|
|
}
|
|
|
|
#custom-folder-select {
|
|
padding: 10px;
|
|
margin-left: 0;
|
|
display: none;
|
|
}
|
|
|
|
#custom-folder-path {
|
|
font-family: "JetBrains";
|
|
background-color: var(--box-main);
|
|
padding: 8px;
|
|
border-radius: 4px;
|
|
display: none;
|
|
}
|
|
|
|
#selected-files {
|
|
padding-top: 10px;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
::view-transition-old(root),
|
|
::view-transition-new(root) {
|
|
animation: none;
|
|
mix-blend-mode: normal;
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
.container {
|
|
padding: 2rem;
|
|
}
|
|
}
|
|
|
|
.slider-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.time-display {
|
|
flex-shrink: 0;
|
|
width: 5.5rem;
|
|
height: 3rem;
|
|
background-color: var(--box-main);
|
|
color: var(--text);
|
|
border-radius: 0.5rem;
|
|
font-weight: 500;
|
|
border: none;
|
|
outline: none;
|
|
text-align: center;
|
|
font-family: "Inter", sans-serif;
|
|
font-size: 1rem;
|
|
padding: 0;
|
|
}
|
|
|
|
.slider-container {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 2rem;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.track-background {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 0.25rem;
|
|
background-color: #4b5563;
|
|
border-radius: 9999px;
|
|
}
|
|
|
|
#range-highlight {
|
|
position: absolute;
|
|
height: 0.25rem;
|
|
background-color: var(--blueBtn);
|
|
border-radius: 9999px;
|
|
z-index: 1;
|
|
}
|
|
|
|
input[type="range"] {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
width: 100%;
|
|
height: 4px;
|
|
background: transparent;
|
|
outline: none;
|
|
position: absolute;
|
|
margin: 0;
|
|
padding: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
#min-slider {
|
|
z-index: 2;
|
|
}
|
|
|
|
#max-slider {
|
|
z-index: 3;
|
|
}
|
|
|
|
input[type="range"]::-webkit-slider-thumb {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
width: 12px;
|
|
height: 32px;
|
|
background-color: var(--blueBtn);
|
|
border-radius: 9999px;
|
|
cursor: pointer;
|
|
pointer-events: auto;
|
|
margin-top: -14px;
|
|
transition: transform 0.1s ease-in-out;
|
|
position: relative;
|
|
}
|
|
|
|
input[type="range"]::-webkit-slider-thumb:hover {
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
#customArgsInput {
|
|
padding: 8px;
|
|
width: 94%;
|
|
margin: auto;
|
|
outline: none;
|
|
font-family: "JetBrains";
|
|
border-radius: 8px;
|
|
resize: vertical;
|
|
}
|
|
|
|
#updatePopup {
|
|
position: fixed;
|
|
bottom: 30px;
|
|
right: 30px;
|
|
z-index: 9999;
|
|
background-color: var(--box-separation);
|
|
padding: 15px 20px;
|
|
border-radius: 10px;
|
|
display: none;
|
|
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.progress-track {
|
|
width: 200px;
|
|
height: 8px;
|
|
background-color: rgba(209, 209, 209, 0.446);
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
margin: 10px 2px;
|
|
}
|
|
|
|
#progressBarFill {
|
|
height: 100%;
|
|
width: 0%;
|
|
background-color: var(--greenBtn);
|
|
transition: width 0.2s ease;
|
|
}
|
|
|
|
.update-label,
|
|
#updateProgress {
|
|
font-size: 14px;
|
|
}
|
|
|
|
#videoFormatSelectContainer,
|
|
#audioFormatSelectContainer,
|
|
#audioFormatSelectContainer {
|
|
display: inline-block;
|
|
width: min(400px, 100%);
|
|
padding: 5px 0;
|
|
}
|
|
|
|
/* SlimeSelect styles */
|
|
.ss-main {
|
|
background-color: var(--select);
|
|
color: var(--text);
|
|
border: none;
|
|
border-radius: 12px;
|
|
height: 50px;
|
|
}
|
|
|
|
.ss-arrow path {
|
|
stroke: var(--text) !important;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.ss-search {
|
|
padding: 8px 12px !important;
|
|
border-bottom: 1px solid var(--select) !important;
|
|
}
|
|
|
|
.ss-search input {
|
|
background-color: var(--box-separation) !important;
|
|
color: var(--text) !important;
|
|
border-radius: 6px !important;
|
|
padding: 8px 12px !important;
|
|
font-family: inherit !important;
|
|
font-size: 13px !important;
|
|
transition: border-color 0.2s !important;
|
|
}
|
|
|
|
.ss-search input::placeholder {
|
|
color: var(--text) !important;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.ss-content {
|
|
background-color: var(--select) !important;
|
|
border: transparent !important;
|
|
border-radius: 8px !important;
|
|
}
|
|
.ss-list {
|
|
padding: 4px !important;
|
|
}
|
|
|
|
.ss-list::-webkit-scrollbar {
|
|
width: 10px;
|
|
}
|
|
.ss-list::-webkit-scrollbar-track {
|
|
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
|
|
}
|
|
.ss-list::-webkit-scrollbar-thumb {
|
|
background-color: rgb(79, 78, 78);
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.ss-option {
|
|
padding: 8px 12px !important;
|
|
border-radius: 6px !important;
|
|
color: var(--text);
|
|
}
|
|
.ss-option:hover,
|
|
.ss-selected,
|
|
.ss-highlighted {
|
|
background-color: var(--box-toggleOn) !important;
|
|
color: var(--text) !important;
|
|
}
|
|
|
|
/* Row Grid structures */
|
|
.modern-option-row {
|
|
display: grid;
|
|
align-items: center;
|
|
width: 100%;
|
|
justify-items: center;
|
|
}
|
|
|
|
.video-grid-extended {
|
|
grid-template-columns: 85px 65px 60px 1fr 120px;
|
|
}
|
|
|
|
.video-grid-compact {
|
|
grid-template-columns: 85px 65px 1fr 120px;
|
|
}
|
|
|
|
.audio-grid {
|
|
grid-template-columns: 200px 60px 1fr;
|
|
justify-items: center;
|
|
}
|
|
|
|
.modern-option-row .main-text {
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
opacity: 0.9;
|
|
white-space: normal;
|
|
}
|
|
.modern-option-row .codec-text {
|
|
font-size: 12px;
|
|
font-family: JetBrains;
|
|
opacity: 0.6;
|
|
}
|
|
.modern-option-row .size-text {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
justify-self: end;
|
|
margin-right: 12px;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.badge {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
padding: 3px 6px;
|
|
border-radius: 4px;
|
|
text-transform: uppercase;
|
|
width: max-content;
|
|
text-align: center;
|
|
}
|
|
.badge-format {
|
|
background-color: var(--box-main);
|
|
color: var(--text);
|
|
}
|
|
|
|
.audio-indicator,
|
|
.audio-placeholder {
|
|
width: 120px;
|
|
box-sizing: border-box;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
gap: 6px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.audio-indicator {
|
|
font-size: 11px;
|
|
padding: 2px 4px;
|
|
color: #10b981;
|
|
font-weight: 500;
|
|
background-color: #29974513;
|
|
}
|
|
|
|
.audio-indicator svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
flex-shrink: 0;
|
|
fill: currentColor;
|
|
}
|
|
|
|
.audio-indicator .lang-text {
|
|
font-size: 12px;
|
|
color: var(--text);
|
|
opacity: 0.9;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
/* Resolution */
|
|
.ss-option .main-text {
|
|
color: var(--text) !important;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
/* Video codec */
|
|
.ss-option .codec-text {
|
|
color: var(--text) !important;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
/* Video/audio size */
|
|
.ss-option .size-text {
|
|
color: var(--text) !important;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
/* New Compressor UX Styles */
|
|
.quality-presets {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
margin-bottom: 15px;
|
|
width: 100%;
|
|
}
|
|
|
|
.preset-btn {
|
|
flex: 1;
|
|
min-width: 130px;
|
|
background-color: var(--box-toggle);
|
|
border: 1px solid var(--box-separation);
|
|
color: var(--text);
|
|
padding: 12px 14px;
|
|
border-radius: 12px;
|
|
cursor: pointer;
|
|
text-align: center;
|
|
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.preset-btn:hover {
|
|
transform: translateY(-2px);
|
|
background-color: var(--box-separation);
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
border-color: var(--blueBtn);
|
|
}
|
|
|
|
.preset-btn.active {
|
|
background: var(--blueBtn);
|
|
border-color: var(--blueBtn-bottom);
|
|
color: #ffffff;
|
|
box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
|
|
}
|
|
|
|
.preset-btn.active .preset-desc {
|
|
color: rgba(255, 255, 255, 0.8);
|
|
}
|
|
|
|
.preset-title {
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
display: block;
|
|
}
|
|
|
|
.preset-desc {
|
|
font-size: 11px;
|
|
opacity: 0.7;
|
|
display: block;
|
|
margin-top: 4px;
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
.custom-slider-container,
|
|
.target-size-container,
|
|
.target-percent-container {
|
|
background-color: var(--box-toggle);
|
|
border: 1px solid var(--box-separation);
|
|
padding: 18px 24px;
|
|
border-radius: 12px;
|
|
margin-top: 15px;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
animation: slideDown 0.3s ease;
|
|
}
|
|
|
|
@keyframes slideDown {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-10px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.slider-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.crf-value-label {
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
color: var(--text);
|
|
}
|
|
|
|
.crf-description {
|
|
font-size: 13px;
|
|
color: var(--text);
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.slider-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
width: 100%;
|
|
}
|
|
|
|
.slider-extremes {
|
|
font-size: 11px;
|
|
opacity: 0.6;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
min-width: 40px;
|
|
}
|
|
|
|
#quality-slider {
|
|
position: relative !important;
|
|
pointer-events: auto !important;
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
width: 100%;
|
|
height: 6px;
|
|
border-radius: 10px;
|
|
background: #4b5563 !important;
|
|
outline: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
#quality-slider::-webkit-slider-runnable-track {
|
|
width: 100%;
|
|
height: 6px;
|
|
cursor: pointer;
|
|
background: #4b5563 !important;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
#quality-slider::-webkit-slider-thumb {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
width: 18px;
|
|
height: 18px;
|
|
border-radius: 50%;
|
|
background: var(--blueBtn);
|
|
cursor: pointer;
|
|
margin-top: -6px;
|
|
transition:
|
|
transform 0.15s,
|
|
background-color 0.15s;
|
|
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
#quality-slider::-webkit-slider-thumb:hover {
|
|
transform: scale(1.25);
|
|
background: var(--blueBtn-bottom);
|
|
}
|
|
|
|
.target-size-container,
|
|
.target-percent-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
}
|
|
|
|
#target-size-input,
|
|
#target-percent-input {
|
|
background-color: var(--select);
|
|
color: var(--text);
|
|
border: 1px solid var(--box-separation);
|
|
padding: 10px 14px;
|
|
border-radius: 8px;
|
|
font-size: 15px;
|
|
outline: none;
|
|
width: 120px;
|
|
transition: border-color 0.2s;
|
|
}
|
|
|
|
#target-size-input:focus,
|
|
#target-percent-input:focus {
|
|
border-color: var(--blueBtn);
|
|
}
|
|
|
|
.advanced-toggle-btn {
|
|
background-color: var(--box-toggle);
|
|
border: 1px solid var(--box-separation);
|
|
color: var(--text);
|
|
padding: 10px 20px;
|
|
border-radius: 10px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
margin: 25px auto 15px auto;
|
|
transition:
|
|
background-color 0.2s,
|
|
transform 0.1s;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.advanced-toggle-btn:hover {
|
|
background-color: var(--box-separation);
|
|
}
|
|
|
|
.advanced-toggle-btn:active {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
.advanced-toggle-btn .toggle-icon {
|
|
display: inline-block;
|
|
transition: transform 0.3s ease;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.advanced-toggle-btn.expanded .toggle-icon {
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
.advanced-settings-collapse {
|
|
overflow: hidden;
|
|
max-height: 1000px;
|
|
opacity: 1;
|
|
transition:
|
|
max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
|
|
opacity 0.3s ease;
|
|
}
|
|
|
|
.advanced-settings-collapse.collapsed {
|
|
max-height: 0 !important;
|
|
opacity: 0 !important;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.full-width-settings {
|
|
width: 100% !important;
|
|
}
|