aboutsummaryrefslogtreecommitdiffstats
path: root/resources/src/mediawiki.special/contributions.less
blob: d4d3be3852860982f2d92cb28d5afe1bea38fab3 (plain) (blame)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/*!
 * Styling for Special:Contributions
 */
@import 'mediawiki.skin.variables.less';

.mw-special-ContributionsSpecialPage {
	.oo-ui-fieldsetLayout-group {
		max-width: 50em;

		.oo-ui-panelLayout-padded.oo-ui-panelLayout-framed {
			border: 0;
			padding: 0;
		}

		// Hide extra `legend`s when grouping form in sections.
		.oo-ui-fieldsetLayout.oo-ui-labelElement > .oo-ui-fieldsetLayout-header {
			display: none;
		}
	}

	.mw-autocomplete-user.oo-ui-fieldLayout {
		margin-top: @spacing-50;
	}

	// Higher specificity needed to override OOUIHTMLForm styles.
	.mw-htmlform-field-HTMLMultiSelectField.mw-htmlform-flatlist.oo-ui-fieldLayout {
		margin-top: @spacing-50;
	}

	.mw-htmlform-field-HTMLTagFilter ~ .mw-htmlform-field-HTMLCheckField.oo-ui-fieldLayout {
		display: inline-block;
		padding-right: @spacing-100;
	}

	// Clearfix for floated `.mw-htmlform-field-HTMLDateTimeField` below.
	#mw-htmlform-contribs-date::after {
		content: '';
		clear: both;
		display: block;
	}

	.oo-ui-fieldLayout.oo-ui-labelElement.mw-htmlform-field-HTMLDateTimeField {
		margin: 0;
		margin-right: @spacing-100;
	}

	@media all and ( min-width: @min-width-breakpoint-tablet ) {
		.mw-htmlform-field-HTMLDateTimeField {
			float: left;
			// Same `width` as DateInputWidget.
			width: 21em;
		}
	}
}