mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
Simplify selector
This commit is contained in:
@@ -15,21 +15,7 @@ export default css`
|
||||
--scroll-margin-top: calc(var(--header-height, 0px) + var(--subheader-height, 0px));
|
||||
}
|
||||
|
||||
::slotted(
|
||||
:is(
|
||||
[slot='banner'],
|
||||
[slot='header'],
|
||||
[slot='subheader'],
|
||||
[slot='navigation-header'],
|
||||
[slot='navigation'],
|
||||
[slot='navigation-footer'],
|
||||
[slot='menu'],
|
||||
[slot='main-header'],
|
||||
[slot='main-footer'],
|
||||
[slot='aside'],
|
||||
[slot='footer']
|
||||
)
|
||||
) {
|
||||
slot[name]:not([name='skip-to-content'], [name='navigation-toggle'])::slotted(*) {
|
||||
background-color: var(--wa-color-surface-default);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user