Sonarr/frontend/src/Calendar/Events/CalendarEvent.css

88 lines
1.8 KiB
CSS
Raw Normal View History

2018-01-13 02:01:27 +00:00
.event {
overflow-x: hidden;
margin: 4px 2px;
padding: 5px;
border-bottom: 1px solid $borderColor;
border-left: 4px solid $borderColor;
font-size: 12px;
&:global(.colorImpaired) {
border-left-width: 5px;
}
2018-01-13 02:01:27 +00:00
}
.info,
.episodeInfo {
display: flex;
}
.seriesTitle,
.episodeTitle {
@add-mixin truncate;
flex: 1 0 1px;
margin-right: 10px;
}
.seriesTitle {
color: #3a3f51;
font-size: $defaultFontSize;
}
.absoluteEpisodeNumber {
margin-left: 3px;
}
.statusIcon {
margin-left: 3px;
}
/*
* Status
*/
.downloaded {
border-left-color: $successColor !important;
2019-03-08 23:20:49 +00:00
&:global(.colorImpaired) {
border-left-color: color($successColor, saturation(+15%)) !important;
}
2018-01-13 02:01:27 +00:00
}
.downloading {
border-left-color: $purple !important;
}
.unmonitored {
border-left-color: $gray !important;
&:global(.colorImpaired) {
background: repeating-linear-gradient(45deg, $colorImpairedGradientDark, $colorImpairedGradientDark 5px, $colorImpairedGradient 5px, $colorImpairedGradient 10px);
2018-01-13 02:01:27 +00:00
}
}
.onAir {
border-left-color: $warningColor !important;
&:global(.colorImpaired) {
background: repeating-linear-gradient(90deg, $colorImpairedGradientDark, $colorImpairedGradientDark 5px, $colorImpairedGradient 5px, $colorImpairedGradient 10px);
2018-01-13 02:01:27 +00:00
}
}
.missing {
border-left-color: $dangerColor !important;
&:global(.colorImpaired) {
border-left-color: color($dangerColor saturation(+15%)) !important;
background: repeating-linear-gradient(90deg, $colorImpairedGradientDark, $colorImpairedGradientDark 5px, $colorImpairedGradient 5px, $colorImpairedGradient 10px);
2018-01-13 02:01:27 +00:00
}
}
.unaired {
border-left-color: $primaryColor !important;
&:global(.colorImpaired) {
background: repeating-linear-gradient(90deg, $colorImpairedGradientDark, $colorImpairedGradientDark 5px, $colorImpairedGradient 5px, $colorImpairedGradient 10px);
2018-01-13 02:01:27 +00:00
}
}