Merge "Fix 'Tags' padding to keep it farther from the edge and document the source...
[lhc/web/wiklou.git] / resources / src / mediawiki.rcfilters / styles / mw.rcfilters.ui.SavedLinksListWidget.less
1 @import 'mediawiki.ui/variables';
2
3 .mw-rcfilters-ui-savedLinksListWidget {
4 &-menu {
5 width: 100%;
6 }
7
8 &-placeholder {
9 &-title {
10 font-weight: bold;
11 margin-bottom: 0.4375em; // 7px / 16
12 margin-top: 0.1875em; // 3px / 16
13 }
14
15 &-description {
16 line-height: 1.5em; // 24px / 16
17 }
18
19 // Extra specificity needed to override OOUI rule that sets white-space: nowrap;
20 // on labels inside options
21 &.oo-ui-optionWidget .oo-ui-labelElement-label {
22 color: @colorGray7;
23 white-space: normal;
24 }
25
26 .oo-ui-iconElement-icon {
27 opacity: 0.5;
28 // Override OOUI option widget rules for icons
29 // we want the icon to appear at the top near the
30 // title, not in the middle of the multiline option
31 top: 0.7em !important; /* stylelint-disable-line declaration-no-important */
32 height: inherit !important; /* stylelint-disable-line declaration-no-important */
33 }
34 }
35 }