File tree Expand file tree Collapse file tree 3 files changed +42
-41
lines changed
Expand file tree Collapse file tree 3 files changed +42
-41
lines changed Original file line number Diff line number Diff line change 1+ // openlibrary/templates/lib/pagination.html
2+ // openlibrary/templates/type/author/view.html
3+
4+ .pagination {
5+ font-size : 0.75em ;
6+ margin : 0 15px ;
7+ .display-flex ();
8+ justify-content : flex-end ;
9+ flex-wrap : wrap ;
10+ a {
11+ display : block ;
12+ text-decoration : none ;
13+ padding : 7px ;
14+ margin-right : 10px ;
15+ & :hover {
16+ background : @link-blue ;
17+ color : @white ;
18+ display : block ;
19+ float : left ;
20+ text-decoration : none ;
21+ padding : 7px ;
22+ margin-right : 10px ;
23+ }
24+ }
25+ span .ellipsis {
26+ display : block ;
27+ float : left ;
28+ color : @black ;
29+ padding : 8px ;
30+ margin-right : 10px ;
31+ }
32+ span .this {
33+ display : block ;
34+ float : left ;
35+ color : @black ;
36+ padding : 7px ;
37+ border : 1px solid @lighter-grey ;
38+ margin-right : 10px ;
39+ background-color : @lightest-grey ;
40+ }
41+ }
Original file line number Diff line number Diff line change 271271@import (less ) " base/helpers-common.less" ;
272272@import (less ) " base/helpers-misc.less" ;
273273
274- // openlibrary/templates/lib/pagination.html
275- // openlibrary/templates/type/author/view.html
276- .pagination {
277- font-size : 0.75em ;
278- margin : 0 15px ;
279- .display-flex ();
280- justify-content : flex-end ;
281- flex-wrap : wrap ;
282- a {
283- display : block ;
284- text-decoration : none ;
285- padding : 7px ;
286- margin-right : 10px ;
287- & :hover {
288- background : @link-blue ;
289- color : @white ;
290- display : block ;
291- float : left ;
292- text-decoration : none ;
293- padding : 7px ;
294- margin-right : 10px ;
295- }
296- }
297- span .ellipsis {
298- display : block ;
299- float : left ;
300- color : @black ;
301- padding : 8px ;
302- margin-right : 10px ;
303- }
304- span .this {
305- display : block ;
306- float : left ;
307- color : @black ;
308- padding : 7px ;
309- border : 1px solid @lighter-grey ;
310- margin-right : 10px ;
311- background-color : @lightest-grey ;
312- }
313- }
314-
315274// openlibrary/templates/recentchanges/header.html
316275// openlibrary/templates/showia.html
317276// openlibrary/templates/showmarc.html
Original file line number Diff line number Diff line change @@ -253,3 +253,4 @@ textarea.toc-editor {
253253@import (less ) " components/searchbox.less" ;
254254// Import styles for sort options
255255@import (less ) " components/sort-dropper.less" ;
256+ @import (less ) " components/pagination.less" ;
You can’t perform that action at this time.
0 commit comments