From 0de7dde04fdfdf21524d71d7511117737bcf5db3 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 22 Dec 2014 10:44:26 +0100 Subject: [PATCH] [PASSED QA] Bug 13487: DT pagination contains '...' for the full_numbers form Since the DT upgrade (bug 12986), the full_numbers pagination adds a span (containing '...'). It is not managed by the css file and is put at the end of the page numbers ( "1 2 3 4 5 20 NEXT LAST ...", we expect "1 2 3 4 5 ... 20 NEXT LAST"). Test plan: 1/ Go on the member search and launch a search which will return more than 7 pages 2/ Without this patch, the '...' span is put at the end of the pagination bar. 3/ With the patch it should be better placed. Signed-off-by: Chris Cormack Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/css/datatables.css | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/datatables.css b/koha-tmpl/intranet-tmpl/prog/en/css/datatables.css index 22f3f2c..587f4e0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/datatables.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/datatables.css @@ -68,17 +68,21 @@ div.dataTables_paginate { } .paging_full_numbers a.paginate_button, -.paging_full_numbers a.paginate_active { +.paging_full_numbers a.paginate_active, +.paging_full_numbers > span > span { border-right : 1px solid #AAA; border-left : 1px solid #FFF; display : block; float : left; line-height:1.9em; padding : 0.4em 0.7em; +} +.paging_full_numbers a.paginate_button, +.paging_full_numbers a.paginate_active { cursor: pointer; } - -.paging_full_numbers a.paginate_button { +.paging_full_numbers a.paginate_button, +.paging_full_numbers > span > span { background-color : #FFF; background-repeat: no-repeat; color : #0000CC; -- 1.9.1