Merge "Prevent dropdown arrow from flipping in modern Vector"
This commit is contained in:
commit
2450fdeb99
|
@ -81,11 +81,6 @@
|
|||
display: block;
|
||||
}
|
||||
|
||||
// flips the chevron so it points up when the dropdown is open.
|
||||
&:checked + .vector-menu-heading:after {
|
||||
transform: scaleY( -1 );
|
||||
}
|
||||
|
||||
// Add focus state to menu dropdown buttons (i.e. #p-variants, #p-cactions)
|
||||
&:focus + .vector-menu-heading {
|
||||
// Simulate browser focus ring
|
||||
|
|
|
@ -2,6 +2,11 @@
|
|||
@import 'mediawiki.mixins.less';
|
||||
@import '../../common/mixins.less';
|
||||
|
||||
// Flips the chevron so it points up when the dropdown is open.
|
||||
.vector-menu-checkbox:checked + .vector-menu-heading:after {
|
||||
transform: scaleY( -1 );
|
||||
}
|
||||
|
||||
/**
|
||||
* Dropdown menus that only appear in the tab bar in legacy Vector.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue