From ad02903e7e8ea6068ecf0631e9fb9ccae20af389 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 17 May 2019 15:03:24 +0000 Subject: [PATCH] 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 --- .../intranet-tmpl/prog/css/src/staff-global.scss | 28 ++++++++++++++++++++++ .../prog/en/includes/page-numbers.inc | 8 +++---- 2 files changed, 32 insertions(+), 4 deletions(-) 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 0ac6b70d48..931b3512d0 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 6ea10c1240..4fb9a6bba4 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 %] -- 2.11.0