Skip to content

Commit

Permalink
fix(menu): colored active items were not displayed colored
Browse files Browse the repository at this point in the history
Colored active items in colored menus were not displayed colored because of too low specificity
  • Loading branch information
lubber-de authored Feb 15, 2020
1 parent 2538a8e commit 03e9d7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/definitions/collections/menu.less
Original file line number Diff line number Diff line change
Expand Up @@ -1343,7 +1343,7 @@ each(@colors, {
@c: @colors[@@color][color];

& when not (@color=secondary) {
.ui.ui.menu .@{color}.active.item,
.ui.ui.ui.menu .@{color}.active.item,
.ui.ui.@{color}.menu .active.item:hover,
.ui.ui.@{color}.menu .active.item {
& when not (@secondaryPointingActiveBorderColor = currentColor) {
Expand Down Expand Up @@ -1485,7 +1485,7 @@ each(@colors, {
@h: @colors[@@color][hover];

& when not (@color=secondary) {
.ui.ui.inverted.menu .@{color}.active.item,
.ui.ui.ui.inverted.menu .@{color}.active.item,
.ui.ui.inverted.@{color}.menu {
background-color: @c;
}
Expand Down

0 comments on commit 03e9d7f

Please sign in to comment.