Файли
openidea/src/features/web/Web.module.css
T
l0ng-ai f5abe8b509 fix(web): style the open-file confirmation with declared tokens (#7896)
The /api/file confirmation read --bg-surface, which no theme declares (customProperties.test.ts failed on main), and used fixed sizes; it now uses --bg-input and the spacing, radius and font-size tokens.
2026-12-04 08:32:26 +08:00

54 рядки
966 B
CSS

.split {
flex: 1;
min-height: 0;
min-width: 0;
display: flex;
}
.editor {
flex: 1 1 50%;
min-width: 0;
display: flex;
flex-direction: column;
position: relative;
}
.withPreview .editor {
border-right: 1px solid var(--border-editor-tabs, var(--border));
}
.actions {
display: flex;
align-items: center;
}
.browserBar {
top: var(--floating-toolbar-browser-top);
}
.preview {
flex: 1 1 50%;
min-width: 0;
border: 0;
background: var(--bg-editor, var(--bg-app));
}
.message {
padding: 16px;
color: var(--fg-muted);
font-family: var(--font-ui);
}
.confirmBody {
display: flex;
flex-direction: column;
gap: var(--space-2);
font-size: var(--fs-ui);
line-height: 1.5;
}
.confirmPath {
padding: var(--space-1-5) var(--space-2);
border-radius: var(--radius-small);
background: var(--bg-input);
border: 1px solid var(--border);
font-family: var(--font-mono);
font-size: var(--fs-code);
word-break: break-all;
}