New: Dim episode/air time on calendar

pull/3216/head^2
Mark McDowall 6 years ago
parent 06f157e634
commit 4df219161c

@ -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
*/ */

@ -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>

@ -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 {

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

Loading…
Cancel
Save