aboutsummaryrefslogtreecommitdiffstats
path: root/resources/src/mediawiki.action.styles/styles.less
blob: 2d28c7e4fe5aea9678082a6cebe9adb4cf355e41 (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
55
56
57
58
/* stylelint-disable selector-class-pattern */

/*
 * mediawiki.action.styles
 * Miscellaneous styles for actions that do not have a dedicated style module.
 */

/* action=credits, T14205. */
#mw-credits a {
	unicode-bidi: embed;
}

/* action=view, for pages containing custom CSS or JavaScript. */
#mw-clearyourcache {
	direction: ltr;
	unicode-bidi: embed;
}

/* action=view, when revision patrolling is enabled. */
div.patrollink {
	font-size: 75%;
	text-align: right;
}

/* action=view, when viewing individual revisions, using oldid. */
#mw-revision-info,
#mw-revision-info-current,
#mw-revision-nav {
	direction: ltr;
}

/*
 * Convenience links to edit delete and protect reasons, for actions protect and delete.
 */
p.mw-protect-editreasons,
p.mw-delete-editreasons {
	font-size: 90%;
	text-align: right;
}

/**
 * action=info
 * Hide "This page is a member of # hidden categories" explanation
 * Hide "Templates used on this page" explanation
 */

.action-info .mw-hiddenCategoriesExplanation,
.action-info .mw-templatesUsedExplanation {
	display: none;
}

/*
 * action=info, highlight targeted elements
 * See also InfoAction::addRow
 */
.action-info .mw-page-info tr:target {
	background-color: rgba( 0, 127, 255, 0.133 );
}