From 10f66fa3f2ca7020b681ba0eb60c196c2ee9d158 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 --- .../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 0ac6b70..931b351 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 %] -- 2.7.4