style: add styling for read-only editor zones

Dimmed appearance with subtle background for codePrefix/codeSuffix regions.
This commit is contained in:
2026-01-25 01:59:59 +01:00
parent 82f6e46d3c
commit eb82eed826

View File

@@ -593,6 +593,12 @@ kbd {
height: 100%; height: 100%;
} }
/* Read-only zones (codePrefix/codeSuffix) */
.cm-readonly-zone {
opacity: 0.5;
background: rgba(100, 100, 120, 0.1);
}
.editor-content .cm-scroller { .editor-content .cm-scroller {
overflow: auto; overflow: auto;
} }