дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-26 20:46:22 +02:00
Plugins settings keep the list and details visible in narrow settings with a resizable split. Verified with e2e pluginsLayout, plugins/settings/locales vitest and typecheck.
581 рядки
10 KiB
CSS
581 рядки
10 KiB
CSS
.page {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
height: 100%;
|
|
min-height: 0;
|
|
}
|
|
.topBar {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: var(--space-1-5);
|
|
min-width: 0;
|
|
}
|
|
.page > .topBar {
|
|
flex: none;
|
|
padding: 0 var(--space-2) var(--space-1);
|
|
}
|
|
.sourceTabs {
|
|
border-bottom: 0;
|
|
}
|
|
.tabCount {
|
|
min-width: 16px;
|
|
margin-left: 6px;
|
|
padding: 0 4px;
|
|
border-radius: 8px;
|
|
background: var(--accent);
|
|
color: var(--fg-on-accent);
|
|
font-size: var(--fs-tiny);
|
|
line-height: 16px;
|
|
text-align: center;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.searchRow {
|
|
display: flex;
|
|
flex: none;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: var(--space-1-5);
|
|
padding: 8px;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
.searchField {
|
|
flex: 1 1 132px;
|
|
min-width: 0;
|
|
}
|
|
.spacer {
|
|
flex: 1;
|
|
}
|
|
.page > .error {
|
|
padding: 8px 20px;
|
|
}
|
|
.error {
|
|
color: var(--danger);
|
|
white-space: pre-wrap;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.body {
|
|
flex: 1;
|
|
min-height: 0;
|
|
border-top: 1px solid var(--border);
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* list */
|
|
.list {
|
|
flex: 1;
|
|
min-height: 0;
|
|
margin: 0;
|
|
padding: 0 0 4px;
|
|
list-style: none;
|
|
overflow: auto;
|
|
}
|
|
.groupHeader {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-1-5);
|
|
height: var(--h-row);
|
|
padding: 0 12px;
|
|
color: var(--fg-muted);
|
|
font-size: var(--fs-small);
|
|
}
|
|
.groupCount {
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.groupToggle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-1-5);
|
|
min-width: 0;
|
|
height: 100%;
|
|
padding: 0;
|
|
border: 0;
|
|
background: none;
|
|
color: inherit;
|
|
font: inherit;
|
|
cursor: pointer;
|
|
}
|
|
.groupToggle:hover {
|
|
color: var(--fg);
|
|
}
|
|
.groupToggle:focus-visible {
|
|
outline: 2px solid var(--accent);
|
|
outline-offset: 1px;
|
|
border-radius: var(--radius-small);
|
|
}
|
|
.notice {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: var(--space-1-5);
|
|
margin: 0 8px 4px;
|
|
padding: 6px 8px;
|
|
border-radius: var(--radius-small);
|
|
background: var(--bg-control);
|
|
color: var(--fg-secondary);
|
|
font-size: var(--fs-small);
|
|
}
|
|
.notice > :first-child {
|
|
flex: none;
|
|
margin-top: 1px;
|
|
}
|
|
.icon {
|
|
display: inline-flex;
|
|
flex: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: var(--radius-small);
|
|
background: var(--bg-control);
|
|
color: var(--fg-secondary);
|
|
}
|
|
.rowText {
|
|
display: flex;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
gap: var(--space-1);
|
|
min-width: 0;
|
|
padding-top: 2px;
|
|
}
|
|
.rowVendor {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.rowDisabled .rowName {
|
|
color: var(--fg-muted);
|
|
}
|
|
.rowCheck {
|
|
flex: none;
|
|
}
|
|
.installedTag {
|
|
flex: none;
|
|
color: var(--fg-muted);
|
|
font-size: var(--fs-small);
|
|
}
|
|
.errorText {
|
|
color: var(--danger);
|
|
}
|
|
.row {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: var(--space-2);
|
|
padding-right: 12px;
|
|
}
|
|
/* Actions line up with the name, not the middle of the row. */
|
|
.row > :not(.rowMain) {
|
|
flex: none;
|
|
margin-top: 10px;
|
|
}
|
|
.row > .rowCheck {
|
|
margin-top: 14px;
|
|
}
|
|
.row > .installedTag {
|
|
margin-top: 14px;
|
|
}
|
|
.row:hover {
|
|
background: var(--bg-hover);
|
|
}
|
|
.rowSelected,
|
|
.rowSelected:hover {
|
|
background: var(--bg-selected);
|
|
}
|
|
.rowMain {
|
|
display: flex;
|
|
flex: 1;
|
|
align-items: flex-start;
|
|
gap: var(--space-3);
|
|
min-width: 0;
|
|
padding: 10px 0 12px 12px;
|
|
border: 0;
|
|
background: transparent;
|
|
color: var(--fg);
|
|
font: inherit;
|
|
text-align: left;
|
|
}
|
|
.rowMain:focus-visible {
|
|
outline: none;
|
|
background: var(--bg-hover);
|
|
}
|
|
.rowName {
|
|
overflow: hidden;
|
|
color: var(--fg-strong);
|
|
font-weight: 600;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.rowMeta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
color: var(--fg-muted);
|
|
font-size: var(--fs-small);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.rowMeta > :not(.rowVendor) {
|
|
flex-shrink: 0;
|
|
}
|
|
.devTag {
|
|
padding: 0 4px;
|
|
border-radius: var(--radius-small);
|
|
background: var(--bg-control);
|
|
color: var(--warning);
|
|
font-size: var(--fs-tiny);
|
|
line-height: 14px;
|
|
}
|
|
.listEmpty {
|
|
padding: 8px 12px;
|
|
color: var(--fg-muted);
|
|
}
|
|
|
|
/* details */
|
|
.details {
|
|
flex: 1;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
padding: var(--space-4);
|
|
overflow: auto;
|
|
}
|
|
.detailsEmpty {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow: auto;
|
|
}
|
|
/* Tags, name, vendor, then the actions with the version. */
|
|
.header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: var(--space-1-5);
|
|
}
|
|
.detailTabs {
|
|
margin-top: 12px;
|
|
}
|
|
.notes {
|
|
margin: 10px 0 0;
|
|
color: var(--fg);
|
|
font: inherit;
|
|
white-space: pre-wrap;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.titleLine {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: var(--space-2);
|
|
}
|
|
/* Badges are counter pills (`min-width: 16px`): in a narrow window they wrap instead of shrinking under their text. */
|
|
.titleLine > * {
|
|
flex: none;
|
|
white-space: nowrap;
|
|
}
|
|
.title {
|
|
margin: 0;
|
|
color: var(--fg-strong);
|
|
font-size: 1.375em;
|
|
font-weight: 600;
|
|
line-height: 1.3;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.version {
|
|
color: var(--fg-muted);
|
|
font-size: var(--fs-small);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.authors {
|
|
color: var(--fg-secondary);
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.headerActions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: var(--space-1-5);
|
|
margin-top: var(--space-1);
|
|
}
|
|
.headerActions .version {
|
|
margin-left: var(--space-1-5);
|
|
color: var(--fg);
|
|
}
|
|
.description {
|
|
margin: 10px 0 0;
|
|
max-width: 640px;
|
|
color: var(--fg);
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.details .error {
|
|
margin-top: 10px;
|
|
padding: 6px 8px;
|
|
border-radius: var(--radius-small);
|
|
background: var(--bg-control);
|
|
font-family: var(--font-mono);
|
|
font-size: var(--fs-small);
|
|
}
|
|
.facts {
|
|
display: grid;
|
|
grid-template-columns: max-content minmax(0, 1fr);
|
|
gap: var(--space-0-5) var(--space-4);
|
|
margin: 12px 0 0;
|
|
}
|
|
.facts dt {
|
|
color: var(--fg-muted);
|
|
}
|
|
.facts dd {
|
|
margin: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.mono {
|
|
color: var(--fg-secondary);
|
|
font-family: var(--font-mono);
|
|
font-size: var(--fs-small);
|
|
}
|
|
.facts .homepage {
|
|
white-space: normal;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.homepageLink {
|
|
color: var(--link);
|
|
text-decoration: none;
|
|
}
|
|
.homepageLink:hover {
|
|
text-decoration: underline;
|
|
}
|
|
.muted {
|
|
color: var(--fg-muted);
|
|
}
|
|
.section {
|
|
margin-top: 16px;
|
|
}
|
|
.sectionTitle {
|
|
height: var(--h-row);
|
|
margin: 0;
|
|
color: var(--fg-emphasis);
|
|
font-size: var(--fs-ui);
|
|
font-weight: 500;
|
|
line-height: var(--h-row);
|
|
}
|
|
.items {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
border-radius: var(--radius-small);
|
|
box-shadow: inset 0 0 0 1px var(--border);
|
|
}
|
|
.item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
min-height: 28px;
|
|
padding: 0 4px 0 10px;
|
|
}
|
|
.item + .item {
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
.itemMain {
|
|
flex: 1;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
color: var(--fg);
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Permission dialog and notices */
|
|
.capabilityItem {
|
|
min-width: 0;
|
|
padding: 8px 10px;
|
|
}
|
|
.capabilityItem + .capabilityItem {
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
.capabilityHeader {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
.capabilityHeader > .mono {
|
|
flex: 1;
|
|
min-width: 0;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.capabilityDescription {
|
|
margin: 4px 0 0 26px;
|
|
color: var(--fg);
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.programPermission {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: var(--space-1-5);
|
|
min-width: 0;
|
|
margin: 6px 0 0 26px;
|
|
}
|
|
.programPath {
|
|
flex-basis: 100%;
|
|
min-width: 0;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.consent {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.consentWarning {
|
|
margin: 0;
|
|
color: var(--fg-warning, var(--fg));
|
|
}
|
|
|
|
.consentRequired {
|
|
width: 16px;
|
|
text-align: center;
|
|
color: var(--fg-muted);
|
|
}
|
|
|
|
.consentNotice {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: var(--space-3);
|
|
justify-content: space-between;
|
|
padding: 8px 10px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.categorySelect {
|
|
flex: 0 1 150px;
|
|
}
|
|
.ownIcon {
|
|
background: transparent;
|
|
}
|
|
|
|
.rowTitle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-1-5);
|
|
min-width: 0;
|
|
}
|
|
.downloads {
|
|
display: inline-flex;
|
|
flex: none;
|
|
align-items: center;
|
|
gap: var(--space-0-5);
|
|
color: var(--fg-muted);
|
|
font-size: var(--fs-small);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.exampleTag {
|
|
flex: none;
|
|
padding: 0 4px;
|
|
border-radius: var(--radius-small);
|
|
background: var(--bg-control);
|
|
color: var(--fg-muted);
|
|
font-size: var(--fs-tiny);
|
|
line-height: 14px;
|
|
}
|
|
.groupNote {
|
|
padding: 0 12px 4px;
|
|
color: var(--fg-muted);
|
|
font-size: var(--fs-small);
|
|
}
|
|
.suggestNotice {
|
|
background: color-mix(in srgb, var(--success) 12%, transparent);
|
|
}
|
|
|
|
/* plugins without an icon: their initial on a tint picked by id */
|
|
.monogram {
|
|
font-weight: 600;
|
|
font-size: var(--fs-input-large);
|
|
--tone: var(--info);
|
|
background: color-mix(in srgb, var(--tone) 18%, transparent);
|
|
color: var(--tone);
|
|
}
|
|
.tone0 {
|
|
--tone: var(--info);
|
|
}
|
|
.tone1 {
|
|
--tone: var(--success);
|
|
}
|
|
.tone2 {
|
|
--tone: var(--warning);
|
|
}
|
|
.tone3 {
|
|
--tone: var(--danger);
|
|
}
|
|
.tone4 {
|
|
--tone: var(--ansi-magenta);
|
|
}
|
|
.tone5 {
|
|
--tone: var(--ansi-cyan);
|
|
}
|
|
|
|
.detailsNotice {
|
|
margin: 12px 0 0;
|
|
}
|
|
|
|
.marketOverview {
|
|
padding: 12px 16px;
|
|
overflow: auto;
|
|
}
|
|
|
|
/* Import Theme from IntelliJ IDE */
|
|
.intellijThemes {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
padding: 14px;
|
|
}
|
|
.intellijThemes > p {
|
|
margin: 0;
|
|
}
|
|
/* As tall as its rows (the list sizes them), scrolling past seven. */
|
|
.intellijThemesList {
|
|
max-height: 316px;
|
|
padding: 4px 0;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-control);
|
|
}
|
|
.intellijThemesStatus {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
padding: 8px 10px;
|
|
color: var(--fg-muted);
|
|
}
|
|
.intellijPlugin {
|
|
display: flex;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
gap: var(--space-0-5);
|
|
min-width: 0;
|
|
}
|
|
.intellijPluginHead {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
min-width: 0;
|
|
}
|
|
.intellijPluginThemes {
|
|
overflow: hidden;
|
|
color: var(--fg-muted);
|
|
font-size: var(--fs-small);
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.intellijPluginIde {
|
|
flex-shrink: 0;
|
|
margin-left: auto;
|
|
color: var(--fg-muted);
|
|
font-size: var(--fs-small);
|
|
}
|