mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-30 18:45:07 +00:00
213f65e19d
modules/styles/mw.echo.ui.MenuItemWidget.less 4:1 ✖ Needless disable for "no-descending-specificity" --report-needless-disables Change-Id: Ib8467edcd4cfb8f2a11b11872bddeecfdc9e5b04
44 lines
881 B
Plaintext
44 lines
881 B
Plaintext
@import '../echo.variables.less';
|
|
@import '../echo.mixins.less';
|
|
|
|
.mw-echo-ui-menuItemWidget {
|
|
&:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
> .oo-ui-buttonElement-button > .oo-ui-labelElement-label {
|
|
// Override link colour
|
|
color: @color-base;
|
|
// Set max-width so buttons are truncated
|
|
max-width: 25em;
|
|
font-weight: normal;
|
|
}
|
|
|
|
&-prioritized {
|
|
.mw-echo-ui-mixin-hover-opacity();
|
|
display: inline-block;
|
|
}
|
|
|
|
&-dynamic-action {
|
|
> .oo-ui-buttonElement-button > .oo-ui-labelElement-label {
|
|
white-space: normal;
|
|
overflow: visible;
|
|
}
|
|
|
|
&.oo-ui-iconElement > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon {
|
|
// Limit to single line height
|
|
max-height: 28px;
|
|
}
|
|
|
|
.mw-echo-ui-menuItemWidget-description {
|
|
color: #54595d;
|
|
display: block;
|
|
cursor: inherit;
|
|
}
|
|
}
|
|
|
|
.mw-echo-ui-actionMenuPopupWidget-menu:hover {
|
|
background-color: #eaecf0;
|
|
}
|
|
}
|