diff --git a/css/plain.css b/css/plain.css index 1f0400b..bfc3815 100644 --- a/css/plain.css +++ b/css/plain.css @@ -227,68 +227,8 @@ div.qvideo .question-valid-container { margin-left: 0; } -/* Row 115: "disable" mode for parented options (navbarfontcolor working example) — - the child stays visible but grayed out; swatch chips + effective-color swatch. */ -.option-visibility-disable .mb-3 { - opacity: 0.55; -} - -/* Full column width: the chips row sits in its own block under the dropdown - (sel.after(chips) in options.js) and stretches to the column's full width. - 10px between the swatches so they stand out; the hex value sits BELOW each - swatch in .color-chip-label (inside the swatch it was unreadable). */ -.color-mode-chips { - display: flex; - width: 100%; - gap: 10px; - margin-top: 0.4rem; -} - -.color-chip-item { - flex: 1 1 0; - min-width: 0; - display: flex; - flex-direction: column; - gap: 2px; -} - -.color-chip { - width: 100%; - height: 1.6rem; - padding: 0; - border: 1px solid rgba(0, 0, 0, 0.35); - border-radius: 0.25rem; - cursor: pointer; - background: transparent; -} - -.color-chip-label { - font-size: 0.65rem; - color: #6c757d; - text-align: center; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; -} - -.color-chip.active { - outline: 2px solid currentColor; - outline-offset: 1px; -} - -.color-chip:focus-visible { - outline: 2px solid #0d6efd; - outline-offset: 1px; -} - -.color-mode-effective { - display: inline-block; - width: 1.1rem; - height: 1.1rem; - border: 1px solid rgba(0, 0, 0, 0.35); - border-radius: 0.25rem; - vertical-align: middle; - background: transparent; -} +/* NOTE: the swatch-chip / disable-mode styles for the options page live INLINE in + options/options.twig ( + {# If this is a survey-specific (or survey-group) settings page, offer full inheritance of the parent template #} {% if bInherit %}