mirror of
https://we.phorge.it/source/phorge.git
synced 2024-09-20 09:18:48 +02:00
0548dc4c4c
Summary: This is a rough cut, but gets some of the basics at least. Here's what it looks like: {F11690} Some things that would be nice for future diffs: - Different colors for different event types (tasks? MEETINGS?!) - When events span across multiple days, keep them in the same row. - Switch which month you're looking at. - Show specific users instead of all. - etc etc etc Test Plan: See screenshot. Reviewers: btrahan, vrana Reviewed By: btrahan CC: aran Differential Revision: https://secure.phabricator.com/D2514
102 lines
1.8 KiB
CSS
102 lines
1.8 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 {
|
|
float: left;
|
|
color: #666666;
|
|
padding: .5em;
|
|
}
|
|
|
|
.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-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;
|
|
}
|