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

Added header dropdown variables

parent 7dfdf72f
No related branches found
No related tags found
No related merge requests found
...@@ -92,6 +92,8 @@ $header-background-color: $main-background-color !default ...@@ -92,6 +92,8 @@ $header-background-color: $main-background-color !default
$header-sticky-enabled: true !default $header-sticky-enabled: true !default
$header-transition: 0.3s !default $header-transition: 0.3s !default
$header-sticky-transition: $header-transition !default $header-sticky-transition: $header-transition !default
$header-dropdown-background: $header-background-color !default
$header-dropdown-color: $header-color !default
$header-dropdown-transition: $header-transition !default $header-dropdown-transition: $header-transition !default
$header-nav-padding-y: $spacing0 !default $header-nav-padding-y: $spacing0 !default
$header-logo-height: 20px !default $header-logo-height: 20px !default
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
span span
font-size: px2rem(18) font-size: px2rem(18)
line-height: px2rem(26) line-height: px2rem(26)
color: $header-color
cursor: pointer cursor: pointer
transition: text-decoration 0.15s transition: text-decoration 0.15s
&:not(:hover) &:not(:hover)
...@@ -50,12 +49,14 @@ ...@@ -50,12 +49,14 @@
.dropdown-menu .dropdown-menu
display: none display: none
background: $header-background-color background: $header-dropdown-background
padding-bottom: $spacing1 padding-bottom: $spacing1
padding-top: $spacing1 padding-top: $spacing1
@include media-breakpoint-up(md) @include media-breakpoint-up(md)
inset: 100% 0 auto 0 inset: 100% 0 auto 0
position: absolute position: absolute
a
color: $header-dropdown-color
.nav-level-1 .nav-level-1
display: flex display: flex
......
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