File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5656 white-space : nowrap ;
5757 }
5858
59- // top-level menu items: uppercase, letterspaced, quiet until hover.
60- // Tighter horizontal padding than the theme's 1rem so the bar reads dense
61- // and deliberate rather than airy.
59+ // top-level menu items: uppercase, letterspaced, legible at rest and
60+ // brighter on hover. Tighter horizontal padding than the theme's 1rem so
61+ // the bar reads dense and deliberate rather than airy.
6262 .p-menubar-root-list > .p-menuitem > .p-menuitem-link {
6363 padding : 0.6rem 0.75rem ;
6464 border-radius : 6px ;
6767 letter-spacing : 0.13em ;
6868 font-size : 0.72rem ;
6969 font-weight : 600 ;
70- color : var ( --zx-muted ) ;
70+ color : #C2BBB0 ;
7171 }
72- .p-menuitem-icon { color : var (--zx-faint ); font-size : 0.8rem ; }
72+ .p-menuitem-icon { color : var (--zx-muted ); font-size : 0.8rem ; }
7373 & :hover .p-menuitem-text ,
7474 & :hover .p-menuitem-icon { color : var (--zx-text ); }
7575 }
7676
77+ // Submenu panels dropping from the bar: match the header tone, round the
78+ // corners to fit the rest of the UI, and shrink items slightly so they
79+ // relate to the bar without touching the (smaller) menu titles.
80+ .p-submenu-list {
81+ background : var (--zx-surface );
82+ border : 1px solid var (--zx-line-2 );
83+ border-radius : 8px ;
84+ padding : 0.25rem ;
85+ .p-menuitem-text { font-size : 0.9rem ; }
86+ }
87+
7788 .zx-deck-end { display : flex ; align-items : center ; gap : 0.5rem ; margin-right : 1rem ; }
7889
7990 // Language picker reads as part of the header: transparent so the bar shows
Original file line number Diff line number Diff line change 110110.p-tabview .p-tabview-nav li .p-tabview-nav-link {
111111 border-bottom-color : transparent ;
112112}
113+
114+ // Dropdown panels: match the header tone (the base theme uses a cooler grey)
115+ // and round the corners to fit the rest of the UI. Items shrink slightly to
116+ // relate to the menu bar.
117+ .p-dropdown-panel {
118+ background : var (--zx-surface );
119+ border : 1px solid var (--zx-line-2 );
120+ border-radius : 8px ;
121+ overflow : hidden ;
122+
123+ .p-dropdown-item { font-size : 0.9rem ; }
124+ }
You can’t perform that action at this time.
0 commit comments