Files
fpv-rid-workbench/crates/web-ui/workbench/embedded.css
T

63 lines
2.6 KiB
CSS

@import url('/workbench/pagination.css');
body.rid-embedded {
--work-text: #e6f5ff;
--work-muted: #b2cada;
--work-line: #36536a;
--work-panel: #102438;
--work-input: #091a2c;
--glass-surface: #102438;
--glass-solid: #102438;
--mc-accent: #69ccff;
--mc-accent-blue: #1e88ff;
background: #0b1d2e;
}
body.rid-embedded > .workspace-pane {
inset: 0;
background: transparent;
backdrop-filter: none;
}
body.rid-embedded .registry-workspace {
height: 100dvh;
}
body.rid-embedded .rt-list-manager-head button[aria-label="返回工作区"] {
display: none;
}
body.rid-embedded :is(.history-panel, .track-playback-controls, .rx-surface, .registry-group) {
border-color: var(--work-line);
}
body.rid-embedded :is(button, input, select, textarea, summary):focus-visible {
outline: 2px solid #7ddcff;
outline-offset: 2px;
}
/* Archive lists fill the workspace; cards retain their responsive grid width. */
body.rid-embedded[data-screen=archives]:not([data-archive-detail=open]) .registry-workspace {
width:100%; max-width:none; margin-inline:0; box-sizing:border-box;
}
body.rid-embedded[data-screen=archives]:not([data-archive-detail=open]) .registry-workspace .history-panel {
height:100%; min-height:0; border-radius:8px; box-shadow:none;
}
body.rid-embedded[data-screen=archives] .archiveTools { flex-flow:row wrap; align-items:center; gap:10px 12px; margin-bottom:18px; }
body.rid-embedded[data-screen=archives] .archiveTools .history-search { flex:1 1 240px; max-width:520px; margin:0; }
body.rid-embedded[data-screen=archives] .archiveTools #new-registration { width:auto; min-height:40px; }
body.rid-embedded[data-screen=archives] .archiveTools .history-toolbar { margin:0 0 0 auto; gap:8px; }
body.rid-embedded[data-screen=archives] .archiveTools :is(#selection-toggle,#export-toggle) { min-height:40px; }
body.rid-embedded[data-screen=archives] .archive-card { border-radius:8px; padding:16px; }
body.rid-embedded[data-screen=archives] .archive-card .archive-more { flex:none; min-width:28px; }
body.rid-embedded[data-screen=archives][data-archive-detail=open] .archiveTools { flex-direction:column; align-items:stretch; }
body.rid-embedded[data-screen=archives][data-archive-detail=open] .archiveTools .history-search { flex:none; }
body.rid-embedded[data-screen=archives][data-archive-detail=open] .archiveTools .history-toolbar { margin:0; }
@media (max-width: 760px) {
body.rid-embedded .registry-workspace {
height: auto;
min-height: 100dvh;
}
body.rid-embedded .rx-cards {
grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}
body.rid-embedded .rt-list-manager-head {
flex-wrap: wrap;
align-items: flex-start;
}
}