change color on sub menu hover

This commit is contained in:
jonasled 2021-02-28 00:46:31 +01:00
parent 04087d8523
commit ecf732a6c8

View file

@ -27,16 +27,26 @@
width: max-content;
left: 50%;
transform: translateX(-50%);
background-color: $back-color-3;
border-radius: 10px;
a {
background-color: $back-color-3;
border-bottom: $back-color-2 solid 2px;
width: 100%;
color: $text-color;
&:last-of-type{
&:first-of-type{
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}
&:last-of-type {
border-bottom: none;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
}
&:hover{
background-color: $back-color-2;
}
}
}