376 lines
8.0 KiB
CSS
376 lines
8.0 KiB
CSS
:root {
|
|
--primary: #0a0a0f;
|
|
--secondary: #101116;
|
|
--accent: #00bfff;
|
|
--accent-dark: #0072ff;
|
|
--text-primary: #f0f0f5;
|
|
--text-secondary: rgba(240, 240, 245, 0.7);
|
|
--gradient: linear-gradient(135deg, var(--accent), var(--accent-dark));
|
|
--card-bg: rgba(20, 21, 27, 0.8);
|
|
--glass: rgba(255, 255, 255, 0.05);
|
|
--glass-border: rgba(255, 255, 255, 0.1);
|
|
--shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
|
|
--transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
|
|
--success: #4caf50;
|
|
--warning: #ffc107;
|
|
--danger: #f44336;
|
|
--info: #2196f3;
|
|
--border-radius-lg: 18px;
|
|
--border-radius-md: 14px;
|
|
--border-radius-sm: 10px;
|
|
--topbar-height: 60px;
|
|
--sidebar-width: 240px;
|
|
}
|
|
|
|
body.light-theme {
|
|
--primary: #f4f7fa;
|
|
--secondary: #ffffff;
|
|
--text-primary: #1f2937;
|
|
--text-secondary: #6b7280;
|
|
--card-bg: #ffffff;
|
|
--glass: rgba(0, 0, 0, 0.03);
|
|
--glass-border: rgba(0, 0, 0, 0.08);
|
|
--shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body.unlocalized {
|
|
visibility: hidden;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--primary);
|
|
color: var(--text-primary);
|
|
font-family: 'Montserrat', sans-serif;
|
|
line-height: 1.6;
|
|
min-height: 100vh;
|
|
overflow-x: hidden;
|
|
position: relative;
|
|
transition: background-color 0.3s, color 0.3s;
|
|
}
|
|
|
|
#main-container {
|
|
padding-left: 0;
|
|
transition: padding-left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
body.details-view-active {
|
|
overflow: hidden;
|
|
}
|
|
|
|
#particles-js {
|
|
position: fixed;
|
|
width: 100%;
|
|
height: 100%;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: -1;
|
|
opacity: 0.25;
|
|
}
|
|
|
|
body.light-theme #particles-js {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% {
|
|
transform: translate(-50%, -50%) rotate(0deg);
|
|
}
|
|
|
|
100% {
|
|
transform: translate(-50%, -50%) rotate(360deg);
|
|
}
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 992px) {
|
|
#main-container.sidebar-open {
|
|
padding-left: var(--sidebar-width);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 576px) {
|
|
:root {
|
|
--border-radius-lg: 14px;
|
|
--border-radius-md: 10px;
|
|
--border-radius-sm: 8px;
|
|
--topbar-height: 55px;
|
|
}
|
|
}
|
|
|
|
body::-webkit-scrollbar, .item-details::-webkit-scrollbar {
|
|
width: 12px;
|
|
}
|
|
|
|
body::-webkit-scrollbar-track, .item-details::-webkit-scrollbar-track {
|
|
background: var(--primary);
|
|
border-left: 1px solid var(--glass-border);
|
|
}
|
|
|
|
body::-webkit-scrollbar-thumb, .item-details::-webkit-scrollbar-thumb {
|
|
background-color: var(--accent-dark);
|
|
border-radius: 10px;
|
|
border: 3px solid var(--primary);
|
|
}
|
|
|
|
body::-webkit-scrollbar-thumb:hover, .item-details::-webkit-scrollbar-thumb:hover {
|
|
background-color: var(--accent);
|
|
}
|
|
|
|
body.light-theme::-webkit-scrollbar-track, body.light-theme .item-details::-webkit-scrollbar-track {
|
|
background: var(--secondary);
|
|
border-left: 1px solid var(--glass-border);
|
|
}
|
|
|
|
body.light-theme::-webkit-scrollbar-thumb, body.light-theme .item-details::-webkit-scrollbar-thumb {
|
|
background-color: #bdc3c7;
|
|
border-color: var(--secondary);
|
|
}
|
|
|
|
body.light-theme::-webkit-scrollbar-thumb:hover, body.light-theme .item-details::-webkit-scrollbar-thumb:hover {
|
|
background-color: #a3aab1;
|
|
}
|
|
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.7rem;
|
|
padding: 0.7rem 1.8rem;
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
border: none;
|
|
border-radius: 50px;
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
letter-spacing: 1px;
|
|
line-height: 1.5;
|
|
position: relative;
|
|
overflow: hidden;
|
|
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.btn i {
|
|
line-height: 1;
|
|
}
|
|
|
|
.btn:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--gradient);
|
|
color: var(--primary) !important;
|
|
box-shadow: 0 6px 20px rgba(0, 224, 255, 0.25);
|
|
}
|
|
|
|
.btn-primary:hover:not(:disabled) {
|
|
background: linear-gradient(135deg, var(--accent-dark), var(--accent));
|
|
box-shadow: 0 8px 25px rgba(0, 224, 255, 0.35);
|
|
transform: translateY(-3px);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: var(--glass);
|
|
color: var(--text-primary);
|
|
border: 1px solid var(--glass-border);
|
|
backdrop-filter: blur(8px);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
}
|
|
|
|
.btn-secondary:hover:not(:disabled) {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-color: rgba(255, 255, 255, 0.15);
|
|
transform: translateY(-3px);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.light-theme .btn-secondary:hover:not(:disabled) {
|
|
background: rgba(0, 0, 0, 0.05);
|
|
border-color: rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.btn-icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-secondary);
|
|
font-size: 1.25rem;
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.btn-icon:hover {
|
|
color: var(--accent);
|
|
background-color: var(--glass);
|
|
}
|
|
|
|
.spinner {
|
|
display: none;
|
|
width: 45px;
|
|
height: 45px;
|
|
border: 5px solid rgba(240, 240, 245, 0.2);
|
|
border-top: 5px solid var(--accent);
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
z-index: 1050;
|
|
}
|
|
|
|
.light-theme .spinner {
|
|
border: 5px solid rgba(0, 0, 0, 0.1);
|
|
border-top: 5px solid var(--accent-dark);
|
|
}
|
|
|
|
#consoleOutput {
|
|
border: 1px solid var(--glass-border);
|
|
padding: 15px;
|
|
margin: 20px 0;
|
|
height: 250px;
|
|
overflow-y: scroll;
|
|
background-color: rgba(10, 10, 15, 0.9);
|
|
color: var(--text-secondary);
|
|
font-family: monospace;
|
|
font-size: 0.85rem;
|
|
border-radius: var(--border-radius-md);
|
|
display: none;
|
|
box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.light-theme #consoleOutput {
|
|
background-color: var(--primary);
|
|
}
|
|
|
|
#consoleOutput .console-log-entry {
|
|
margin-bottom: 6px;
|
|
line-height: 1.4;
|
|
word-break: break-word;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
#consoleOutput .log-time {
|
|
color: var(--accent);
|
|
margin-right: 8px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
#consoleOutput .log-message {
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
#consoleOutput .log-error .log-message {
|
|
color: var(--danger);
|
|
}
|
|
|
|
#consoleOutput .log-warning .log-message {
|
|
color: var(--warning);
|
|
}
|
|
|
|
#consoleOutput .log-success .log-message {
|
|
color: var(--success);
|
|
}
|
|
|
|
.form-control {
|
|
background-color: var(--glass);
|
|
border: 1px solid var(--glass-border);
|
|
color: var(--text-primary);
|
|
border-radius: var(--border-radius-sm);
|
|
padding: .6rem 1rem;
|
|
}
|
|
.form-control:focus {
|
|
background-color: var(--glass);
|
|
color: var(--text-primary);
|
|
border-color: var(--accent);
|
|
box-shadow: 0 0 0 3px rgba(0,224,255,.2);
|
|
}
|
|
.form-control::placeholder {
|
|
color: var(--text-secondary);
|
|
}
|
|
.form-label {
|
|
color: var(--text-primary);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.toggle-switch {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 50px;
|
|
height: 28px;
|
|
}
|
|
.toggle-switch input {
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
.toggle-switch label {
|
|
position: absolute;
|
|
cursor: pointer;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: var(--glass-border);
|
|
transition: .4s;
|
|
border-radius: 28px;
|
|
}
|
|
.toggle-switch label:before {
|
|
position: absolute;
|
|
content: "";
|
|
height: 20px;
|
|
width: 20px;
|
|
left: 4px;
|
|
bottom: 4px;
|
|
background-color: white;
|
|
transition: .4s;
|
|
border-radius: 50%;
|
|
}
|
|
.toggle-switch input:checked + label {
|
|
background: var(--gradient);
|
|
}
|
|
.toggle-switch input:checked + label:before {
|
|
transform: translateX(22px);
|
|
}
|
|
|
|
body.unlocalized #main-container,
|
|
body.unlocalized footer,
|
|
body.unlocalized header,
|
|
body.unlocalized .sidebar-nav {
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
}
|
|
|
|
body.unlocalized #spinner {
|
|
display: block;
|
|
}
|
|
|
|
#main-container, footer, header, .sidebar-nav {
|
|
transition: opacity 0.4s ease-in-out;
|
|
} |