| 0) print ' fieldrequired';
if ($val['type'] == 'text' || $val['type'] == 'html') print ' tdtop';
print '">';
diff --git a/htdocs/core/tpl/extrafields_view.tpl.php b/htdocs/core/tpl/extrafields_view.tpl.php
index db0d6a4897d..a34308432e4 100644
--- a/htdocs/core/tpl/extrafields_view.tpl.php
+++ b/htdocs/core/tpl/extrafields_view.tpl.php
@@ -155,7 +155,6 @@ if (empty($reshook) && is_array($extrafields->attributes[$object->table_element]
print '';
print $extrafields->showInputField($key, $value, '', '', '', 0, $object->id);
-
print '';
print '';
diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php
index c1167524bf5..efd47a94631 100644
--- a/htdocs/theme/eldy/global.inc.php
+++ b/htdocs/theme/eldy/global.inc.php
@@ -1126,15 +1126,14 @@ div.fichetwothirdright {
}
div.fichehalfleft {
browser->layout != 'phone') { print "float: ".$left.";\n"; } ?>
- browser->layout != 'phone') { print "width: 50%;\n"; } ?>
+ browser->layout != 'phone') { print "width: calc(50% - 10px);\n"; } ?>
}
div.fichehalfright {
browser->layout != 'phone') { print "float: ".$right.";\n"; } ?>
- browser->layout != 'phone') { print "width: 50%;\n"; } ?>
+ browser->layout != 'phone') { print "width: calc(50% - 10px);\n"; } ?>
}
-div.ficheaddleft {
- browser->layout != 'phone') { print "padding-".$left.": 16px;\n"; }
- else print "margin-top: 10px;\n"; ?>
+div.fichehalfright {
+ browser->layout == 'phone') { print "margin-top: 10px;\n"; } ?>
}
div.firstcolumn div.box {
padding-right: 10px;
@@ -1174,8 +1173,7 @@ div.secondcolumn div.box {
float: none;
width: auto;
}
- div.ficheaddleft {
-
+ div.fichehalfright {
margin-top: 10px;
}
div.firstcolumn div.box {
@@ -1198,13 +1196,13 @@ div.secondcolumn div.box {
width: auto;
}
- .fichehalfright-lg .ficheaddleft{
+ .fichehalfright-lg .fichehalfright {
padding-left:0;
}
}
/* For table into table into card */
-div.ficheaddleft tr.liste_titre:first-child td table.nobordernopadding td {
+div.fichehalfright tr.liste_titre:first-child td table.nobordernopadding td {
padding: 0 0 0 0;
}
div.nopadding {
@@ -2466,9 +2464,9 @@ td.border, div.tagtable div div.border {
}
-/*.ficheaddleft table.noborder {
+.fichehalfright table.noborder {
margin: 0px 0px 0px 0px;
-}*/
+}
table.liste, table.noborder, table.formdoc, div.noborder {
width: 100%;
@@ -2498,7 +2496,7 @@ table.liste tr:last-of-type td, table.noborder:not(#tablelines) tr:last-of-type
border-bottom-color: rgb();
border-bottom-style: solid;
}
-div.tabBar div.ficheaddleft table.noborder:not(.margintable):not(.paymenttable):last-of-type {
+div.tabBar div.fichehalfright table.noborder:not(.margintable):not(.paymenttable):last-of-type {
border-bottom: 1px solid rgb();
}
div.tabBar table.border>tbody>tr:last-of-type>td {
@@ -2506,7 +2504,7 @@ div.tabBar table.border>tbody>tr:last-of-type>td {
border-bottom-color: rgb();
border-bottom-style: solid;
}
-div.tabBar div.ficheaddleft table.noborder {
+div.tabBar div.fichehalfright table.noborder {
border-bottom: none;
}
@@ -3013,8 +3011,8 @@ div.tabBar .noborder {
/* Prepare to remove class pair - impair */
.noborder > tbody > tr:nth-child(even):not(.liste_titre), .liste > tbody > tr:nth-child(even):not(.liste_titre),
-div:not(.fichecenter):not(.fichehalfleft):not(.ficheaddleft) > .border > tbody > tr:nth-of-type(even):not(.liste_titre), .liste > tbody > tr:nth-of-type(even):not(.liste_titre),
-div:not(.fichecenter):not(.fichehalfleft):not(.ficheaddleft) .oddeven.tagtr:nth-of-type(even):not(.liste_titre)
+div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright):not(.ficheaddleft) > .border > tbody > tr:nth-of-type(even):not(.liste_titre), .liste > tbody > tr:nth-of-type(even):not(.liste_titre),
+div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright):not(.ficheaddleft) .oddeven.tagtr:nth-of-type(even):not(.liste_titre)
{
background: linear-gradient(bottom, rgb() 85%, rgb() 100%);
background: -o-linear-gradient(bottom, rgb() 85%, rgb() 100%);
@@ -3029,8 +3027,8 @@ div:not(.fichecenter):not(.fichehalfleft):not(.ficheaddleft) .oddeven.tagtr:nth-
}
.noborder > tbody > tr:nth-child(odd):not(.liste_titre), .liste > tbody > tr:nth-child(odd):not(.liste_titre),
-div:not(.fichecenter):not(.fichehalfleft):not(.ficheaddleft) > .border > tbody > tr:nth-of-type(odd):not(.liste_titre), .liste > tbody > tr:nth-of-type(odd):not(.liste_titre),
-div:not(.fichecenter):not(.fichehalfleft):not(.ficheaddleft) .oddeven.tagtr:nth-of-type(odd):not(.liste_titre)
+div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright):not(.ficheaddleft) > .border > tbody > tr:nth-of-type(odd):not(.liste_titre), .liste > tbody > tr:nth-of-type(odd):not(.liste_titre),
+div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright):not(.ficheaddleft) .oddeven.tagtr:nth-of-type(odd):not(.liste_titre)
{
background: linear-gradient(bottom, rgb() 85%, rgb() 100%);
background: -o-linear-gradient(bottom, rgb() 85%, rgb() 100%);
@@ -3057,9 +3055,9 @@ ul.noborder li:nth-child(even):not(.liste_titre) {
overflow-x: auto;
min-height: 40px;
}
-/*.ficheaddleft div.boxstats, .ficheaddright div.boxstats {
+.ficheaddleft div.boxstats, .ficheaddright div.boxstats {
border: none;
-}*/
+}
.boxstatsborder {
/* border: 1px solid #CCC !important; */
}
diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php
index 3aea173df6c..6e569fa93d3 100644
--- a/htdocs/theme/md/style.css.php
+++ b/htdocs/theme/md/style.css.php
@@ -1364,9 +1364,8 @@ div.fichehalfright {
browser->layout != 'phone') { print "float: ".$right.";\n"; } ?>
browser->layout != 'phone') { print "width: 50%;\n"; } ?>
}
-div.ficheaddleft {
- browser->layout != 'phone') { print "padding-".$left.": 16px;\n"; }
- else print "margin-top: 10px;\n"; ?>
+div.fichehalfright {
+ browser->layout == 'phone') { print "margin-top: 10px;\n"; } ?>
}
div.firstcolumn div.box {
padding-right: 10px;
@@ -1408,8 +1407,7 @@ div.secondcolumn div.box {
float: none;
width: auto;
}
- div.ficheaddleft {
-
+ div.fichehalfright {
margin-top: 10px;
}
div.firstcolumn div.box {
@@ -1421,7 +1419,7 @@ div.secondcolumn div.box {
}
/* For table into table into card */
-div.ficheaddleft tr.liste_titre:first-child td table.nobordernopadding td, div.nopadding {
+div.fichehalfright tr.liste_titre:first-child td table.nobordernopadding td, div.nopadding {
padding: 0 0 0 0;
}
div.nopadding {
@@ -2736,7 +2734,7 @@ td.border, div.tagtable div div.border {
border-bottom: 1px solid rgb();
}
-.ficheaddleft table.noborder {
+.fichehalfright table.noborder {
margin: 0px 0px 0px 0px;
}
div.colorback
@@ -3275,8 +3273,8 @@ div .tdtop {
/* Prepare to remove class pair - impair */
.noborder > tbody > tr:nth-child(even):not(.liste_titre), .liste > tbody > tr:nth-child(even):not(.liste_titre),
-div:not(.fichecenter):not(.fichehalfleft):not(.ficheaddleft) > .border > tbody > tr:nth-of-type(even):not(.liste_titre), .liste > tbody > tr:nth-of-type(even):not(.liste_titre),
-div:not(.fichecenter):not(.fichehalfleft):not(.ficheaddleft) .oddeven.tagtr:nth-of-type(even):not(.liste_titre)
+div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright):not(.ficheaddleft) > .border > tbody > tr:nth-of-type(even):not(.liste_titre), .liste > tbody > tr:nth-of-type(even):not(.liste_titre),
+div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright):not(.ficheaddleft) .oddeven.tagtr:nth-of-type(even):not(.liste_titre)
{
background: linear-gradient(to bottom, rgb() 85%, rgb() 100%);
background: -o-linear-gradient(bottom, rgb() 85%, rgb() 100%);
@@ -3291,8 +3289,8 @@ div:not(.fichecenter):not(.fichehalfleft):not(.ficheaddleft) .oddeven.tagtr:nth-
}
.noborder > tbody > tr:nth-child(odd):not(.liste_titre), .liste > tbody > tr:nth-child(odd):not(.liste_titre),
-div:not(.fichecenter):not(.fichehalfleft):not(.ficheaddleft) > .border > tbody > tr:nth-of-type(odd):not(.liste_titre), .liste > tbody > tr:nth-of-type(odd):not(.liste_titre),
-div:not(.fichecenter):not(.fichehalfleft):not(.ficheaddleft) .oddeven.tagtr:nth-of-type(odd):not(.liste_titre)
+div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright):not(.ficheaddleft) > .border > tbody > tr:nth-of-type(odd):not(.liste_titre), .liste > tbody > tr:nth-of-type(odd):not(.liste_titre),
+div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright):not(.ficheaddleft) .oddeven.tagtr:nth-of-type(odd):not(.liste_titre)
{
background: linear-gradient(to bottom, rgb() 85%, rgb() 100%);
background: -o-linear-gradient(bottom, rgb() 85%, rgb() 100%);
@@ -3319,9 +3317,9 @@ ul.noborder li:nth-child(even):not(.liste_titre) {
overflow-x: auto;
min-height: 40px;
}
-/*.ficheaddleft div.boxstats, .ficheaddright div.boxstats {
+.ficheaddleft div.boxstats, .ficheaddright div.boxstats {
border: none;
-}*/
+}
.boxstatsborder {
/* border: 1px solid #CCC !important; */
}
|