93064e3b
梁灏
add Page UI
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
@page-prefix-cls: ~"@{css-prefix}page";
.@{page-prefix-cls} {
&:after {
content: '';
display: block;
height: 0;
clear: both;
overflow: hidden;
visibility: hidden;
}
&-item {
|
5f78b0a6
Aresn
update Page style...
|
14
15
16
|
display: inline-block;
//float: left;
vertical-align: middle;
|
d9ef3d93
梁灏
optimize some style
|
17
18
19
|
min-width: @btn-circle-size;
height: @btn-circle-size;
line-height: @btn-circle-size - 2px;
|
93064e3b
梁灏
add Page UI
|
20
21
22
23
|
margin-right: 4px;
text-align: center;
list-style: none;
background-color: #fff;
|
e2645048
jingsam
remove tra...
|
24
|
user-select: none;
|
93064e3b
梁灏
add Page UI
|
25
26
27
28
|
cursor: pointer;
font-family: Arial;
border: 1px solid @border-color-base;
border-radius: @btn-border-radius;
|
e61c092e
Aresn
update Page style
|
29
30
|
//transition: all @transition-time @ease-in-out;
transition: border @transition-time @ease-in-out, color @transition-time @ease-in-out;
|
93064e3b
梁灏
add Page UI
|
31
32
33
34
35
|
a {
margin: 0 6px;
text-decoration: none;
color: @text-color;
|
e2645048
jingsam
remove tra...
|
36
|
//transition: none;
|
93064e3b
梁灏
add Page UI
|
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
}
&:hover {
border-color: @primary-color;
a {
color: @primary-color;
}
}
&-active {
background-color: @primary-color;
border-color: @primary-color;
a, &:hover a {
color: #fff;
}
}
}
&-item-jump-prev, &-item-jump-next {
&:after {
content: "•••";
display: block;
|
928033f0
梁灏
optimize Page style
|
60
|
letter-spacing: 1px;
|
93064e3b
梁灏
add Page UI
|
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
|
color: #ccc;
text-align: center;
}
i{
display: none;
}
&:hover {
&:after{
display: none;
}
i{
display: inline;
}
}
}
&-item-jump-prev:hover {
i:after {
content: "\F3D2";
}
}
&-item-jump-next:hover {
i:after {
content: "\F3D3";
}
}
|
928033f0
梁灏
optimize Page style
|
91
|
&-prev{
|
93064e3b
梁灏
add Page UI
|
92
93
|
margin-right: 8px;
}
|
928033f0
梁灏
optimize Page style
|
94
95
96
97
98
99
100
101
102
103
|
&-item-jump-prev,
&-item-jump-next{
margin-right: 4px;
}
&-next{
margin-left: 4px;
}
|
93064e3b
梁灏
add Page UI
|
104
105
106
107
108
|
&-prev,
&-next,
&-item-jump-prev,
&-item-jump-next {
display: inline-block;
|
5f78b0a6
Aresn
update Page style...
|
109
110
|
vertical-align: middle;
//float: left;
|
d9ef3d93
梁灏
optimize some style
|
111
112
113
|
min-width: @btn-circle-size;
height: @btn-circle-size;
line-height: @btn-circle-size - 2px;
|
93064e3b
梁灏
add Page UI
|
114
115
116
117
118
|
list-style: none;
text-align: center;
cursor: pointer;
color: #666;
font-family: Arial;
|
928033f0
梁灏
optimize Page style
|
119
|
border: 1px solid @border-color-base;
|
93064e3b
梁灏
add Page UI
|
120
|
border-radius: @btn-border-radius;
|
e2645048
jingsam
remove tra...
|
121
|
transition: all @transition-time @ease-in-out;
|
93064e3b
梁灏
add Page UI
|
122
123
124
125
|
}
&-prev,
&-next {
|
93064e3b
梁灏
add Page UI
|
126
127
128
129
|
background-color: #fff;
a {
color: #666;
|
d9ef3d93
梁灏
optimize some style
|
130
|
font-size: 14px;
|
93064e3b
梁灏
add Page UI
|
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
|
}
&:hover {
border-color: @primary-color;
a {
color: @primary-color;
}
}
}
&-disabled {
cursor: @cursor-disabled;
a {
color: #ccc;
}
&:hover {
border-color: @border-color-base;
a {
color: #ccc;
cursor: @cursor-disabled;
}
}
}
&-options {
|
5f78b0a6
Aresn
update Page style...
|
157
158
159
|
display: inline-block;
vertical-align: middle;
//float: left;
|
93064e3b
梁灏
add Page UI
|
160
161
|
margin-left: 15px;
&-sizer {
|
5f78b0a6
Aresn
update Page style...
|
162
163
|
display: inline-block;
//float: left;
|
93064e3b
梁灏
add Page UI
|
164
165
166
167
|
margin-right: 10px;
}
&-elevator {
|
5f78b0a6
Aresn
update Page style...
|
168
169
170
|
display: inline-block;
vertical-align: middle;
//float: left;
|
d9ef3d93
梁灏
optimize some style
|
171
172
|
height: @btn-circle-size;
line-height: @btn-circle-size;
|
93064e3b
梁灏
add Page UI
|
173
174
175
176
177
178
179
180
181
182
183
|
input {
.input;
border-radius: @btn-border-radius;
margin: 0 8px;
width: 50px;
}
}
}
&-total {
|
5f78b0a6
Aresn
update Page style...
|
184
185
|
display: inline-block;
//float: left;
|
d9ef3d93
梁灏
optimize some style
|
186
187
|
height: @btn-circle-size;
line-height: @btn-circle-size;
|
93064e3b
梁灏
add Page UI
|
188
189
190
191
192
193
194
195
196
197
198
199
200
|
margin-right: 10px;
}
&-simple &-prev,
&-simple &-next {
margin: 0;
border: 0;
height: 24px;
line-height: 24px;
font-size: 18px;
}
&-simple &-simple-pager {
|
5f78b0a6
Aresn
update Page style...
|
201
202
|
display: inline-block;
//float: left;
|
93064e3b
梁灏
add Page UI
|
203
204
205
206
207
208
209
210
211
212
213
214
215
|
margin-right: 8px;
input {
width: 30px;
height: 24px;
margin: 0 8px;
padding: 5px 8px;
text-align: center;
box-sizing: border-box;
background-color: #fff;
outline: none;
border: 1px solid @border-color-base;
border-radius: @btn-border-radius;
|
e2645048
jingsam
remove tra...
|
216
|
transition: border-color @transition-time @ease-in-out;
|
93064e3b
梁灏
add Page UI
|
217
218
219
220
221
|
&:hover {
border-color: @primary-color;
}
}
|
d9ef3d93
梁灏
optimize some style
|
222
223
224
225
|
span{
padding: 0 8px 0 2px;
}
|
93064e3b
梁灏
add Page UI
|
226
227
228
229
230
|
}
}
.@{page-prefix-cls} {
&.mini &-total {
|
d9ef3d93
梁灏
optimize some style
|
231
232
|
height: @btn-circle-size-small;
line-height: @btn-circle-size-small;
|
93064e3b
梁灏
add Page UI
|
233
234
235
236
237
|
}
&.mini &-item {
border: 0;
margin: 0;
|
d9ef3d93
梁灏
optimize some style
|
238
239
240
|
min-width: @btn-circle-size-small;
height: @btn-circle-size-small;
line-height: @btn-circle-size-small;
|
93064e3b
梁灏
add Page UI
|
241
242
243
244
245
246
|
border-radius: @btn-border-radius-small;
}
&.mini &-prev,
&.mini &-next {
margin: 0;
|
d9ef3d93
梁灏
optimize some style
|
247
248
249
|
min-width: @btn-circle-size-small;
height: @btn-circle-size-small;
line-height: @btn-circle-size-small;
|
93064e3b
梁灏
add Page UI
|
250
251
252
253
|
border: 0;
a {
i:after {
|
d9ef3d93
梁灏
optimize some style
|
254
255
|
height: @btn-circle-size-small;
line-height: @btn-circle-size-small;
|
93064e3b
梁灏
add Page UI
|
256
257
258
259
260
261
|
}
}
}
&.mini &-item-jump-prev,
&.mini &-item-jump-next {
|
d9ef3d93
梁灏
optimize some style
|
262
263
|
height: @btn-circle-size-small;
line-height: @btn-circle-size-small;
|
928033f0
梁灏
optimize Page style
|
264
265
|
border: none;
margin-right: 0;
|
93064e3b
梁灏
add Page UI
|
266
267
268
269
270
|
}
&.mini &-options {
margin-left: 8px;
&-elevator {
|
d9ef3d93
梁灏
optimize some style
|
271
272
|
height: @btn-circle-size-small;
line-height: @btn-circle-size-small;
|
93064e3b
梁灏
add Page UI
|
273
274
275
276
277
278
279
|
input {
.input-small;
width: 44px;
}
}
}
|
e2645048
jingsam
remove tra...
|
280
|
}
|