Uniformize code
This commit is contained in:
parent
522861ac56
commit
2599caaaec
@ -136,7 +136,7 @@ if ($conf->contrat->enabled && $user->rights->contrat->lire)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Liste des propal brouillons
|
* Draft proposals
|
||||||
*/
|
*/
|
||||||
if ($conf->propal->enabled && $user->rights->propale->lire)
|
if ($conf->propal->enabled && $user->rights->propale->lire)
|
||||||
{
|
{
|
||||||
@ -199,7 +199,7 @@ if ($conf->propal->enabled && $user->rights->propale->lire)
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Commandes brouillons
|
* Draft orders
|
||||||
*/
|
*/
|
||||||
if ($conf->commande->enabled && $user->rights->commande->lire)
|
if ($conf->commande->enabled && $user->rights->commande->lire)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -80,7 +80,7 @@ function show_array_actions_to_do($max=5)
|
|||||||
$staticaction->id=$obj->id;
|
$staticaction->id=$obj->id;
|
||||||
print '<td>'.$staticaction->getNomUrl(1,12).'</td>';
|
print '<td>'.$staticaction->getNomUrl(1,12).'</td>';
|
||||||
|
|
||||||
print '<td>'.dol_trunc($obj->label,24).'</td>';
|
print '<td>'.dol_trunc($obj->label,22).'</td>';
|
||||||
|
|
||||||
$customerstatic->id=$obj->rowid;
|
$customerstatic->id=$obj->rowid;
|
||||||
$customerstatic->nom=$obj->sname;
|
$customerstatic->nom=$obj->sname;
|
||||||
|
|||||||
@ -755,6 +755,10 @@ table.nobordernopadding td {
|
|||||||
border: 0px;
|
border: 0px;
|
||||||
padding: 0px 0px;
|
padding: 0px 0px;
|
||||||
}
|
}
|
||||||
|
table.nobordernopadding tr {
|
||||||
|
border: 0px;
|
||||||
|
padding: 0px 0px;
|
||||||
|
}
|
||||||
|
|
||||||
table.liste {
|
table.liste {
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
|
|||||||
@ -329,7 +329,6 @@ div.blockvmenuimpair
|
|||||||
}
|
}
|
||||||
|
|
||||||
a.leftmenu {
|
a.leftmenu {
|
||||||
font-size: 0.9em;
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #202020;
|
color: #202020;
|
||||||
}
|
}
|
||||||
@ -339,7 +338,6 @@ td.barre {
|
|||||||
border-bottom: 1px solid #000000;
|
border-bottom: 1px solid #000000;
|
||||||
background: #b3cccc;
|
background: #b3cccc;
|
||||||
font-family: Helvetica, Verdana;
|
font-family: Helvetica, Verdana;
|
||||||
font-size: 0.9em;
|
|
||||||
color: #000000;
|
color: #000000;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
@ -490,6 +488,10 @@ border-collapse: collapse;
|
|||||||
border: 0px;
|
border: 0px;
|
||||||
padding: 0px 0px;
|
padding: 0px 0px;
|
||||||
}
|
}
|
||||||
|
table.nobordernopadding tr {
|
||||||
|
border: 0px;
|
||||||
|
padding: 0px 0px;
|
||||||
|
}
|
||||||
table.nobordernopadding td {
|
table.nobordernopadding td {
|
||||||
border: 0px;
|
border: 0px;
|
||||||
padding: 0px 0px;
|
padding: 0px 0px;
|
||||||
@ -527,13 +529,12 @@ div.menus {
|
|||||||
|
|
||||||
.menu {
|
.menu {
|
||||||
background: #b3cccc;
|
background: #b3cccc;
|
||||||
font-size: 0.9em; font-weight: bold;
|
font-weight: bold;
|
||||||
color: #000000;
|
color: #000000;
|
||||||
text-decoration: none }
|
text-decoration: none }
|
||||||
|
|
||||||
.submenu {
|
.submenu {
|
||||||
background: #b3cccc;
|
background: #b3cccc;
|
||||||
font-size: 0.9em;
|
|
||||||
color: #000000;
|
color: #000000;
|
||||||
text-decoration: none }
|
text-decoration: none }
|
||||||
|
|
||||||
@ -677,13 +678,11 @@ tr.liste_total td {
|
|||||||
.pair {
|
.pair {
|
||||||
background: #b3cccc;
|
background: #b3cccc;
|
||||||
font-family: Helvetica, Verdana;
|
font-family: Helvetica, Verdana;
|
||||||
font-size: 0.9em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.impair {
|
.impair {
|
||||||
background: #cceeee;
|
background: #cceeee;
|
||||||
font-family: Helvetica, Verdana;
|
font-family: Helvetica, Verdana;
|
||||||
font-size: 0.9em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -788,6 +788,23 @@ border-bottom-width: 1px;
|
|||||||
border-bottom-color: #BBBBBB;
|
border-bottom-color: #BBBBBB;
|
||||||
border-bottom-style: solid;
|
border-bottom-style: solid;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
|
table.noborder tr {
|
||||||
|
border-top-color: #FEFEFE;
|
||||||
|
|
||||||
|
border-right-width: 1px;
|
||||||
|
border-right-color: #BBBBBB;
|
||||||
|
border-right-style: solid;
|
||||||
|
|
||||||
|
border-left-width: 1px;
|
||||||
|
border-left-color: #BBBBBB;
|
||||||
|
border-left-style: solid;
|
||||||
|
|
||||||
|
border-bottom-width: 1px;
|
||||||
|
border-bottom-color: #BBBBBB;
|
||||||
|
border-bottom-style: solid;
|
||||||
|
}
|
||||||
|
*/
|
||||||
table.noborder td {
|
table.noborder td {
|
||||||
border: 0px;
|
border: 0px;
|
||||||
padding: 1px 2px;
|
padding: 1px 2px;
|
||||||
@ -797,6 +814,10 @@ table.nobordernopadding {
|
|||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
border: 0px;
|
border: 0px;
|
||||||
}
|
}
|
||||||
|
table.nobordernopadding tr {
|
||||||
|
border: 0px;
|
||||||
|
padding: 0px 0px;
|
||||||
|
}
|
||||||
table.nobordernopadding td {
|
table.nobordernopadding td {
|
||||||
border: 0px;
|
border: 0px;
|
||||||
padding: 0px 0px;
|
padding: 0px 0px;
|
||||||
|
|||||||
@ -638,6 +638,10 @@ table.nobordernopadding {
|
|||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
border: 0px;
|
border: 0px;
|
||||||
}
|
}
|
||||||
|
table.nobordernopadding tr {
|
||||||
|
border: 0px;
|
||||||
|
padding: 0px 0px;
|
||||||
|
}
|
||||||
table.nobordernopadding td {
|
table.nobordernopadding td {
|
||||||
border: 0px;
|
border: 0px;
|
||||||
padding: 0px 0px;
|
padding: 0px 0px;
|
||||||
@ -741,7 +745,6 @@ tr.liste_titre {
|
|||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
background: #777799;
|
background: #777799;
|
||||||
font-family: helvetica, verdana, arial, sans-serif;
|
font-family: helvetica, verdana, arial, sans-serif;
|
||||||
font-weight: bold;
|
|
||||||
border-left: 1px solid #FFFFFF;
|
border-left: 1px solid #FFFFFF;
|
||||||
border-right: 1px solid #FFFFFF;
|
border-right: 1px solid #FFFFFF;
|
||||||
border-top: 1px solid #FFFFFF;
|
border-top: 1px solid #FFFFFF;
|
||||||
@ -753,7 +756,6 @@ td.liste_titre {
|
|||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
background: #777799;
|
background: #777799;
|
||||||
font-family: helvetica, verdana, arial, sans-serif;
|
font-family: helvetica, verdana, arial, sans-serif;
|
||||||
font-weight: bold;
|
|
||||||
border-top: 1px solid #FFFFFF;
|
border-top: 1px solid #FFFFFF;
|
||||||
border-bottom: 1px solid #FFFFFF;
|
border-bottom: 1px solid #FFFFFF;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
@ -764,7 +766,6 @@ td.liste_titre {
|
|||||||
color: #DCCCBB;
|
color: #DCCCBB;
|
||||||
background: #777799;
|
background: #777799;
|
||||||
font-family: helvetica, verdana, arial, sans-serif;
|
font-family: helvetica, verdana, arial, sans-serif;
|
||||||
font-weight: bold;
|
|
||||||
border-top: 1px solid #FFFFFF;
|
border-top: 1px solid #FFFFFF;
|
||||||
border-bottom: 1px solid #FFFFFF;
|
border-bottom: 1px solid #FFFFFF;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
@ -781,7 +782,6 @@ th {
|
|||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
background: #777799;
|
background: #777799;
|
||||||
font-family: helvetica, verdana, arial, sans-serif;
|
font-family: helvetica, verdana, arial, sans-serif;
|
||||||
font-weight: bold;
|
|
||||||
border-left: 1px solid #FFFFFF;
|
border-left: 1px solid #FFFFFF;
|
||||||
border-right: 1px solid #FFFFFF;
|
border-right: 1px solid #FFFFFF;
|
||||||
border-top: 1px solid #FFFFFF;
|
border-top: 1px solid #FFFFFF;
|
||||||
|
|||||||
@ -537,6 +537,10 @@ border-collapse: collapse;
|
|||||||
border: 0px;
|
border: 0px;
|
||||||
padding: 0px 0px;
|
padding: 0px 0px;
|
||||||
}
|
}
|
||||||
|
table.nobordernopadding tr {
|
||||||
|
border: 0px;
|
||||||
|
padding: 0px 0px;
|
||||||
|
}
|
||||||
table.nobordernopadding td {
|
table.nobordernopadding td {
|
||||||
border: 0px;
|
border: 0px;
|
||||||
padding: 0px 0px;
|
padding: 0px 0px;
|
||||||
@ -652,7 +656,7 @@ a.impayee:hover { font-weight: bold; color: #550000; }
|
|||||||
div.titre {
|
div.titre {
|
||||||
font-family: helvetica, verdana, arial, sans-serif;
|
font-family: helvetica, verdana, arial, sans-serif;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
color: #666633;
|
color: #333333;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -668,26 +672,23 @@ input.liste_titre {
|
|||||||
tr.liste_titre {
|
tr.liste_titre {
|
||||||
background: #cc9966;
|
background: #cc9966;
|
||||||
font-family: helvetica, verdana, arial, sans-serif;
|
font-family: helvetica, verdana, arial, sans-serif;
|
||||||
font-weight: bold;
|
border-top: 1px solid #78746d;
|
||||||
border-top: 1px solid #78746d;
|
border-left: 1px solid #78746d;
|
||||||
border-left: 1px solid #78746d;
|
border-right: 1px solid #78746d;
|
||||||
border-right: 1px solid #78746d;
|
white-space: nowrap;
|
||||||
white-space: nowrap;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
tr.liste_search {
|
tr.liste_search {
|
||||||
background: #cc9966;
|
background: #cc9966;
|
||||||
font-family: helvetica, verdana, arial, sans-serif;
|
font-family: helvetica, verdana, arial, sans-serif;
|
||||||
font-weight: bold;
|
border-left: 1px solid #78746d;
|
||||||
border-left: 1px solid #78746d;
|
border-right: 1px solid #78746d;
|
||||||
border-right: 1px solid #78746d;
|
white-space: nowrap;
|
||||||
white-space: nowrap;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
td.liste_titre {
|
td.liste_titre {
|
||||||
background: #cc9966;
|
background: #cc9966;
|
||||||
font-family: helvetica, verdana, arial, sans-serif;
|
font-family: helvetica, verdana, arial, sans-serif;
|
||||||
font-weight: bold;
|
|
||||||
border-top: 1px solid #FFFFFF;
|
border-top: 1px solid #FFFFFF;
|
||||||
border-bottom: 1px solid #FFFFFF;
|
border-bottom: 1px solid #FFFFFF;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
@ -698,26 +699,22 @@ td.liste_titre {
|
|||||||
color: #fcfffc;
|
color: #fcfffc;
|
||||||
background: #BBBB88;
|
background: #BBBB88;
|
||||||
font-family: helvetica, verdana, arial, sans-serif;
|
font-family: helvetica, verdana, arial, sans-serif;
|
||||||
font-weight: bold;
|
|
||||||
border-top: 1px solid #FFFFFF;
|
border-top: 1px solid #FFFFFF;
|
||||||
border-bottom: 1px solid #FFFFFF;
|
border-bottom: 1px solid #FFFFFF;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
tr.liste_total {
|
tr.liste_total {
|
||||||
background: #F0F0F0;
|
background: #F0F0F0;
|
||||||
font-weight: bold;
|
white-space: nowrap;
|
||||||
white-space: nowrap;
|
border-top: 1px solid #FFFFFF;
|
||||||
border-top: 1px solid #FFFFFF;
|
border-bottom: 1px solid #78746d;
|
||||||
border-bottom: 1px solid #78746d;
|
font-weight: bold;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
th {
|
th {
|
||||||
background: #BBBB88;
|
background: #BBBB88;
|
||||||
font-family: helvetica, verdana, arial, sans-serif;
|
font-family: helvetica, verdana, arial, sans-serif;
|
||||||
font-weight: bold;
|
|
||||||
border-left: 1px solid #FFFFFF;
|
border-left: 1px solid #FFFFFF;
|
||||||
border-right: 1px solid #FFFFFF;
|
border-right: 1px solid #FFFFFF;
|
||||||
border-top: 1px solid #FFFFFF;
|
border-top: 1px solid #FFFFFF;
|
||||||
@ -742,23 +739,28 @@ tr.impair {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
tr.box_titre {
|
tr.box_titre {
|
||||||
background: #BBBB88;
|
background: #cc9966;
|
||||||
font-family: Helvetica, Verdana;
|
font-family: Helvetica, Verdana;
|
||||||
font-size: 1.0em;
|
border-top: 1px solid #78746d;
|
||||||
font-weight: bold; }
|
border-left: 1px solid #78746d;
|
||||||
|
border-right: 1px solid #78746d;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
tr.box_pair {
|
tr.box_pair {
|
||||||
background: #ded8d2;
|
background: #ded8d2;
|
||||||
font-size: 0.95em; }
|
border: 1px solid #78746d;
|
||||||
|
}
|
||||||
|
|
||||||
tr.box_impair {
|
tr.box_impair {
|
||||||
background: #78746d;
|
background: #ded8d2;
|
||||||
font-family: Helvetica, Verdana;
|
border: 1px solid #78746d;
|
||||||
font-size: 0.95em; }
|
}
|
||||||
|
|
||||||
tr.fiche {
|
tr.fiche {
|
||||||
font-family: Helvetica, Verdana;
|
font-family: Helvetica, Verdana;
|
||||||
font-size: 0.6em; }
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Widgets standard
|
* Widgets standard
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -608,6 +608,10 @@ table.nobordernopadding {
|
|||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
border: 0px;
|
border: 0px;
|
||||||
}
|
}
|
||||||
|
table.nobordernopadding tr {
|
||||||
|
border: 0px;
|
||||||
|
padding: 0px 0px;
|
||||||
|
}
|
||||||
table.nobordernopadding td {
|
table.nobordernopadding td {
|
||||||
border: 0px;
|
border: 0px;
|
||||||
padding: 0px 0px;
|
padding: 0px 0px;
|
||||||
@ -733,7 +737,6 @@ input.liste_titre {
|
|||||||
tr.liste_titre {
|
tr.liste_titre {
|
||||||
background: #BBBB88;
|
background: #BBBB88;
|
||||||
font-family: helvetica, verdana, arial, sans-serif;
|
font-family: helvetica, verdana, arial, sans-serif;
|
||||||
font-weight: bold;
|
|
||||||
border-bottom: 1px solid #000000;
|
border-bottom: 1px solid #000000;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
@ -741,7 +744,6 @@ tr.liste_titre {
|
|||||||
td.liste_titre {
|
td.liste_titre {
|
||||||
background: #BBBB88;
|
background: #BBBB88;
|
||||||
font-family: helvetica, verdana, arial, sans-serif;
|
font-family: helvetica, verdana, arial, sans-serif;
|
||||||
font-weight: bold;
|
|
||||||
border-top: 1px solid #FFFFFF;
|
border-top: 1px solid #FFFFFF;
|
||||||
border-bottom: 1px solid #FFFFFF;
|
border-bottom: 1px solid #FFFFFF;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
@ -752,7 +754,6 @@ td.liste_titre {
|
|||||||
color: #fcfffc;
|
color: #fcfffc;
|
||||||
background: #BBBB88;
|
background: #BBBB88;
|
||||||
font-family: helvetica, verdana, arial, sans-serif;
|
font-family: helvetica, verdana, arial, sans-serif;
|
||||||
font-weight: bold;
|
|
||||||
border-top: 1px solid #FFFFFF;
|
border-top: 1px solid #FFFFFF;
|
||||||
border-bottom: 1px solid #FFFFFF;
|
border-bottom: 1px solid #FFFFFF;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
@ -760,31 +761,27 @@ td.liste_titre {
|
|||||||
|
|
||||||
tr.liste_total td {
|
tr.liste_total td {
|
||||||
background: #F0F0F0;
|
background: #F0F0F0;
|
||||||
font-weight: bold;
|
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
font-weight: bold;
|
||||||
border-top: 1px solid #888888;
|
border-top: 1px solid #888888;
|
||||||
}
|
}
|
||||||
|
|
||||||
th {
|
th {
|
||||||
background: #BBBB88;
|
background: #BBBB88;
|
||||||
font-family: helvetica, verdana, arial, sans-serif;
|
font-family: helvetica, verdana, arial, sans-serif;
|
||||||
font-weight: bold;
|
|
||||||
border-left: 1px solid #FFFFFF;
|
border-left: 1px solid #FFFFFF;
|
||||||
border-right: 1px solid #FFFFFF;
|
border-right: 1px solid #FFFFFF;
|
||||||
border-top: 1px solid #FFFFFF;
|
border-top: 1px solid #FFFFFF;
|
||||||
border-bottom: 1px solid #FFFFFF;
|
border-bottom: 1px solid #FFFFFF;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
font-size: 1.0em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.pair {
|
.pair {
|
||||||
background: #eeeecc;
|
background: #eeeecc;
|
||||||
font-size: 1.0em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.impair {
|
.impair {
|
||||||
background: #dcdcb3;
|
background: #dcdcb3;
|
||||||
font-size: 1.0em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -792,23 +789,25 @@ th {
|
|||||||
* Boxes
|
* Boxes
|
||||||
*/
|
*/
|
||||||
tr.box_titre {
|
tr.box_titre {
|
||||||
background: #BBBB88;
|
background: #BBBB88;
|
||||||
font-family: Helvetica, Verdana;
|
border-top: 1px solid #FFFFFF;
|
||||||
font-size: 1.0em;
|
border-bottom: 1px solid #FFFFFF;
|
||||||
font-weight: bold; }
|
font-family: Helvetica, Verdana;
|
||||||
|
}
|
||||||
|
|
||||||
tr.box_pair {
|
tr.box_pair {
|
||||||
background: #dcdcb3;
|
background: #dcdcb3;
|
||||||
font-size: 0.95em; }
|
}
|
||||||
|
|
||||||
tr.box_impair {
|
tr.box_impair {
|
||||||
background: #eeeecc;
|
background: #eeeecc;
|
||||||
font-family: Helvetica, Verdana;
|
font-family: Helvetica, Verdana;
|
||||||
font-size: 0.95em; }
|
}
|
||||||
|
|
||||||
tr.fiche {
|
tr.fiche {
|
||||||
font-family: Helvetica, Verdana;
|
font-family: Helvetica, Verdana;
|
||||||
font-size: 0.6em; }
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Widgets standard
|
* Widgets standard
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user