linting: Start enforcing a basic CSS class naming rule (with lots of opt-outs)
[lhc/web/wiklou.git] / resources / src / mediawiki.filewarning / filewarning.less
1 @import 'mediawiki.ui/variables';
2
3 /* stylelint-disable selector-class-pattern */
4
5 // Increase the area of the button, so that the user can move the mouse cursor
6 // to the popup without the popup disappearing. (T157544)
7 .mediawiki-filewarning-anchor {
8 padding-bottom: 10px;
9 margin-bottom: -10px;
10 }
11
12 .mediawiki-filewarning {
13 visibility: hidden;
14
15 .mediawiki-filewarning-header {
16 padding: 0;
17 font-weight: 600;
18 }
19
20 .mediawiki-filewarning-footer {
21 color: #72777d;
22 }
23
24 .empty {
25 display: none;
26 }
27
28 .mediawiki-filewarning-anchor:hover & {
29 visibility: visible;
30 }
31 }
32
33 .mime-type {
34 &.has-warning {
35 font-weight: bold;
36 color: @colorMediumSevere;
37 }
38 }