Commit f4fd6fda83b75093b1f4ffb07089a54c638bb4f0
Committed by
Álvaro Fernando Matos de Souza
1 parent
8c0519de
Exists in
master_with_pkg_fixes
and in
2 other branches
Fixing pagination
Showing
1 changed file
with
36 additions
and
2 deletions
Show diff stats
src/noosfero-spb-theme/css/main-content.css
@@ -42,7 +42,7 @@ | @@ -42,7 +42,7 @@ | ||
42 | #content .pagination a, | 42 | #content .pagination a, |
43 | #content .pagination em, | 43 | #content .pagination em, |
44 | #content .pagination span{ | 44 | #content .pagination span{ |
45 | - padding: 5px 9px; | 45 | + padding: 5px 0; |
46 | margin-right: 4px; | 46 | margin-right: 4px; |
47 | color: #172738; | 47 | color: #172738; |
48 | border: 1px solid #D3D6DE; | 48 | border: 1px solid #D3D6DE; |
@@ -51,7 +51,13 @@ | @@ -51,7 +51,13 @@ | ||
51 | font-size: 12px; | 51 | font-size: 12px; |
52 | font-weight: 700; | 52 | font-weight: 700; |
53 | text-decoration: none; | 53 | text-decoration: none; |
54 | - display: inline-table; | 54 | + display: inline-block; |
55 | + width: 30px; | ||
56 | +} | ||
57 | + | ||
58 | +#content .pagination .previous-arrow, | ||
59 | +#content .pagination .next-arrow{ | ||
60 | + display: none; | ||
55 | } | 61 | } |
56 | 62 | ||
57 | #content .pagination .current { | 63 | #content .pagination .current { |
@@ -59,14 +65,42 @@ | @@ -59,14 +65,42 @@ | ||
59 | font-style: normal; | 65 | font-style: normal; |
60 | } | 66 | } |
61 | 67 | ||
68 | +#content #article .pagination .previous_page, | ||
69 | +#content #article .pagination .next_page, | ||
70 | +#content .pagination .previous_page, | ||
71 | +#content .pagination .next_page{ | ||
72 | + position: relative; | ||
73 | + padding:5px 9px; | ||
74 | +} | ||
75 | + | ||
76 | +#content #article .pagination .previous_page, | ||
62 | #content .pagination .previous_page{ | 77 | #content .pagination .previous_page{ |
63 | float: left; | 78 | float: left; |
64 | } | 79 | } |
65 | 80 | ||
81 | +#content #article .pagination .next_page, | ||
66 | #content .pagination .next_page{ | 82 | #content .pagination .next_page{ |
67 | float: right; | 83 | float: right; |
68 | } | 84 | } |
69 | 85 | ||
86 | +#content .pagination .next_page:after, | ||
87 | +#content .pagination .previous_page:before{ | ||
88 | + font-family:"FontAwesome"; | ||
89 | + font-size: 15px; | ||
90 | + font-weight: bold; | ||
91 | + line-height: 10px; | ||
92 | +} | ||
93 | + | ||
94 | +#content .pagination .previous_page:before{ | ||
95 | + content:"\f104"; | ||
96 | + margin:0 10px 0 0; | ||
97 | +} | ||
98 | + | ||
99 | +#content .pagination .next_page:after{ | ||
100 | + content:"\f105"; | ||
101 | + margin:0 0 0 10px; | ||
102 | +} | ||
103 | + | ||
70 | #content .pagination .previous_page, | 104 | #content .pagination .previous_page, |
71 | #content .pagination .next_page{ | 105 | #content .pagination .next_page{ |
72 | width: auto; | 106 | width: auto; |