2014-02-16 18:25:29 +01:00
|
|
|
/**
|
|
|
|
* @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;
|
Week day names in Calendar month view should be full names on desktop and short names on device
Summary: Ref T8186, Week day names in Calendar month view should be full names on desktop and short names on device
Test Plan: Open month view, desktop view should display Monday, Tuesday, etc. Shrink browser, days should be Mon, Tue, etc.
Reviewers: chad, epriestley, #blessed_reviewers
Reviewed By: epriestley, #blessed_reviewers
Subscribers: Korvin, epriestley
Maniphest Tasks: T8186
Differential Revision: https://secure.phabricator.com/D12859
2015-05-15 19:32:47 +02:00
|
|
|
font-size: 13px;
|
2014-02-16 18:25:29 +01:00
|
|
|
padding: 3px;
|
|
|
|
color: {$lightbluetext};
|
|
|
|
background: {$lightgreybackground};
|
|
|
|
}
|
|
|
|
|
2015-05-15 19:42:54 +02:00
|
|
|
tr.phui-calendar-day-of-week-header th.weekend-day-header {
|
|
|
|
background: {$greybackground};
|
|
|
|
}
|
|
|
|
|
Week day names in Calendar month view should be full names on desktop and short names on device
Summary: Ref T8186, Week day names in Calendar month view should be full names on desktop and short names on device
Test Plan: Open month view, desktop view should display Monday, Tuesday, etc. Shrink browser, days should be Mon, Tue, etc.
Reviewers: chad, epriestley, #blessed_reviewers
Reviewed By: epriestley, #blessed_reviewers
Subscribers: Korvin, epriestley
Maniphest Tasks: T8186
Differential Revision: https://secure.phabricator.com/D12859
2015-05-15 19:32:47 +02:00
|
|
|
.device tr.phui-calendar-day-of-week-header th .long-weekday-name {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr.phui-calendar-day-of-week-header th .short-weekday-name {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.device tr.phui-calendar-day-of-week-header th .short-weekday-name {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
2014-02-16 18:25:29 +01:00
|
|
|
table.phui-calendar-view td {
|
2015-05-12 03:15:27 +02:00
|
|
|
border: solid #dfdfdf;
|
|
|
|
border-width: 1px 1px 0 1px;
|
2014-02-16 18:25:29 +01:00
|
|
|
width: 14.2857%; /* This is one seventh, approximately. */
|
|
|
|
}
|
|
|
|
|
2015-05-13 02:56:52 +02:00
|
|
|
.phui-calendar-month-cell-div {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-calendar-month-event-list .phui-calendar-month-cell-div {
|
|
|
|
min-height: 125px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.device .phui-calendar-month-event-list .phui-calendar-month-cell-div {
|
2015-05-14 22:02:19 +02:00
|
|
|
min-height: 32px;
|
2015-05-13 02:56:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
a.phui-calendar-month-secret-link {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
2015-05-12 03:15:27 +02:00
|
|
|
table.phui-calendar-view tr td:first-child {
|
|
|
|
border-left-width: 0px;
|
2014-02-16 18:25:29 +01:00
|
|
|
}
|
|
|
|
|
2015-05-13 02:56:52 +02:00
|
|
|
.device table.phui-calendar-view .phui-calendar-event-list {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-calendar-month-event-count {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.device .phui-calendar-month-event-count {
|
|
|
|
display: block;
|
|
|
|
text-align: center;
|
2015-05-14 22:02:19 +02:00
|
|
|
padding-top: 8px;
|
2015-05-13 02:56:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.phui-calendar-month-event-count .phui-calendar-month-count-badge {
|
|
|
|
border: 1px solid {$lightgreyborder};
|
|
|
|
color: {$lightgreytext};
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
border-radius: 50%;
|
|
|
|
text-align: center;
|
|
|
|
vertical-align: middle;
|
2015-05-14 22:02:19 +02:00
|
|
|
padding: 4px 2px 0px 2px;
|
2015-05-13 02:56:52 +02:00
|
|
|
margin: 0 auto;
|
2014-02-16 18:25:29 +01:00
|
|
|
}
|
|
|
|
|
2015-05-15 04:20:44 +02:00
|
|
|
.phui-calendar-month-count-badge.viewer-invited-day-badge {
|
|
|
|
border-color: {$green};
|
|
|
|
color: {$green};
|
|
|
|
}
|
|
|
|
|
2015-05-17 21:31:26 +02:00
|
|
|
table.phui-calendar-view a.phui-calendar-week-number {
|
|
|
|
color: {$lightgreyborder};
|
|
|
|
padding: 4px;
|
|
|
|
display: inline-block;
|
2015-05-18 22:59:23 +02:00
|
|
|
width: 16px;
|
2015-05-17 21:31:26 +02:00
|
|
|
text-align: center;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
2015-05-12 03:15:27 +02:00
|
|
|
table.phui-calendar-view a.phui-calendar-date-number {
|
2014-02-16 18:25:29 +01:00
|
|
|
color: {$lightgreytext};
|
2015-05-15 21:17:34 +02:00
|
|
|
padding: 4px;
|
2015-05-12 03:15:27 +02:00
|
|
|
display: inline-block;
|
2015-05-18 22:59:23 +02:00
|
|
|
width: 16px;
|
2014-02-16 18:25:29 +01:00
|
|
|
text-align: center;
|
2015-05-12 03:15:27 +02:00
|
|
|
}
|
|
|
|
|
2015-05-18 22:59:23 +02:00
|
|
|
.device table.phui-calendar-view a.phui-calendar-week-number,
|
|
|
|
.device table.phui-calendar-view a.phui-calendar-date-number {
|
|
|
|
width: 12px;
|
|
|
|
}
|
|
|
|
|
2015-05-12 03:15:27 +02:00
|
|
|
table.phui-calendar-view td.phui-calendar-date-number-container {
|
|
|
|
font-weight: normal;
|
|
|
|
color: {$lightgreytext};
|
|
|
|
border-width: 0 1px 0 1px;
|
|
|
|
text-align: right;
|
2014-02-16 18:25:29 +01:00
|
|
|
}
|
|
|
|
|
2015-05-12 22:21:57 +02:00
|
|
|
.phui-calendar-today-slot {
|
|
|
|
display: block;
|
|
|
|
height: 4px;
|
2015-05-15 21:17:34 +02:00
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: -1px;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-calendar-today-slot.last-weekday {
|
|
|
|
right: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-calendar-today-slot.phui-calendar-this-week {
|
|
|
|
background-color: {$blueborder};
|
2014-02-16 18:25:29 +01:00
|
|
|
}
|
|
|
|
|
2015-05-12 22:21:57 +02:00
|
|
|
.phui-calendar-today-slot.phui-calendar-today {
|
|
|
|
background-color: {$lightblueborder};
|
2014-02-16 18:25:29 +01:00
|
|
|
}
|
|
|
|
|
2014-02-24 19:04:23 +01:00
|
|
|
.phui-calendar-event-empty {
|
|
|
|
border-color: transparent;
|
|
|
|
background: transparent;
|
2014-02-16 18:25:29 +01:00
|
|
|
}
|
|
|
|
|
2014-02-24 19:04:23 +01:00
|
|
|
.phui-calendar-view .phui-calendar-list {
|
2015-05-12 03:15:27 +02:00
|
|
|
padding: 1px;
|
2015-05-19 18:57:14 +02:00
|
|
|
width: auto;
|
2015-05-12 03:15:27 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.phui-calendar-list-item.all-day span {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-calendar-view .phui-calendar-list li.phui-calendar-list-item.all-day {
|
2015-05-18 21:54:46 +02:00
|
|
|
height: 20px;
|
2015-05-15 04:20:44 +02:00
|
|
|
background-color: {$darkgreybackground};
|
2015-05-13 02:56:52 +02:00
|
|
|
display: block;
|
|
|
|
float: none;
|
2015-05-12 03:15:27 +02:00
|
|
|
}
|
|
|
|
|
2015-05-15 04:20:44 +02:00
|
|
|
.phui-calendar-view
|
|
|
|
.phui-calendar-list
|
|
|
|
li.phui-calendar-viewer-invited.all-day {
|
|
|
|
background-color: {$lightgreen};
|
|
|
|
}
|
|
|
|
|
2015-05-19 18:57:14 +02:00
|
|
|
.phui-calendar-view .phui-calendar-list li {
|
|
|
|
padding: 0px 4px;
|
2015-05-12 03:15:27 +02:00
|
|
|
}
|
|
|
|
|
2015-05-19 18:57:14 +02:00
|
|
|
.phui-calendar-view .phui-calendar-list li a {
|
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
2015-05-20 01:55:36 +02:00
|
|
|
height: 18px;
|
2014-02-16 18:25:29 +01:00
|
|
|
}
|
|
|
|
|
2015-05-19 18:57:14 +02:00
|
|
|
.phui-calendar-view li.phui-calendar-list-item {
|
|
|
|
white-space: nowrap;
|
|
|
|
width: auto;
|
2014-02-16 18:25:29 +01:00
|
|
|
}
|
|
|
|
|
2015-05-20 01:55:36 +02:00
|
|
|
.phui-calendar-list-item-icon {
|
2015-05-19 18:57:14 +02:00
|
|
|
display: block;
|
2015-05-20 01:55:36 +02:00
|
|
|
left: 0px;
|
2014-02-16 18:25:29 +01:00
|
|
|
}
|
|
|
|
|
2015-05-18 21:54:46 +02:00
|
|
|
.phui-calendar-view li.phui-calendar-list-item .phui-calendar-list-title {
|
2015-05-19 18:57:14 +02:00
|
|
|
width: auto;
|
|
|
|
position: absolute;
|
2015-05-20 01:55:36 +02:00
|
|
|
left: 20px;
|
|
|
|
right: 60px;
|
2015-05-15 05:51:41 +02:00
|
|
|
text-overflow: ellipsis;
|
2015-05-19 18:57:14 +02:00
|
|
|
overflow: hidden;
|
2015-05-15 05:51:41 +02:00
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-calendar-view li.phui-calendar-list-item .phui-calendar-list-time {
|
2015-05-20 01:55:36 +02:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0px;
|
2015-05-18 21:54:46 +02:00
|
|
|
padding: 0;
|
2015-05-15 05:51:41 +02:00
|
|
|
width: 60px;
|
|
|
|
color: {$lightgreytext};
|
2015-05-20 01:55:36 +02:00
|
|
|
text-align: right;
|
2015-05-15 05:51:41 +02:00
|
|
|
}
|