mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-14 02:42:40 +01:00
60466d3bcc
Summary: you can now add, edit, and delete status events. also added a "description" to status events and surface it in the big calendar view on mouse hover. some refactoring changes as well to make validation logic centralized within the storage class. Test Plan: added, edited, deleted. yay. Reviewers: epriestley, vrana Reviewed By: epriestley CC: aran, Korvin Maniphest Tasks: T407 Differential Revision: https://secure.phabricator.com/D3810
114 lines
2 KiB
CSS
114 lines
2 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-month-year-header th a {
|
|
color: white;
|
|
font-weight: bold;
|
|
text-decoration: none;
|
|
}
|
|
|
|
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;
|
|
}
|