Fix css
This commit is contained in:
parent
f3fd5f4cfa
commit
a0a9e12178
@ -1497,7 +1497,7 @@ function show_day_events($db, $day, $month, $year, $monthshown, $style, &$eventa
|
|||||||
$cacheusers[$tmpid]=$newuser;
|
$cacheusers[$tmpid]=$newuser;
|
||||||
}
|
}
|
||||||
|
|
||||||
$listofusertoshow.=$cacheusers[$tmpid]->getNomUrl(-3, '', 0, 0, 0, 0, '', 'valigntextbottom');
|
$listofusertoshow.=$cacheusers[$tmpid]->getNomUrl(-3, '', 0, 0, 0, 0, '', 'paddingright valigntextbottom');
|
||||||
}
|
}
|
||||||
print $listofusertoshow;
|
print $listofusertoshow;
|
||||||
|
|
||||||
|
|||||||
@ -1896,7 +1896,7 @@ img.login, img.printer, img.entity {
|
|||||||
color: white;
|
color: white;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
.userimgatoplogin img.userphoto { /* size for user photo in login bar */
|
.userimg.atoplogin img.userphoto, .userimgatoplogin img.userphoto { /* size for user photo in login bar */
|
||||||
width: 16px;
|
width: 16px;
|
||||||
height: 16px;
|
height: 16px;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
@ -3617,10 +3617,11 @@ table.cal_event { border: none; border-collapse: collapse; margin-bottom: 1px
|
|||||||
table.cal_event td { border: none; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 2px; padding-top: 0px; padding-bottom: 0px; }
|
table.cal_event td { border: none; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 2px; padding-top: 0px; padding-bottom: 0px; }
|
||||||
table.cal_event td.cal_event { padding: 4px 4px !important; }
|
table.cal_event td.cal_event { padding: 4px 4px !important; }
|
||||||
table.cal_event td.cal_event_right { padding: 4px 4px !important; }
|
table.cal_event td.cal_event_right { padding: 4px 4px !important; }
|
||||||
.cal_event a:link { color: #111111; font-size: 11px; font-weight: normal !important; }
|
.cal_event { font-size: 12px; }
|
||||||
.cal_event a:visited { color: #111111; font-size: 11px; font-weight: normal !important; }
|
.cal_event a:link { color: #111111; font-weight: normal !important; }
|
||||||
.cal_event a:active { color: #111111; font-size: 11px; font-weight: normal !important; }
|
.cal_event a:visited { color: #111111; font-weight: normal !important; }
|
||||||
.cal_event_busy a:hover { color: #111111; font-size: 11px; font-weight: normal !important; color:rgba(255,255,255,.75); }
|
.cal_event a:active { color: #111111; font-weight: normal !important; }
|
||||||
|
.cal_event_busy a:hover { color: #111111; font-weight: normal !important; color:rgba(255,255,255,.75); }
|
||||||
.cal_event_busy { }
|
.cal_event_busy { }
|
||||||
.cal_peruserviewname { max-width: 140px; height: 22px; }
|
.cal_peruserviewname { max-width: 140px; height: 22px; }
|
||||||
|
|
||||||
|
|||||||
@ -1918,7 +1918,7 @@ img.login, img.printer, img.entity {
|
|||||||
color: white;
|
color: white;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
.userimgatoplogin img.userphoto { /* size for user photo in login bar */
|
.userimg.atoplogin img.userphoto, .userimgatoplogin img.userphoto { /* size for user photo in login bar */
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
width: 16px;
|
width: 16px;
|
||||||
height: 16px;
|
height: 16px;
|
||||||
@ -3667,10 +3667,11 @@ table.cal_event { border: none; border-collapse: collapse; margin-bottom: 1px
|
|||||||
table.cal_event td { border: none; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 2px; padding-top: 0px; padding-bottom: 0px; }
|
table.cal_event td { border: none; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 2px; padding-top: 0px; padding-bottom: 0px; }
|
||||||
table.cal_event td.cal_event { padding: 4px 4px !important; }
|
table.cal_event td.cal_event { padding: 4px 4px !important; }
|
||||||
table.cal_event td.cal_event_right { padding: 4px 4px !important; }
|
table.cal_event td.cal_event_right { padding: 4px 4px !important; }
|
||||||
.cal_event a:link { color: #111111; font-size: 11px; font-weight: normal !important; }
|
.cal_event { font-size: 12px; }
|
||||||
.cal_event a:visited { color: #111111; font-size: 11px; font-weight: normal !important; }
|
.cal_event a:link { color: #111111; font-weight: normal !important; }
|
||||||
.cal_event a:active { color: #111111; font-size: 11px; font-weight: normal !important; }
|
.cal_event a:visited { color: #111111; font-weight: normal !important; }
|
||||||
.cal_event_busy a:hover { color: #111111; font-size: 11px; font-weight: normal !important; color:rgba(255,255,255,.75); }
|
.cal_event a:active { color: #111111; font-weight: normal !important; }
|
||||||
|
.cal_event_busy a:hover { color: #111111; font-weight: normal !important; color:rgba(255,255,255,.75); }
|
||||||
.cal_event_busy { }
|
.cal_event_busy { }
|
||||||
.cal_peruserviewname { max-width: 140px; height: 22px; }
|
.cal_peruserviewname { max-width: 140px; height: 22px; }
|
||||||
|
|
||||||
|
|||||||
@ -2224,14 +2224,14 @@ class User extends CommonObject
|
|||||||
$paddafterimage='';
|
$paddafterimage='';
|
||||||
if (abs($withpictoimg) == 1) $paddafterimage='style="margin-right: 3px;"';
|
if (abs($withpictoimg) == 1) $paddafterimage='style="margin-right: 3px;"';
|
||||||
// Only picto
|
// Only picto
|
||||||
if ($withpictoimg > 0) $picto='<!-- picto user --><div class="inline-block nopadding '.($morecss?' userimg'.$morecss:'').'">'.img_object('', 'user', $paddafterimage.' '.($notooltip?'':'class="classfortooltip"'), 0, 0, $notooltip?0:1).'</div>';
|
if ($withpictoimg > 0) $picto='<!-- picto user --><div class="inline-block nopadding userimg'.($morecss?' '.$morecss:'').'">'.img_object('', 'user', $paddafterimage.' '.($notooltip?'':'class="classfortooltip"'), 0, 0, $notooltip?0:1).'</div>';
|
||||||
// Picto must be a photo
|
// Picto must be a photo
|
||||||
else $picto='<!-- picto photo user --><div class="inline-block nopadding '.($morecss?' userimg'.$morecss:'').'"'.($paddafterimage?' '.$paddafterimage:'').'>'.Form::showphoto('userphoto', $this, 0, 0, 0, 'userphoto'.($withpictoimg==-3?'small':''), 'mini', 0, 1).'</div>';
|
else $picto='<!-- picto photo user --><div class="inline-block nopadding userimg'.($morecss?' '.$morecss:'').'"'.($paddafterimage?' '.$paddafterimage:'').'>'.Form::showphoto('userphoto', $this, 0, 0, 0, 'userphoto'.($withpictoimg==-3?'small':''), 'mini', 0, 1).'</div>';
|
||||||
$result.=$picto;
|
$result.=$picto;
|
||||||
}
|
}
|
||||||
if ($withpictoimg > -2 && $withpictoimg != 2)
|
if ($withpictoimg > -2 && $withpictoimg != 2)
|
||||||
{
|
{
|
||||||
if (empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) $result.='<div class="inline-block nopadding valignmiddle'.((! isset($this->statut) || $this->statut)?'':' strikefordisabled').($morecss?' usertext'.$morecss:'').'">';
|
if (empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) $result.='<div class="inline-block nopadding valignmiddle usertext'.((! isset($this->statut) || $this->statut)?'':' strikefordisabled').($morecss?' '.$morecss:'').'">';
|
||||||
if ($mode == 'login') $result.=dol_trunc($this->login, $maxlen);
|
if ($mode == 'login') $result.=dol_trunc($this->login, $maxlen);
|
||||||
else $result.=$this->getFullName($langs,'',($mode == 'firstname' ? 2 : -1),$maxlen);
|
else $result.=$this->getFullName($langs,'',($mode == 'firstname' ? 2 : -1),$maxlen);
|
||||||
if (empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) $result.='</div>';
|
if (empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) $result.='</div>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user