Debian Codegraph @

extensions/Echo/modules/styles/mw.echo.ui.MenuItemWidget.less

raw
1 @import 'mediawiki.skin.variables.less';
2 @import '../echo.variables.less';
3 @import '../echo.mixins.less';
4
5 .mw-echo-ui-menuItemWidget {
6 &:hover {
7 text-decoration: none;
8 }
9
10 > .oo-ui-buttonElement-button > .oo-ui-labelElement-label {
11 // Override link colour
12 color: @color-base;
13 // Set max-width so buttons are truncated
14 max-width: 25em;
15 font-weight: normal;
16 }
17
18 &-prioritized {
19 .mw-echo-ui-mixin-hover-opacity();
20 display: inline-block;
21 }
22
23 &-dynamic-action {
24 > .oo-ui-buttonElement-button > .oo-ui-labelElement-label {
25 white-space: normal;
26 overflow: visible;
27 }
28
29 &.oo-ui-iconElement > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon {
30 // Limit to single line height
31 max-height: 28px;
32 }
33
34 .mw-echo-ui-menuItemWidget-description {
35 color: @color-subtle;
36 display: block;
37 cursor: inherit;
38 }
39 }
40
41 .mw-echo-ui-actionMenuPopupWidget-menu:hover {
42 background-color: #eaecf0;
43 }
44 }