From 33b70b798d4cc2bc6d6db43a40d006dd8c1109b8 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 Signed-off-by: Martin Renvoize --- .../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 1f9ccf69b1..e188f00583 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.39.5