change color on sub menu hover
This commit is contained in:
parent
04087d8523
commit
ecf732a6c8
1 changed files with 13 additions and 3 deletions
|
@ -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;
|
||||
|
||||
&: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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue