From 6ce25807e7e83e45f7778b553894310a3ff157e4 Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Sun, 27 Dec 2020 21:10:31 +0000 Subject: [PATCH 01/11] Dynamic tabs: use buttons rather than links - change docs - tweak styles to neutralise border and background --- scss/_nav.scss | 3 + site/content/docs/5.0/components/navs-tabs.md | 70 +++++++++---------- 2 files changed, 38 insertions(+), 35 deletions(-) diff --git a/scss/_nav.scss b/scss/_nav.scss index 30c2c819bd5e..7d83a29c70ea 100644 --- a/scss/_nav.scss +++ b/scss/_nav.scss @@ -43,6 +43,7 @@ .nav-link { margin-bottom: -$nav-tabs-border-width; + background: none; border: $nav-tabs-border-width solid transparent; @include border-top-radius($nav-tabs-border-radius); @@ -80,6 +81,8 @@ .nav-pills { .nav-link { + background: none; + border: 0; @include border-radius($nav-pills-border-radius); } diff --git a/site/content/docs/5.0/components/navs-tabs.md b/site/content/docs/5.0/components/navs-tabs.md index 314dd47a6c45..d05a22134057 100644 --- a/site/content/docs/5.0/components/navs-tabs.md +++ b/site/content/docs/5.0/components/navs-tabs.md @@ -315,13 +315,13 @@ Note that dynamic tabbed interfaces should not contain dropdown menus,
@@ -340,13 +340,13 @@ Note that dynamic tabbed interfaces should not contain dropdown menus, ```html
@@ -361,9 +361,9 @@ To help fit your needs, this works with `
    `-based markup, as shown above, or