Skip to content
Snippets Groups Projects
Commit f5c43557 authored by Olivia206's avatar Olivia206
Browse files

wip : dropdowns don't use the right variables ?

parent 43bce7ae
No related branches found
No related tags found
No related merge requests found
......@@ -42,6 +42,7 @@ $header-dropdown-transition: $header-transition !default
$header-sticky-enabled: true !default
$header-sticky-background: var(--color-background) !default
$header-sticky-dropdown-background: $header-sticky-background !default
$header-sticky-dropdown-color: $header-dropdown-color !default
$header-sticky-color: $header-color !default
$header-sticky-transition: $header-transition !default
$header-nav-padding-y: pxToRem(20) !default
......
......@@ -13,13 +13,14 @@ header#document-header
width: 100%
.dropdown-menu
transition: background $header-sticky-transition
&.is-sticky, html.has-menu-opened &
&.is-sticky
background: $header-sticky-background
color: $header-sticky-color
.pagefind-ui__toggle
color: $header-sticky-color
.dropdown-menu
background: $header-sticky-dropdown-background
color: $header-sticky-dropdown-color
.menu
a,
a:hover,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment