summaryrefslogtreecommitdiff
path: root/www/wiki/resources/src/mediawiki.special/mediawiki.special.changeslist.css
blob: 65860ea08c1eec22b17e9a439fec4a0ba477dc08 (plain)
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
/*!
 * Styling for Special:Watchlist and Special:RecentChanges
 */

.mw-changeslist-line-watched .mw-title {
	font-weight: bold;
}

/*
 * Titles, including username links, and also tag names
 * are prone to getting jumbled up
 * with other titles, usernames, etc. in mixed RTL-LTR environment.
 */
.mw-changeslist .mw-tag-marker,
.mw-changeslist .mw-title {
	unicode-bidi: embed;
}

/* Colored watchlist and recent changes numbers */
.mw-plusminus-pos {
	color: #006400; /* dark green */
}

.mw-plusminus-neg {
	color: #8b0000; /* dark red */
}

.mw-plusminus-null {
	color: #a2a9b1; /* gray */
}

/*
 * Bidi-isolate these numbers.
 * See https://phabricator.wikimedia.org/T93484
 */
.mw-plusminus-pos,
.mw-plusminus-neg,
.mw-plusminus-null {
	unicode-bidi: -moz-isolate;
	unicode-bidi: isolate;
}

/* Prevent FOUC if legend is initially collapsed */
.mw-changeslist-legend.mw-collapsed .mw-collapsible-content {
	display: none;
}

.mw-changeslist-legend.mw-collapsed {
	margin-bottom: 0;
}

/* Prevent pushing down the content if legend is collapsed */
.mw-changeslist-legend.mw-collapsed ~ ul:first-of-type > li:first-child,
.mw-changeslist-legend.mw-collapsed + h4 + div > table.mw-changeslist-line:first-child {
	clear: right;
}