Skip to content

Commit 70086a2

Browse files
committed
Fix pagination styles
1 parent 4ea6756 commit 70086a2

1 file changed

Lines changed: 17 additions & 4 deletions

File tree

app/assets/stylesheets/activeadmin_blaze_theme/_navigation.scss

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
body.active_admin {
22
nav.pagination {
33
@extend .c-pagination;
4+
5+
float: none;
6+
justify-content: center;
7+
margin: 0;
8+
padding: 0;
9+
410
span > a {
511
background: transparent;
612
background-image: none;
@@ -12,35 +18,42 @@ body.active_admin {
1218
margin: 0 auto;
1319
text-shadow: none;
1420
}
21+
1522
a:hover, span:hover > a {
1623
background: transparent;
1724
background-image: none;
18-
color: #fff;
25+
color: #888;
1926
text-shadow: none;
2027
}
28+
2129
.first, .prev, .next, .last {
22-
@extend .c-pagination__control;
2330
display: inline-block;
2431
margin-right: 2px;
2532
padding: 0;
2633
}
34+
2735
.prev {
2836
margin-right: 16px;
2937
}
38+
3039
.next {
3140
margin-left: 14px;
3241
}
42+
3343
.page {
34-
// @extend .c-pagination__page;
3544
display: inline-block;
3645
margin-right: 2px;
3746
padding: 0;
3847
&.current {
39-
// @extend .c-pagination__page--current;
48+
background-color: transparent;
4049
background-image: none;
50+
border-radius: 20px;
51+
color: #000;
4152
padding: 6px 10px;
53+
text-shadow: none;
4254
}
4355
&.current:hover {
56+
background-color: transparent;
4457
background-image: none;
4558
}
4659
&.gap {

0 commit comments

Comments
 (0)