Look and feel v14

This commit is contained in:
Laurent Destailleur 2021-02-06 12:10:27 +01:00
parent 3dedd81f37
commit 7b72ac5a7a
4 changed files with 27 additions and 3 deletions

View File

@ -1231,11 +1231,11 @@ if (empty($action) || $action == 'show_month') // View by month
print '<table width="100%" class="noborder nocellnopadd cal_pannel cal_month">'; print '<table width="100%" class="noborder nocellnopadd cal_pannel cal_month">';
print ' <tr class="liste_titre">'; print ' <tr class="liste_titre">';
// Column title of weeks numbers // Column title of weeks numbers
echo ' <td align="center">#</td>'; echo ' <td class="center">#</td>';
$i = 0; $i = 0;
while ($i < 7) while ($i < 7)
{ {
print ' <td class="center bold uppercase tdfordaytitle">'; print ' <td class="center bold uppercase tdfordaytitle'.($i == 0 ? ' borderleft' : '').'">';
$numdayinweek = (($i + (isset($conf->global->MAIN_START_WEEK) ? $conf->global->MAIN_START_WEEK : 1)) % 7); $numdayinweek = (($i + (isset($conf->global->MAIN_START_WEEK) ? $conf->global->MAIN_START_WEEK : 1)) % 7);
if (!empty($conf->dol_optimize_smallscreen)) if (!empty($conf->dol_optimize_smallscreen))
{ {

View File

@ -3363,7 +3363,10 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $
} else { } else {
$fakey = 'fa-'.$pictowithouttext; $fakey = 'fa-'.$pictowithouttext;
} }
if (in_array($pictowithouttext, array('payment', 'loan'))) { if (in_array($pictowithouttext, array('contract'))) {
$fasize = '0.92em';
}
if (in_array($pictowithouttext, array('intervention', 'payment', 'loan'))) {
$fasize = '0.80em'; $fasize = '0.80em';
} }

View File

@ -807,6 +807,10 @@ span.fa.fa-plus-circle.paddingleft {
{ {
border-right: 1px solid #DDD; border-right: 1px solid #DDD;
} }
.borderleftlight
{
border-left: 1px solid #DDD;
}
#formuserfile { #formuserfile {
margin-top: 4px; margin-top: 4px;
} }
@ -3301,6 +3305,12 @@ td.borderright {
border-right-color: #BBB !important; border-right-color: #BBB !important;
border-right-style: solid !important; border-right-style: solid !important;
} }
td.borderleft {
border: none; /* to erase value for table.nobordernopadding td */
border-left-width: 1px !important;
border-left-color: #BBB !important;
border-left-style: solid !important;
}
/* For table with no filter before */ /* For table with no filter before */

View File

@ -875,6 +875,11 @@ body[class*="colorblind-"] .text-success{
{ {
border-right: 1px solid #f4f4f4; border-right: 1px solid #f4f4f4;
} }
.borderleftlight
{
border-left: 1px solid #f4f4f4;
}
#formuserfile { #formuserfile {
margin-top: 4px; margin-top: 4px;
} }
@ -3254,6 +3259,12 @@ td.borderright {
border-right-color: #BBB !important; border-right-color: #BBB !important;
border-right-style: solid !important; border-right-style: solid !important;
} }
td.borderleft {
border: none; /* to erase value for table.nobordernopadding td */
border-left-width: 1px !important;
border-left-color: #BBB !important;
border-left-style: solid !important;
}
/* For table with no filter before */ /* For table with no filter before */
table.listwithfilterbefore { table.listwithfilterbefore {