merge: preserve compact typography alongside shared Mission theme updates
This commit is contained in:
+40
-20
@@ -77,6 +77,12 @@
|
||||
box-shadow: var(--nodedc-glass-control-shadow);
|
||||
}
|
||||
|
||||
/* Form collections share SettingsCard's neutral group, not the recessed canvas. */
|
||||
.nodedc-glass[data-tone="group"] {
|
||||
background: var(--nodedc-surface-group);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.nodedc-glass[data-radius="panel"] {
|
||||
border-radius: var(--nodedc-radius-panel);
|
||||
}
|
||||
@@ -434,7 +440,7 @@
|
||||
}
|
||||
|
||||
.nodedc-field__control:hover:not(:disabled) {
|
||||
background: var(--nodedc-glass-control-hover);
|
||||
background: var(--nodedc-field-hover-bg);
|
||||
}
|
||||
|
||||
.nodedc-field__control:focus-visible {
|
||||
@@ -659,7 +665,7 @@ textarea.nodedc-field__control {
|
||||
min-width: 0;
|
||||
gap: 1rem;
|
||||
border-radius: var(--nodedc-radius-card);
|
||||
background: var(--nodedc-glass-control-bg);
|
||||
background: var(--nodedc-surface-group);
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
@@ -3929,6 +3935,7 @@ textarea.nodedc-field__control {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.nodedc-header__profile-button,
|
||||
.nodedc-user-profile-menu__trigger-label {
|
||||
display: none;
|
||||
}
|
||||
@@ -4391,26 +4398,11 @@ textarea.nodedc-field__control {
|
||||
.nodedc-key-button:disabled { opacity:.4; cursor:not-allowed; }
|
||||
.nodedc-key-button:focus-visible { outline:2px solid rgb(var(--nodedc-accent-rgb)); outline-offset:3px; }
|
||||
|
||||
/* Shared operator appearance, qualified against Mission Core 2026-09-30.
|
||||
/* Canonical operator appearance, audited against Mission Core 2026-11-05.
|
||||
Set on documentElement so modal and dropdown portals share the same profile. */
|
||||
[data-nodedc-appearance="mission"][data-nodedc-theme="dark"] {
|
||||
--nodedc-modal-surface: rgb(15 15 17 / .97);
|
||||
--nodedc-floating-surface: rgb(15 15 17 / .98);
|
||||
--nodedc-primary-action-bg: rgb(247 248 244 / .96);
|
||||
--nodedc-primary-action-hover: rgb(255 255 255);
|
||||
--nodedc-primary-action-color: rgb(8 8 10 / .96);
|
||||
--nodedc-primary-action-shadow: none;
|
||||
--nodedc-focus-surface: rgb(255 255 255 / .09);
|
||||
}
|
||||
|
||||
[data-nodedc-appearance="mission"] .nodedc-glass-material::before { display: none; }
|
||||
[data-nodedc-appearance="mission"][data-nodedc-theme="light"] {
|
||||
--nodedc-modal-surface: rgb(247 248 250 / .97);
|
||||
--nodedc-floating-surface: rgb(247 248 250 / .98);
|
||||
--nodedc-primary-action-bg: rgb(24 25 28 / .96);
|
||||
--nodedc-primary-action-hover: rgb(8 8 10);
|
||||
--nodedc-primary-action-color: rgb(247 248 244);
|
||||
--nodedc-primary-action-shadow: none;
|
||||
}
|
||||
|
||||
[data-nodedc-appearance="mission"] .nodedc-header__avatar { background: rgb(226 226 226); }
|
||||
[data-nodedc-appearance="mission"][data-nodedc-theme="dark"] .nodedc-feature-settings__section[data-active="true"] { background: rgb(247 248 244 / .14); }
|
||||
[data-nodedc-appearance="mission"][data-nodedc-theme="light"] .nodedc-feature-settings__section[data-active="true"] { background: rgb(8 8 10 / .09); }
|
||||
@@ -4705,3 +4697,31 @@ textarea.nodedc-field__control {
|
||||
}
|
||||
@keyframes nodedc-tooltip-in { from { opacity: 0; } to { opacity: 1; } }
|
||||
@media (prefers-reduced-motion: reduce) { .nodedc-tooltip { animation: none; } }
|
||||
|
||||
/* Opt-in flat material. Applies at the document root, including portal layers.
|
||||
Focus remains visible through a high-contrast fill instead of a contour. */
|
||||
[data-nodedc-edges="flat"] {
|
||||
--nodedc-glass-outline: transparent;
|
||||
--nodedc-glass-control-shadow: none;
|
||||
--nodedc-panel-action-border: transparent;
|
||||
--nodedc-panel-action-border-hover: transparent;
|
||||
--nodedc-panel-action-shadow: none;
|
||||
}
|
||||
[data-nodedc-edges="flat"] .nodedc-material-rim::after,
|
||||
[data-nodedc-edges="flat"] .nodedc-glass-material::before { display: none; }
|
||||
[data-nodedc-edges="flat"] :is(.nodedc-admin-panel__nav-item, .nodedc-application-panel__action, .nodedc-admin-panel__close, .nodedc-media-source-button, .nodedc-media-preview, .nodedc-color-field__swatch) {
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
[data-nodedc-edges="flat"] :is(button, input, textarea, [tabindex]):focus-visible {
|
||||
outline: 0;
|
||||
box-shadow: none;
|
||||
background-color: var(--nodedc-text-primary);
|
||||
color: var(--nodedc-canvas);
|
||||
}
|
||||
[data-nodedc-edges="flat"] .nodedc-admin-panel__nav-item:focus-visible .nodedc-admin-panel__nav-icon {
|
||||
background: var(--nodedc-canvas);
|
||||
color: var(--nodedc-text-primary);
|
||||
}
|
||||
|
||||
.nodedc-select[data-shape="pill"] :is(.nodedc-select__value,.nodedc-select__toggle) { border-radius: var(--nodedc-radius-circle); }
|
||||
|
||||
Reference in New Issue
Block a user