Browse Source

Fix vertical arrow flicker

pull/2300/head
jlukic 9 years ago
parent
commit
a80a32d5aa
1 changed files with 10 additions and 7 deletions
  1. 17
      src/definitions/collections/menu.less

17
src/definitions/collections/menu.less

@ -1330,7 +1330,7 @@ Floated Menu / Item
background-color: @blue; background-color: @blue;
} }
.ui.inverted.blue.menu .active.item, .ui.inverted.blue.menu .active.item,
.ui.inverted.blue.pointing.menu .active.item:after {
.ui.inverted.blue.pointing.menu .item:after {
background-color: @blueActive !important; background-color: @blueActive !important;
} }
/* Green */ /* Green */
@ -1338,7 +1338,7 @@ Floated Menu / Item
background-color: @green; background-color: @green;
} }
.ui.inverted.green.menu .active.item, .ui.inverted.green.menu .active.item,
.ui.inverted.green.pointing.menu .active.item:after {
.ui.inverted.green.pointing.menu .item:after {
background-color: @greenActive !important; background-color: @greenActive !important;
} }
/* Orange */ /* Orange */
@ -1346,7 +1346,7 @@ Floated Menu / Item
background-color: @orange; background-color: @orange;
} }
.ui.inverted.orange.menu .active.item, .ui.inverted.orange.menu .active.item,
.ui.inverted.orange.pointing.menu .active.item:after {
.ui.inverted.orange.pointing.menu .item:after {
background-color: @orangeActive !important; background-color: @orangeActive !important;
} }
/* Pink */ /* Pink */
@ -1354,7 +1354,7 @@ Floated Menu / Item
background-color: @pink; background-color: @pink;
} }
.ui.inverted.pink.menu .active.item, .ui.inverted.pink.menu .active.item,
.ui.inverted.pink.pointing.menu .active.item:after {
.ui.inverted.pink.pointing.menu .item:after {
background-color: @pinkActive !important; background-color: @pinkActive !important;
} }
/* Purple */ /* Purple */
@ -1362,7 +1362,7 @@ Floated Menu / Item
background-color: @purple; background-color: @purple;
} }
.ui.inverted.purple.menu .active.item, .ui.inverted.purple.menu .active.item,
.ui.inverted.purple.pointing.menu .active.item:after {
.ui.inverted.purple.pointing.menu .item:after {
background-color: @purpleActive !important; background-color: @purpleActive !important;
} }
/* Red */ /* Red */
@ -1370,7 +1370,7 @@ Floated Menu / Item
background-color: @red; background-color: @red;
} }
.ui.inverted.red.menu .active.item, .ui.inverted.red.menu .active.item,
.ui.inverted.red.pointing.menu .active.item:after {
.ui.inverted.red.pointing.menu .item:after {
background-color: @redActive !important; background-color: @redActive !important;
} }
/* Teal */ /* Teal */
@ -1599,6 +1599,9 @@ Floated Menu / Item
.ui.pointing.menu .active.item:after { .ui.pointing.menu .active.item:after {
visibility: visible; visibility: visible;
} }
.ui.pointing.menu .active.dropdown.item:after {
visibility: hidden;
}
/* Don't double up pointers */ /* Don't double up pointers */
.ui.pointing.menu .dropdown.active.item:after, .ui.pointing.menu .dropdown.active.item:after,
@ -1617,7 +1620,7 @@ Floated Menu / Item
background-color: @arrowActiveHoverColor; background-color: @arrowActiveHoverColor;
} }
.ui.vertical.pointing.menu .item:hover:after {
.ui.vertical.pointing.menu .active.item:hover:after {
background-color: @arrowVerticalHoverColor; background-color: @arrowVerticalHoverColor;
} }
.ui.vertical.pointing.menu .active.item:after { .ui.vertical.pointing.menu .active.item:after {

Loading…
Cancel
Save