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
ed3c6119
Commit
ed3c6119
authored
6 years ago
by
Andres Galante
Committed by
XhmikosR
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
creates variables for navbar brand colors
#27187
parent
6e2a823a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scss/_navbar.scss
+4
-4
scss/_navbar.scss
scss/_variables.scss
+5
-0
scss/_variables.scss
with
9 additions
and
4 deletions
+9
-4
scss/_navbar.scss
+
4
-
4
View file @
ed3c6119
...
...
@@ -197,10 +197,10 @@
// Dark links against a light background
.navbar-light
{
.navbar-brand
{
color
:
$navbar-light-
active
-color
;
color
:
$navbar-light-
brand
-color
;
@include
hover-focus
{
color
:
$navbar-light-
acti
ve-color
;
color
:
$navbar-light-
brand-ho
ve
r
-color
;
}
}
...
...
@@ -249,10 +249,10 @@
// White links against a dark background
.navbar-dark
{
.navbar-brand
{
color
:
$navbar-dark-
active
-color
;
color
:
$navbar-dark-
brand
-color
;
@include
hover-focus
{
color
:
$navbar-dark-
acti
ve-color
;
color
:
$navbar-dark-
brand-ho
ve
r
-color
;
}
}
...
...
This diff is collapsed.
Click to expand it.
scss/_variables.scss
+
5
-
0
View file @
ed3c6119
...
...
@@ -686,6 +686,11 @@ $navbar-light-disabled-color: rgba($black, .3) !default;
$navbar-light-toggler-icon-bg
:
str-replace
(
url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='
#{
$navbar-light-color
}
' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E")
,
"#"
,
"%23"
)
!
default
;
$navbar-light-toggler-border-color
:
rgba
(
$black
,
.1
)
!
default
;
$navbar-light-brand-color
:
$navbar-light-active-color
!
default
;
$navbar-light-brand-hover-color
:
$navbar-light-active-color
!
default
;
$navbar-dark-brand-color
:
$navbar-dark-active-color
!
default
;
$navbar-dark-brand-hover-color
:
$navbar-dark-active-color
!
default
;
// Pagination
...
...
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