397 lines
7.4 KiB
CSS
397 lines
7.4 KiB
CSS
:root {
|
|
--bg: #0a0910;
|
|
--card-bg: rgba(18, 16, 30, 0.75);
|
|
--border: rgba(255, 255, 255, 0.08);
|
|
--primary: #8257e5;
|
|
--primary-hover: #9466ff;
|
|
--primary-glow: rgba(130, 87, 229, 0.3);
|
|
--accent: #04d361;
|
|
--text: #f8f8f2;
|
|
--muted: #8f8f9d;
|
|
--input-bg: rgba(0, 0, 0, 0.4);
|
|
--danger: #e96379;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: 'Inter', sans-serif;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
body {
|
|
background: var(--bg);
|
|
background-image:
|
|
radial-gradient(at 0% 0%, rgba(130, 87, 229, 0.15) 0px, transparent 65%),
|
|
radial-gradient(at 100% 100%, rgba(4, 211, 97, 0.08) 0px, transparent 65%);
|
|
background-attachment: fixed;
|
|
color: var(--text);
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.page-container {
|
|
width: 100%;
|
|
min-height: 100vh;
|
|
padding: 24px;
|
|
background: var(--card-bg);
|
|
backdrop-filter: blur(20px);
|
|
border: 1px solid var(--border);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* HEADER */
|
|
.header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding-bottom: 16px;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.logo {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.logo-icon {
|
|
font-size: 28px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.logo-text h1 {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
letter-spacing: -0.5px;
|
|
background: linear-gradient(135deg, #fff 0%, var(--muted) 100%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
|
|
.logo-text p {
|
|
font-size: 11px;
|
|
color: var(--muted);
|
|
margin-top: 1px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.brand-domain {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: var(--primary-hover);
|
|
background: rgba(130, 87, 229, 0.1);
|
|
padding: 4px 10px;
|
|
border-radius: 20px;
|
|
border: 1px solid rgba(130, 87, 229, 0.2);
|
|
}
|
|
|
|
/* MAIN CONTENT AREA */
|
|
.main-content {
|
|
flex-grow: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
/* CONTAINER PANELS (LOGIN & SETTINGS) */
|
|
.container-panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
justify-content: space-between;
|
|
transition: opacity 0.25s ease, transform 0.25s ease;
|
|
}
|
|
|
|
.container-panel.hidden {
|
|
display: none !important;
|
|
opacity: 0;
|
|
transform: translateY(15px);
|
|
}
|
|
|
|
.panel-header {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.panel-header h2 {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
margin-bottom: 4px;
|
|
color: #fff;
|
|
}
|
|
|
|
.panel-header p {
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
/* LOGIN FORM SPECIFICS */
|
|
.login-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
max-width: 400px;
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.login-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 12px;
|
|
margin-top: 24px;
|
|
padding-top: 16px;
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
/* SETTINGS FORM SPECIFICS */
|
|
.config-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.form-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 12px;
|
|
}
|
|
|
|
.form-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.form-group.full-width {
|
|
grid-column: span 2;
|
|
}
|
|
|
|
label {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: var(--muted);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
input {
|
|
background: var(--input-bg);
|
|
border: 1px solid var(--border);
|
|
border-radius: 8px;
|
|
padding: 8px 12px;
|
|
color: #fff;
|
|
font-size: 13px;
|
|
transition: all 0.2s ease-in-out;
|
|
}
|
|
|
|
input:focus {
|
|
outline: none;
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 3px var(--primary-glow);
|
|
background: rgba(0, 0, 0, 0.6);
|
|
}
|
|
|
|
.help-text {
|
|
font-size: 10px;
|
|
color: var(--muted);
|
|
margin-top: 3px;
|
|
}
|
|
|
|
/* ACTIONS */
|
|
.form-actions {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-top: 16px;
|
|
padding-top: 16px;
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
.right-buttons {
|
|
display: flex;
|
|
gap: 12px;
|
|
}
|
|
|
|
/* BUTTONS */
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
padding: 9px 16px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
border: none;
|
|
outline: none;
|
|
}
|
|
|
|
.btn:active {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--primary);
|
|
color: #fff;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background: var(--primary-hover);
|
|
box-shadow: 0 4px 15px var(--primary-glow);
|
|
}
|
|
|
|
.btn-outline {
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 1px solid var(--border);
|
|
color: var(--text);
|
|
}
|
|
|
|
.btn-outline:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border-color: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.btn-text {
|
|
background: transparent;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.btn-text:hover {
|
|
color: #fff;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
}
|
|
|
|
/* SPINNER */
|
|
.spinner {
|
|
width: 14px;
|
|
height: 14px;
|
|
border: 2px solid rgba(255, 255, 255, 0.3);
|
|
border-radius: 50%;
|
|
border-top-color: white;
|
|
animation: spin 0.8s linear infinite;
|
|
display: none;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
/* TOAST */
|
|
.toast {
|
|
position: fixed;
|
|
top: 20px;
|
|
left: 50%;
|
|
transform: translateX(-50%) translateY(-50px);
|
|
opacity: 0;
|
|
background: var(--primary);
|
|
color: white;
|
|
padding: 10px 20px;
|
|
border-radius: 30px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
|
|
z-index: 1000;
|
|
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
pointer-events: none;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.toast.show {
|
|
transform: translateX(-50%) translateY(0);
|
|
opacity: 1;
|
|
}
|
|
|
|
.toast.success {
|
|
background: var(--accent);
|
|
color: #050408;
|
|
}
|
|
|
|
.toast.error {
|
|
background: var(--danger);
|
|
}
|
|
|
|
.password-wrapper {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.password-wrapper input {
|
|
width: 100%;
|
|
padding-right: 40px;
|
|
}
|
|
|
|
.btn-toggle-password {
|
|
position: absolute;
|
|
right: 12px;
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--muted);
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
outline: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.btn-toggle-password:hover {
|
|
color: #fff;
|
|
}
|
|
|
|
/* TERMINAL LOGS */
|
|
.terminal-container {
|
|
margin-top: 20px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 8px;
|
|
background: rgba(0,0,0,0.4);
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 150px;
|
|
}
|
|
.terminal-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 8px 12px;
|
|
border-bottom: 1px solid var(--border);
|
|
background: rgba(255,255,255,0.02);
|
|
border-radius: 8px 8px 0 0;
|
|
}
|
|
.terminal-header h3 {
|
|
font-size: 11px;
|
|
color: var(--muted);
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
}
|
|
.terminal-header .btn-sm {
|
|
padding: 4px 8px;
|
|
font-size: 11px;
|
|
}
|
|
.terminal-body {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 10px;
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 11px;
|
|
color: #a0a0b0;
|
|
line-height: 1.5;
|
|
}
|
|
.terminal-body .log-line {
|
|
margin-bottom: 3px;
|
|
border-left: 2px solid rgba(130, 87, 229, 0.4);
|
|
padding-left: 6px;
|
|
word-break: break-all;
|
|
}
|