2
0
forked from Wavyzz/dolibarr

Debug CSS

This commit is contained in:
ldestailleur
2025-02-20 19:12:03 +01:00
parent de8a55fa9d
commit f1878af359
3 changed files with 10 additions and 4 deletions

View File

@@ -570,7 +570,7 @@ if (!getDolGlobalString('MAIN_DISABLE_GLOBAL_WORKBOARD') && getDolGlobalInt('MAI
$openedDashBoard .= '</span>'."\n";
$openedDashBoard .= '<div class="info-box-content">'."\n";
$openedDashBoard .= '<div class="info-box-title" title="'.strip_tags($groupName).'">'.$groupName.'</div>'."\n";
$openedDashBoard .= '<div class="info-box-title" title="'.dolPrintHTMLForAttribute($groupName).'">'.$groupName.'</div>'."\n";
$openedDashBoard .= '<div class="info-box-lines">'."\n";
foreach ($boards as $board) {
@@ -592,7 +592,7 @@ if (!getDolGlobalString('MAIN_DISABLE_GLOBAL_WORKBOARD') && getDolGlobalInt('MAI
$textLate = '';
if ($board->nbtodolate > 0) {
$textLate .= '<span title="'.dol_escape_htmltag($textLateTitle).'" class="classfortooltip badge badge-warning">';
$textLate .= '<i class="fa fa-exclamation-triangle"></i> '.$board->nbtodolate;
$textLate .= '<i class="fa fa-exclamation-triangle hideonsmartphone"></i> '.$board->nbtodolate;
$textLate .= '</span>';
}

View File

@@ -298,7 +298,7 @@ a.info-box-text-a i.fa.fa-exclamation-triangle {
@media only screen and (max-width: 480px)
{
.info-box-text {
font-size: 0.82em;
font-size: 0.85em;
}
.info-box-line {
line-height: 1.25em;
@@ -694,8 +694,10 @@ a.vmenu span, span.vmenu, span.vmenu span {
padding-left: 10px;
padding-right: 2px;
}
/*
.info-box-line-text {
width: calc(100% - 98px);
max-width: calc(100% - 88px);
}
*/
}

View File

@@ -430,12 +430,14 @@ a.info-box-text-a i.fa.fa-exclamation-triangle {
font-size: 0.90em;
}
/* Force values for small screen 480 */
/*
@media only screen and (max-width: 480px)
{
.info-box-text {
font-size: 0.85em;
}
}
*/
.info-box-text:first-letter{text-transform: uppercase}
a.info-box-text{ text-decoration: none;}
@@ -644,7 +646,7 @@ if (GETPOSTISSET('THEME_SATURATE_RATIO')) {
@media only screen and (max-width: 767px)
{
.box-flex-container {
margin: 0 0 0 -8px !important;
margin: 0 0 0 0 !important;
}
}
@@ -684,10 +686,12 @@ if (GETPOSTISSET('THEME_SATURATE_RATIO')) {
padding-left: 10px;
padding-right: 2px;
}
/*
.info-box-line-text {
width: calc(100% - 92px);
max-width: calc(100% - 82px);
}
*/
}
@media only screen and (max-width: 480px) {