first commit

This commit is contained in:
Alexander Daichendt 2026-05-17 21:33:41 +02:00
commit 2a1252cc7a
69 changed files with 7559 additions and 0 deletions

121
styles/details.css Normal file
View file

@ -0,0 +1,121 @@
.button-actions.inline-actions {
margin-top: 0;
}
.macro-toolbar {
display: flex;
flex-wrap: wrap;
gap: 12px;
align-items: end;
margin-bottom: 16px;
}
.field.inline.compact {
grid-template-columns: 72px 140px;
}
.panel-header {
display: flex;
justify-content: space-between;
gap: 16px;
align-items: center;
}
.flash-bar {
display: flex;
height: 16px;
overflow: hidden;
border-radius: 6px;
margin: 16px 0 10px;
background: #d8e0dc;
}
.flash-segment.used {
background: #a64545;
}
.flash-segment.available {
background: #60d394;
}
.flash-segment.recycled {
background: #d4b25f;
}
.flash-summary {
display: flex;
justify-content: space-between;
gap: 12px;
color: #66736f;
font-size: 0.78rem;
font-weight: 700;
margin-bottom: 12px;
}
.debug-console {
min-height: 220px;
max-height: 320px;
overflow: auto;
border: 1px solid #d8e0dc;
border-radius: 6px;
padding: 10px;
background: #f4f7f5;
white-space: pre-wrap;
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 0.82rem;
}
.debug-console div + div {
margin-top: 6px;
}
.sensor-mode-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
gap: 8px;
margin: 16px 0;
}
.sensor-slider-grid,
.sensor-param-grid {
display: grid;
gap: 12px;
margin: 16px 0;
}
.sensor-slider-grid,
.sensor-param-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.macro-help pre {
overflow: auto;
border: 1px solid #d8e0dc;
border-radius: 6px;
padding: 10px;
background: #f4f7f5;
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 0.82rem;
}
.hint-chip {
display: inline-flex;
justify-content: center;
align-items: center;
width: 18px;
height: 18px;
margin-left: 6px;
border-radius: 999px;
color: #1f5c4c;
background: #dfe7e2;
font-size: 0.75rem;
font-weight: 700;
cursor: help;
}
.field-error {
margin: 0;
color: #a64545;
font-size: 0.82rem;
font-weight: 600;
}

300
styles/panels.css Normal file
View file

