summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/Translate/resources/css/ext.translate.statstable.less
blob: a33400f152d4df4f88e31343013ef4b23527abc5 (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
57
58
59
60
61
62
63
.groupexpander-all {
	text-align: right;
}

.groupexpander {
	float: right;
}

.statstable {
	border-collapse: collapse;
	border-style: hidden;
	box-shadow: 0 1px 1px rgba( 0, 0, 0, 0.15 );

	.expanded,
	.expanded a {
		cursor: n-resize;
	}

	.collapsed,
	.collapsed a {
		cursor: s-resize;
	}

	/* Small zebra rows effect */
	> * > tr {
		&.tux-statstable-even > td {
			background-color: #f8f9fa;
		}

		&:hover > td {
			// Work-around a Firefox issue:
			// https://bugzilla.mozilla.org/show_bug.cgi?id=688556
			background-clip: padding-box;
			filter: brightness( 0.95 );
		}

		> th {
			background-color: #eaecf0;
			border: 1px solid #fff;
			padding: 0.5em;
			font-weight: normal;
			letter-spacing: 1px;
		}

		> td {
			background-color: #fff;
			padding: 0.5em;
			border-left: 1px solid #f8f9fa;
			border-right: 1px solid #f8f9fa;
		}

		/* Align numbers to the right */
		> td:nth-child( n+2 ):nth-child( -n+6 ) {
			text-align: right;
			padding-right: 1em;
		}

		/* De-emphasize 0% oudated */
		> td:nth-child( 6 )[ data-sort-value='0.00000' ] {
			color: #54595d;
		}
	}
}