223 lines
4.0 KiB
CSS
Executable File
223 lines
4.0 KiB
CSS
Executable File
/* ===============================
|
|
GLOBAL STYLING — Dark Grey Theme
|
|
=============================== */
|
|
|
|
body {
|
|
background: #2C2C2C; /* dark grey */
|
|
color: #E0E0E0; /* soft light grey text */
|
|
font-family: Arial, sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
/* Container boundaries (Bootstrap container inside layout.ejs) */
|
|
.container {
|
|
max-width: 1100px;
|
|
}
|
|
|
|
/* ===============================
|
|
HEADER / NAVIGATION
|
|
=============================== */
|
|
|
|
header h1 {
|
|
font-size: 2.4rem;
|
|
font-weight: 700;
|
|
margin: 0;
|
|
color: #8A190B; /* deep red accent */
|
|
text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
|
|
}
|
|
|
|
.btn-outline-light {
|
|
color: #E0E0E0;
|
|
border-color: #5A5A5A;
|
|
}
|
|
.btn-outline-light:hover {
|
|
background-color: #5A5A5A;
|
|
color: #c7c7c7;
|
|
}
|
|
|
|
/* ===============================
|
|
CARDS / PANELS
|
|
=============================== */
|
|
|
|
.card-dark,
|
|
.card {
|
|
background-color: #3A3A3A !important; /* mid-grey panels */
|
|
border-radius: 10px;
|
|
padding: 20px;
|
|
border: 1px solid #444;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
|
|
}
|
|
|
|
/* list group items in status.ejs */
|
|
.list-group-item {
|
|
background-color: #3A3A3A;
|
|
border-color: #4A4A4A;
|
|
color: #E0E0E0;
|
|
}
|
|
.list-group-item:hover {
|
|
background-color: #4A4A4A;
|
|
}
|
|
|
|
/* ===============================
|
|
FORM ELEMENTS
|
|
=============================== */
|
|
|
|
.form-text {
|
|
color: #BEBEBE !important; /* same as form label */
|
|
}
|
|
|
|
.form-label {
|
|
color: #BEBEBE;
|
|
}
|
|
|
|
.form-control,
|
|
.form-select {
|
|
background-color: #4A4A4A;
|
|
color: #E0E0E0;
|
|
border: 1px solid #5A5A5A;
|
|
}
|
|
|
|
.form-control:focus,
|
|
.form-select:focus {
|
|
border-color: #2980B9; /* same blue accent as reference */
|
|
box-shadow: 0 0 0 0.25rem rgba(41, 128, 185, 0.25);
|
|
}
|
|
|
|
/* Toggle switch label */
|
|
.form-check-label {
|
|
color: #BEBEBE !important;
|
|
}
|
|
|
|
::placeholder {
|
|
color: #BEBEBE !important; /* Same as label color */
|
|
}
|
|
|
|
|
|
/* ===============================
|
|
BUTTONS
|
|
=============================== */
|
|
button,
|
|
.btn {
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
|
|
}
|
|
|
|
/* ===== Floating Pill Toggle ===== */
|
|
|
|
.pill-toggle {
|
|
position: relative;
|
|
display: flex;
|
|
width: 240px;
|
|
background: #333;
|
|
padding: 5px;
|
|
border-radius: 30px;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
|
|
.pill-option {
|
|
flex: 1;
|
|
text-align: center;
|
|
padding: 10px 0;
|
|
z-index: 2;
|
|
font-weight: 600;
|
|
color: #aaa;
|
|
transition: color 0.25s ease;
|
|
}
|
|
|
|
.pill-option.active {
|
|
color: #fff;
|
|
}
|
|
|
|
.pill-indicator {
|
|
position: absolute;
|
|
top: 5px;
|
|
left: 5px;
|
|
width: calc(50% - 5px);
|
|
height: calc(100% - 10px);
|
|
background: #8a190b; /* your accent red */
|
|
border-radius: 25px;
|
|
transition: transform 0.25s ease, background 0.25s ease;
|
|
z-index: 1;
|
|
}
|
|
|
|
/* Hover feedback */
|
|
.pill-option:hover {
|
|
color: #ddd;
|
|
}
|
|
|
|
|
|
/* ===============================
|
|
ALERTS
|
|
=============================== */
|
|
|
|
.alert-danger {
|
|
background-color: #4A1C1C;
|
|
border-color: #8A190B;
|
|
color: #E0E0E0;
|
|
}
|
|
|
|
/* ===============================
|
|
SCROLLBAR (dark theme)
|
|
=============================== */
|
|
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
::-webkit-scrollbar-thumb {
|
|
background-color: #5A5A5A;
|
|
border-radius: 4px;
|
|
}
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background-color: #7D7D7D;
|
|
}
|
|
|
|
/* ===============================
|
|
LINKS
|
|
=============================== */
|
|
|
|
a {
|
|
color: #B04232;
|
|
}
|
|
a:hover {
|
|
color: #E05D4A;
|
|
}
|
|
|
|
/* ===============================
|
|
FOOTER
|
|
=============================== */
|
|
|
|
footer {
|
|
color: #BEBEBE !important;
|
|
text-align: center;
|
|
}
|
|
|
|
#logs {
|
|
height: 60vh;
|
|
background: #0b1220;
|
|
color: #e6eef8;
|
|
padding: 10px;
|
|
font-family: monospace;
|
|
font-size: 0.85rem;
|
|
overflow-y: auto;
|
|
border-radius: 8px;
|
|
border: 1px solid #444;
|
|
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ===============================
|
|
RESPONSIVE
|
|
=============================== */
|
|
|
|
@media (max-width: 768px) {
|
|
header h1 {
|
|
font-size: 1.8rem;
|
|
}
|
|
}
|