This commit is contained in:
Laurent Destailleur 2018-03-04 10:47:35 +01:00
parent 7b9aee4af0
commit 5839cedb4c
3 changed files with 39 additions and 29 deletions

View File

@ -339,14 +339,14 @@ if (empty($user->societe_id))
} }
} }
$boxstat.='<a class="boxstatsindicator thumbstat nobold nounderline"></a>'; $boxstat.='<a class="boxstatsindicator thumbstat nobold nounderline"><div class="boxstatsempty"></div></a>';
$boxstat.='<a class="boxstatsindicator thumbstat nobold nounderline"></a>'; $boxstat.='<a class="boxstatsindicator thumbstat nobold nounderline"><div class="boxstatsempty"></div></a>';
$boxstat.='<a class="boxstatsindicator thumbstat nobold nounderline"></a>'; $boxstat.='<a class="boxstatsindicator thumbstat nobold nounderline"><div class="boxstatsempty"></div></a>';
$boxstat.='<a class="boxstatsindicator thumbstat nobold nounderline"></a>'; $boxstat.='<a class="boxstatsindicator thumbstat nobold nounderline"><div class="boxstatsempty"></div></a>';
$boxstat.='<a class="boxstatsindicator thumbstat nobold nounderline"></a>'; $boxstat.='<a class="boxstatsindicator thumbstat nobold nounderline"><div class="boxstatsempty"></div></a>';
$boxstat.='<a class="boxstatsindicator thumbstat nobold nounderline"></a>'; $boxstat.='<a class="boxstatsindicator thumbstat nobold nounderline"><div class="boxstatsempty"></div></a>';
$boxstat.='<a class="boxstatsindicator thumbstat nobold nounderline"></a>'; $boxstat.='<a class="boxstatsindicator thumbstat nobold nounderline"><div class="boxstatsempty"></div></a>';
$boxstat.='<a class="boxstatsindicator thumbstat nobold nounderline"></a>'; $boxstat.='<a class="boxstatsindicator thumbstat nobold nounderline"><div class="boxstatsempty"></div></a>';
$boxstat.='</td></tr>'; $boxstat.='</td></tr>';
$boxstat.='</table>'; $boxstat.='</table>';
@ -583,12 +583,12 @@ if (! empty($valid_dashboardlines))
$boxwork .="\n"; $boxwork .="\n";
} }
$boxwork .='<div class="boxstatsindicator thumbstat150 nobold nounderline"></div>'; $boxwork .='<div class="boxstatsindicator thumbstat150 nobold nounderline"><div class="boxstats150empty"></div></div>';
$boxwork .='<div class="boxstatsindicator thumbstat150 nobold nounderline"></div>'; $boxwork .='<div class="boxstatsindicator thumbstat150 nobold nounderline"><div class="boxstats150empty"></div></div>';
$boxwork .='<div class="boxstatsindicator thumbstat150 nobold nounderline"></div>'; $boxwork .='<div class="boxstatsindicator thumbstat150 nobold nounderline"><div class="boxstats150empty"></div></div>';
$boxwork .='<div class="boxstatsindicator thumbstat150 nobold nounderline"></div>'; $boxwork .='<div class="boxstatsindicator thumbstat150 nobold nounderline"><div class="boxstats150empty"></div></div>';
$boxwork .='<div class="boxstatsindicator thumbstat150 nobold nounderline"></div>'; $boxwork .='<div class="boxstatsindicator thumbstat150 nobold nounderline"><div class="boxstats150empty"></div></div>';
$boxwork .='<div class="boxstatsindicator thumbstat150 nobold nounderline"></div>'; $boxwork .='<div class="boxstatsindicator thumbstat150 nobold nounderline"><div class="boxstats150empty"></div></div>';
$boxwork .='</td></tr>'; $boxwork .='</td></tr>';
} }
else else

View File

@ -833,21 +833,13 @@ div.fiche>div.tabBar>form>div.div-table-responsive {
flex-flow: row wrap; flex-flow: row wrap;
justify-content: flex-start; justify-content: flex-start;
} }
/*.thumbstat { .thumbstat {
flex: 1 1 116px; min-width: 150px;
}*/ }
.thumbstat150 { .thumbstat150 {
flex: 1 1 170px; min-width: 170px;
} }
.thumbstat, .thumbstat150 { .thumbstat, .thumbstat150 {
/*
flex-shrink: 1;
flex-basis: 140px;
display: inline;
width: 100%;
justify-content: flex-start;
align-self: flex-start;
*/
flex-grow: 1; flex-grow: 1;
flex-shrink: 0; flex-shrink: 0;
min-width: 150px; min-width: 150px;
@ -3095,6 +3087,20 @@ ul.noborder li:nth-child(even):not(.liste_titre) {
.boxstatscontent { .boxstatscontent {
padding: 3px; padding: 3px;
} }
.boxstatsempty {
width: 121px;
padding-left: 3px;
padding-right: 3px;
margin-left: 8px;
margin-right: 8px;
}
.boxstats150empty {
width: 158px;
padding-left: 3px;
padding-right: 3px;
margin-left: 8px;
margin-right: 8px;
}
@media only screen and (max-width: 767px) @media only screen and (max-width: 767px)
{ {
@ -3122,6 +3128,10 @@ ul.noborder li:nth-child(even):not(.liste_titre) {
.boxstats { .boxstats {
width: 111px; width: 111px;
} }
.boxstatsempty {
width: 111px;
}
} }
.boxstats:hover { .boxstats:hover {

View File

@ -153,7 +153,7 @@ if (! empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED))
$colorbacklinepairhover=((! isset($user->conf->THEME_ELDY_USE_HOVER) || $user->conf->THEME_ELDY_USE_HOVER === '0')?'':($user->conf->THEME_ELDY_USE_HOVER === '1'?'edf4fb':$user->conf->THEME_ELDY_USE_HOVER)); $colorbacklinepairhover=((! isset($user->conf->THEME_ELDY_USE_HOVER) || $user->conf->THEME_ELDY_USE_HOVER === '0')?'':($user->conf->THEME_ELDY_USE_HOVER === '1'?'edf4fb':$user->conf->THEME_ELDY_USE_HOVER));
} }
//if (empty($colortopbordertitle1)) $colortopbordertitle1=$colorbackhmenu1; if (empty($colortopbordertitle1)) $colortopbordertitle1=$colorbackhmenu1;
// Set text color to black or white // Set text color to black or white
@ -3184,8 +3184,8 @@ span.dashboardlineko {
text-align: center; text-align: center;
} }
.boxworkingboard .tdboxstats { .boxworkingboard .tdboxstats {
padding-left: 0px !important; padding-left: 1px !important;
padding-right: 0px !important; padding-right: 1px !important;
} }
a.valignmiddle.dashboardlineindicator { a.valignmiddle.dashboardlineindicator {
line-height: 30px; line-height: 30px;