| 1 |
@import 'mediawiki.skin.variables.less'; |
| 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, T363157) |
| 7 |
.mediawiki-filewarning-anchor { |
| 8 |
padding-top: 10px; |
| 9 |
padding-bottom: 10px; |
| 10 |
margin-top: -10px; |
| 11 |
margin-bottom: -10px; |
| 12 |
|
| 13 |
&.oo-ui-buttonElement-frameless.oo-ui-labelElement > .oo-ui-buttonElement-button { |
| 14 |
padding-right: 2px; |
| 15 |
} |
| 16 |
} |
| 17 |
|
| 18 |
.mediawiki-filewarning { |
| 19 |
visibility: hidden; |
| 20 |
|
| 21 |
.mediawiki-filewarning-header { |
| 22 |
padding: 0; |
| 23 |
font-weight: 600; |
| 24 |
} |
| 25 |
|
| 26 |
.mediawiki-filewarning-footer { |
| 27 |
color: @color-subtle; |
| 28 |
} |
| 29 |
|
| 30 |
.empty { |
| 31 |
display: none; |
| 32 |
} |
| 33 |
|
| 34 |
.mediawiki-filewarning-anchor:hover & { |
| 35 |
visibility: visible; |
| 36 |
} |
| 37 |
} |
| 38 |
|
| 39 |
.mime-type { |
| 40 |
&.has-warning { |
| 41 |
color: @color-warning; |
| 42 |
font-weight: bold; |
| 43 |
} |
| 44 |
} |