дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-06 10:07:11 +02:00
Place the date pattern help beside the input when there is room and let it wrap under the input in narrow windows. Put the live examples just below the time format control in smaller, secondary text. Pretty formatting remains a separate setting and still updates both examples.
233 рядки
4.4 KiB
CSS
233 рядки
4.4 KiB
CSS
.themeSync {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
border-radius: var(--radius-row);
|
|
}
|
|
.themeSelect {
|
|
flex: 1 1 140px;
|
|
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;
|
|
}
|
|
.preferredThemes {
|
|
width: min(440px, calc(100vw - var(--space-4)));
|
|
padding: var(--space-2) var(--space-3);
|
|
}
|
|
.preferredThemes label {
|
|
white-space: normal;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.preferredThemes button {
|
|
width: 100%;
|
|
}
|
|
|
|
/* 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);
|
|
}
|
|
.idleDuration {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-1-5);
|
|
}
|
|
.fileSynchronization {
|
|
display: grid;
|
|
gap: var(--space-1);
|
|
padding-top: var(--space-2);
|
|
}
|
|
.customFontRow {
|
|
display: grid;
|
|
grid-template-columns: fit-content(42%) minmax(0, 280px) max-content;
|
|
align-items: start;
|
|
column-gap: var(--space-2);
|
|
row-gap: var(--space-1);
|
|
min-height: var(--h-field);
|
|
padding: 2px 6px;
|
|
margin: 0 -6px;
|
|
border-radius: var(--radius-row);
|
|
}
|
|
.fontLabel,
|
|
.fontCheck,
|
|
.fontSize {
|
|
display: flex;
|
|
align-items: center;
|
|
min-height: var(--h-field);
|
|
min-width: 0;
|
|
}
|
|
.fontSize {
|
|
gap: var(--space-2);
|
|
}
|
|
@container settings-content (max-width: 580px) {
|
|
.customFontRow {
|
|
grid-template-columns: fit-content(42%) minmax(0, 280px);
|
|
}
|
|
.fontSize {
|
|
grid-column: 2;
|
|
}
|
|
}
|
|
.disabled {
|
|
color: var(--fg-subtle);
|
|
}
|
|
.pathInput {
|
|
width: 320px;
|
|
}
|
|
.directoryBrowse {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
min-width: 0;
|
|
}
|
|
.directoryBrowse > button {
|
|
flex: none;
|
|
}
|
|
.backgroundPreview {
|
|
height: var(--h-control);
|
|
max-width: 64px;
|
|
object-fit: cover;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-small);
|
|
}
|
|
.patternInput {
|
|
width: 160px;
|
|
}
|
|
.patternHint,
|
|
.preview {
|
|
color: var(--fg-subtle);
|
|
font-size: var(--fs-small);
|
|
line-height: 1.4;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.preview {
|
|
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-1) var(--space-4);
|
|
}
|
|
.radio {
|
|
display: inline-flex;
|
|
flex: none;
|
|
max-inline-size: 100%;
|
|
align-items: center;
|
|
gap: var(--space-1-5);
|
|
}
|
|
.radio input {
|
|
flex: none;
|
|
margin: 0;
|
|
accent-color: var(--accent);
|
|
}
|
|
|
|
.notificationGroups {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
|
|
align-items: start;
|
|
gap: var(--space-4);
|
|
}
|
|
.notificationList {
|
|
height: calc(10 * var(--h-list-row) + 2px);
|
|
min-width: 0;
|
|
border: 1px solid var(--border-strong);
|
|
border-radius: var(--radius-small);
|
|
}
|
|
.notificationGroupLabel {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.notificationDetails {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
min-width: 0;
|
|
gap: var(--space-2);
|
|
}
|
|
.notificationTitle {
|
|
margin: 0;
|
|
color: var(--fg-strong);
|
|
font-size: var(--fs-ui);
|
|
font-weight: 600;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.notificationDetails .notificationPopupRow {
|
|
grid-template-columns: fit-content(42%) minmax(0, 1fr);
|
|
align-self: stretch;
|
|
padding-inline: 0;
|
|
margin-inline: 0;
|
|
}
|
|
.notificationPopupRow label {
|
|
white-space: normal;
|
|
}
|
|
@container settings-content (max-width: 440px) {
|
|
.notificationGroups {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
.notificationList {
|
|
height: calc(5 * var(--h-list-row) + 2px);
|
|
}
|
|
}
|
|
|
|
.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;
|
|
}
|