дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-22 09:30:46 +02:00
Project tree rows give file, folder and symbol names priority over secondary text: a long project name can use the row width while paths and details truncate (full text on hover). Row icon spacing uses the spacing token.
183 рядки
3.3 KiB
CSS
183 рядки
3.3 KiB
CSS
.view {
|
|
position: relative;
|
|
height: 100%;
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.unityNotice {
|
|
flex: none;
|
|
padding: 8px 12px;
|
|
color: var(--fg-muted);
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.content {
|
|
flex: 1;
|
|
min-width: 0;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-1);
|
|
border-radius: var(--radius-row);
|
|
}
|
|
|
|
.icon {
|
|
flex: none;
|
|
color: var(--fg-muted);
|
|
}
|
|
.folderIcon {
|
|
color: var(--fg-subtle);
|
|
}
|
|
.faded {
|
|
opacity: 0.55;
|
|
}
|
|
|
|
.label {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.labelGroup {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-1);
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
}
|
|
.labelGroup .label {
|
|
flex: none;
|
|
max-inline-size: 100%;
|
|
}
|
|
.rootLabel {
|
|
color: var(--fg-strong);
|
|
font-weight: 600;
|
|
}
|
|
.moduleLabel {
|
|
font-weight: 600;
|
|
}
|
|
/* IDEA's "excluded" look: ignored / excluded entries are dimmed. */
|
|
.excluded {
|
|
color: var(--vcs-ignored);
|
|
}
|
|
.deprecated {
|
|
text-decoration-line: line-through;
|
|
}
|
|
.error {
|
|
padding-block: var(--space-0-5);
|
|
text-decoration-line: underline;
|
|
text-decoration-style: wavy;
|
|
text-decoration-color: var(--danger);
|
|
text-decoration-skip-ink: none;
|
|
text-underline-offset: 3px;
|
|
}
|
|
/* The error's wavy underline takes the text decoration; the strike-out is drawn underneath. */
|
|
.deprecated.error {
|
|
background: linear-gradient(currentColor, currentColor) 0 55% / 100% 1px no-repeat;
|
|
}
|
|
.suffix {
|
|
display: inline-flex;
|
|
flex: 0 1 auto;
|
|
align-items: center;
|
|
gap: var(--space-1);
|
|
min-width: 0;
|
|
margin-left: 6px;
|
|
overflow: hidden;
|
|
color: var(--fg-muted);
|
|
white-space: nowrap;
|
|
}
|
|
.suffixSegment {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 1px;
|
|
}
|
|
.detail {
|
|
min-width: 0;
|
|
margin-inline-start: var(--space-1);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
color: var(--fg-subtle);
|
|
}
|
|
.badge {
|
|
flex: none;
|
|
margin-left: auto;
|
|
padding: 0 5px;
|
|
border-radius: var(--radius-small);
|
|
font-size: var(--fs-tiny);
|
|
color: var(--fg-muted);
|
|
background: var(--bg-control);
|
|
}
|
|
|
|
.cut {
|
|
opacity: 0.45;
|
|
}
|
|
|
|
.dropTarget {
|
|
box-shadow: inset 0 0 0 1px var(--accent);
|
|
background: var(--accent-soft);
|
|
}
|
|
|
|
.inlineInput {
|
|
flex: 1;
|
|
min-width: 60px;
|
|
height: 18px;
|
|
padding: 0 4px;
|
|
margin-right: 4px;
|
|
border: 1px solid var(--accent);
|
|
border-radius: var(--radius-small);
|
|
background: var(--bg-app);
|
|
color: var(--fg-strong);
|
|
font: inherit;
|
|
outline: none;
|
|
}
|
|
.inlineInvalid {
|
|
border-color: var(--danger);
|
|
}
|
|
.inlineError {
|
|
padding: 4px 8px;
|
|
max-width: 320px;
|
|
font-size: var(--fs-small);
|
|
color: var(--fg-strong);
|
|
border-color: color-mix(in srgb, var(--danger) 60%, transparent);
|
|
}
|
|
|
|
.dragGhost {
|
|
position: fixed;
|
|
z-index: var(--z-tooltip);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-1-5);
|
|
height: 22px;
|
|
padding: 0 8px;
|
|
border-radius: var(--radius-small);
|
|
background: var(--bg-popup);
|
|
border: 1px solid var(--border-strong);
|
|
box-shadow: var(--shadow-tooltip);
|
|
color: var(--fg);
|
|
font-size: var(--fs-ui);
|
|
pointer-events: none;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.empty {
|
|
padding: 8px 12px;
|
|
color: var(--fg-subtle);
|
|
}
|
|
|
|
.iconStack {
|
|
position: relative;
|
|
display: inline-flex;
|
|
flex: none;
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
.overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
}
|