mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-12-06 19:56:45 +10:30
fix: sidebar glass and compact rail polish
- Compact (icon-only) rail tiles stay rounded for strip/sharp style presets; they follow --bsplus-sidebar-radius like the folder arcs (pill keeps its capsule) - Glass style now fills closed folder rows (no backdrop-filter, which breaks the drill .sub clip on Chromium/Edge); open folders remain transparent - Glass rows use 4px top/bottom margins so the first row no longer hugs the menu top and drill panel headers (8px rhythm preserved)
This commit is contained in:
1 parent
4d8445d7da
commit
d3fc4b0afd
2 files changed
+19
-4
No files matched your search
@@ -722,6 +722,14 @@ body.icon-only-sidebar {
|
||||
}
|
||||
}
|
||||
|
||||
/* Rail tiles follow the user radius even for squared presets (strip/sharp):
|
||||
the compact rail's shape language is the rounded folder arc, so a
|
||||
square active/hover tile there reads as a glitch. Pill keeps its
|
||||
full capsule (it is the "rounder" shape, not the square one). */
|
||||
#menu#menu:not(.bsplus-sidebar-style-pill) > ul > :is(li, section) {
|
||||
border-radius: var(--bsplus-sidebar-radius, 12px) !important;
|
||||
}
|
||||
|
||||
#menu#menu > ul > .hasChildren {
|
||||
position: static !important;
|
||||
backdrop-filter: none !important;
|
||||
|
||||
@@ -90,17 +90,24 @@ $sidebar-motion: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
&.bsplus-sidebar-style-glass {
|
||||
/* Never put backdrop-filter on an open folder — it becomes a clip
|
||||
containing-block and hides `.sub` labels on Chromium/Edge. */
|
||||
/* Never put backdrop-filter on a folder — it becomes a clip
|
||||
containing-block and hides `.sub` labels on Chromium/Edge. Lean rows
|
||||
blur; closed folders keep the translated glass surface without blur;
|
||||
open folders drop the fill entirely so `.sub` stays clip-safe. */
|
||||
#{$item} {
|
||||
&:not(:has(> .sub)) {
|
||||
margin: 0 8px 8px !important;
|
||||
margin: 4px 8px 4px !important;
|
||||
background: rgba(255, 255, 255, 0.1) !important;
|
||||
backdrop-filter: blur(10px);
|
||||
-webkit-backdrop-filter: blur(10px);
|
||||
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
|
||||
}
|
||||
&:has(> .sub) {
|
||||
&:is(li, section).hasChildren:not(:is(.active, .bsplus-active)) {
|
||||
margin: 4px 8px 4px !important;
|
||||
background: rgba(255, 255, 255, 0.1) !important;
|
||||
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
|
||||
}
|
||||
&:has(> .sub):is(.active, .bsplus-active) {
|
||||
background: transparent !important;
|
||||
backdrop-filter: none !important;
|
||||
-webkit-backdrop-filter: none !important;
|
||||
|
||||
Reference in new issue
Block a user