2023-04-03 19:44:38 +00:00
|
|
|
@import 'mediawiki.skin.variables.less';
|
2019-10-25 20:53:39 +00:00
|
|
|
@import '../echo.variables.less';
|
|
|
|
@import '../echo.mixins.less';
|
2016-01-30 00:27:47 +00:00
|
|
|
|
|
|
|
.mw-echo-ui-menuItemWidget {
|
2018-03-24 20:52:04 +00:00
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
2016-01-30 00:27:47 +00:00
|
|
|
}
|
|
|
|
|
2020-07-23 13:38:23 +00:00
|
|
|
> .oo-ui-buttonElement-button > .oo-ui-labelElement-label {
|
2018-03-24 20:52:04 +00:00
|
|
|
// Override link colour
|
|
|
|
color: @color-base;
|
2016-01-30 00:27:47 +00:00
|
|
|
// Set max-width so buttons are truncated
|
2020-04-28 03:41:25 +00:00
|
|
|
max-width: 25em;
|
2020-07-23 13:38:23 +00:00
|
|
|
font-weight: normal;
|
2016-01-30 00:27:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-prioritized {
|
2016-03-03 20:54:11 +00:00
|
|
|
.mw-echo-ui-mixin-hover-opacity();
|
2016-01-30 00:27:47 +00:00
|
|
|
display: inline-block;
|
|
|
|
}
|
2016-02-26 23:16:47 +00:00
|
|
|
|
2016-08-05 21:44:55 +00:00
|
|
|
&-dynamic-action {
|
2020-07-23 13:38:23 +00:00
|
|
|
> .oo-ui-buttonElement-button > .oo-ui-labelElement-label {
|
2018-03-24 20:52:04 +00:00
|
|
|
white-space: normal;
|
|
|
|
overflow: visible;
|
2016-08-05 21:44:55 +00:00
|
|
|
}
|
|
|
|
|
2020-07-29 11:20:28 +00:00
|
|
|
&.oo-ui-iconElement > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon {
|
|
|
|
// Limit to single line height
|
|
|
|
max-height: 28px;
|
|
|
|
}
|
|
|
|
|
2018-03-24 20:52:04 +00:00
|
|
|
.mw-echo-ui-menuItemWidget-description {
|
2023-04-03 19:44:38 +00:00
|
|
|
color: @color-subtle;
|
2018-03-24 20:52:04 +00:00
|
|
|
display: block;
|
2020-07-29 11:20:28 +00:00
|
|
|
cursor: inherit;
|
2016-02-26 23:16:47 +00:00
|
|
|
}
|
2018-03-24 20:52:04 +00:00
|
|
|
}
|
2016-02-26 23:16:47 +00:00
|
|
|
|
2018-03-24 20:52:04 +00:00
|
|
|
.mw-echo-ui-actionMenuPopupWidget-menu:hover {
|
|
|
|
background-color: #eaecf0;
|
2016-02-26 23:16:47 +00:00
|
|
|
}
|
2016-01-30 00:27:47 +00:00
|
|
|
}
|