@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 */
		}
	}
}
