diff options
| author | Mark Otto <[email protected]> | 2016-01-06 15:45:26 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2016-01-06 15:45:26 -0800 |
| commit | 93dda63b395ec20d491e9b2203cde5937a6d40f4 (patch) | |
| tree | 5875c29a3a3e34defce3a16a8eb5476bdadaecff /scss/_nav.scss | |
| parent | 7668a66bbe60901425404150b811df8109e12b26 (diff) | |
| download | bootstrap-93dda63b395ec20d491e9b2203cde5937a6d40f4.tar.xz bootstrap-93dda63b395ec20d491e9b2203cde5937a6d40f4.zip | |
Revamp tabbed nav border variables
- Add new $nav-tabs-border-width for the bottom border on the .nav-tabs
parent class
- Use that new variable for the negative margin on nav-items within it
for consistent customization
- Drop the $nav-tabs-link-border-width for the new variable so it’s all
tied together
Diffstat (limited to 'scss/_nav.scss')
| -rw-r--r-- | scss/_nav.scss | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scss/_nav.scss b/scss/_nav.scss index 398ee1039..2c5f5b4c6 100644 --- a/scss/_nav.scss +++ b/scss/_nav.scss @@ -48,13 +48,13 @@ // .nav-tabs { - border-bottom: 1px solid $nav-tabs-border-color; + border-bottom: $nav-tabs-border-width solid $nav-tabs-border-color; @include clearfix(); .nav-item { float: left; // Make the list-items overlay the bottom border - margin-bottom: -1px; + margin-bottom: -$nav-tabs-border-width; + .nav-item { margin-left: $nav-item-margin; @@ -64,7 +64,7 @@ .nav-link { display: block; padding: $nav-link-padding; - border: $nav-tabs-link-border-width solid transparent; + border: $nav-tabs-border-width solid transparent; @include border-radius($border-radius $border-radius 0 0); @include hover-focus { |
