diff --git a/app/views/shared/layout/partials/navigation/mobileheader/mobileheader.nunjucks b/app/views/shared/layout/partials/navigation/mobileheader/mobileheader.nunjucks index c3363f9a89..856b108162 100644 --- a/app/views/shared/layout/partials/navigation/mobileheader/mobileheader.nunjucks +++ b/app/views/shared/layout/partials/navigation/mobileheader/mobileheader.nunjucks @@ -2,8 +2,10 @@
@@ -15,8 +17,9 @@
--> diff --git a/app/views/shared/layout/partials/navigation/mobileheader/mobileheader.styl b/app/views/shared/layout/partials/navigation/mobileheader/mobileheader.styl index 5d01df62d9..e4257d3459 100644 --- a/app/views/shared/layout/partials/navigation/mobileheader/mobileheader.styl +++ b/app/views/shared/layout/partials/navigation/mobileheader/mobileheader.styl @@ -1,9 +1,13 @@ .site-header { siteHeaderBar() a { + height ($navBar_height - $navBar_borderWidth) text-decoration none color inherit menuTextShadow() + display inline-block + width 4rem + relative() } .site-header__mobile-options { @@ -14,11 +18,53 @@ float right > div { float right + height ($navBar_height - $navBar_borderWidth) } } } + .site-header__mobile__icon { + position absolute + font-size 28px + width 4rem + display block + text-align center + overflow hidden + top 6px + height 28px + line-height 28px + } + .site-header__mobile__text { + position absolute + bottom 4px + width 4rem + display block + text-align center + } + &__menu-toggle { + .gb-icon-close { + display none + } + } } -.is-active.site-header__search-toggle:before, .site-header.is-active .site-header__menu-toggle:before { - content $icon-string-close_L -} \ No newline at end of file + +.is-active .site-header__menu-toggle { + .gb-icon-logo { + display none + } + .gb-icon-close { + display block + } +} + +.site-header__search-toggle, .site-header__menu-toggle { + transition background-color 200ms ease +} +.is-active .site-header__menu-toggle, .site-header__menu-toggle:hover, .site-header__search-toggle:hover, .is-active.site-header__search-toggle { + background-color #85a26c +} + +//.is-active.site-header__search-toggle:before, .site-header.is-active .site-header__menu-toggle:before { +// content $icon-string-close_L +//} + diff --git a/app/views/shared/layout/partials/navigation/navigation.nunjucks b/app/views/shared/layout/partials/navigation/navigation.nunjucks index 7d818c02e7..d21e3a05ca 100644 --- a/app/views/shared/layout/partials/navigation/navigation.nunjucks +++ b/app/views/shared/layout/partials/navigation/navigation.nunjucks @@ -17,12 +17,18 @@ {% if not _meta.hideSearchAction %} {% endif %}
  • - Feedback + + + Feedback + 1
  • @@ -76,13 +82,18 @@