3 // Kickstart any navigation component with a set of style resets. Works with
4 // `<nav>`s, `<ul>`s or `<ol>`s.
16 padding: $nav-link-padding-y $nav-link-padding-x;
17 text-decoration: if($link-decoration == none, null, none);
19 @include hover-focus() {
20 text-decoration: none;
23 // Disabled state lightens text
25 color: $nav-link-disabled-color;
36 border-bottom: $nav-tabs-border-width solid $nav-tabs-border-color;
39 margin-bottom: -$nav-tabs-border-width;
43 border: $nav-tabs-border-width solid transparent;
44 @include border-top-radius($nav-tabs-border-radius);
46 @include hover-focus() {
47 border-color: $nav-tabs-link-hover-border-color;
51 color: $nav-link-disabled-color;
52 background-color: transparent;
53 border-color: transparent;
58 .nav-item.show .nav-link {
59 color: $nav-tabs-link-active-color;
60 background-color: $nav-tabs-link-active-bg;
61 border-color: $nav-tabs-link-active-border-color;
65 // Make dropdown border overlap tab border
66 margin-top: -$nav-tabs-border-width;
67 // Remove the top rounded corners here since there is a hard edge above the menu
68 @include border-top-radius(0);
79 @include border-radius($nav-pills-border-radius);
84 color: $nav-pills-link-active-color;
85 background-color: $nav-pills-link-active-bg;
114 // Hide tabbable panes to start, show them when `.active`