From 5839cedb4cee60ef9abe6860872d5a37bed499b2 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 4 Mar 2018 10:47:35 +0100 Subject: [PATCH] CSS --- htdocs/index.php | 28 +++++++++++++-------------- htdocs/theme/eldy/style.css.php | 34 +++++++++++++++++++++------------ htdocs/theme/md/style.css.php | 6 +++--- 3 files changed, 39 insertions(+), 29 deletions(-) diff --git a/htdocs/index.php b/htdocs/index.php index 3eb1aa2285a..29e716d31ad 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -339,14 +339,14 @@ if (empty($user->societe_id)) } } - $boxstat.=''; - $boxstat.=''; - $boxstat.=''; - $boxstat.=''; - $boxstat.=''; - $boxstat.=''; - $boxstat.=''; - $boxstat.=''; + $boxstat.='
'; + $boxstat.='
'; + $boxstat.='
'; + $boxstat.='
'; + $boxstat.='
'; + $boxstat.='
'; + $boxstat.='
'; + $boxstat.='
'; $boxstat.=''; $boxstat.=''; @@ -583,12 +583,12 @@ if (! empty($valid_dashboardlines)) $boxwork .="\n"; } - $boxwork .='
'; - $boxwork .='
'; - $boxwork .='
'; - $boxwork .='
'; - $boxwork .='
'; - $boxwork .='
'; + $boxwork .='
'; + $boxwork .='
'; + $boxwork .='
'; + $boxwork .='
'; + $boxwork .='
'; + $boxwork .='
'; $boxwork .=''; } else diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index 41477d929bf..d438a8c9d57 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -833,21 +833,13 @@ div.fiche>div.tabBar>form>div.div-table-responsive { flex-flow: row wrap; justify-content: flex-start; } -/*.thumbstat { - flex: 1 1 116px; -}*/ +.thumbstat { + min-width: 150px; +} .thumbstat150 { - flex: 1 1 170px; + min-width: 170px; } .thumbstat, .thumbstat150 { - /* - flex-shrink: 1; - flex-basis: 140px; - display: inline; - width: 100%; - justify-content: flex-start; - align-self: flex-start; - */ flex-grow: 1; flex-shrink: 0; min-width: 150px; @@ -3095,6 +3087,20 @@ ul.noborder li:nth-child(even):not(.liste_titre) { .boxstatscontent { 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) { @@ -3122,6 +3128,10 @@ ul.noborder li:nth-child(even):not(.liste_titre) { .boxstats { width: 111px; } + .boxstatsempty { + width: 111px; + } + } .boxstats:hover { diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index 94dc4235641..5b4040b0501 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -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)); } -//if (empty($colortopbordertitle1)) $colortopbordertitle1=$colorbackhmenu1; +if (empty($colortopbordertitle1)) $colortopbordertitle1=$colorbackhmenu1; // Set text color to black or white @@ -3184,8 +3184,8 @@ span.dashboardlineko { text-align: center; } .boxworkingboard .tdboxstats { - padding-left: 0px !important; - padding-right: 0px !important; + padding-left: 1px !important; + padding-right: 1px !important; } a.valignmiddle.dashboardlineindicator { line-height: 30px;