X-Git-Url: https://scripts.mit.edu/gitweb/autoinstallsdev/mediawiki.git/blobdiff_plain/19e297c21b10b1b8a3acad5e73fc71dcb35db44a..6932310fd58ebef145fa01eb76edf7150284d8ea:/resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.SavedLinksListWidget.less diff --git a/resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.SavedLinksListWidget.less b/resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.SavedLinksListWidget.less new file mode 100644 index 00000000..2b713e1a --- /dev/null +++ b/resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.SavedLinksListWidget.less @@ -0,0 +1,28 @@ +.mw-rcfilters-ui-savedLinksListWidget { + &-menu { + width: 100%; + } + + &-placeholder { + &-title { + font-weight: bold; + margin-bottom: 1em; + } + + // Extra specificity needed to override OOUI rule that sets white-space: nowrap; + // on labels inside options + &.oo-ui-optionWidget .oo-ui-labelElement-label { + color: #72777d; + white-space: normal; + } + + .oo-ui-iconElement-icon { + opacity: 0.5; + // Override OOUI option widget rules for icons + // we want the icon to appear at the top near the + // title, not in the middle of the multiline option + top: 0.7em !important; /* stylelint-disable-line declaration-no-important */ + height: inherit !important; /* stylelint-disable-line declaration-no-important */ + } + } +}