diff options
Diffstat (limited to 'vendor/twbs/bootstrap/scss/_nav.scss')
-rw-r--r-- | vendor/twbs/bootstrap/scss/_nav.scss | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/vendor/twbs/bootstrap/scss/_nav.scss b/vendor/twbs/bootstrap/scss/_nav.scss index e5519b3a4..d866c9841 100644 --- a/vendor/twbs/bootstrap/scss/_nav.scss +++ b/vendor/twbs/bootstrap/scss/_nav.scss @@ -1,7 +1,7 @@ // Base class // // Kickstart any navigation component with a set of style resets. Works with -// `<nav>`s or `<ul>`s. +// `<nav>`s, `<ul>`s or `<ol>`s. .nav { display: flex; @@ -14,8 +14,9 @@ .nav-link { display: block; padding: $nav-link-padding-y $nav-link-padding-x; + text-decoration: if($link-decoration == none, null, none); - @include hover-focus { + @include hover-focus() { text-decoration: none; } @@ -42,7 +43,7 @@ border: $nav-tabs-border-width solid transparent; @include border-top-radius($nav-tabs-border-radius); - @include hover-focus { + @include hover-focus() { border-color: $nav-tabs-link-hover-border-color; } @@ -91,6 +92,7 @@ // .nav-fill { + > .nav-link, .nav-item { flex: 1 1 auto; text-align: center; @@ -98,6 +100,7 @@ } .nav-justified { + > .nav-link, .nav-item { flex-basis: 0; flex-grow: 1; |