Skip to content

Commit

Permalink
Add nav link transition (twbs#29988)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartijnCuppens authored and olsza committed Oct 3, 2020
1 parent 8416622 commit 217d90b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions scss/_nav.scss
Expand Up @@ -15,6 +15,7 @@
display: block;
padding: $nav-link-padding-y $nav-link-padding-x;
text-decoration: if($link-decoration == none, null, none);
@include transition($nav-link-transition);

&:hover,
&:focus {
Expand Down
1 change: 1 addition & 0 deletions scss/_variables.scss
Expand Up @@ -803,6 +803,7 @@ $zindex-tooltip: 1070 !default;

$nav-link-padding-y: .5rem !default;
$nav-link-padding-x: 1rem !default;
$nav-link-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out !default;
$nav-link-disabled-color: $gray-600 !default;

$nav-tabs-border-color: $gray-300 !default;
Expand Down

0 comments on commit 217d90b

Please sign in to comment.