feat(host): show-hidden toggle in the directory browser footer

This commit is contained in:
creatixchu
2026-07-29 12:52:59 +08:00
parent 75b32f7d76
commit cdcdd2221e
5 changed files with 67 additions and 4 deletions

View File

@@ -242,6 +242,32 @@
border-top: 1px solid var(--dsw-alias-border-l3);
}
/* Show-hidden toggle: a subtle text button in the footer, left of the gap. */
.showHiddenToggle {
border: none;
background: transparent;
padding: 0;
font-size: 13px;
line-height: 20px;
font-weight: 500;
color: var(--dsw-alias-label-secondary);
cursor: pointer;
white-space: nowrap;
}
.showHiddenToggle:hover {
color: var(--dsw-alias-label-primary);
}
.showHiddenToggle:disabled {
color: var(--dsw-alias-label-caption);
cursor: default;
}
.showHiddenToggleActive {
color: var(--dsw-alias-label-primary);
}
.footerGap {
flex: 1 1 0;
}