css
This commit is contained in:
parent
5eca65f673
commit
82f93fed92
@ -1393,6 +1393,8 @@ class ActionComm extends CommonObject
|
|||||||
$tooltip .= '<br><b>'.$langs->trans('Type').':</b> '.$labeltype;
|
$tooltip .= '<br><b>'.$langs->trans('Type').':</b> '.$labeltype;
|
||||||
if (!empty($this->location))
|
if (!empty($this->location))
|
||||||
$tooltip .= '<br><b>'.$langs->trans('Location').':</b> '.$this->location;
|
$tooltip .= '<br><b>'.$langs->trans('Location').':</b> '.$this->location;
|
||||||
|
if (isset($this->transparency))
|
||||||
|
$tooltip .= '<br><b>'.$langs->trans('Busy').':</b> '.yn($this->transparency);
|
||||||
if (!empty($this->note_private))
|
if (!empty($this->note_private))
|
||||||
$tooltip .= '<br><b>'.$langs->trans('Note').':</b> '.(dol_textishtml($this->note_private) ? str_replace(array("\r", "\n"), "", $this->note_private) : str_replace(array("\r", "\n"), '<br>', $this->note_private));
|
$tooltip .= '<br><b>'.$langs->trans('Note').':</b> '.(dol_textishtml($this->note_private) ? str_replace(array("\r", "\n"), "", $this->note_private) : str_replace(array("\r", "\n"), '<br>', $this->note_private));
|
||||||
$linkclose = '';
|
$linkclose = '';
|
||||||
|
|||||||
@ -1213,7 +1213,7 @@ if (empty($action) || $action == 'show_month') // View by month
|
|||||||
$i = 0;
|
$i = 0;
|
||||||
while ($i < 7)
|
while ($i < 7)
|
||||||
{
|
{
|
||||||
print ' <td align="center">';
|
print ' <td class="center bold uppercase">';
|
||||||
$numdayinweek = (($i + (isset($conf->global->MAIN_START_WEEK) ? $conf->global->MAIN_START_WEEK : 1)) % 7);
|
$numdayinweek = (($i + (isset($conf->global->MAIN_START_WEEK) ? $conf->global->MAIN_START_WEEK : 1)) % 7);
|
||||||
if (!empty($conf->dol_optimize_smallscreen))
|
if (!empty($conf->dol_optimize_smallscreen))
|
||||||
{
|
{
|
||||||
@ -1293,7 +1293,7 @@ if (empty($action) || $action == 'show_month') // View by month
|
|||||||
print ' <tr class="liste_titre">';
|
print ' <tr class="liste_titre">';
|
||||||
$i = 0;
|
$i = 0;
|
||||||
while ($i < 7) {
|
while ($i < 7) {
|
||||||
echo ' <td align="center">'.$langs->trans("Day".(($i + (isset($conf->global->MAIN_START_WEEK) ? $conf->global->MAIN_START_WEEK : 1)) % 7))."</td>\n";
|
echo ' <td class="center bold uppercase">'.$langs->trans("Day".(($i + (isset($conf->global->MAIN_START_WEEK) ? $conf->global->MAIN_START_WEEK : 1)) % 7))."</td>\n";
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
echo " </tr>\n";
|
echo " </tr>\n";
|
||||||
@ -1353,7 +1353,7 @@ if (empty($action) || $action == 'show_month') // View by month
|
|||||||
|
|
||||||
echo ' <tr class="tagtr liste_titre">';
|
echo ' <tr class="tagtr liste_titre">';
|
||||||
echo ' <td class="tagtd width100"></td>';
|
echo ' <td class="tagtd width100"></td>';
|
||||||
echo ' <td class="tagtd center">'.$langs->trans("Day".$arraytimestamp['wday'])."</td>\n";
|
echo ' <td class="tagtd center bold uppercase">'.$langs->trans("Day".$arraytimestamp['wday'])."</td>\n";
|
||||||
echo " </td>\n";
|
echo " </td>\n";
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -1457,7 +1457,7 @@ function show_day_events($db, $day, $month, $year, $monthshown, $style, &$eventa
|
|||||||
if ($nonew <= 0)
|
if ($nonew <= 0)
|
||||||
{
|
{
|
||||||
print '<div class="tagtr"><div class="nowrap float">';
|
print '<div class="tagtr"><div class="nowrap float">';
|
||||||
print '<a style="color: #666" href="'.DOL_URL_ROOT.'/comm/action/index.php?';
|
print '<a class="dayevent-aday" style="color: #666" href="'.DOL_URL_ROOT.'/comm/action/index.php?';
|
||||||
print 'action=show_day&day='.str_pad($day, 2, "0", STR_PAD_LEFT).'&month='.str_pad($month, 2, "0", STR_PAD_LEFT).'&year='.$year;
|
print 'action=show_day&day='.str_pad($day, 2, "0", STR_PAD_LEFT).'&month='.str_pad($month, 2, "0", STR_PAD_LEFT).'&year='.$year;
|
||||||
print $newparam;
|
print $newparam;
|
||||||
print '">';
|
print '">';
|
||||||
@ -1624,10 +1624,12 @@ function show_day_events($db, $day, $month, $year, $monthshown, $style, &$eventa
|
|||||||
// If colortouse is similar than background, we force to change it.
|
// If colortouse is similar than background, we force to change it.
|
||||||
if (empty($event->transparency) && empty($conf->global->AGENDA_NO_TRANSPARENT_ON_NOT_BUSY))
|
if (empty($event->transparency) && empty($conf->global->AGENDA_NO_TRANSPARENT_ON_NOT_BUSY))
|
||||||
{
|
{
|
||||||
print 'border: 2px solid #'.$colortouse.';';
|
print 'background: #f0f0f0;';
|
||||||
|
print 'border-left: 5px solid #'.$colortouse.';';
|
||||||
} else {
|
} else {
|
||||||
print 'background: #'.$colortouse.';';
|
print 'background: #f0f0f0;';
|
||||||
print 'background: -webkit-gradient(linear, left top, left bottom, from(#'.dol_color_minus($colortouse, -3).'), to(#'.dol_color_minus($colortouse, -1).'));';
|
print 'border-left: 5px solid #'.dol_color_minus($colortouse, -3).';';
|
||||||
|
//print 'background: -webkit-gradient(linear, left top, left bottom, from(#'.dol_color_minus($colortouse, -3).'), to(#'.dol_color_minus($colortouse, -1).'));';
|
||||||
}
|
}
|
||||||
//print 'background: #'.$colortouse.';';
|
//print 'background: #'.$colortouse.';';
|
||||||
//print 'background: -webkit-gradient(linear, left top, left bottom, from(#'.dol_color_minus($color, -3).'), to(#'.dol_color_minus($color, -1).'));';
|
//print 'background: -webkit-gradient(linear, left top, left bottom, from(#'.dol_color_minus($color, -3).'), to(#'.dol_color_minus($color, -1).'));';
|
||||||
@ -1706,7 +1708,7 @@ function show_day_events($db, $day, $month, $year, $monthshown, $style, &$eventa
|
|||||||
$event->label = $titletoshow;
|
$event->label = $titletoshow;
|
||||||
$event->libelle = $titletoshow;
|
$event->libelle = $titletoshow;
|
||||||
// Note: List of users are inside $event->userassigned. Link may be clickable depending on permissions of user.
|
// Note: List of users are inside $event->userassigned. Link may be clickable depending on permissions of user.
|
||||||
$titletoshow = $event->getNomUrl(0, $maxnbofchar, 'cal_event', '', 0, 0);
|
$titletoshow = $event->getNomUrl(0, $maxnbofchar, 'cal_event cal_event_title', '', 0, 0);
|
||||||
$event->label = $savlabel;
|
$event->label = $savlabel;
|
||||||
$event->libelle = $savlabel;
|
$event->libelle = $savlabel;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -698,7 +698,7 @@ while ($currentdaytoshow < $lastdaytoshow) {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
echo '<td align="center" colspan="'.($end_h - $begin_h).'">';
|
echo '<td align="center" colspan="'.($end_h - $begin_h).'">';
|
||||||
echo '<span class="opacitymedium spandayofweek">'.$langs->trans("Day".(($i + (isset($conf->global->MAIN_START_WEEK) ? $conf->global->MAIN_START_WEEK : 1)) % 7)).'</span>';
|
echo '<span class="bold spandayofweek">'.$langs->trans("Day".(($i + (isset($conf->global->MAIN_START_WEEK) ? $conf->global->MAIN_START_WEEK : 1)) % 7)).'</span>';
|
||||||
print "<br>";
|
print "<br>";
|
||||||
if ($i) print dol_print_date(dol_time_plus_duree($currentdaytoshow, $i, 'd'), 'day');
|
if ($i) print dol_print_date(dol_time_plus_duree($currentdaytoshow, $i, 'd'), 'day');
|
||||||
else print dol_print_date($currentdaytoshow, 'day');
|
else print dol_print_date($currentdaytoshow, 'day');
|
||||||
|
|||||||
@ -637,6 +637,9 @@ textarea.centpercent {
|
|||||||
.nobold {
|
.nobold {
|
||||||
font-weight: normal !important;
|
font-weight: normal !important;
|
||||||
}
|
}
|
||||||
|
.uppercase {
|
||||||
|
text-transform: uppercase;
|
||||||
|
}
|
||||||
.nounderline {
|
.nounderline {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
@ -1427,7 +1430,8 @@ td.showDragHandle {
|
|||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
.side-nav {
|
.side-nav {
|
||||||
display: table-cell;
|
display: block;
|
||||||
|
float: left;
|
||||||
border-<?php echo $right; ?>: 1px solid #E0E0E0;
|
border-<?php echo $right; ?>: 1px solid #E0E0E0;
|
||||||
box-shadow: 3px 0 6px -2px #eee;
|
box-shadow: 3px 0 6px -2px #eee;
|
||||||
background: var(--colorbackvmenu1);
|
background: var(--colorbackvmenu1);
|
||||||
@ -4482,6 +4486,7 @@ table.cal_month td { padding-left: 1px !important; padding-right: 1px !important
|
|||||||
.cal_today_peruser_impair { background: #F8F8F0; }
|
.cal_today_peruser_impair { background: #F8F8F0; }
|
||||||
.peruser_busy { }
|
.peruser_busy { }
|
||||||
.peruser_notbusy { opacity: 0.5; }
|
.peruser_notbusy { opacity: 0.5; }
|
||||||
|
div.event { margin: 8px; border-radius: 4px; box-shadow: 2px 2px 5px rgba(100, 100, 100, 0.2); }
|
||||||
table.cal_event { border: none; border-collapse: collapse; margin-bottom: 1px; min-height: 20px; filter: saturate(0.8); border-radius: 3px; }
|
table.cal_event { border: none; border-collapse: collapse; margin-bottom: 1px; min-height: 20px; filter: saturate(0.8); border-radius: 3px; }
|
||||||
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; }
|
||||||
@ -4490,10 +4495,13 @@ table.cal_event td.cal_event_right { padding: 4px 4px !important; }
|
|||||||
.cal_event a:link { color: #111111; font-weight: normal !important; }
|
.cal_event a:link { color: #111111; font-weight: normal !important; }
|
||||||
.cal_event a:visited { color: #111111; font-weight: normal !important; }
|
.cal_event a:visited { color: #111111; font-weight: normal !important; }
|
||||||
.cal_event a:active { color: #111111; font-weight: normal !important; }
|
.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_notbusy a.cal_event_title: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; }
|
||||||
table.cal_month tr td table.nobordernopadding tr td { padding: 0 2px 0 2px; }
|
table.cal_month tr td table.nobordernopadding tr td { padding: 0 2px 0 2px; }
|
||||||
|
a.dayevent-aday {
|
||||||
|
padding-left: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
.calendarviewcontainertr { height: 100px; }
|
.calendarviewcontainertr { height: 100px; }
|
||||||
|
|
||||||
|
|||||||
@ -4341,6 +4341,7 @@ table.cal_month td:last-child { border-right: 0px; }
|
|||||||
.cal_today_peruser_impair { background: #F8F8F0; }
|
.cal_today_peruser_impair { background: #F8F8F0; }
|
||||||
.peruser_busy { background: #CC8888; }
|
.peruser_busy { background: #CC8888; }
|
||||||
.peruser_notbusy { background: #EEDDDD; opacity: 0.5; }
|
.peruser_notbusy { background: #EEDDDD; opacity: 0.5; }
|
||||||
|
div.event { margin: 8px; border-radius: 4px; box-shadow: 2px 2px 5px rgba(100, 100, 100, 0.2); }
|
||||||
table.cal_event { border: none; border-collapse: collapse; margin-bottom: 1px; -webkit-border-radius: 3px; border-radius: 3px; min-height: 20px; }
|
table.cal_event { border: none; border-collapse: collapse; margin-bottom: 1px; -webkit-border-radius: 3px; border-radius: 3px; min-height: 20px; }
|
||||||
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; }
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user