1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-11 16:16:14 +01:00
phorge-phorge/webroot/rsrc/css/aphront/calendar-view.css
vrana bb7285ab46 Don't mix different users on the same line in Calendar
Summary:
The current state is very confusing:
{F11734, size=full}

Test Plan: Display calendar for user with two different events in the same week.

Reviewers: epriestley, btrahan

Reviewed By: epriestley

CC: aran, Koolvin

Differential Revision: https://secure.phabricator.com/D2522
2012-05-21 14:25:26 -07:00

108 lines
1.9 KiB
CSS

/**
* @provides aphront-calendar-view-css
*/
.aphront-calendar-view {
width: 100%;
border-collapse: collapse;
background: #fdfdfd;
border: 2px solid #003366;
}
tr.aphront-calendar-month-year-header th {
text-align: center;
font-weight: bold;
font-size: 14px;
padding: .5em;
color: white;
background: #003366;
}
tr.aphront-calendar-day-of-week-header th {
text-align: center;
font-size: 11px;
padding: .25em;
color: white;
background: #3366BB;
}
table.aphront-calendar-view td {
border: 1px solid #dfdfdf;
width: 14.2857%; /* This is one seventh, approximately. */
}
table.aphront-calendar-view td div.aphront-calendar-day {
min-height: 110px;
}
.aphront-calendar-holiday {
color: #666666;
padding: .5em;
max-height: 1em;
overflow: hidden;
}
.aphront-calendar-date-number {
font-weight: bold;
color: #666666;
padding: .5em;
border-color: #dfdfdf;
border-style: solid;
border-width: 0 0 1px 1px;
float: right;
background: #ffffff;
width: 1.25em;
height: 1.25em;
text-align: center;
margin-bottom: 3px;
}
.aphront-calendar-not-work-day {
background-color: #fdfae7;
}
.aphront-calendar-empty {
background-color: #ededed;
}
.aphront-calendar-event {
clear: both;
border-style: solid;
border-width: 1px;
border-color: #6666ff;
background: #ddddff;
font-size: 11px;
margin: 2px 0;
border-radius: 8px;
-moz-border-radius: 8px;
padding: 3px 5%;
color: #222266;
width: 90%;
overflow: hidden;
}
.aphront-calendar-event-empty {
border-color: transparent;
background: transparent;
}
.aphront-calendar-event-text {
overflow: hidden;
white-space: nowrap;
}
.aphront-calendar-event-continues-before {
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
border-left-width: 0px;
}
.aphront-calendar-event-continues-after {
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
border-right-width: 0px;
}