Sidebar hover background should be consistent with mw-ui-icon
Remove override now it's a default. Addresses Alex's feedback item 1 in T191021#7231088 Bug: T191021 Change-Id: I2702ffb9cbee2dfc841b3f03638fdfd24a128493
This commit is contained in:
parent
accb2892ad
commit
83e63d3e99
|
@ -15,9 +15,6 @@
|
|||
@color-link-new: #a55858;
|
||||
@color-link-selected: @color-base;
|
||||
|
||||
// See oojs/ui/src/themes/wikimediaui/common.less.
|
||||
@background-color-frameless--hover: rgba( 0, 24, 73, 7/255 ); // equivalent to @wmui-color-base90 on white
|
||||
|
||||
@outline-color-base--focus: @color-primary;
|
||||
|
||||
//
|
||||
|
|
|
@ -29,8 +29,6 @@
|
|||
}
|
||||
|
||||
&:hover {
|
||||
background-color: @background-color-frameless--hover;
|
||||
|
||||
&:before {
|
||||
opacity: 1;
|
||||
}
|
||||
|
|
|
@ -47,9 +47,11 @@
|
|||
}
|
||||
|
||||
.vector-menu-checkbox {
|
||||
// FIXME: This variable is currently not available in mediawiki core, but defined in the icons specification.
|
||||
@icon-background-color--selected: rgba( 0, 0, 0, 0.03 );
|
||||
// The mw-ui-icon hover effect does not work on the checkbox hack so must be applied explicitly.
|
||||
&:hover + h3 {
|
||||
background-color: @colorGray14;
|
||||
border-radius: @border-radius-base;
|
||||
background-color: @icon-background-color--selected;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue