Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
a85d80c9
Unverified
Commit
a85d80c9
authored
4 years ago
by
Martijn Cuppens
Committed by
GitHub
4 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Add nav link transition (#29988)
parent
4bcac68e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scss/_nav.scss
+1
-0
scss/_nav.scss
scss/_variables.scss
+1
-0
scss/_variables.scss
with
2 additions
and
0 deletions
+2
-0
scss/_nav.scss
+
1
-
0
View file @
a85d80c9
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
display
:
block
;
display
:
block
;
padding
:
$nav-link-padding-y
$nav-link-padding-x
;
padding
:
$nav-link-padding-y
$nav-link-padding-x
;
text-decoration
:
if
(
$link-decoration
==
none
,
null
,
none
);
text-decoration
:
if
(
$link-decoration
==
none
,
null
,
none
);
@include
transition
(
$nav-link-transition
);
&
:hover
,
&
:hover
,
&
:focus
{
&
:focus
{
...
...
This diff is collapsed.
Click to expand it.
scss/_variables.scss
+
1
-
0
View file @
a85d80c9
...
@@ -803,6 +803,7 @@ $zindex-tooltip: 1070 !default;
...
@@ -803,6 +803,7 @@ $zindex-tooltip: 1070 !default;
$nav-link-padding-y
:
.5rem
!
default
;
$nav-link-padding-y
:
.5rem
!
default
;
$nav-link-padding-x
:
1rem
!
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-link-disabled-color
:
$gray-600
!
default
;
$nav-tabs-border-color
:
$gray-300
!
default
;
$nav-tabs-border-color
:
$gray-300
!
default
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment