mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-02 17:57:00 +00:00
0e391a87e0
For testing make sure to check the 3 variants: ``` mw.util.addPortletLink('page-actions', '#', 'text' ); mw.util.addPortletLink('p-interaction', '#', 'text' ); mw.util.addPortletLink('p-personal', '#', 'text' ); ``` Bug: T344006 Change-Id: Iad3a8d5ed1237c1438d170f07c9c3fe3784182fe
34 lines
723 B
Plaintext
34 lines
723 B
Plaintext
@import '../../../minerva.less/minerva.variables.less';
|
|
@import '../../../minerva.less/minerva.mixins.less';
|
|
@import 'mediawiki.mixins.less';
|
|
|
|
.toggle-list-item {
|
|
display: block;
|
|
}
|
|
|
|
.toggle-list-item__anchor {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0.75em 0.875em;
|
|
|
|
&:hover {
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
.toggle-list-item__label {
|
|
color: @color-subtle;
|
|
font-weight: bold;
|
|
font-size: @font-size-minerva-small;
|
|
// Overflow text is ellipsized in one line.
|
|
.text-overflow( @visible: false );
|
|
}
|
|
|
|
.toggle-list__checkbox {
|
|
// Always occlude the checkbox. The checkbox display cannot be none since its focus state is used
|
|
// for other selectors.
|
|
position: absolute;
|
|
z-index: @z-indexOccluded;
|
|
opacity: 0;
|
|
}
|