@ -0,0 +1,300 @@
}
.metric {
margin-top: 12px;
color: #1f5c4c;
font-size: 1.45rem;
font-weight: 800;
}
.dpi-editor {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px;
align-items: end;
}
.dpi-controls {
display: flex;
flex-wrap: wrap;
gap: 12px;
align-items: end;
margin-top: 16px;
}
.dpi-controls .field.inline {
grid-template-columns: 72px 110px;
}
.stage-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
gap: 8px;
margin-top: 18px;
}
.stage-list div {
display: grid;
gap: 4px;
border: 1px solid #d8e0dc;
border-radius: 6px;
padding: 10px;
background: #f4f7f5;
}
.stage-list div.active {
border-color: #226957;
background: #e3f3ec;
}
.stage-list input {
min-height: 34px;
}
.profile-admin-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 10px;
margin-bottom: 12px;
}
.profile-admin-list div {
display: grid;
gap: 6px;
align-content: start;
border: 1px solid #d8e0dc;
border-radius: 6px;
padding: 12px;
background: #f4f7f5;
}
.profile-admin-list div.active {
border-color: #226957;
background: #e3f3ec;
}
.profile-admin-list span {
color: #66736f;
font-size: 0.78rem;
}
.profile-slot-fixed {
visibility: hidden;
}
.button-mapper-grid,
.category-grid,
.modifier-grid {
display: grid;
gap: 10px;
}
.button-mapper-grid {
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
margin-bottom: 16px;
}
.button-tile,
.category-grid button {
min-height: 40px;
border-radius: 6px;
cursor: pointer;
}
.button-tile {
display: grid;
gap: 4px;
align-content: start;
padding: 12px;
border: 1px solid #d8e0dc;
text-align: left;
background: #f4f7f5;
}
.button-tile span {
color: #66736f;
font-size: 0.78rem;
}
.button-tile strong,
.button-tile span,
.profile-admin-list strong,
.led-region-tabs button,
.flash-summary span {
overflow-wrap: anywhere;
}
.button-tile.active {
border-color: #226957;
background: #e3f3ec;
}
.button-hypershift-toggle {
margin-bottom: 18px;
}
.category-grid {
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
margin: 18px 0;
}
.category-grid button {
padding: 0 12px;
color: #25322f;
background: #dfe7e2;
}
.category-grid button.active {
color: #f8fbf9;
background: #226957;
}
.button-editor-grid {
display: grid;
gap: 16px;
}
.button-radio-group {
display: grid;
gap: 8px;
}
.modifier-grid {
grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.inline-pair {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
}
.button-actions {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 20px;
}
.scroll-toggle-row {
display: grid;
grid-template-columns: minmax(110px, max-content) max-content 18px max-content;
gap: 10px;
align-items: center;
}
.scroll-toggle-row span {
white-space: nowrap;
}
.scroll-toggle-row input {
width: 18px;
min-height: 18px;
}
.led-region-tabs {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 16px;
}
.led-region-tabs button {
min-height: 38px;
padding: 8px 14px;
border-radius: 6px;
color: #25322f;
background: #dfe7e2;
cursor: pointer;
display: inline-flex;
justify-content: center;
align-items: center;
white-space: nowrap;
text-align: center;
}
.led-region-tabs button.active {
color: #f8fbf9;
background: #226957;
}
.led-options {
display: grid;
gap: 10px;
margin-bottom: 18px;
}
.led-option {
display: grid;
grid-template-columns: max-content minmax(0, max-content) max-content;
gap: 10px;
align-items: center;
justify-content: start;
}
.led-option span {
white-space: nowrap;
}
.led-option input[type="color"] {
width: 52px;
min-width: 52px;
padding: 3px;
}
.slider-row {
display: grid;
grid-template-columns: 90px 110px minmax(0, 1fr);
gap: 12px;
align-items: center;
margin-bottom: 12px;
}
.slider-row input[type="range"] {
width: 100%;
}
.stage-list span,
.info-list dt {
color: #66736f;
font-size: 0.78rem;
font-weight: 700;
}
.info-list {
display: grid;
grid-template-columns: 150px minmax(0, 1fr);
gap: 10px 16px;
margin: 0;
}
.info-list dd {
min-width: 0;
margin: 0;
overflow-wrap: anywhere;
}
.empty-state {
max-width: 760px;
}
.empty-state p {
max-width: 680px;
}
@media (max-width: 760px) {
.app-shell,
.panel-grid,
.dpi-editor,
.field.inline,
.info-list,
.inline-pair {
grid-template-columns: 1fr;
}
.topbar,
.profile-row {
align-items: stretch;
flex-direction: column;
}
}

274
styles/structure.css Normal file
View file

@ -0,0 +1,274 @@
:root {
color: #18201f;
background: #eef1ee;
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
font-size: 16px;
font-synthesis: none;
line-height: 1.5;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
min-width: 320px;
min-height: 100vh;
}
button,
input,
textarea,
select {
font: inherit;
}
button {
border: 0;
}
.app-shell {
display: grid;
grid-template-columns: 280px 1fr;
min-height: 100vh;
}
.sidebar {
display: flex;
flex-direction: column;
gap: 18px;
padding: 24px;
color: #f4f7f5;
background: #12201d;
}
.brand {
display: grid;
grid-template-columns: 38px 1fr;
gap: 12px;
align-items: center;
}
.brand img {
width: 38px;
height: 38px;
}
.brand h1,
.brand p,
.topbar h2,
.topbar p,
.panel h3,
.empty-state h3,
.metric {
margin: 0;
}
.brand h1 {
font-size: 1rem;
line-height: 1.2;
}
.brand p,
.eyebrow,
.subtle {
color: #6f7f7a;
font-size: 0.82rem;
}
.sidebar .brand p {
color: #9baca6;
}
.primary-action,
.secondary-action,
nav button,
.segments button {
min-height: 40px;
border-radius: 6px;
cursor: pointer;
}
.primary-action {
color: #09201a;
background: #60d394;
font-weight: 700;
}
.secondary-action {
padding: 0 14px;
color: #25322f;
background: #dfe7e2;
font-weight: 600;
}
.secondary-action.danger {
color: #fff8f8;
background: #a64545;
}
.primary-action:disabled,
nav button:disabled,
select:disabled {
cursor: not-allowed;
opacity: 0.55;
}
nav {
display: grid;
gap: 6px;
margin-top: 8px;
}
nav button {
color: #dfe9e4;
background: transparent;
text-align: left;
padding: 0 12px;
}
nav button:hover,
nav button.active {
background: #223b36;
}
.workspace {
min-width: 0;
padding: 28px;
overflow-x: hidden;
}
.topbar {
display: flex;
justify-content: space-between;
gap: 24px;
align-items: flex-start;
margin-bottom: 24px;
}
.topbar > div {
min-width: 0;
}
.topbar h2 {
font-size: 1.8rem;
line-height: 1.15;
}
.status {
max-width: 420px;
border: 1px solid #cbd5d0;
border-radius: 6px;
padding: 10px 12px;
color: #33413d;
background: #fbfdfb;
overflow-wrap: anywhere;
}
.status.busy {
border-color: #d4b25f;
background: #fff7de;
}
.field {
display: grid;
gap: 6px;
}
.field.inline {
grid-template-columns: minmax(120px, 1fr) 180px;
align-items: center;
}
.field span,
.profile-row > span {
color: #52605c;
font-size: 0.85rem;
font-weight: 700;
}
input,
textarea,
select {
width: 100%;
min-height: 38px;
border: 1px solid #bec9c4;
border-radius: 6px;
padding: 0 10px;
color: #18201f;
background: #ffffff;
}
textarea {
min-height: 220px;
padding: 10px;
resize: vertical;
}
.sidebar select {
color: #10201c;
}
.profile-row {
display: flex;
gap: 14px;
align-items: center;
margin-bottom: 20px;
}
.segments {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.segments button {
padding: 0 14px;
color: #25322f;
background: #dfe7e2;
}
.segments button.active {
color: #f8fbf9;
background: #226957;
}
.panel-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16px;
}
.panel,
.empty-state {
border: 1px solid #d5ddd8;
border-radius: 8px;
padding: 20px;
background: #fbfdfb;
}
.panel.wide,
.empty-state {
grid-column: 1 / -1;
}
.panel h3,
.empty-state h3 {
margin-bottom: 16px;
font-size: 1.08rem;
}
.check-row {
display: flex;
gap: 10px;
align-items: center;
margin-top: 14px;
}
.check-row input {
width: 18px;
min-height: 18px;