166 lines
2.7 KiB
CSS
166 lines
2.7 KiB
CSS
:root {
|
|
--bg: #0b1c2d;
|
|
--panel: #132c44;
|
|
--border: #0e1822;
|
|
--text: #e0e6ed;
|
|
--accent: #a4bbd4;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html, body {
|
|
min-height: 100%;
|
|
}
|
|
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
margin: 16px;
|
|
background: linear-gradient(
|
|
to bottom,
|
|
#dddddd -20%,
|
|
var(--bg) 130%
|
|
);
|
|
color: var(--text);
|
|
font-size: 14px;
|
|
}
|
|
|
|
h1 {
|
|
margin-bottom: 16px;
|
|
font-size: 20px;
|
|
color: var(--accent);
|
|
}
|
|
|
|
/* Grid: mind. 500px pro Spalte, beliebig viele */
|
|
|
|
.sections {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
|
|
.section {
|
|
grid-column: span 2;
|
|
}
|
|
|
|
|
|
.section.half {
|
|
grid-column: span 1;
|
|
}
|
|
|
|
|
|
|
|
/* Section Card */
|
|
.section {
|
|
background: var(--panel);
|
|
border: 1px solid var(--border);
|
|
border-radius: 8px;
|
|
padding: 22px 20px;
|
|
}
|
|
|
|
/* Header = Klickfläche */
|
|
.section h2 {
|
|
margin: 0;
|
|
font-size: 15px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
color: var(--accent);
|
|
}
|
|
|
|
/* Pfeil */
|
|
.section h2::after {
|
|
content: "▼";
|
|
font-size: 12px;
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.section.collapsed h2::after {
|
|
transform: rotate(-90deg);
|
|
}
|
|
|
|
/* Inhalt */
|
|
.section ul {
|
|
margin: 10px 0 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.section.collapsed ul {
|
|
display: none;
|
|
}
|
|
|
|
.section li {
|
|
padding: 4px 0;
|
|
border-bottom: 1px solid rgba(255,255,255,0.05);
|
|
}
|
|
|
|
/* FluidNC Status Icons */
|
|
.section#senders li {
|
|
position: relative;
|
|
padding-left: 22px;
|
|
}
|
|
|
|
.section#senders li::before {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 2px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* ✅ CONNECTED */
|
|
.section#senders li.connected::before {
|
|
content: "🟢";
|
|
}
|
|
|
|
/* ❌ DISCONNECTED */
|
|
.section#senders li.disconnected::before {
|
|
content: "⛔";
|
|
}
|
|
|
|
/* 🟡 CONNECTING / RECONNECTING */
|
|
.section#senders li.connecting::before,
|
|
.section#senders li.reconnecting::before {
|
|
content: "🟡";
|
|
}
|
|
|
|
.state-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(25px, 1fr));
|
|
gap: 30px 30px;
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
|
|
|
|
.math-symbol {
|
|
font-family: "Noto Sans Math", system-ui, sans-serif;
|
|
font-weight: 400;
|
|
font-style: italic; /* ✅ echte math italic */
|
|
font-synthesis: none; /* extrem wichtig */
|
|
font-size: 1.1em;
|
|
line-height: 1;
|
|
vertical-align: -0.05em;
|
|
transform: skewX(-8deg);
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.state-grid li {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 4px 0;
|
|
border-bottom: 1px solid rgba(255,255,255,0.08);
|
|
}
|
|
|
|
.state-grid span:first-child {
|
|
color: var(--accent);
|
|
font-weight: bold;
|
|
} |