Browse Source

Fix inverted text menu, fix active font weight

pull/2034/head
jlukic 9 years ago
parent
commit
3e19a5ad07
2 changed files with 4 additions and 3 deletions
  1. 5
      src/definitions/collections/menu.less
  2. 2
      src/themes/default/collections/menu.variables

5
src/definitions/collections/menu.less

@ -746,11 +746,12 @@ Floated Menu / Item
.ui.secondary.inverted.menu .dropdown.item:hover, .ui.secondary.inverted.menu .dropdown.item:hover,
.ui.secondary.inverted.menu .link.item:hover, .ui.secondary.inverted.menu .link.item:hover,
.ui.secondary.inverted.menu a.item:hover { .ui.secondary.inverted.menu a.item:hover {
background-color: @secondaryInvertedHoverBackground;
color: @secondaryInvertedHoverColor !important; color: @secondaryInvertedHoverColor !important;
} }
.ui.secondary.inverted.menu .active.item { .ui.secondary.inverted.menu .active.item {
color: @secondaryInvertedActiveColor !important;
background-color: @secondaryInvertedActiveBackground; background-color: @secondaryInvertedActiveBackground;
color: @secondaryInvertedActiveColor !important;
} }
/* Disable variations */ /* Disable variations */
@ -1012,7 +1013,7 @@ Floated Menu / Item
.ui.inverted.text.menu .item, .ui.inverted.text.menu .item,
.ui.inverted.text.menu .item:hover, .ui.inverted.text.menu .item:hover,
.ui.inverted.text.menu .item.active { .ui.inverted.text.menu .item.active {
background-color: transparent;
background-color: transparent !important;
} }
/* Fluid */ /* Fluid */

2
src/themes/default/collections/menu.variables

@ -175,7 +175,7 @@
/* Active Item */ /* Active Item */
@activeItemBackground: @subtleTransparentBlack; @activeItemBackground: @subtleTransparentBlack;
@activeItemTextColor: @selectedTextColor; @activeItemTextColor: @selectedTextColor;
@activeItemFontWeight: bold;
@activeItemFontWeight: normal;
@activeIconOpacity: 1; @activeIconOpacity: 1;
@activeItemBoxShadow: none; @activeItemBoxShadow: none;

Loading…
Cancel
Save