mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-24 16:04:21 +00:00
File colours, excluded folders and data source colours were painted as the row's own background: inset from the tree's edges, rounded per row, or dropped under hover and selection, so a run of tinted rows read as a ragged stack. The tint is now a full-width band under the row; hover and selection stay rounded on top. Excluded folders and data source colours share the rowTint path. Fixes #3616
168 lines
2.9 KiB
CSS
168 lines
2.9 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: 5px;
|
|
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;
|
|
}
|
|
.rootName {
|
|
flex: none;
|
|
max-width: 60%;
|
|
}
|
|
.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);
|
|
}
|
|
.error {
|
|
text-decoration-line: underline;
|
|
text-decoration-style: wavy;
|
|
text-decoration-color: var(--danger);
|
|
text-decoration-skip-ink: none;
|
|
text-underline-offset: 3px;
|
|
}
|
|
.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-left: 4px;
|
|
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;
|
|
}
|