From: Owen Leonard Date: Fri, 17 May 2019 15:03:24 +0000 (+0000) Subject: Bug 22935: Improve style of Bootstrap pagination X-Git-Url: http://git.equinoxoli.org/?p=koha-equinox.git;a=commitdiff_plain;h=33b70b798d4cc2bc6d6db43a40d006dd8c1109b8 Bug 22935: Improve style of Bootstrap pagination This patch makes some updates to the staff client CSS and adds Font Awesome icons to the Bootstrap pagination include. To test, apply the patch and rebuild the staff client CSS. Perform a search in the staff client which will return multiple pages of results. Check that the pagination links look good. Signed-off-by: Maryse Simard Signed-off-by: Bin Wen Signed-off-by: Chris Cormack Signed-off-by: Martin Renvoize --- diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss index 1f9ccf6..e188f00 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -3358,6 +3358,34 @@ nav { text-decoration: none; } +.pagination { + margin:.5em .8em; + + .active { + a { + background-color: #5A9EAA; + border-color: #5A9EAA; + + &:hover, + &:focus { + background-color: #5A9EAA; + border-color: #5A9EAA; + } + } + + span { + background-color: #5A9EAA; + border-color: #5A9EAA; + + &:hover, + &:focus { + background-color: #5A9EAA; + border-color: #5A9EAA; + } + } + } +} + button, .btn { border-color: #ADADAD #ADADAD #949494; diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/page-numbers.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/page-numbers.inc index 6ea10c1..4fb9a6b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/page-numbers.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/page-numbers.inc @@ -1,9 +1,9 @@ [% IF ( PAGE_NUMBERS ) %][% END %]