Update scrollbar hover styles in new navigation (#33313)
* Update scrollbar hover styles in new navigation * Update contrast ratio * Add Firefox scrollbar properties * Fix scrollbar-color and scrollbar-width values Co-authored-by: Matt Sherman <matt@jam123.com>
This commit is contained in:
parent
483d62f1cc
commit
935f915cb5
|
@ -21,6 +21,29 @@
|
|||
.components-navigation__menu-title {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.components-navigation__menu {
|
||||
scrollbar-color: $gray-700 $gray-900;
|
||||
scrollbar-width: thin;
|
||||
|
||||
&::-webkit-scrollbar-thumb {
|
||||
border-radius: 10px;
|
||||
background-color: $gray-700;
|
||||
}
|
||||
|
||||
|
||||
&::-webkit-scrollbar-thumb:hover {
|
||||
background-color: $gray-700;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
}
|
||||
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.woocommerce-navigation__wrapper {
|
||||
|
|
Loading…
Reference in New Issue