1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-30 09:20:58 +01:00
phorge-phorge/webroot/rsrc/css/phui/calendar/phui-calendar-day.css
lkassianik 18fe6d58ae Clicking in day view should create new event
Summary: Ref T8300, clicking in day view should create new event

Test Plan: Open day view, click in an empty slot, new event modal should open.

Reviewers: epriestley, #blessed_reviewers, chad

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Maniphest Tasks: T8300

Differential Revision: https://secure.phabricator.com/D12990
2015-05-24 11:22:33 -07:00

109 lines
1.8 KiB
CSS

/**
* @provides phui-calendar-day-css
*/
.device .phui-day-view-column {
display: none;
}
.device .phui-calendar-list-container {
width: 100%;
}
.phui-calendar-day-view {
overflow: scroll;
width: 100%;
}
.phui-calendar-day-hour {
width: 60px;
color: {$lightgreytext};
text-align: right;
padding: 4px 4px;
border-right: 1px solid {$lightgreyborder};
}
.phui-calendar-day-view tr {
height: 60px;
}
.phui-calendar-day-view td {
position: relative;
cursor: pointer;
}
.phui-calendar-day-view td:hover {
background: {$lightbluebackground};
}
.phui-calendar-day-view tr + tr td.phui-calendar-day-events {
border-top: 1px solid {$lightgreyborder};
}
.phui-drag {
opacity: .25;
}
div.phui-calendar-day-event {
width: 100%;
position: absolute;
top: 0;
bottom: 0;
min-height: 30px;
}
.can-drag a {
cursor: move;
}
div.phui-calendar-day-event.all-day {
position: relative;
}
.phui-calendar-day-event-link {
padding: 8px;
border: 1px solid {$greyborder};
background-color: {$darkgreybackground};
margin: 0 1px;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
text-decoration: none;
color: {$greytext};
}
.phui-calendar-day-event-link.viewer-invited-day-event {
border-color: {$green};
background-color: {$lightgreen};
color: {$green};
}
.day-view-all-day {
border: 1px solid {$greyborder};
height: 12px;
margin: 0;
display: block;
padding: 8px;
background-color: {$darkgreybackground};
text-decoration: none;
color: {$greytext};
}
.day-view-all-day.viewer-invited-day-event {
border-color: {$green};
background-color: {$lightgreen};
color: {$green};
}
.phui-calendar-day-event + .phui-calendar-day-event .day-view-all-day {
border-top-style: none;
border-top-width: 0;
}
.phui-calendar-all-day-label {
color: {$greytext};
float: right;
margin: 8px 8px 0 0;
}