1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-19 03:50:54 +01:00

Event lists in days of month view should also specify the time of the event.

Summary: Ref T8188, Event lists in days of month view should also specify the time of the event.

Test Plan: Time start should be display on event links in month view. Note: not handling the case where an event starts on a previous day - always displaying just start time, with no disgression.

Reviewers: chad, #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T8188

Differential Revision: https://secure.phabricator.com/D12852
This commit is contained in:
lkassianik 2015-05-14 20:51:41 -07:00
parent 4016107411
commit e185d8fe02
3 changed files with 27 additions and 10 deletions

View file

@ -121,8 +121,8 @@ return array(
'rsrc/css/layout/phabricator-side-menu-view.css' => 'c1db9e9c', 'rsrc/css/layout/phabricator-side-menu-view.css' => 'c1db9e9c',
'rsrc/css/layout/phabricator-source-code-view.css' => '2ceee894', 'rsrc/css/layout/phabricator-source-code-view.css' => '2ceee894',
'rsrc/css/phui/calendar/phui-calendar-day.css' => '3b4a65d8', 'rsrc/css/phui/calendar/phui-calendar-day.css' => '3b4a65d8',
'rsrc/css/phui/calendar/phui-calendar-list.css' => 'c1d0ca59', 'rsrc/css/phui/calendar/phui-calendar-list.css' => '840baa8d',
'rsrc/css/phui/calendar/phui-calendar-month.css' => '3e42c803', 'rsrc/css/phui/calendar/phui-calendar-month.css' => '450c37ea',
'rsrc/css/phui/calendar/phui-calendar.css' => '8345be98', 'rsrc/css/phui/calendar/phui-calendar.css' => '8345be98',
'rsrc/css/phui/phui-action-header-view.css' => '89c497e7', 'rsrc/css/phui/phui-action-header-view.css' => '89c497e7',
'rsrc/css/phui/phui-action-list.css' => '4f4d09f2', 'rsrc/css/phui/phui-action-list.css' => '4f4d09f2',
@ -762,8 +762,8 @@ return array(
'phui-button-css' => 'de610129', 'phui-button-css' => 'de610129',
'phui-calendar-css' => '8345be98', 'phui-calendar-css' => '8345be98',
'phui-calendar-day-css' => '3b4a65d8', 'phui-calendar-day-css' => '3b4a65d8',
'phui-calendar-list-css' => 'c1d0ca59', 'phui-calendar-list-css' => '840baa8d',
'phui-calendar-month-css' => '3e42c803', 'phui-calendar-month-css' => '450c37ea',
'phui-crumbs-view-css' => '594d719e', 'phui-crumbs-view-css' => '594d719e',
'phui-document-view-css' => '94d5dcd8', 'phui-document-view-css' => '94d5dcd8',
'phui-feed-story-css' => 'c9f3a0b5', 'phui-feed-story-css' => 'c9f3a0b5',

View file

@ -52,6 +52,7 @@
.phui-calendar-list-item .phui-calendar-list-time { .phui-calendar-list-item .phui-calendar-list-time {
position: absolute; position: absolute;
top: 0;
width: 60px; width: 60px;
right: 0; right: 0;
top: 0; top: 0;

View file

@ -139,9 +139,6 @@ li.phui-calendar-list-item.all-day:first-child {
.phui-calendar-view .phui-calendar-list li { .phui-calendar-view .phui-calendar-list li {
margin: 0 8px; margin: 0 8px;
display: inline-block;
float: left;
clear: both;
} }
.phui-calendar-view .phui-calendar-list li:first-child { .phui-calendar-view .phui-calendar-list li:first-child {
@ -160,11 +157,18 @@ li.phui-calendar-list-item.all-day:first-child {
.phui-calendar-view .phui-calendar-list-title { .phui-calendar-view .phui-calendar-list-title {
width: auto; width: auto;
margin-left: 10px;
white-space: normal; white-space: normal;
word-break: break-word; 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{ li.phui-calendar-list-item.all-day .phui-calendar-list-title a{
color: {$greytext}; color: {$greytext};
} }
@ -173,6 +177,18 @@ li.phui-calendar-viewer-invited.all-day .phui-calendar-list-title a{
color: {$green}; color: {$green};
} }
.phui-calendar-view .phui-calendar-list-time { .phui-calendar-view li.phui-calendar-list-item .phui-calendar-list-time {
display: none; 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;
} }