Don't use clip-path on menuitems unless context-navigation is visible

This commit is contained in:
MrOtherGuy 2019-09-28 13:14:23 +03:00
parent 6a79b38b21
commit 1a50caef8f

View file

@ -6,4 +6,4 @@
#context-navigation:not([hidden])~*{ margin-left: 20px; }
#context-sep-navigation{ display: none }
#context-navigation{ margin-bottom: -34px; clip-path: polygon(0px 0px, 160px 0px, 160px 100%, 0px 100%)}
#context-navigation ~ *:not(.menuitem-iconic){ clip-path: polygon(1.45em 0%, 100% 0%,100% 100%,1.45em 100%) }
#context-navigation:not([hidden]) ~ *:not(.menuitem-iconic){ clip-path: polygon(1.45em 0%, 100% 0%,100% 100%,1.45em 100%) }