mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-15 05:51:28 +01:00
css
This commit is contained in:
@@ -4201,7 +4201,7 @@ function load_fiche_titre($titre, $morehtmlright = '', $picto = 'generic', $pict
|
|||||||
if ($picto == 'setup') $picto = 'generic';
|
if ($picto == 'setup') $picto = 'generic';
|
||||||
|
|
||||||
$return .= "\n";
|
$return .= "\n";
|
||||||
$return .= '<table '.($id ? 'id="'.$id.'" ' : '').'class="centpercent notopnoleftnoright table-fiche-title '.($morecssontable ? ' '.$morecssontable : '').'">'; // maring bottom must be same than into print_barre_list
|
$return .= '<table '.($id ? 'id="'.$id.'" ' : '').'class="centpercent notopnoleftnoright table-fiche-title'.($morecssontable ? ' '.$morecssontable : '').'">'; // maring bottom must be same than into print_barre_list
|
||||||
$return .= '<tr class="titre">';
|
$return .= '<tr class="titre">';
|
||||||
if ($picto) $return .= '<td class="nobordernopadding widthpictotitle opacityhigh valignmiddle col-picto">'.img_picto('', $picto, 'class="valignmiddle widthpictotitle pictotitle"', $pictoisfullpath).'</td>';
|
if ($picto) $return .= '<td class="nobordernopadding widthpictotitle opacityhigh valignmiddle col-picto">'.img_picto('', $picto, 'class="valignmiddle widthpictotitle pictotitle"', $pictoisfullpath).'</td>';
|
||||||
$return .= '<td class="nobordernopadding valignmiddle col-title">';
|
$return .= '<td class="nobordernopadding valignmiddle col-title">';
|
||||||
@@ -4268,7 +4268,7 @@ function print_barre_liste($titre, $page, $file, $options = '', $sortfield = '',
|
|||||||
|
|
||||||
// Left
|
// Left
|
||||||
|
|
||||||
if ($picto && $titre) print '<td class="nobordernopadding widthpictotitle opacityhigh valignmiddle col-picto">'.img_picto('', $picto, 'class="hideonsmartphone valignmiddle pictotitle widthpictotitle"', $pictoisfullpath).'</td>';
|
if ($picto && $titre) print '<td class="nobordernopadding widthpictotitle opacityhigh valignmiddle col-picto">'.img_picto('', $picto, 'class="valignmiddle pictotitle widthpictotitle"', $pictoisfullpath).'</td>';
|
||||||
print '<td class="nobordernopadding valignmiddle col-title">';
|
print '<td class="nobordernopadding valignmiddle col-title">';
|
||||||
print '<div class="titre inline-block">'.$titre;
|
print '<div class="titre inline-block">'.$titre;
|
||||||
if (!empty($titre) && $savtotalnboflines >= 0 && (string) $savtotalnboflines != '') print ' ('.$totalnboflines.')';
|
if (!empty($titre) && $savtotalnboflines >= 0 && (string) $savtotalnboflines != '') print ' ('.$totalnboflines.')';
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ llxHeader('', $title);
|
|||||||
$resultboxes = FormOther::getBoxesArea($user, "0"); // Load $resultboxes (selectboxlist + boxactivated + boxlista + boxlistb)
|
$resultboxes = FormOther::getBoxesArea($user, "0"); // Load $resultboxes (selectboxlist + boxactivated + boxlista + boxlistb)
|
||||||
|
|
||||||
|
|
||||||
print load_fiche_titre($langs->trans("HomeArea"), $resultboxes['selectboxlist'], 'home');
|
print load_fiche_titre($langs->trans("HomeArea"), $resultboxes['selectboxlist'], 'home', 0, '', 'titleforhome');
|
||||||
|
|
||||||
if (!empty($conf->global->MAIN_MOTD))
|
if (!empty($conf->global->MAIN_MOTD))
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1434,6 +1434,12 @@ td.nobordernopadding.widthpictotitle.opacityhigh.valignmiddle.col-picto {
|
|||||||
margin-<?php echo $right; ?>: 8px;
|
margin-<?php echo $right; ?>: 8px;
|
||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
}
|
}
|
||||||
|
@media only screen and (max-width: 767px)
|
||||||
|
{
|
||||||
|
span.pictotitle {
|
||||||
|
margin-<?php echo $left; ?>: 0 !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
.pictoobjectwidth {
|
.pictoobjectwidth {
|
||||||
width: 14px;
|
width: 14px;
|
||||||
}
|
}
|
||||||
@@ -2441,6 +2447,9 @@ div.tabBar {
|
|||||||
div.tabBar tr.titre td {
|
div.tabBar tr.titre td {
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
}
|
}
|
||||||
|
div.fiche tr.titre td {
|
||||||
|
padding-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
div.tabBar.tabBarNoTop {
|
div.tabBar.tabBarNoTop {
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
|
|||||||
@@ -325,6 +325,6 @@ if (GETPOSTISSET('THEME_AGRESSIVENESS_RATIO')) $conf->global->THEME_AGRESSIVENES
|
|||||||
@media only screen and (max-width: 767px)
|
@media only screen and (max-width: 767px)
|
||||||
{
|
{
|
||||||
.box-flex-container {
|
.box-flex-container {
|
||||||
margin: 0 0 0 -8px !important;
|
margin: 0 0 0 0 !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user