mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 17:02:41 +01:00
27c75357be
Summary: Closes T8186, Weekend header labels in month view should have darker backgrounds instead of dark actual weekend days. Test Plan: open month view, observe weekend labels having a darker background. Reviewers: chad, epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Maniphest Tasks: T8186 Differential Revision: https://secure.phabricator.com/D12860
210 lines
4 KiB
CSS
210 lines
4 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: 13px;
|
|
padding: 3px;
|
|
color: {$lightbluetext};
|
|
background: {$lightgreybackground};
|
|
}
|
|
|
|
tr.phui-calendar-day-of-week-header th.weekend-day-header {
|
|
background: {$greybackground};
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
table.phui-calendar-view td {
|
|
border: solid #dfdfdf;
|
|
border-width: 1px 1px 0 1px;
|
|
width: 14.2857%; /* This is one seventh, approximately. */
|
|
}
|
|
|
|
.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 {
|
|
min-height: 32px;
|
|
}
|
|
|
|
a.phui-calendar-month-secret-link {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
outline: 0;
|
|
}
|
|
|
|
table.phui-calendar-view tr td:first-child {
|
|
border-left-width: 0px;
|
|
}
|
|
|
|
.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;
|
|
padding-top: 8px;
|
|
}
|
|
|
|
.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;
|
|
padding: 4px 2px 0px 2px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.phui-calendar-month-count-badge.viewer-invited-day-badge {
|
|
border-color: {$green};
|
|
color: {$green};
|
|
}
|
|
|
|
table.phui-calendar-view a.phui-calendar-date-number {
|
|
color: {$lightgreytext};
|
|
padding: 0 4px;
|
|
display: inline-block;
|
|
min-width: 16px;
|
|
text-align: center;
|
|
}
|
|
|
|
table.phui-calendar-view td.phui-calendar-date-number-container {
|
|
font-weight: normal;
|
|
color: {$lightgreytext};
|
|
border-width: 0 1px 0 1px;
|
|
text-align: right;
|
|
}
|
|
|
|
.phui-calendar-today-slot {
|
|
display: block;
|
|
width: 100%;
|
|
height: 4px;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.phui-calendar-today-slot.phui-calendar-today {
|
|
background-color: {$lightblueborder};
|
|
}
|
|
|
|
.phui-calendar-event-empty {
|
|
border-color: transparent;
|
|
background: transparent;
|
|
}
|
|
|
|
.phui-calendar-view .phui-calendar-list {
|
|
padding: 1px;
|
|
}
|
|
|
|
.phui-calendar-list-item.all-day span {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.phui-calendar-view .phui-calendar-list li.phui-calendar-list-item.all-day {
|
|
margin: 0;
|
|
padding: 4px 4px 0px 4px;
|
|
background-color: {$darkgreybackground};
|
|
display: block;
|
|
float: none;
|
|
}
|
|
|
|
.phui-calendar-view
|
|
.phui-calendar-list
|
|
li.phui-calendar-viewer-invited.all-day {
|
|
background-color: {$lightgreen};
|
|
}
|
|
|
|
li.phui-calendar-list-item.all-day:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.phui-calendar-view .phui-calendar-list li {
|
|
margin: 0 8px;
|
|
}
|
|
|
|
.phui-calendar-view .phui-calendar-list li:first-child {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.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;
|
|
white-space: normal;
|
|
word-break: break-word;
|
|
}
|
|
|
|
li.phui-calendar-list-item .phui-calendar-list-title a {
|
|
text-align: left;
|
|
padding-left: 8px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
li.phui-calendar-list-item.all-day .phui-calendar-list-title a{
|
|
color: {$greytext};
|
|
}
|
|
|
|
li.phui-calendar-viewer-invited.all-day .phui-calendar-list-title a{
|
|
color: {$green};
|
|
}
|
|
|
|
.phui-calendar-view li.phui-calendar-list-item .phui-calendar-list-time {
|
|
position: absolute;
|
|
width: 60px;
|
|
right: 0;
|
|
top: 1px;
|
|
color: {$lightgreytext};
|
|
text-align: right;
|
|
}
|
|
|
|
.phui-calendar-view
|
|
li.phui-calendar-list-item.all-day
|
|
.phui-calendar-list-time {
|
|
top: 4px;
|
|
right: 8px;
|
|
}
|