assets/stylesheets/patternfly/_navbar-alt.scss in patternfly-sass-2.6.0 vs assets/stylesheets/patternfly/_navbar-alt.scss in patternfly-sass-2.7.0
- old
+ new
@@ -34,14 +34,18 @@
line-height: 1;
max-height: ($navbar-pf-alt-height - $navbar-pf-alt-border-width); // to keep Firefox from oversizing icons
padding: $navbar-pf-alt-nav-item-iconic-padding;
position: relative;
- &:hover, &:focus {
+ &:hover,
+ &:focus {
background-color: transparent;
- .caret, .fa, .glyphicon, .pf-icon {
+ .caret,
+ .fa,
+ .glyphicon,
+ .pf-icon {
color: $navbar-pf-alt-active-color;
}
}
.badge {
@@ -54,11 +58,13 @@
margin: 0 0 -11px -12px;
min-width: 0;
padding: 2px 4px;
}
- .caret, .fa, .pf-icon {
+ .caret,
+ .fa,
+ .pf-icon {
color: $navbar-pf-alt-color;
font-size: $font-size-base + 4;
}
.caret {
@@ -67,14 +73,18 @@
}
}
.open > .nav-item-iconic {
- &, &:hover, &:focus {
+ &,
+ &:hover,
+ &:focus {
background: transparent;
- .caret, .fa, .pf-icon {
+ .caret,
+ .fa,
+ .pf-icon {
color: $navbar-pf-alt-active-color;
}
}
}
}
@@ -109,11 +119,12 @@
border: 0;
display: block;
float: left;
margin: $navbar-pf-alt-navbar-toggle-margin;
- &:hover, &:focus {
+ &:hover,
+ &:focus {
.icon-bar {
background: $navbar-pf-alt-navbar-toggle-icon-bar-hover-bg;
}
}
@@ -123,6 +134,6 @@
.icon-bar {
background: $navbar-pf-alt-color;
}
}
-}
\ No newline at end of file
+}