дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-03 16:51:16 +02:00
Appearance gets a Get more themes link beside the Theme selector that opens Settings › Plugins on the marketplace's themes (plugins#themes; pages read the target through SettingsPageFocusContext). Installs whose settings file still names the removed one-dark theme get a one-time notice that One Dark is now provided by the One Dark Pro plugin, with Install while it isn't installed; settings_removed_theme reports the raw id a settings file names before it is mapped to its stand-in. Closes #3284 Co-authored-by: Inf1mum <[email protected]>
177 рядки
3.2 KiB
CSS
177 рядки
3.2 KiB
CSS
.inline {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
margin-left: 8px;
|
|
padding: 0 4px;
|
|
border-radius: var(--radius-row);
|
|
}
|
|
.themeSelect {
|
|
flex: 1 1 120px;
|
|
min-width: min(120px, 100%);
|
|
max-width: 180px;
|
|
}
|
|
.link {
|
|
padding: 0;
|
|
border: none;
|
|
background: none;
|
|
color: var(--accent);
|
|
font: inherit;
|
|
cursor: pointer;
|
|
}
|
|
.link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
.matched {
|
|
background: color-mix(in srgb, var(--warning) 8%, transparent);
|
|
}
|
|
.note {
|
|
flex: 1 1 220px;
|
|
color: var(--fg-subtle);
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.popupBody {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 8px 14px;
|
|
}
|
|
|
|
/* Inline option groups, with custom font controls wrapping together. */
|
|
.fontRow {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
min-height: 28px;
|
|
padding: 2px 6px;
|
|
margin: 0 -6px;
|
|
border-radius: var(--radius-row);
|
|
}
|
|
/* Custom font block (IDEA Appearance): labels share one column, so the UI font,
|
|
fallback and Size controls all start at the same x. */
|
|
.customFontRow {
|
|
display: grid;
|
|
grid-template-columns: max-content minmax(0, 1fr);
|
|
align-items: start;
|
|
column-gap: var(--space-2);
|
|
row-gap: var(--space-1);
|
|
min-height: 28px;
|
|
padding: 2px 6px;
|
|
margin: 0 -6px;
|
|
border-radius: var(--radius-row);
|
|
}
|
|
.customFontRow > .fontLabel {
|
|
padding-top: 3px;
|
|
white-space: nowrap;
|
|
}
|
|
.customFontRow > .fontCheck {
|
|
white-space: nowrap;
|
|
}
|
|
.fontControl {
|
|
display: flex;
|
|
align-items: center;
|
|
min-width: 0;
|
|
}
|
|
.sizeInput {
|
|
width: 64px;
|
|
}
|
|
.disabled {
|
|
color: var(--fg-subtle);
|
|
}
|
|
.pathInput {
|
|
width: 320px;
|
|
}
|
|
.backgroundPreview {
|
|
height: var(--h-control);
|
|
max-width: 64px;
|
|
object-fit: cover;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-small);
|
|
}
|
|
.patternInput {
|
|
width: 160px;
|
|
}
|
|
.preview {
|
|
color: var(--fg-muted);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
/* Two-column checkbox grid (UI Options, Tool Windows). */
|
|
.grid {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
|
column-gap: 24px;
|
|
}
|
|
.column {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
}
|
|
|
|
@container settings-content (max-width: 580px) {
|
|
.grid {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
}
|
|
|
|
.radios {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: var(--space-4);
|
|
}
|
|
.radio {
|
|
display: inline-flex;
|
|
flex: none;
|
|
white-space: nowrap;
|
|
align-items: center;
|
|
gap: var(--space-1-5);
|
|
}
|
|
.radio input {
|
|
margin: 0;
|
|
accent-color: var(--accent);
|
|
}
|
|
|
|
.table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
.table th {
|
|
white-space: nowrap;
|
|
text-align: left;
|
|
font-weight: normal;
|
|
color: var(--fg-muted);
|
|
height: var(--h-list-row);
|
|
padding: 0 8px;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
.table td {
|
|
white-space: nowrap;
|
|
height: 32px;
|
|
padding: 0 8px;
|
|
}
|
|
.table tbody tr:hover {
|
|
background: var(--bg-tree-hover);
|
|
}
|
|
.center {
|
|
text-align: center;
|
|
}
|
|
|
|
.iconPacks {
|
|
display: grid;
|
|
grid-template-columns: repeat(var(--icon-pack-columns, 1), minmax(0, 1fr));
|
|
gap: var(--space-1-5) 24px;
|
|
padding: 2px 0;
|
|
}
|
|
|
|
.iconLabel {
|
|
padding: 2px 0;
|
|
}
|
|
|
|
.iconHint {
|
|
padding: 0 0 2px 20px;
|
|
color: var(--fg-subtle);
|
|
font-size: var(--fs-small);
|
|
line-height: 1.4;
|
|
}
|