This commit is contained in:
Laurent Destailleur 2020-01-24 20:11:07 +01:00
parent d5f2a793c0
commit 8f3f34e1c0
3 changed files with 7 additions and 3 deletions

View File

@ -1140,7 +1140,7 @@ function dol_get_fiche_head($links = array(), $active = '', $title = '', $notab
{ {
$limittitle = 30; $limittitle = 30;
$out .= '<a class="tabTitle">'; $out .= '<a class="tabTitle">';
if ($picto) $out .= img_picto($title, ($pictoisfullpath ? '' : 'object_').$picto, '', $pictoisfullpath).' '; if ($picto) $out .= img_picto($title, ($pictoisfullpath ? '' : 'object_').$picto, '', $pictoisfullpath, 0, 0, '', 'imgTabTitle').' ';
$out .= '<span class="tabTitleText">'.dol_trunc($title, $limittitle).'</span>'; $out .= '<span class="tabTitleText">'.dol_trunc($title, $limittitle).'</span>';
$out .= '</a>'; $out .= '</a>';
} }

View File

@ -2462,6 +2462,9 @@ a.tabTitle {
text-decoration: none; text-decoration: none;
white-space: nowrap; white-space: nowrap;
} }
.imgTabTitle {
max-height: 14px;
}
a.tabunactive { a.tabunactive {
color: rgb(<?php print $colortextlink; ?>) !important; color: rgb(<?php print $colortextlink; ?>) !important;

View File

@ -2637,8 +2637,6 @@ div.popuptab {
} }
a.tabTitle { a.tabTitle {
/* background: #657090;
color: white;*/
color:rgba(0,0,0,.5); color:rgba(0,0,0,.5);
margin-<?php print $right; ?>: 10px; margin-<?php print $right; ?>: 10px;
text-shadow:1px 1px 1px #ffffff; text-shadow:1px 1px 1px #ffffff;
@ -2649,6 +2647,9 @@ a.tabTitle {
text-decoration: none; text-decoration: none;
white-space: nowrap; white-space: nowrap;
} }
.imgTabTitle {
max-height: 14px;
}
a.tab:link, a.tab:visited, a.tab:hover, a.tab#active { a.tab:link, a.tab:visited, a.tab:hover, a.tab#active {
font-family: <?php print $fontlist ?>; font-family: <?php print $fontlist ?>;