fix a bunch of issues
This commit is contained in:
parent
91f88dc9ef
commit
2c3df28c48
66 changed files with 1546 additions and 542 deletions
|
|
@ -2,49 +2,185 @@
|
|||
|
||||
.metric {
|
||||
margin-top: 12px;
|
||||
color: #1f5c4c;
|
||||
color: var(--color-metric);
|
||||
font-size: 1.45rem;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.dpi-editor {
|
||||
.polling-options {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 16px;
|
||||
align-items: end;
|
||||
grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
|
||||
gap: 8px;
|
||||
margin-top: 14px;
|
||||
}
|
||||
|
||||
.dpi-controls {
|
||||
.polling-options button,
|
||||
.led-effect-grid button {
|
||||
min-height: 42px;
|
||||
border-radius: 6px;
|
||||
padding: 8px 12px;
|
||||
color: var(--color-secondary-text);
|
||||
background: var(--color-secondary-bg);
|
||||
cursor: pointer;
|
||||
font-weight: 700;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.polling-options button:hover,
|
||||
.polling-options button.active,
|
||||
.led-effect-grid button:hover,
|
||||
.led-effect-grid button.active {
|
||||
color: var(--color-active-text);
|
||||
background: var(--color-active);
|
||||
}
|
||||
|
||||
.dpi-panel {
|
||||
display: grid;
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
.dpi-card-header {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 12px;
|
||||
align-items: end;
|
||||
margin-top: 16px;
|
||||
gap: 16px;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.dpi-controls .field.inline {
|
||||
grid-template-columns: 72px 110px;
|
||||
.dpi-card-header h3 {
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.stage-list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
|
||||
grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
|
||||
gap: 8px;
|
||||
margin-top: 18px;
|
||||
}
|
||||
|
||||
.stage-list div {
|
||||
.dpi-stage-card {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
border: 1px solid #d8e0dc;
|
||||
gap: 10px;
|
||||
align-content: start;
|
||||
border: 1px solid var(--color-border-subtle);
|
||||
border-radius: 6px;
|
||||
padding: 10px;
|
||||
background: #f4f7f5;
|
||||
padding: 12px;
|
||||
background: var(--color-panel-subtle);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.stage-list div.active {
|
||||
border-color: #226957;
|
||||
background: #e3f3ec;
|
||||
.dpi-add-stage {
|
||||
display: grid;
|
||||
min-height: 156px;
|
||||
place-items: center;
|
||||
align-content: center;
|
||||
gap: 6px;
|
||||
border: 1px dashed var(--color-border-subtle);
|
||||
border-radius: 6px;
|
||||
padding: 12px;
|
||||
color: var(--color-secondary-text);
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.dpi-add-stage:disabled {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.55;
|
||||
}
|
||||
|
||||
.dpi-add-stage span {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
border-radius: 999px;
|
||||
color: var(--color-primary-text);
|
||||
background: var(--color-primary);
|
||||
font-size: 2rem;
|
||||
font-weight: 700;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.dpi-add-stage strong {
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.dpi-stage-card:hover,
|
||||
.dpi-stage-card:focus-visible,
|
||||
.dpi-add-stage:hover,
|
||||
.dpi-add-stage:focus-visible {
|
||||
border-color: var(--color-active);
|
||||
}
|
||||
|
||||
.dpi-stage-card.active {
|
||||
border-color: var(--color-active);
|
||||
background: var(--color-active-surface);
|
||||
}
|
||||
|
||||
.dpi-stage-card-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.dpi-stage-card-header span {
|
||||
color: var(--color-small-text);
|
||||
font-size: 0.78rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.dpi-stage-card-header strong {
|
||||
color: var(--color-metric);
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.stage-delete {
|
||||
display: inline-grid;
|
||||
place-items: center;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
margin-left: auto;
|
||||
border-radius: 6px;
|
||||
color: var(--color-danger);
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.dpi-stage-card:hover .stage-delete,
|
||||
.dpi-stage-card:focus-within .stage-delete {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.stage-delete:hover,
|
||||
.stage-delete:focus-visible {
|
||||
color: var(--color-danger-text);
|
||||
background: var(--color-danger);
|
||||
}
|
||||
|
||||
.stage-delete svg {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
fill: none;
|
||||
stroke: currentColor;
|
||||
stroke-linecap: round;
|
||||
stroke-linejoin: round;
|
||||
stroke-width: 2;
|
||||
}
|
||||
|
||||
.stage-advanced {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.stage-advanced summary {
|
||||
color: var(--color-small-text);
|
||||
cursor: pointer;
|
||||
font-size: 0.78rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.stage-advanced .inline-pair {
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.stage-list input {
|
||||
|
|
@ -62,19 +198,19 @@
|
|||
display: grid;
|
||||
gap: 6px;
|
||||
align-content: start;
|
||||
border: 1px solid #d8e0dc;
|
||||
border: 1px solid var(--color-border-subtle);
|
||||
border-radius: 6px;
|
||||
padding: 12px;
|
||||
background: #f4f7f5;
|
||||
background: var(--color-panel-subtle);
|
||||
}
|
||||
|
||||
.profile-admin-list div.active {
|
||||
border-color: #226957;
|
||||
background: #e3f3ec;
|
||||
border-color: var(--color-active);
|
||||
background: var(--color-active-surface);
|
||||
}
|
||||
|
||||
.profile-admin-list span {
|
||||
color: #66736f;
|
||||
color: var(--color-small-text);
|
||||
font-size: 0.78rem;
|
||||
}
|
||||
|
||||
|
|
@ -106,13 +242,13 @@
|
|||
gap: 4px;
|
||||
align-content: start;
|
||||
padding: 12px;
|
||||
border: 1px solid #d8e0dc;
|
||||
border: 1px solid var(--color-border-subtle);
|
||||
text-align: left;
|
||||
background: #f4f7f5;
|
||||
background: var(--color-panel-subtle);
|
||||
}
|
||||
|
||||
.button-tile span {
|
||||
color: #66736f;
|
||||
color: var(--color-small-text);
|
||||
font-size: 0.78rem;
|
||||
}
|
||||
|
||||
|
|
@ -125,8 +261,8 @@
|
|||
}
|
||||
|
||||
.button-tile.active {
|
||||
border-color: #226957;
|
||||
background: #e3f3ec;
|
||||
border-color: var(--color-active);
|
||||
background: var(--color-active-surface);
|
||||
}
|
||||
|
||||
.button-hypershift-toggle {
|
||||
|
|
@ -140,13 +276,13 @@
|
|||
|
||||
.category-grid button {
|
||||
padding: 0 12px;
|
||||
color: #25322f;
|
||||
background: #dfe7e2;
|
||||
color: var(--color-secondary-text);
|
||||
background: var(--color-secondary-bg);
|
||||
}
|
||||
|
||||
.category-grid button.active {
|
||||
color: #f8fbf9;
|
||||
background: #226957;
|
||||
color: var(--color-active-text);
|
||||
background: var(--color-active);
|
||||
}
|
||||
|
||||
.button-editor-grid {
|
||||
|
|
@ -192,71 +328,150 @@
|
|||
min-height: 18px;
|
||||
}
|
||||
|
||||
.led-region-tabs {
|
||||
.led-panel {
|
||||
display: grid;
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
.led-panel-header {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 12px;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.led-panel-header h3 {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.led-region-tabs {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
|
||||
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;
|
||||
display: grid;
|
||||
grid-template-columns: 16px minmax(0, 1fr);
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
white-space: nowrap;
|
||||
text-align: center;
|
||||
min-height: 42px;
|
||||
border: 1px solid var(--color-border-subtle);
|
||||
border-radius: 6px;
|
||||
padding: 8px 10px;
|
||||
color: var(--color-secondary-text);
|
||||
background: var(--color-panel-subtle);
|
||||
cursor: pointer;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.led-region-tabs button.active {
|
||||
color: #f8fbf9;
|
||||
background: #226957;
|
||||
border-color: var(--color-active);
|
||||
background: var(--color-active-surface);
|
||||
}
|
||||
|
||||
.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 {
|
||||
.led-region-tabs strong {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.led-option input[type="color"] {
|
||||
width: 52px;
|
||||
min-width: 52px;
|
||||
.led-region-swatch {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
border: 1px solid var(--color-input-border);
|
||||
border-radius: 999px;
|
||||
}
|
||||
|
||||
.led-section h4,
|
||||
.led-slider-label span,
|
||||
.led-color-control span {
|
||||
color: var(--color-small-text);
|
||||
font-size: 0.78rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.led-slider-label strong {
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.led-section {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.led-section h4 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.led-effect-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.led-effect-grid button {
|
||||
min-height: 44px;
|
||||
}
|
||||
|
||||
.led-effect-grid button:disabled {
|
||||
cursor: default;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.led-controls {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.led-color-control {
|
||||
display: grid;
|
||||
grid-template-columns: 120px 72px minmax(92px, 1fr);
|
||||
gap: 12px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.led-color-control input[type="color"] {
|
||||
width: 64px;
|
||||
min-width: 64px;
|
||||
height: 42px;
|
||||
min-height: 42px;
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
.slider-row {
|
||||
display: grid;
|
||||
grid-template-columns: 90px 110px minmax(0, 1fr);
|
||||
gap: 12px;
|
||||
align-items: center;
|
||||
margin-bottom: 12px;
|
||||
.led-color-control strong {
|
||||
color: var(--color-small-text);
|
||||
font-size: 0.82rem;
|
||||
}
|
||||
|
||||
.slider-row input[type="range"] {
|
||||
.led-slider-row {
|
||||
display: grid;
|
||||
grid-template-columns: 120px minmax(180px, 1fr) 92px;
|
||||
gap: 12px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.led-slider-label {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
align-items: baseline;
|
||||
}
|
||||
|
||||
.led-slider-row input[type="range"] {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.led-slider-row input[type="number"] {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.stage-list span,
|
||||
.info-list dt {
|
||||
color: #66736f;
|
||||
color: var(--color-small-text);
|
||||
font-size: 0.78rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
|
@ -285,14 +500,16 @@
|
|||
@media (max-width: 760px) {
|
||||
.app-shell,
|
||||
.panel-grid,
|
||||
.dpi-editor,
|
||||
.field.inline,
|
||||
.info-list,
|
||||
.inline-pair {
|
||||
.inline-pair,
|
||||
.led-color-control,
|
||||
.led-slider-row {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.topbar,
|
||||
.led-panel-header,
|
||||
.profile-row {
|
||||
align-items: stretch;
|
||||
flex-direction: column;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue