]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Use `$white` variable for `.navbar-dark`'s color. (#24309)
authorXhmikosR <xhmikosr@gmail.com>
Tue, 10 Oct 2017 05:58:35 +0000 (08:58 +0300)
committerGitHub <noreply@github.com>
Tue, 10 Oct 2017 05:58:35 +0000 (08:58 +0300)
Using `rgba($white,1)` results in `white` instead of the hex.

scss/_variables.scss

index 862f965f74938fdc59bd2b3587532f05a9a1ffc0..1808e4bd94d19d0d2d1dd8c1ca8977e43ac3aef0 100644 (file)
@@ -541,7 +541,7 @@ $navbar-toggler-border-radius:      $btn-border-radius !default;
 
 $navbar-dark-color:                 rgba($white,.5) !default;
 $navbar-dark-hover-color:           rgba($white,.75) !default;
-$navbar-dark-active-color:          rgba($white,1) !default;
+$navbar-dark-active-color:          $white !default;
 $navbar-dark-disabled-color:        rgba($white,.25) !default;
 $navbar-dark-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-dark-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"), "#", "%23") !default;
 $navbar-dark-toggler-border-color:  rgba($white,.1) !default;