@import 'mediawiki.ui/variables';

// Increase the area of the button, so that the user can move the mouse cursor
// to the popup without the popup disappearing. (T157544)
.mediawiki-filewarning-anchor {
	padding-bottom: 10px;
	margin-bottom: -10px;
}

.mediawiki-filewarning {
	visibility: hidden;

	.mediawiki-filewarning-header {
		padding: 0;
		font-weight: 600;
	}

	.mediawiki-filewarning-footer {
		color: #72777d;
	}

	.empty {
		display: none;
	}

	.mediawiki-filewarning-anchor:hover & {
		visibility: visible;
	}
}

.mime-type {
	&.has-warning {
		font-weight: bold;
		color: @colorMediumSevere;
	}
}
