feat(map): refine sector inspector styling
This commit is contained in:
+109
-2
@@ -958,6 +958,63 @@ textarea {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.catalog-map-grid-inspector {
|
||||
display: grid;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
min-width: 0;
|
||||
gap: var(--nodedc-space-3);
|
||||
font-family: var(--nodedc-font-family);
|
||||
font-size: var(--nodedc-font-size-sm);
|
||||
}
|
||||
|
||||
.catalog-map-grid-inspector :where(*) {
|
||||
min-width: 0;
|
||||
max-width: 100%;
|
||||
font-family: var(--nodedc-font-family);
|
||||
}
|
||||
|
||||
.catalog-map-grid-inspector :where(
|
||||
.nodedc-checker__label,
|
||||
.nodedc-range__label,
|
||||
.nodedc-range__value,
|
||||
.nodedc-range__editor,
|
||||
.nodedc-select__value,
|
||||
.nodedc-select-trigger__label,
|
||||
.nodedc-control-row__label,
|
||||
.nodedc-control-row__control,
|
||||
.catalog-map-inspector__note,
|
||||
.nodedc-segmented__item,
|
||||
.nodedc-color-field__text,
|
||||
small,
|
||||
span,
|
||||
strong,
|
||||
code
|
||||
),
|
||||
.catalog-map-grid-inspector .nodedc-button {
|
||||
font-family: var(--nodedc-font-family);
|
||||
font-size: var(--nodedc-font-size-sm);
|
||||
}
|
||||
|
||||
.catalog-map-grid-inspector .nodedc-checker__label {
|
||||
overflow-wrap: anywhere;
|
||||
text-overflow: clip;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.catalog-map-grid-inspector :where(
|
||||
.nodedc-control-row__label,
|
||||
.nodedc-control-row__control,
|
||||
.catalog-map-inspector__note,
|
||||
small,
|
||||
span,
|
||||
strong,
|
||||
code,
|
||||
.nodedc-button
|
||||
) {
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.catalog-map-grid-lod-tabs {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
@@ -973,22 +1030,70 @@ textarea {
|
||||
flex: 1 1 0;
|
||||
min-width: 0;
|
||||
padding-inline: 0.45rem;
|
||||
font-size: var(--nodedc-font-size-xs);
|
||||
font-size: var(--nodedc-font-size-sm);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.catalog-map-grid-sector-id {
|
||||
display: block;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
overflow-wrap: anywhere;
|
||||
text-align: right;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.catalog-map-grid-sector {
|
||||
display: grid;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
min-width: 0;
|
||||
gap: 0.55rem;
|
||||
border-top: 1px solid color-mix(in srgb, var(--nodedc-glass-outline) 44%, transparent);
|
||||
padding-top: 0.7rem;
|
||||
font-family: var(--nodedc-font-family);
|
||||
font-size: var(--nodedc-font-size-sm);
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.catalog-map-grid-sector :where(*) {
|
||||
min-width: 0;
|
||||
max-width: 100%;
|
||||
font-family: var(--nodedc-font-family);
|
||||
}
|
||||
|
||||
.catalog-map-grid-sector :where(
|
||||
.nodedc-control-row__label,
|
||||
.nodedc-control-row__control,
|
||||
small,
|
||||
span,
|
||||
strong,
|
||||
code
|
||||
),
|
||||
.catalog-map-grid-sector .nodedc-button {
|
||||
font-size: var(--nodedc-font-size-sm);
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.catalog-map-grid-sector .nodedc-control-row {
|
||||
width: 100%;
|
||||
grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
|
||||
align-items: start;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.catalog-map-grid-sector :where(
|
||||
.nodedc-control-row__label,
|
||||
.nodedc-control-row__control,
|
||||
small,
|
||||
span,
|
||||
strong,
|
||||
code,
|
||||
.nodedc-button
|
||||
) {
|
||||
overflow-wrap: anywhere;
|
||||
word-break: normal;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.catalog-map-grid-sector__facts,
|
||||
@@ -1009,7 +1114,10 @@ textarea {
|
||||
.catalog-map-grid-sector__neighbor,
|
||||
.catalog-map-grid-sector__volume {
|
||||
display: grid;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
gap: 0.4rem;
|
||||
border-radius: var(--nodedc-radius-control);
|
||||
background: var(--nodedc-glass-control-bg);
|
||||
@@ -1020,7 +1128,6 @@ textarea {
|
||||
.catalog-map-grid-sector__neighbor > code,
|
||||
.catalog-map-grid-sector__volume > code {
|
||||
color: var(--nodedc-text-muted);
|
||||
font-size: var(--nodedc-font-size-xs);
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user