From: RafiBomb Date: Thu, 28 Jul 2016 22:18:29 +0000 (-0700) Subject: updates topbar links and colors X-Git-Tag: v2.3.0~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d6cfa47154af7e56f4bfccecb6eb74c0c13d9d6;p=thirdparty%2Ffoundation%2Ffoundation-emails.git updates topbar links and colors --- diff --git a/docs/assets/scss/docs.scss b/docs/assets/scss/docs.scss index 7dc58112..62a30f45 100644 --- a/docs/assets/scss/docs.scss +++ b/docs/assets/scss/docs.scss @@ -1,4 +1,5 @@ -// The CSS for the Foundation docs is stored in an external codebase: +$topbar-background: #2c3840; +$topbar-hover-color: lighten($topbar-background, 10%);// The CSS for the Foundation docs is stored in an external codebase: // https://github.com/zurb/foundation-docs // // You can test Sass changes locally by running these commands: @@ -27,6 +28,9 @@ $foundation-palette: ( @import 'compatibility'; @import 'course-callout'; +$topbar-background: #2c3840; +$topbar-hover-color: lighten($topbar-background, 10%); + .dropdown.menu > li.is-dropdown-submenu-parent > a { padding-right: 1rem; } @@ -50,5 +54,43 @@ $foundation-palette: ( .marketing-topbar, .title-bar { - background: #2c3840; + background: $topbar-background; + + .dropdown.menu a { + background: $topbar-background; + } + + .title { + background: $topbar-background; + } +} + +.dropdown.menu a.button { + background: $primary-color; + + &:hover { + background: darken($primary-color, 10%); + } +} + +.is-dropdown-submenu-item a { + &:hover { + background: $topbar-hover-color; + } +} + +.marketing-topbar .menu a:hover:not(.button), +.marketing-topbar .menu a:focus { + background: $topbar-hover-color; +} + +.marketing-topbar .menu .topbar-title a { + &:hover, + &:focus { + background: $topbar-background; + } +} + +.zurb-footer-bottom { + background: $topbar-background; } \ No newline at end of file diff --git a/docs/partials/navigation.html b/docs/partials/navigation.html index 58a1d947..413b4e59 100644 --- a/docs/partials/navigation.html +++ b/docs/partials/navigation.html @@ -7,13 +7,14 @@ -
  • Upload
  • +
  • + Tutorials + +
  • Get Involved