New: Dim episode/air time on calendar

This commit is contained in:
Mark McDowall 2019-07-24 20:08:26 -07:00
parent 06f157e634
commit 4df219161c
4 changed files with 12 additions and 2 deletions

View File

@ -16,10 +16,13 @@
display: flex; display: flex;
} }
.episodeInfo {
color: $calendarTextDim;
}
.seriesTitle, .seriesTitle,
.episodeTitle { .episodeTitle {
@add-mixin truncate; @add-mixin truncate;
flex: 1 0 1px; flex: 1 0 1px;
margin-right: 10px; margin-right: 10px;
} }
@ -37,6 +40,10 @@
margin-left: 3px; margin-left: 3px;
} }
.airTime {
color: $calendarTextDim;
}
/* /*
* Status * Status
*/ */

View File

@ -200,7 +200,7 @@ class CalendarEvent extends Component {
</div> </div>
} }
<div> <div className={styles.airTime}>
{formatTime(airDateUtc, timeFormat)} - {formatTime(endTime.toISOString(), timeFormat, { includeMinuteZero: true })} {formatTime(airDateUtc, timeFormat)} - {formatTime(endTime.toISOString(), timeFormat, { includeMinuteZero: true })}
</div> </div>
</Link> </Link>

View File

@ -22,10 +22,12 @@
.airTime { .airTime {
flex: 1 0 1px; flex: 1 0 1px;
color: $calendarTextDim;
} }
.episodeInfo { .episodeInfo {
margin-left: 10px; margin-left: 10px;
color: $calendarTextDim;
} }
.absoluteEpisodeNumber { .absoluteEpisodeNumber {

View File

@ -175,6 +175,7 @@ module.exports = {
calendarTodayBackgroundColor: '#ddd', calendarTodayBackgroundColor: '#ddd',
calendarBorderColor: '#cecece', calendarBorderColor: '#cecece',
calendarTextDim: '#666',
// //
// Table // Table