z-index:1;/* The line should be kept above the vertical tabs menu link to keep it visible even if the link is hovered and gets the 'hover' background color. */
z-index:4;/* Focus state should be on the highest level to make the focus effect be fully visible. This also means that it should have bigger z-index than the selected link. */
-webkit-text-decoration:none;
@@ -152,46 +165,34 @@
box-shadow:none;
}
.vertical-tabs__menu-link:hover{
-webkit-text-decoration:none;
text-decoration:none;
color:var(--color-absolutezero);
}
/* This pseudo element provides the background for the hover state. */
.vertical-tabs__menu-link::before{
.vertical-tabs__menu-link:focus::after{
position:absolute;
z-index:0;/* This should be on a lower level than the menu-item separator lines. */
z-index:1;/* The line should be kept above the vertical tabs menu link to keep it visible even if the link is hovered and gets the 'hover' background color. */
z-index:4;/* Focus state should be on the highest level to make the focus effect be fully visible. This also means that it should have bigger z-index than the selected link. */
text-decoration:none;
box-shadow:none;
}
.vertical-tabs__menu-link:hover{
text-decoration:none;
color:var(--color-absolutezero);
}
/* This pseudo element provides the background for the hover state. */
.vertical-tabs__menu-link::before{
&::after{
position:absolute;
z-index:0;/* This should be on a lower level than the menu-item separator lines. */