Файли
openidea/src/features/run-anything/RunAnything.module.css
T
l0ng-ai f8ec222a0d fix(run): integrate the Run Anything command field into the popup (#5111)
The Run Anything command field now sits directly on the popup surface. A single inset divider shows keyboard focus. The command row is 14 px shorter, giving the scrollable results the extra space in short windows.
2026-11-22 11:29:49 +08:00

142 рядки
2.6 KiB
CSS

.popup {
display: flex;
flex-direction: column;
width: min(670px, calc(100vw - 32px));
overflow: hidden;
}
.body {
flex: 1 1 auto;
display: flex;
flex-direction: column;
min-height: 0;
font-family: var(--font-ui);
}
.header {
flex: none;
display: flex;
align-items: center;
gap: var(--space-2);
min-height: var(--h-field);
padding: var(--space-0-5) var(--space-3);
border-bottom: 1px solid var(--border-popup);
background: var(--bg-frame, var(--bg-app));
}
.title {
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: var(--fs-ui);
font-weight: 600;
color: var(--fg-strong);
}
.link {
flex: none;
max-width: 50%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding: 0;
border: 0;
background: none;
color: var(--link);
font-size: var(--fs-small);
cursor: pointer;
}
.link:hover {
color: var(--link-hover);
}
.query {
flex: none;
margin-inline: var(--space-3);
border-bottom: 1px solid var(--border-popup);
}
.query:focus-within {
border-bottom-color: var(--focus-ring);
}
.query .commandField {
min-height: 29px;
padding-inline: var(--space-0-5);
}
.rows {
flex: 1 1 auto;
min-height: var(--h-row);
max-height: 600px;
overflow-x: hidden;
}
.section {
display: flex;
align-items: center;
width: 100%;
gap: var(--space-3);
padding: 0;
font-size: var(--fs-small);
color: var(--fg-subtle);
}
.section::after {
content: "";
flex: 1;
height: 1px;
background: var(--border-popup);
}
.row {
display: flex;
align-items: center;
gap: var(--space-2);
min-width: 0;
flex: 1;
}
.rowIcon {
flex: none;
color: var(--fg-muted);
}
.label {
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: pre;
font-family: var(--font-ui);
font-size: var(--fs-ui);
color: var(--fg-emphasis);
}
.activeRow .label {
color: var(--fg-strong);
}
.detail {
flex: 0 1 auto;
min-width: 0;
max-width: min(36%, 26ch);
overflow: hidden;
text-overflow: ellipsis;
margin-left: auto;
color: var(--fg-subtle);
font-size: var(--fs-small);
white-space: nowrap;
}
.activeRow .detail {
color: var(--fg);
}
.empty {
padding: var(--space-1) var(--space-3) var(--space-2);
color: var(--fg-subtle);
font-size: var(--fs-small);
}
.footer {
flex: none;
display: flex;
flex-wrap: wrap;
align-items: center;
gap: var(--space-0-5) var(--space-3);
padding: var(--space-1-5) var(--space-3);
border-top: 1px solid var(--border-popup);
font-size: var(--fs-small);
color: var(--fg-subtle);
}
.navigationHint {
display: inline-flex;
align-items: center;
gap: var(--space-1);
}