Debian Codegraph @

resources/src/mediawiki.special/contributions.less

raw
1 /*!
2 * Styling for Special:Contributions
3 */
4 @import 'mediawiki.skin.variables.less';
5
6 .mw-special-ContributionsSpecialPage {
7 .oo-ui-fieldsetLayout-group {
8 max-width: 50em;
9
10 .oo-ui-panelLayout-padded.oo-ui-panelLayout-framed {
11 border: 0;
12 padding: 0;
13 }
14
15 // Hide extra `legend`s when grouping form in sections.
16 .oo-ui-fieldsetLayout.oo-ui-labelElement > .oo-ui-fieldsetLayout-header {
17 display: none;
18 }
19 }
20
21 .mw-autocomplete-user.oo-ui-fieldLayout {
22 margin-top: @spacing-50;
23 }
24
25 // Higher specificity needed to override OOUIHTMLForm styles.
26 .mw-htmlform-field-HTMLMultiSelectField.mw-htmlform-flatlist.oo-ui-fieldLayout {
27 margin-top: @spacing-50;
28 }
29
30 .mw-htmlform-field-HTMLTagFilter ~ .mw-htmlform-field-HTMLCheckField.oo-ui-fieldLayout {
31 display: inline-block;
32 padding-right: @spacing-100;
33 }
34
35 // Clearfix for floated `.mw-htmlform-field-HTMLDateTimeField` below.
36 #mw-htmlform-contribs-date::after {
37 content: '';
38 clear: both;
39 display: block;
40 }
41
42 .oo-ui-fieldLayout.oo-ui-labelElement.mw-htmlform-field-HTMLDateTimeField {
43 margin: 0;
44 margin-right: @spacing-100;
45 }
46
47 @media all and ( min-width: @min-width-breakpoint-tablet ) {
48 .mw-htmlform-field-HTMLDateTimeField {
49 float: left;
50 // Same `width` as DateInputWidget.
51 width: 21em;
52 }
53 }
54 }