From c62b32819777f107b9ed8744a041a1f0c05f3e48 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 22 Dec 2014 10:44:26 +0100 Subject: [PATCH] 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. --- 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 f7239fe..68d19de 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; -- 2.1.0