.page { display: flex; flex-direction: column; max-width: 760px; } .alignedFields button[aria-haspopup="listbox"] { width: min(320px, 100%); min-width: 0; } .check { display: flex; align-items: center; flex-wrap: wrap; column-gap: var(--space-1-5); min-height: 26px; padding: 1px 6px; margin: 0 -6px; border-radius: var(--radius-row); } .matched { background: color-mix(in srgb, var(--warning) 8%, transparent); } .checkHint { /* Starts with the checkbox text: the 16px box and its label gap (`ui/Checkbox`). */ padding: 0 0 4px calc(16px + var(--space-2)); color: var(--fg-subtle); font-size: var(--fs-small); line-height: 1.4; } .children { display: flex; flex-direction: column; padding-left: 20px; } .inline { display: inline-flex; align-items: center; gap: var(--space-1-5); } .inlineChoices { flex-wrap: wrap; min-height: var(--h-field); max-width: 100%; gap: var(--space-1) var(--space-4); } .inlineLabel::after { content: ":"; } .inlineNumber { width: 64px; } .inlineText { width: 180px; } .checkWithField { align-items: flex-start; gap: var(--space-1) var(--space-2); } .checkWithField > label { min-width: 0; min-height: var(--h-field); } .inlineField { display: flex; flex-direction: column; gap: var(--space-1); width: 280px; max-width: 100%; } .inlineFieldHint { color: var(--fg-subtle); font-size: var(--fs-small); line-height: 1.4; } .suffix { color: var(--fg); } .dim, .dim .suffix { color: var(--fg-subtle); } .text { width: 240px; } .wideText { width: 360px; } .note { color: var(--fg-subtle); font-size: var(--fs-small); padding: 2px 0 6px; } .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; } .column { display: flex; flex-direction: column; min-width: 0; } .radioBlock { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-1) var(--space-3); min-height: 28px; padding: 2px 6px; margin: 0 -6px; border-radius: var(--radius-row); } .radioLabel { white-space: nowrap; } .radios { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-1) var(--space-4); } .stackedRadioBlock, .stackedRadios { flex-direction: column; align-items: flex-start; } .stackedRadioBlock { margin-inline-end: 0; } .stackedRadioBlock > .radioLabel { white-space: normal; } .stackedRadios { max-width: 100%; } .stackedRadios .radio { max-width: 100%; overflow-wrap: anywhere; } .stackedRadioBlock .radioLabel + .stackedRadios { padding-inline-start: calc(var(--space-4) + var(--space-1)); } .tabOverflowChoices { align-items: flex-start; gap: var(--space-1); max-width: 100%; } .radio { display: inline-flex; align-items: center; gap: var(--space-1-5); cursor: default; } .radio input { appearance: none; flex: none; width: 16px; height: 16px; margin: 0; border-radius: 50%; background: var(--bg-control); box-shadow: inset 0 0 0 1px var(--border-strong); } .radio input:checked { background: var(--bg-control); box-shadow: inset 0 0 0 5px var(--accent); } .radio input:focus-visible { outline: 2px solid color-mix(in srgb, var(--accent) 50%, transparent); outline-offset: 1px; } .radio input:disabled { opacity: 0.5; } .gutterIconList { margin: var(--space-2) 0 0; padding: var(--space-1); list-style: none; border: 1px solid var(--border); border-radius: var(--radius-small); background: var(--bg-field); font-size: var(--fs-ui); } .gutterIconRow { display: flex; align-items: center; gap: var(--space-2); padding-inline: var(--space-2); border-radius: var(--radius-selection); } .gutterIconRow:has(input:enabled):hover { background: var(--bg-hover); } .gutterIconPreview { display: grid; flex: 0 0 16px; place-items: center; } .gutterIconRow:has(input:disabled) .gutterIconPreview { opacity: 0.5; } .gutterIconRow .gutterIconChoice { flex: 1; min-width: 0; min-height: var(--h-list-row); padding-block: var(--space-0-5); overflow-wrap: anywhere; } .gutterSwatch { width: 12px; height: 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-small); background: var(--accent); } /* Font page */ .fontPage { height: 100%; min-height: 240px; min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-small); } .fontSplit { height: 100%; } .fontOptions { container: font-options / inline-size; height: 100%; min-height: 0; overflow-y: auto; padding: var(--space-2) var(--space-3) var(--space-3); } .fontFamily { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-2); min-width: 0; } .fontSelect, .fontWeight { width: 240px; max-width: 100%; } @container font-options (max-width: 380px) { .fontRow { display: flex; flex-direction: column; align-items: stretch; gap: var(--space-1); margin-bottom: var(--space-1); } .fontRow > label { padding-top: 0; overflow-wrap: anywhere; white-space: normal; } } .previewTitle { flex: none; padding: var(--space-1) var(--space-3); border-bottom: 1px solid var(--border); color: var(--fg-secondary); font-size: var(--fs-small); } .previewArea { flex: 1; font-weight: var(--fw-code); width: 100%; min-height: 0; resize: none; box-sizing: border-box; padding: var(--space-2) var(--space-3); border: none; background: var(--bg-editor, var(--bg-island)); color: var(--fg-editor, var(--fg)); white-space: pre-wrap; overflow-wrap: anywhere; outline: none; } .previewArea:focus-visible { outline: 1px solid var(--focus-ring); outline-offset: -1px; } /* Color Scheme page */ .schemeRow { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-bottom: 10px; } /* Landing links of the Color Scheme root page (JetBrains-style sub-page list). */ .schemeLinks { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-0-5); margin-top: 4px; } .schemeLink { border: 0; background: none; padding: 2px 4px; border-radius: var(--radius-small); color: var(--accent); font: inherit; cursor: pointer; } .schemeLink:hover { background: var(--bg-hover); text-decoration: underline; } .schemeBody { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 280px); gap: var(--space-2); height: 100%; min-height: 0; padding-bottom: var(--space-2); } .schemePage { display: flex; flex-direction: column; height: 100%; min-height: 340px; min-width: 0; } .schemeSplit { flex: 1; } .schemePage > :not(.schemeSplit) { flex: none; } .schemeExtraOptions { margin-top: var(--space-4); } @container settings-content (max-width: 610px) { .schemeBody { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(72px, 2fr) minmax(0, 3fr); } } .attrTree { min-height: 0; min-width: 0; overflow: hidden; border-radius: var(--radius-small); box-shadow: inset 0 0 0 1px var(--border-strong); padding: 2px 0; } .treeLabel { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* Overridden attributes and their ancestor groups show in accent, up to the root. */ .attrModified { color: var(--accent); } .attrPanel { box-shadow: inset 0 0 0 1px var(--border-strong); border-radius: var(--radius-small); padding: 10px; min-width: 0; min-height: 0; overflow: auto; } .attrEditor { display: flex; flex-direction: column; gap: var(--space-0-5); } .attrRow { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-2); min-height: 28px; } .attrRow > :first-child { min-width: 110px; } /* Effect style select on its own row, right-aligned with the colour hex fields. */ .effectSelect { align-self: flex-end; min-width: 0; width: 150px; margin-top: 8px; } .swatchInput { flex: 1 1 90px; min-width: min(90px, 100%); } .colorBox { position: relative; width: 22px; height: 22px; border-radius: var(--radius-small); box-shadow: inset 0 0 0 1px var(--border-strong); overflow: hidden; } .colorBox input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; border: 0; padding: 0; } .inherited { color: var(--fg-subtle); font-size: var(--fs-small); } .schemePreview { flex: 1; min-height: 0; margin: var(--space-2) 0 0; padding: 8px 0; border-radius: var(--radius-small); box-shadow: inset 0 0 0 1px var(--border-strong); background: var(--bg-editor, var(--bg-island)); color: var(--fg-editor, var(--fg)); font-family: var(--openidea-editor-font, var(--font-mono)); font-weight: var(--fw-code); font-size: var(--fs-code); line-height: var(--lh-code); overflow: auto; } .previewLine { display: flex; white-space: pre; } .previewCaretLine { background: var(--bg-current-line); } .previewGutter { flex: none; width: 36px; padding-right: 10px; text-align: right; color: var(--fg-line-number, var(--fg-gutter)); -webkit-user-select: none; user-select: none; } .previewCaretLine .previewGutter { color: var(--fg-line-number-current, var(--fg-muted)); } .clickable:hover { outline: 1px dashed var(--fg-subtle); outline-offset: 1px; } /* Git preview mirrors the two real surfaces: the editor inline blame widget and the project tree root branch suffix. Only the Git page uses these. */ .gitPreview { flex: 1; min-height: 0; margin: var(--space-2) 0 0; border-radius: var(--radius-small); box-shadow: inset 0 0 0 1px var(--border-strong); background: var(--bg-editor, var(--bg-island)); overflow: auto; } .gitSection { padding: 8px 0; } .gitSection + .gitSection { border-top: 1px solid var(--border); } .gitSectionTitle { padding: 0 12px 6px; font-family: var(--font-ui); font-size: var(--fs-small); color: var(--fg-muted); } .gitEditor { color: var(--fg-editor, var(--fg)); font-family: var(--openidea-editor-font, var(--font-mono)); font-weight: var(--fw-code); font-size: var(--fs-code); line-height: var(--lh-code); } .gitBlame { display: inline-block; max-width: min(60ch, 50vw); margin-left: 3ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; } .gitTree { padding: 0 6px; font-family: var(--font-ui); font-size: var(--fs-ui); color: var(--fg-strong); } .gitRow { display: flex; align-items: center; gap: var(--space-1); height: 24px; padding-left: 4px; padding-right: 8px; border-radius: var(--radius-selection, 5px); white-space: nowrap; } .gitChevron { flex: none; width: 16px; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--fg-muted); } .gitContent { flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; gap: 5px; border-radius: var(--radius-row); } .gitIconStack { display: inline-flex; flex: none; width: 16px; height: 16px; } .gitFolderIcon { color: var(--fg-subtle); } .gitRootLabel { flex: none; max-width: 60%; color: var(--fg-strong); font-weight: 600; } .gitSuffix { display: inline-flex; flex: 0 1 auto; align-items: center; gap: var(--space-1); min-width: 0; margin-left: 6px; overflow: hidden; color: var(--git-local-branch, var(--accent)); white-space: nowrap; } .gitSuffixSegment { display: inline-flex; align-items: center; gap: 1px; } /* Diff & Merge preview embeds a three-pane merge view (the `mergeSchemePreview` editor kind) painted with the real diff decorations; clicking a coloured line selects its attribute. */ .diffPreview { margin: 14px 0 0; border-radius: var(--radius-small); box-shadow: inset 0 0 0 1px var(--border-strong); background: var(--bg-editor, var(--bg-island)); overflow: auto; display: flex; flex-direction: column; min-height: 0; max-height: 300px; } .diffLoading { padding: var(--space-3); color: var(--fg-muted); font-size: var(--fs-small); } .diffPreview :global(.cm-editor) { font-size: var(--fs-code); } /* Code Style tables */ .guides { width: 160px; }