Файли
openidea/src/features/agents/MemoryPage.module.css
T
l0ng-ai e38599b82b fix(agents): restore the Install Skill dialog and memory picker styles (#7851)
The Settings > Agents redesign dropped the SkillsPage.module.css rules the Install Skill dialog uses and the MemoryPage.module.css rules of the memory picker's auto rows, and used an undeclared --space-2-5 (so those gaps were 0). The rules come back, the gaps are 10px, and Language smoke's paths follow the dialog's app icon to src/assets/openidea-logo.png. Fixes cssModules, customProperties and smoke-paths tests on main.
2026-12-03 23:27:39 +08:00

175 рядки
3.0 KiB
CSS

.filterSelect {
flex: 1 1 120px;
min-width: 0;
}
.policyStrip {
display: flex;
flex-direction: column;
gap: var(--space-1-5);
}
.policyTop {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: var(--space-2);
}
.policyTitleGroup {
display: inline-flex;
align-items: center;
gap: var(--space-1-5);
}
.policyTitle {
font-weight: 600;
color: var(--fg-strong);
font-size: var(--fs-ui);
}
.providerChips {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: var(--space-1-5);
}
.providerChip {
display: inline-flex;
align-items: center;
gap: var(--space-1);
height: 22px;
padding: 0 7px;
border-radius: var(--radius-toolbar-button);
background: var(--bg-control);
box-shadow: inset 0 0 0 1px var(--border);
font-size: var(--fs-tiny);
color: var(--fg-secondary);
}
.resetInline {
padding: 0 2px;
border: 0;
background: none;
color: var(--link);
font: inherit;
cursor: default;
}
.resetInline:hover {
text-decoration: underline;
}
.nativeHint {
display: inline-flex;
align-items: center;
gap: var(--space-1);
color: var(--fg-muted);
font-size: var(--fs-small);
}
.modeSelect {
min-width: 112px;
}
.dialogBody {
display: flex;
flex-direction: column;
gap: 10px;
padding: 12px 16px;
min-width: min(480px, 84vw);
}
.fieldRow {
display: flex;
gap: var(--space-2);
flex-wrap: wrap;
}
.field {
flex: 1 1 180px;
display: flex;
flex-direction: column;
gap: var(--space-1);
min-width: 0;
}
.fieldLabel {
color: var(--fg-secondary);
font-size: var(--fs-small);
font-weight: 600;
}
.textarea {
width: 100%;
min-height: 140px;
padding: 8px;
box-sizing: border-box;
border: 0;
border-radius: var(--radius-control);
background: var(--bg-input, var(--bg-app));
box-shadow: inset 0 0 0 1px var(--border-button);
color: var(--fg);
font-family: var(--font-mono);
font-size: var(--fs-small);
line-height: 1.45;
resize: vertical;
}
.textarea:focus {
outline: none;
box-shadow:
inset 0 0 0 1px var(--accent),
0 0 0 1px var(--accent);
}
.errorBox {
display: flex;
align-items: flex-start;
gap: var(--space-1-5);
padding: 6px 8px;
border-radius: var(--radius-control);
background: var(--bg-feedback-error);
box-shadow: inset 0 0 0 1px var(--border-feedback-error);
color: var(--fg);
font-size: var(--fs-small);
}
.errorBox > svg {
flex: none;
margin-top: 2px;
color: var(--danger);
}
/* Auto-memory rows of the memory picker (MemoryPicker.tsx). */
.autoRow {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--space-2);
padding: 6px 10px 7px 12px;
border-bottom: 1px solid var(--border);
background: var(--bg-elev);
}
.autoInfo {
display: flex;
flex-direction: column;
gap: 1px;
min-width: 0;
flex: 1;
}
.autoTitle {
display: flex;
align-items: center;
gap: var(--space-1);
font-weight: 600;
color: var(--fg-strong);
font-size: var(--fs-ui);
}
.autoSub {
color: var(--fg-muted);
font-size: var(--fs-tiny);
}