Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
1c91f482
Commit
1c91f482
authored
6 years ago
by
Martijn Cuppens
Committed by
XhmikosR
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Variable darken percentage for emphasized links
parent
ff40e003
2 merge requests
!28721
Hot test
,
!27561
Adds font-weight-medium to font weight classes
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scss/_variables.scss
+6
-5
scss/_variables.scss
scss/mixins/_text-emphasis.scss
+1
-1
scss/mixins/_text-emphasis.scss
with
7 additions
and
6 deletions
+7
-6
scss/_variables.scss
+
6
-
5
View file @
1c91f482
...
...
@@ -166,11 +166,12 @@ $body-color: $gray-900 !default;
//
// Style anchor elements.
$link-color
:
$primary
!
default
;
$link-decoration
:
none
!
default
;
$link-hover-color
:
darken
(
$link-color
,
15%
)
!
default
;
$link-hover-decoration
:
underline
!
default
;
$link-color
:
$primary
!
default
;
$link-decoration
:
none
!
default
;
$link-hover-color
:
darken
(
$link-color
,
15%
)
!
default
;
$link-hover-decoration
:
underline
!
default
;
// Darken percentage for links with `.text-*` class (e.g. `.text-success`)
$emphasized-link-hover-darken-percentage
:
15%
!
default
;
// Paragraphs
//
...
...
This diff is collapsed.
Click to expand it.
scss/mixins/_text-emphasis.scss
+
1
-
1
View file @
1c91f482
...
...
@@ -8,7 +8,7 @@
}
a
#{
$parent
}
{
@include
hover-focus
{
color
:
darken
(
$color
,
10%
)
!
important
;
color
:
darken
(
$color
,
$emphasized-link-hover-darken-percentage
)
!
important
;
}
}
}
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
Menu
Explore
Projects
Groups
Snippets