mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-24 08:03:19 +00:00
The Maven and Gradle toolbars used one fixed row, which clipped actions in narrow panes. Narrow panes keep reload or cancel, run and execute visible and group the rest in More Actions; widening the pane restores the full toolbar, keeping the offline and skip-tests toggle states.
216 lines
3.6 KiB
CSS
216 lines
3.6 KiB
CSS
.view {
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
}
|
|
.toolbar {
|
|
height: 32px;
|
|
flex: none;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-0-5);
|
|
padding: 0 6px;
|
|
}
|
|
.toolbarMore {
|
|
margin-left: auto;
|
|
}
|
|
.sep {
|
|
width: 1px;
|
|
height: 16px;
|
|
margin: 0 4px;
|
|
background: var(--border);
|
|
}
|
|
.banner {
|
|
flex: none;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-1-5);
|
|
min-height: 28px;
|
|
padding: 2px 10px;
|
|
font-size: var(--fs-small);
|
|
color: var(--fg-secondary);
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
.bannerWarning {
|
|
color: var(--warning);
|
|
}
|
|
.bannerText {
|
|
flex: 1;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.bannerPct {
|
|
flex: none;
|
|
font-family: var(--font-mono);
|
|
color: var(--fg-subtle);
|
|
}
|
|
.body {
|
|
flex: 1;
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.body > * {
|
|
flex: 1;
|
|
min-height: 0;
|
|
}
|
|
.loading {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
padding: 12px;
|
|
color: var(--fg-muted);
|
|
}
|
|
.row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-1-5);
|
|
min-width: 0;
|
|
flex: 1;
|
|
white-space: nowrap;
|
|
}
|
|
.icon {
|
|
flex: none;
|
|
}
|
|
.label {
|
|
flex: 0 1 auto;
|
|
min-width: 24px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
color: var(--fg);
|
|
}
|
|
.skippedGoal {
|
|
color: var(--fg-muted);
|
|
text-decoration: line-through;
|
|
}
|
|
.selectedLabel {
|
|
color: var(--fg-strong);
|
|
}
|
|
.detail {
|
|
flex: 0 100 auto;
|
|
min-width: 0;
|
|
color: var(--fg-subtle);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.profile {
|
|
min-width: 0;
|
|
}
|
|
|
|
/* Execute Maven Goal / Gradle Task popup */
|
|
.popup {
|
|
width: 620px;
|
|
max-width: calc(100vw - 32px);
|
|
overflow: hidden;
|
|
}
|
|
.popupBody {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.popupHeader {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
height: var(--h-row);
|
|
padding: 4px 10px 0;
|
|
font-size: var(--fs-small);
|
|
color: var(--fg-subtle);
|
|
}
|
|
.popupTitle {
|
|
flex: 1;
|
|
font-weight: 600;
|
|
color: var(--fg-strong);
|
|
}
|
|
.inputRow {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-1-5);
|
|
padding: 6px 10px;
|
|
border-bottom: 1px solid var(--border-popup);
|
|
}
|
|
.commandIcon {
|
|
flex: none;
|
|
}
|
|
.inputPrefix {
|
|
flex: none;
|
|
font-family: var(--font-ui);
|
|
font-size: var(--fs-ui);
|
|
color: var(--fg-strong);
|
|
}
|
|
.input {
|
|
flex: 1;
|
|
min-width: 0;
|
|
font-family: var(--font-ui);
|
|
}
|
|
.completionSection {
|
|
display: flex;
|
|
align-items: center;
|
|
width: 100%;
|
|
gap: 10px;
|
|
padding: 0;
|
|
color: var(--fg-subtle);
|
|
font-size: var(--fs-small);
|
|
}
|
|
.completionSection::after {
|
|
content: "";
|
|
flex: 1;
|
|
height: 1px;
|
|
background: var(--border-popup);
|
|
}
|
|
.completions {
|
|
max-height: min(380px, 55vh);
|
|
height: auto;
|
|
}
|
|
.completion {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
min-width: 0;
|
|
flex: 1;
|
|
}
|
|
.completionLabel {
|
|
flex: 1;
|
|
min-width: 0;
|
|
font-family: var(--font-ui);
|
|
font-size: var(--fs-ui);
|
|
color: var(--fg-emphasis);
|
|
white-space: pre;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.activeRow .completionLabel {
|
|
color: var(--fg-strong);
|
|
}
|
|
.completionDetail {
|
|
flex: 0 1 auto;
|
|
min-width: 0;
|
|
max-width: 45%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
font-style: italic;
|
|
margin-left: auto;
|
|
color: var(--fg-subtle);
|
|
font-size: var(--fs-small);
|
|
white-space: nowrap;
|
|
}
|
|
.popupFooter {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
padding: 6px 10px;
|
|
border-top: 1px solid var(--border-popup);
|
|
font-size: var(--fs-small);
|
|
color: var(--fg-subtle);
|
|
}
|
|
.footerSelect {
|
|
min-width: 180px;
|
|
}
|
|
.empty {
|
|
padding: 6px 10px;
|
|
color: var(--fg-subtle);
|
|
font-size: var(--fs-small);
|
|
}
|