assets/scss/1-base/_links.scss in kcc-gem-theme-1.27.7 vs assets/scss/1-base/_links.scss in kcc-gem-theme-1.28.7
- old
+ new
@@ -37,11 +37,15 @@
color: $darker-link;
}
// Rules to override bootstrap 4's "nav-link" color
// =========================================
-.navbar-light .navbar-nav .links__nav-link--color { // Ugly (chain of) selectors needed to overide bootstrap's "nav-link" color:
+.navbar-light .navbar-nav .nav-link.links__nav-link--color:not(.btn-primary) { // Ugly (chain of) selectors needed to overide bootstrap's "nav-link" color:
color: $primary-blue;
+}
+
+.navbar-light .navbar-nav .nav-link.links__nav-link--color.btn-primary {
+ color: $white;
}
.navbar-light .navbar-nav .active>.nav-link {
border-bottom-color: $primary-red;
border-bottom-style: solid;