refactor: establish standalone application boundary

This commit is contained in:
leefer
2026-08-03 21:42:25 +08:00
parent cc5fb8d73e
commit e1e76cd51e
324 changed files with 63090 additions and 44743 deletions
@@ -0,0 +1,226 @@
/* Canonical CSS owner: navigation. Historical layers consolidated 2026-08-02. */
.segment:last-child {
border-right: 0px;
}
@media (max-width: 860px) {
.toolbar-controls {
width: 100%;
flex-wrap: wrap;
}
}
@media (max-width: 520px) {
.segmented {
width: 100%;
}
.segment {
min-width: 0px;
flex: 1 1 0%;
}
}
@media (max-width: 720px) {
.toolbar-controls {
width: 100%;
align-items: stretch;
flex-wrap: wrap;
}
.segmented {
min-height: 42px;
}
.segment {
min-height: 40px;
padding: 0px 10px;
}
}
.toolbar-controls {
display: flex;
margin-left: auto;
gap: 7px;
}
.segmented {
height: 34px;
display: flex;
overflow: hidden;
min-height: 36px;
padding: 2px;
border: 0px;
border-radius: 7px;
background: rgb(236, 239, 244);
}
.segment {
background: var(--surface);
cursor: pointer;
white-space: nowrap;
min-height: 28px;
padding: 0px 10px;
border: 0px;
border-radius: 5px;
color: var(--text-secondary);
font-size: 11.5px;
}
.segment.active {
background: var(--surface-raised);
color: var(--text-primary);
box-shadow: rgba(16, 24, 40, 0.09) 0px 1px 2px;
}
.redesigned-page-head .toolbar-controls {
margin-left: auto;
}
.redesigned-page-head .segmented {
min-height: 28px;
display: inline-flex;
gap: 2px;
padding: 2px;
border: 0px;
border-radius: 8px;
background: rgb(243, 244, 246);
}
.redesigned-page-head .segment {
min-height: 24px;
padding: 4px 12px;
border: 0px;
border-radius: 6px;
background: transparent;
color: var(--r2-sub);
font-size: 12px;
}
.redesigned-page-head .segment.active {
background: rgb(255, 255, 255);
color: var(--r2-ink);
font-weight: 600;
box-shadow: rgba(0, 0, 0, 0.08) 0px 1px 2px;
}
@media (max-width: 720px), (max-width: 1023px) and (max-height: 600px) {
.redesigned-page-head .toolbar-controls {
width: 100%;
margin-left: 0px;
justify-content: space-between;
}
}
.tabs {
display: flex;
align-items: center;
gap: 2px;
border-bottom: 1px solid var(--line-soft);
padding: 0px 14px;
}
.tabs .tab {
padding: 10px 14px;
font-size: 13px;
color: var(--sub);
border-bottom: 2px solid transparent;
margin-bottom: -1px;
font-weight: 500;
}
.tabs .tab .n {
font-size: 11px;
color: var(--faint);
margin-left: 3px;
font-weight: 400;
}
.tabs .tab.active {
color: var(--blue);
border-bottom-color: var(--blue);
font-weight: 600;
}
.tabs .tab.active .n {
color: var(--blue);
}
.seg {
display: inline-flex;
background: rgb(243, 244, 246);
border-radius: 8px;
padding: 2px;
gap: 2px;
}
@media (min-width: 521px) {
.segment {
min-width: 52px;
}
}
@media (min-width: 721px) {
.toolbar-controls {
align-items: center;
}
}