Skip to content

Commit

Permalink
Style plone 5 pagination.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathias Leimgruber committed Aug 30, 2021
1 parent 62e51e0 commit e46e972
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 20 deletions.
2 changes: 1 addition & 1 deletion docs/HISTORY.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Changelog
4.0.7 (unreleased)
------------------

- Nothing changed yet.
- Style plone 5 pagination css klass. [mathias.leimgruber]


4.0.6 (2021-06-04)
Expand Down
37 changes: 18 additions & 19 deletions plonetheme/onegov/resources/sass/components/form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -279,26 +279,25 @@ input[type="radio"] {

/* @group listing bar */

div.listingBar .next {
display: inline-block;
float: right;
}
div.listingBar .previous {
display: inline-block;
}
div.listingBar .current {
vertical-align: middle;
}
.listingBar, .pagination,
#content .listingBar, #content .pagination {
ul {
@include ul('inline');
}

#content div.listingBar a,
#content div.listingBar span.current,
div.listingBar a {
padding: 0.5em 0.75em;
vertical-align: middle;
}
#content div.listingBar span.current {
@include borderradius();
background-color: #e7eff0;
.next,
.previous {
display: none;
}

a, span.current, .current, .active {
padding: 0.5em 0.75em;
vertical-align: middle;
}
span.current {
@include borderradius();
background-color: #e7eff0;
}
}

/* @end */
Expand Down

0 comments on commit e46e972

Please sign in to comment.