192 lines
4.4 KiB
CSS
192 lines
4.4 KiB
CSS
|
|
/* Modern & Professional Design for youtube-dl */
|
||
|
|
|
||
|
|
:root {
|
||
|
|
--primary-color: #38bdf8; /* Softer Light Blue */
|
||
|
|
--primary-hover: #7dd3fc;
|
||
|
|
--bg-body: #0f172a; /* Deep Soothing Navy */
|
||
|
|
--bg-surface: #1e293b; /* Surface color */
|
||
|
|
--text-main: #e2e8f0; /* Soft Off-White */
|
||
|
|
--text-muted: #94a3b8; /* Muted Blue-Gray */
|
||
|
|
--border-color: #334155; /* Subtle Border */
|
||
|
|
--radius-md: 8px;
|
||
|
|
--shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.4);
|
||
|
|
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.5);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Base adjustment for global layout */
|
||
|
|
body {
|
||
|
|
background-color: var(--bg-body) !important;
|
||
|
|
font-size: 14px;
|
||
|
|
color: var(--text-main);
|
||
|
|
}
|
||
|
|
|
||
|
|
#main_container {
|
||
|
|
padding-top: 20px;
|
||
|
|
padding-bottom: 40px;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Compact Margins - Desktop */
|
||
|
|
.row {
|
||
|
|
margin-right: -10px !important;
|
||
|
|
margin-left: -10px !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
.col, [class*="col-"] {
|
||
|
|
padding-right: 10px !important;
|
||
|
|
padding-left: 10px !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Professional Card Style */
|
||
|
|
.card, .form-container {
|
||
|
|
background: var(--bg-surface);
|
||
|
|
border: 1px solid var(--border-color);
|
||
|
|
border-radius: var(--radius-md);
|
||
|
|
box-shadow: var(--shadow-sm);
|
||
|
|
margin-bottom: 1.5rem;
|
||
|
|
overflow: hidden;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Modern Inputs & Macros adjustment */
|
||
|
|
.form-control-sm {
|
||
|
|
height: 34px !important;
|
||
|
|
background-color: #0f172a !important;
|
||
|
|
color: #f1f5f9 !important;
|
||
|
|
border-radius: 6px !important;
|
||
|
|
border: 1px solid var(--border-color) !important;
|
||
|
|
padding: 0.5rem 0.75rem !important;
|
||
|
|
transition: all 0.2s;
|
||
|
|
}
|
||
|
|
|
||
|
|
.form-control-sm:focus {
|
||
|
|
border-color: var(--primary-color) !important;
|
||
|
|
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
.col-sm-3.col-form-label {
|
||
|
|
font-weight: 600;
|
||
|
|
color: var(--text-main);
|
||
|
|
font-size: 0.875rem;
|
||
|
|
padding-top: 8px !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
.small.text-muted {
|
||
|
|
font-size: 0.75rem !important;
|
||
|
|
margin-top: 4px;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Professional Buttons */
|
||
|
|
.btn-sm {
|
||
|
|
border-radius: 6px !important;
|
||
|
|
font-weight: 500 !important;
|
||
|
|
padding: 6px 16px !important;
|
||
|
|
transition: all 0.2s !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn-primary {
|
||
|
|
background-color: var(--primary-color) !important;
|
||
|
|
border-color: var(--primary-color) !important;
|
||
|
|
color: #0f172a !important; /* Dark text on light button */
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn-primary:hover {
|
||
|
|
background-color: var(--primary-hover) !important;
|
||
|
|
border-color: var(--primary-hover) !important;
|
||
|
|
color: #000000 !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Modern Progress Bar */
|
||
|
|
.progress {
|
||
|
|
height: 10px !important;
|
||
|
|
background-color: #e2e8f0 !important;
|
||
|
|
border-radius: 9999px !important;
|
||
|
|
overflow: hidden;
|
||
|
|
margin-top: 4px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.progress-bar {
|
||
|
|
background: linear-gradient(90deg, #3b82f6, #2563eb) !important;
|
||
|
|
border-radius: 9999px !important;
|
||
|
|
font-size: 0 !important; /* Hide text inside thin bar */
|
||
|
|
transition: width 0.4s ease-in-out !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Table Enhancements */
|
||
|
|
.table {
|
||
|
|
color: var(--text-main) !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
.table-sm td, .table-sm th {
|
||
|
|
padding: 0.75rem 0.5rem !important;
|
||
|
|
vertical-align: middle !important;
|
||
|
|
border-top: 1px solid #334155 !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
.table thead th {
|
||
|
|
background: #1e293b;
|
||
|
|
border-bottom: 2px solid var(--border-color);
|
||
|
|
color: var(--text-muted);
|
||
|
|
font-weight: 600;
|
||
|
|
text-transform: uppercase;
|
||
|
|
font-size: 0.75rem;
|
||
|
|
letter-spacing: 0.025em;
|
||
|
|
}
|
||
|
|
|
||
|
|
.tableRowHover tr:hover {
|
||
|
|
background-color: rgba(56, 189, 248, 0.05) !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Detail Info row in list */
|
||
|
|
.info-padding {
|
||
|
|
padding: 8px 12px !important;
|
||
|
|
background: #0f172a;
|
||
|
|
border-radius: 6px;
|
||
|
|
display: inline-block;
|
||
|
|
color: #38bdf8;
|
||
|
|
}
|
||
|
|
|
||
|
|
.info-value {
|
||
|
|
color: #cbd5e1;
|
||
|
|
}
|
||
|
|
|
||
|
|
.details-container {
|
||
|
|
background: #1e293b !important;
|
||
|
|
border: 1px solid #334155 !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Mobile Responsive - 5px padding */
|
||
|
|
@media (max-width: 768px) {
|
||
|
|
.container, .container-fluid, #main_container {
|
||
|
|
padding-left: 5px !important;
|
||
|
|
padding-right: 5px !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
.row {
|
||
|
|
margin-left: -5px !important;
|
||
|
|
margin-right: -5px !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
[class*="col-"] {
|
||
|
|
padding-left: 5px !important;
|
||
|
|
padding-right: 5px !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Stack labels and inputs on mobile */
|
||
|
|
.col-sm-3.col-form-label {
|
||
|
|
text-align: left !important;
|
||
|
|
width: 100%;
|
||
|
|
max-width: 100%;
|
||
|
|
flex: 0 0 100%;
|
||
|
|
padding-bottom: 4px !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
.col-sm-9 {
|
||
|
|
width: 100%;
|
||
|
|
max-width: 100%;
|
||
|
|
flex: 0 0 100%;
|
||
|
|
}
|
||
|
|
|
||
|
|
form > .row {
|
||
|
|
margin-bottom: 12px !important;
|
||
|
|
}
|
||
|
|
}
|