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;
21 background: $nav-link-hover-bg; // Nick
24 // Disabled state lightens text
26 color: $nav-link-disabled-color;
37 border-bottom: $nav-tabs-border-width solid $nav-tabs-border-color;
40 margin-bottom: -$nav-tabs-border-width;
41 border: $nav-tabs-border-width solid transparent;
42 @include border-top-radius($nav-tabs-border-radius);
44 @include hover-focus() {
45 border-color: $nav-tabs-link-hover-border-color;
49 color: $nav-link-disabled-color;
50 background-color: transparent;
51 border-color: transparent;
56 .nav-item.show .nav-link {
57 color: $nav-tabs-link-active-color;
58 background-color: $nav-tabs-link-active-bg;
59 border-color: $nav-tabs-link-active-border-color;
63 // Make dropdown border overlap tab border
64 margin-top: -$nav-tabs-border-width;
65 // Remove the top rounded corners here since there is a hard edge above the menu
66 @include border-top-radius(0);
77 @include border-radius($nav-pills-border-radius);
82 color: $nav-pills-link-active-color;
83 background-color: $nav-pills-link-active-bg;
112 // Hide tabbable panes to start, show them when `.active`