2021-09-29 20:54:53 +00:00
|
|
|
|
@import '../../common/variables.less';
|
|
|
|
|
@import 'mediawiki.mixins.less';
|
|
|
|
|
|
2021-02-02 10:04:37 +00:00
|
|
|
|
// Extends the common MenuDropdown, but allows it to be opened via hover.
|
2021-02-24 23:30:16 +00:00
|
|
|
|
|
2021-07-22 17:27:33 +00:00
|
|
|
|
.vector-menu-dropdown:not( .vector-user-menu ) {
|
2021-02-24 23:30:16 +00:00
|
|
|
|
&:hover .vector-menu-content {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
visibility: visible;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.vector-menu-checkbox {
|
2022-02-21 15:42:10 +00:00
|
|
|
|
&:checked + .vector-menu-heading:after {
|
2021-02-24 23:30:16 +00:00
|
|
|
|
transform: scaleY( -1 );
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-09-29 20:54:53 +00:00
|
|
|
|
|
|
|
|
|
.vector-menu-dropdown {
|
2022-07-04 18:05:03 +00:00
|
|
|
|
line-height: 1.125em;
|
|
|
|
|
|
2021-09-29 20:54:53 +00:00
|
|
|
|
li {
|
2022-07-15 18:27:57 +00:00
|
|
|
|
a:not( .mw-ui-icon ) {
|
2022-07-04 18:05:03 +00:00
|
|
|
|
font-size: @font-size-tabs;
|
|
|
|
|
}
|
|
|
|
|
|
2021-09-29 20:54:53 +00:00
|
|
|
|
a {
|
|
|
|
|
// Historic value.
|
|
|
|
|
padding: unit( ( 8.125px / @font-size-browser ), em );
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-06-06 21:39:57 +00:00
|
|
|
|
|
2022-06-08 21:21:11 +00:00
|
|
|
|
.vector-menu-heading {
|
|
|
|
|
background-image: linear-gradient( to bottom, rgba( 167, 215, 249, 0 ) 0, @border-color-content 100% );
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
// Contain gradient to 1px × 100% size and draw from top to bottom-left or -right corner.
|
|
|
|
|
background-size: @border-width-base 100%;
|
|
|
|
|
background-position: right bottom;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.vector-menu-content {
|
|
|
|
|
border-top-width: 0;
|
|
|
|
|
}
|
2022-06-06 21:39:57 +00:00
|
|
|
|
}
|
2022-06-27 20:57:50 +00:00
|
|
|
|
|
2022-07-04 18:05:03 +00:00
|
|
|
|
.vector-menu-dropdown-noicon .vector-menu-heading {
|
|
|
|
|
font-size: @font-size-tabs;
|
|
|
|
|
}
|
|
|
|
|
|
2022-06-27 20:57:50 +00:00
|
|
|
|
#mw-head .vector-menu-dropdown .vector-menu-heading {
|
|
|
|
|
// Tab separator: Outer end (right in LTR) border of "Actions" menu.
|
|
|
|
|
background-position: right bottom;
|
|
|
|
|
margin: 0 -@border-width-base 0 0;
|
2022-07-15 18:27:57 +00:00
|
|
|
|
float: left;
|
2022-06-27 20:57:50 +00:00
|
|
|
|
}
|