1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-21 04:50:55 +01:00
phorge-phorge/webroot/rsrc/css/phui/calendar/phui-calendar-month.css
Chad Little 396e8ba82c Calendar upgrades
Summary:
Does a handful of things to make Calendar significantly more useful

- Enabled overlapping events
- Profile has a 'week view' of the user
- Profile has a 'month view' of the users
- Multiple users on a calendar are color coded
- Browse view slightly more useful

This stops short of implementing the new 'home' view on Calendar, mostly this is a big step though to make that happen next.

Test Plan: Make lots of events on diffent users.

Reviewers: epriestley, btrahan

Reviewed By: epriestley

CC: Korvin, epriestley, aran

Maniphest Tasks: T2897, T4375

Differential Revision: https://secure.phabricator.com/D8317
2014-02-24 10:04:23 -08:00

101 lines
1.8 KiB
CSS

/**
* @provides phui-calendar-month-css
*/
.phui-calendar-view {
width: 100%;
border-collapse: collapse;
background: #fff;
}
tr.phui-calendar-day-of-week-header th {
text-align: center;
font-size: 11px;
padding: 3px;
color: {$lightbluetext};
background: {$lightgreybackground};
}
table.phui-calendar-view td {
border: 1px solid #dfdfdf;
width: 14.2857%; /* This is one seventh, approximately. */
}
table.phui-calendar-view td div.phui-calendar-day {
min-height: 125px;
position: relative;
}
.phui-calendar-holiday {
color: {$greytext};
padding: .5em;
max-height: 1em;
overflow: hidden;
}
table.phui-calendar-view td.phui-calendar-month-weekstart {
border-left: none;
}
.phui-calendar-date-number {
font-weight: normal;
color: {$lightgreytext};
padding: 4px;
border-color: {$thinblueborder};
border-style: solid;
border-width: 0 0 1px 1px;
position: absolute;
background: #ffffff;
width: 16px;
height: 16px;
text-align: center;
top: 0;
right: 0;
z-index: 10;
}
.phui-calendar-not-work-day {
background-color: {$lightgreybackground};
}
.phui-calendar-today {
background-color: {$lightgreen};
}
.phui-calendar-empty {
background-color: {$greybackground};
}
.phui-calendar-event-empty {
border-color: transparent;
background: transparent;
}
.phui-calendar-view .phui-calendar-list {
padding: 8px;
}
.phui-calendar-view .phui-calendar-list li:first-child {
margin-right: 16px;
}
.phui-calendar-view .phui-calendar-list-dot {
width: 3px;
height: 3px;
margin-right: 4px;
border-radius: 10px;
position: absolute;
top: 5px;
left: 0;
}
.phui-calendar-view .phui-calendar-list-title {
width: auto;
margin-left: 10px;
white-space: normal;
word-break: break-word;
}
.phui-calendar-view .phui-calendar-list-time {
display: none;
}