summaryrefslogtreecommitdiff
path: root/www/wiki/resources/src/mediawiki/mediawiki.filewarning.less
blob: bf9634f6a5da81b6be3b7eb7d01b9047c934325f (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
31
32
33
34
35
36
@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;
	}
}