Skip to content

Commit

Permalink
Fix css
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jan 24, 2020
1 parent d5f2a79 commit 8f3f34e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion htdocs/core/lib/functions.lib.php
Expand Up @@ -1140,7 +1140,7 @@ function dol_get_fiche_head($links = array(), $active = '', $title = '', $notab
{
$limittitle = 30;
$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 .= '</a>';
}
Expand Down
3 changes: 3 additions & 0 deletions htdocs/theme/eldy/global.inc.php
Expand Up @@ -2462,6 +2462,9 @@
text-decoration: none;
white-space: nowrap;
}
.imgTabTitle {
max-height: 14px;
}

a.tabunactive {
color: rgb(<?php print $colortextlink; ?>) !important;
Expand Down
5 changes: 3 additions & 2 deletions htdocs/theme/md/style.css.php
Expand Up @@ -2637,8 +2637,6 @@
}

a.tabTitle {
/* background: #657090;
color: white;*/
color:rgba(0,0,0,.5);
margin-<?php print $right; ?>: 10px;
text-shadow:1px 1px 1px #ffffff;
Expand All @@ -2649,6 +2647,9 @@
text-decoration: none;
white-space: nowrap;
}
.imgTabTitle {
max-height: 14px;
}

a.tab:link, a.tab:visited, a.tab:hover, a.tab#active {
font-family: <?php print $fontlist ?>;
Expand Down

0 comments on commit 8f3f34e

Please sign in to comment.