summaryrefslogtreecommitdiff
path: root/www/wiki/resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.SavedLinksListWidget.less
blob: e72fbda62f2f48eaf2f9b1037f9ec9d427c43d20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
@import 'mediawiki.ui/variables';

.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: @colorGray7;
			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 */
		}
	}
}