Files
appRobotDriver/public/style.css
2026-04-04 18:31:31 +02:00

109 lines
1.7 KiB
CSS

:root {
--bg: #0b1c2d;
--panel: #132c44;
--border: #1e3b58;
--text: #e0e6ed;
--accent: #6fb3ff;
}
* {
box-sizing: border-box;
}
html, body {
min-height: 100%;
}
body {
font-family: Arial, sans-serif;
margin: 16px;
background: linear-gradient(
to bottom,
#ffffff -20%,
var(--bg) 110%
);
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(500px, 1fr));
gap: 10px;
}
/* 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: "⛔";
}