forked from beneverard/jqPagination
/
jqpagination.css
144 lines (128 loc) · 2.45 KB
/
jqpagination.css
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
.pagination {
float: left;
border: 1px solid #CDCDCD;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
}
.pagination a {
display: block;
float: left;
height: 20px;
width: 20px;
background-color: rgb(0,50,75);
color: #555555;
text-align: center;
text-decoration: none;
font-family: Times, 'Times New Roman', Georgia, Palatino; /* ATTN: need a better font stack */
font-weight: bold;
font-size: 16px;
outline: none;
vertical-align: middle;
background-image: -webkit-gradient(
linear,
left bottom,
left top,
color-stop(0, rgb(221,221,221)),
color-stop(1, rgb(243,243,243))
);
background-image: -moz-linear-gradient(
center bottom,
rgb(221,221,221) 0%,
rgb(243,243,243) 100%
);
}
.pagination a:hover, .pagination a:focus, .pagination a:active {
background-image: -webkit-gradient(
linear,
left bottom,
left top,
color-stop(0, #CECECE),
color-stop(1, #E4E4E4)
);
background-image: -moz-linear-gradient(
center bottom,
#CECECE 0%,
#E4E4E4 100%
);
}
.pagination a:first-child {
border-radius: 2px 0 0 2px;
-moz-border-radius: 2px 0 0 2px;
-webkit-border-radius: 2px 0 0 2px;
}
.pagination a:last-child {
border-radius: 0 2px 2px 0;
-moz-border-radius: 0 2px 2px 0;
-webkit-border-radius: 0 2px 2px 0;
}
.pagination a {
border-right: 1px solid #CDCDCD;
border-left: 1px solid #CDCDCD;
}
.pagination a:first-child {
border: none;
}
.pagination a:last-child {
border: none;
}
.pagination a.disabled{
color:#CCC;
cursor:default;
}
.pagination a.disabled:hover{
background-image: -webkit-gradient(
linear,
left bottom,
left top,
color-stop(0, rgb(221,221,221)),
color-stop(1, rgb(243,243,243))
);
background-image: -moz-linear-gradient(
center bottom,
rgb(221,221,221) 0%,
rgb(243,243,243) 100%
);
}
.pagination input {
border: none;
float: left;
text-align: center;
height: 20px;
outline: none;
vertical-align: middle;
width: 120px;
padding: 0;
margin: 0;
}
/* gigantic class for demo purposes */
.gigantic.pagination {
margin: 30px 0;
}
.gigantic.pagination a {
height: 60px;
width: 60px;
font-size: 50px;
line-height: 50px;
}
.gigantic.pagination input {
width: 300px;
height: 60px;
font-size: 30px;
}
/* log element for demo purposes */
.log {
display: none;
background-color: #EDEDED;
border: 1px solid #B4B4B4;
height: 300px;
width: 524px;
overflow: auto;
margin-left: 0;
list-style: none;
padding: 10px;
li {
margin-top: 0;
margin-bottom: 5px;
}
}