From: Kevin Ball Date: Thu, 1 Jun 2017 17:03:25 +0000 (-0700) Subject: The new menu stylings highlights that the current docs nav is using the menu class... X-Git-Tag: v6.4.0-rc1~10^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10100%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git The new menu stylings highlights that the current docs nav is using the menu class incorrectly, and it causes conflicts. Update to resolve --- diff --git a/docs/assets/scss/_component-list.scss b/docs/assets/scss/_component-list.scss index 371963c71..0e45b9577 100644 --- a/docs/assets/scss/_component-list.scss +++ b/docs/assets/scss/_component-list.scss @@ -1,9 +1,9 @@ -.docs-nav.menu { +.docs-nav { padding-top: 1rem; border-right: 1px solid #efefef; } -.menu .docs-nav-category { +.docs-nav .docs-nav-category { background: none; .accordion-title { @@ -42,15 +42,15 @@ } } -.docs-nav.menu a:hover { +.docs-nav a:hover { background: none; } -.docs-nav.menu a:focus { +.docs-nav a:focus { background: none; } -.docs-nav.menu .current a { +.docs-nav .current a { background: none; color: $primary-color; } @@ -64,7 +64,6 @@ } li a { - font-size: 1rem; color: #717171; line-height: 1.5; transition: color 0.3s ease; diff --git a/docs/assets/scss/docs.scss b/docs/assets/scss/docs.scss index 64f6ca672..938572659 100644 --- a/docs/assets/scss/docs.scss +++ b/docs/assets/scss/docs.scss @@ -327,7 +327,7 @@ $global-nav-hover-color: lighten($global-nav-bg, 10%); background: url("../img/icons/youtube.png") no-repeat center 0; } -.menu li.docs-nav-version { +.docs-nav li.docs-nav-version { display: flex; align-items: center; @@ -423,7 +423,7 @@ a[data-open-video] { position: relative; } -.docs-nav.menu { +.docs-nav { .docs-expand-all { font-size: 0.6rem; position: absolute; diff --git a/docs/partials/component-list.html b/docs/partials/component-list.html index 3beaa21ef..582334be9 100644 --- a/docs/partials/component-list.html +++ b/docs/partials/component-list.html @@ -1,4 +1,4 @@ -