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?'ref_previous).$moreparam.'">'.(empty($conf->dol_use_jmobile)?img_picto($langs->trans("Previous"),'previous.png'):' ').'':'';
//$next_ref = $object->ref_next?'ref_next).$moreparam.'">'.(empty($conf->dol_use_jmobile)?img_picto($langs->trans("Next"),'next.png'):' ').'':'';
- $previous_ref = $object->ref_previous?'ref_previous).$moreparam.'">'.(empty($conf->dol_use_jmobile)?'<':' ').'':'';
- $next_ref = $object->ref_next?'ref_next).$moreparam.'">'.(empty($conf->dol_use_jmobile)?'>':' ').'':'';
+ $previous_ref = $object->ref_previous?'ref_previous).$moreparam.'">'.(empty($conf->dol_use_jmobile)?'<':' ').'':''.(empty($conf->dol_use_jmobile)?'<':' ').'';
+ $next_ref = $object->ref_next?'ref_next).$moreparam.'">'.(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;