UI: Eigenschaften-Panel als OCS-artiges Grid (Sektion-Balken, Zeilentrenner, fuellende Wertfelder)
This commit is contained in:
+21
-8
@@ -3998,39 +3998,52 @@ body {
|
|||||||
color: var(--label);
|
color: var(--label);
|
||||||
padding: 0 2px 4px;
|
padding: 0 2px 4px;
|
||||||
}
|
}
|
||||||
|
/* OCS-artiges Eigenschaften-Grid: Sektion-Balken über die volle Breite, Zeilen
|
||||||
|
mit dezenten Trennlinien (klares Grid, ohne aufdringliche Ränder), Wertfelder
|
||||||
|
füllen ihre Zelle linksbündig — einheitlicher Look für Texte/Zahlen/Dropdowns. */
|
||||||
.attr-section-label {
|
.attr-section-label {
|
||||||
color: var(--label);
|
color: var(--label);
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
letter-spacing: 0.05em;
|
letter-spacing: 0.05em;
|
||||||
margin-top: 6px;
|
margin: 8px 0 0;
|
||||||
padding: 0 2px;
|
padding: 4px 8px;
|
||||||
|
background: var(--panel-2);
|
||||||
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
.attr-grid {
|
.attr-grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: auto 1fr;
|
grid-template-columns: minmax(84px, auto) 1fr;
|
||||||
align-items: center;
|
align-items: stretch;
|
||||||
gap: 4px 10px;
|
gap: 0;
|
||||||
padding: 2px;
|
padding: 0;
|
||||||
}
|
}
|
||||||
.attr-key {
|
.attr-key {
|
||||||
color: var(--label);
|
color: var(--label);
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
padding: 4px 10px 4px 6px;
|
||||||
|
border-bottom: 1px solid var(--line);
|
||||||
}
|
}
|
||||||
.attr-val {
|
.attr-val {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: flex-end;
|
justify-content: flex-start;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
|
padding: 3px 2px 3px 0;
|
||||||
|
border-bottom: 1px solid var(--line);
|
||||||
}
|
}
|
||||||
.attr-readonly {
|
.attr-readonly {
|
||||||
color: var(--label);
|
color: var(--label);
|
||||||
opacity: 0.85;
|
opacity: 0.85;
|
||||||
|
padding-left: 6px;
|
||||||
}
|
}
|
||||||
.attr-num,
|
.attr-num,
|
||||||
.attr-select {
|
.attr-select {
|
||||||
width: 110px;
|
width: 100%;
|
||||||
|
text-align: left;
|
||||||
background: var(--panel-2);
|
background: var(--panel-2);
|
||||||
color: var(--label);
|
color: var(--label);
|
||||||
border: 1px solid var(--line);
|
border: 1px solid var(--line);
|
||||||
|
|||||||
Reference in New Issue
Block a user