From ff96ebf3814163f5a1e2ca30899c453d3ae0e041 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 29 Mar 2016 22:09:13 +0200 Subject: [PATCH] Enahnce navigation --- htdocs/core/class/html.form.class.php | 4 ++-- htdocs/theme/eldy/style.css.php | 10 ++++++++++ htdocs/theme/md/style.css.php | 2 ++ 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 25775c36a77..6181f6eb6bf 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -5501,8 +5501,8 @@ class Form //$previous_ref = $object->ref_previous?''.(empty($conf->dol_use_jmobile)?img_picto($langs->trans("Previous"),'previous.png'):' ').'':''; //$next_ref = $object->ref_next?''.(empty($conf->dol_use_jmobile)?img_picto($langs->trans("Next"),'next.png'):' ').'':''; - $previous_ref = $object->ref_previous?''.(empty($conf->dol_use_jmobile)?'<':' ').'':''; - $next_ref = $object->ref_next?''.(empty($conf->dol_use_jmobile)?'>':' ').'':''; + $previous_ref = $object->ref_previous?''.(empty($conf->dol_use_jmobile)?'<':' ').'':''.(empty($conf->dol_use_jmobile)?'<':' ').''; + $next_ref = $object->ref_next?''.(empty($conf->dol_use_jmobile)?'>':' ').'':''.(empty($conf->dol_use_jmobile)?'>':' ').''; //print "xx".$previous_ref."x".$next_ref; $ret.='
'; diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index 17187fba7fc..00701e9621d 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -2292,6 +2292,16 @@ div.pagination li.pagination span { } div.pagination li.pagination span.inactive { cursor: default; + color: #ccc; +} +div.pagination li a.inactive:hover, +div.pagination li span.inactive:hover { + background-color: #f5f5f5; + background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6)); + background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6); + background-image: -o-linear-gradient(top, #ffffff, #e6e6e6); + background-image: linear-gradient(to bottom, #ffffff, #e6e6e6); } /*div.pagination li.litext { padding-top: 8px; diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index 15f763ef901..e4a4eb58107 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -2134,7 +2134,9 @@ div.pagination li.pagination span { } div.pagination li.pagination span.inactive { cursor: default; + color: #ccc; } + div.pagination li.litext a { border: none; padding-right: 10px;