vendor/assets/stylesheets/components/_navbar.scss in active_frontend-15.0.23 vs vendor/assets/stylesheets/components/_navbar.scss in active_frontend-15.1.0
- old
+ new
@@ -25,21 +25,23 @@
font-weight: text-weight(semibold);
text-align: center;
vertical-align: middle;
width: 1%;
- &:hover,
- &.active,
- &:active,
- &:focus { color: color(primary); }
-
- &.primary {
+ @if ($pseudo-elements) {
&:hover,
&.active,
&:active,
- &:focus {
- background: darkish-color(primary);
- color: color(white);
+ &:focus { color: color(primary); }
+
+ &.primary {
+ &:hover,
+ &.active,
+ &:active,
+ &:focus {
+ background: darkish-color(primary);
+ color: color(white);
+ }
}
}
> i {
font-size: text-size(l);