summaryrefslogtreecommitdiff
path: root/resources/src/mediawiki/mediawiki.pager.tablePager.less
blob: 822c8147464215b95ef098dc12b36165d1f50030 (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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
/*!
 * Structures generated by the TablePager PHP class
 * in MediaWiki (used e.g. on Special:ListFiles).
 */

@import "mediawiki.mixins";

.TablePager {
	min-width: 80%;
}

.TablePager .TablePager_sort-ascending a {
	padding-left: 15px;
	background: none left center no-repeat;
	.background-image-svg('images/arrow-sort-ascending.svg', 'images/arrow-sort-ascending.png');
}

.TablePager .TablePager_sort-descending a {
	padding-left: 15px;
	background: none left center no-repeat;
	.background-image-svg('images/arrow-sort-descending.svg', 'images/arrow-sort-descending.png');
}

.TablePager_nav {
	margin: 0 auto;
}

.TablePager_nav td {
	padding: 3px;
	text-align: center;
	vertical-align: center;
}

.TablePager_nav a {
	text-decoration: none;
}

.TablePager_nav td.TablePager_nav-first .TablePager_nav-disabled {
	padding-top: 25px;
	background: none center top no-repeat;
	.background-image-svg('images/pager-arrow-disabled-fastforward-rtl.svg', 'images/pager-arrow-disabled-fastforward-rtl.png');
}

.TablePager_nav td.TablePager_nav-prev .TablePager_nav-disabled {
	padding-top: 25px;
	background: none center top no-repeat;
	.background-image-svg('images/pager-arrow-disabled-forward-rtl.svg', 'images/pager-arrow-disabled-forward-rtl.png');
}

.TablePager_nav td.TablePager_nav-next .TablePager_nav-disabled {
	padding-top: 25px;
	background: none center top no-repeat;
	.background-image-svg('images/pager-arrow-disabled-forward-ltr.svg', 'images/pager-arrow-disabled-forward-ltr.png');
}

.TablePager_nav td.TablePager_nav-last .TablePager_nav-disabled {
	padding-top: 25px;
	background: none center top no-repeat;
	.background-image-svg('images/pager-arrow-disabled-fastforward-ltr.svg', 'images/pager-arrow-disabled-fastforward-ltr.png');
}

.TablePager_nav td.TablePager_nav-first .TablePager_nav-enabled {
	padding-top: 25px;
	background: none center top no-repeat;
	.background-image-svg('images/pager-arrow-fastforward-rtl.svg', 'images/pager-arrow-fastforward-rtl.png');
}

.TablePager_nav td.TablePager_nav-prev .TablePager_nav-enabled {
	padding-top: 25px;
	background: none center top no-repeat;
	.background-image-svg('images/pager-arrow-forward-rtl.svg', 'images/pager-arrow-forward-rtl.png');
}

.TablePager_nav td.TablePager_nav-next .TablePager_nav-enabled {
	padding-top: 25px;
	background: none center top no-repeat;
	.background-image-svg('images/pager-arrow-forward-ltr.svg', 'images/pager-arrow-forward-ltr.png');
}

.TablePager_nav td.TablePager_nav-last .TablePager_nav-enabled {
	padding-top: 25px;
	background: none center top no-repeat;
	.background-image-svg('images/pager-arrow-fastforward-ltr.svg', 'images/pager-arrow-fastforward-ltr.png');
}