1
0
mirror of https://github.com/gilbN/theme.park.git synced 2024-11-09 12:42:40 +01:00
theme.park/css/addons/whisparr/whisparr-alt-calendar/whisparr-alt-calendar.css
GilbN a56b789361
Starr alt calendar addons (#444)
* make alt calendar addons inital

* readarr addon

* whisparr alt calendar

* move color impaired css into bases
2022-10-10 23:00:11 +02:00

58 lines
1.8 KiB
CSS

:root {
--calendar-in-cinemas: 53 197 244;
--calendar-downloading: 122 67 182;
--calendar-unmonitored: 173 173 173;
--calendar-unaired: 93 156 236;
--calendar-missing: 240 80 80;
--calendar-missing-unmonitored: 255 165 0;
--calendar-available: 39 194 76;
}
/* CALENDAR */
[class*="CalendarEvent-downloaded-"] {
background: rgb(var(--calendar-available) / .4) !important;
}
[class*="CalendarEvent-missing-"],
[class*="CalendarEvent-missingMonitored"] {
background-color: rgb(var(--calendar-missing) / .4);
}
[class*="CalendarEvent-missingUnmonitored-"] {
background: rgb(var(--calendar-missing-unmonitored) / .4) !important;
}
[class*="CalendarEvent-unreleased-"],
[class*="CalendarEvent-continuing-"] {
background: rgb(var(--calendar-unaired) / .4) !important;
}
[class*="CalendarEvent-event-"] {
background: rgb(var(--calendar-unmonitored) / .4);
}
[class*="CalendarEvent-unmonitored-"] {
background: rgb(var(--calendar-unmonitored) / .4) !important;
}
[class*="CalendarEvent-downloading-"],
[class*="CalendarEvent-queue-"] {
background: rgb(var(--calendar-downloading) / .4) !important;
}
/* Color Impaired Mode */
[class*="CalendarEvent-missing-"].colorImpaired,
[class*="CalendarEvent-missingMonitored-"].colorImpaired {
background: repeating-linear-gradient(90deg, rgb(var(--calendar-missing) / .2), rgb(var(--calendar-missing) / .2) 5px, rgb(var(--calendar-missing) / .4) 5px, rgb(var(--calendar-missing) / .4) 10px) !important;
}
[class*="CalendarEvent-missingUnmonitored-"].colorImpaired {
background: repeating-linear-gradient(90deg, rgb(var(--calendar-missing-unmonitored) / .2), rgb(var(--calendar-missing-unmonitored) / .2) 5px, rgb(var(--calendar-missing-unmonitored) / .4) 5px, rgb(var(--calendar-missing-unmonitored) / .4) 10px) !important;
}