summaryrefslogtreecommitdiff
path: root/www/wiki/resources/src/mediawiki.special/mediawiki.special.userrights.css
blob: 1ffdf70ee554d75c7d21a29529b3d18bc7d6bb78 (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
/*!
 * Styling for Special:UserRights
 */
.mw-userrights-nested {
	margin-left: 1.2em;
}

.mw-userrights-nested span {
	margin-left: 0.3em;
	display: inline-block;
	vertical-align: middle;
}

.mw-userrights-disabled {
	color: #72777d;
}
.mw-userrights-groups * td,
.mw-userrights-groups * th {
	padding-right: 1.5em;
}

.mw-userrights-groups * th {
	text-align: left;
}

/* Dynamically show/hide the expiry selection underneath each checkbox */
input.mw-userrights-groupcheckbox:not( :checked ) ~ .mw-userrights-nested {
	display: none;
}

/* Initial hide the expiry fields to prevent a FOUC on loading */
/* The input fields gets unhidden by JavaScript when needed */
.client-js .mw-userrights-expiryfield {
	display: none;
}