Skip to content
Snippets Groups Projects
Unverified Commit 74e448ce authored by Olivia Simonet's avatar Olivia Simonet Committed by GitHub
Browse files

Gestions des couleurs de fonds des dropdown sur mobile (#536)

parent f5c43557
No related branches found
No related tags found
Loading
......@@ -13,22 +13,23 @@ header#document-header
width: 100%
.dropdown-menu
transition: background $header-sticky-transition
&.is-sticky
&.is-sticky, html.has-menu-opened &
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,
a:focus,
a:active
color: inherit
a:active,
span
color: $header-sticky-color
color: inherit
&.is-sticky
.pagefind-ui__toggle
color: $header-sticky-color
@include media-breakpoint-up(desktop)
.dropdown-menu
background: $header-sticky-dropdown-background
color: $header-sticky-dropdown-color
@if $header-sticky-invert-logo
.logo
img, .logo-text
......
......@@ -41,10 +41,10 @@
.dropdown-menu
display: none
background: $header-dropdown-background
@include media-breakpoint-down(desktop)
padding-bottom: $spacing-3
@include media-breakpoint-up(desktop)
background: $header-dropdown-background
padding: $spacing-3
position: absolute
max-height: calc(100vh - var(--header-height))
......
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