1
0
mirror of https://github.com/gilbN/theme.park.git synced 2024-11-04 10:12:31 +01:00

Readarr calendar color fixes.

This commit is contained in:
GilbN 2021-12-11 17:52:32 +01:00
parent 6883c52cb4
commit 0a1c8759aa

View File

@ -11,12 +11,11 @@
/* https://github.com/gilbN/theme.park */ /* https://github.com/gilbN/theme.park */
:root { :root {
--calendar-downloading: 122 67 182;
--calendar-downloaded: 39 194 76; --calendar-downloaded: 39 194 76;
--calendar-unreleased: 93 156 236; --calendar-downloading: 122 67 182;
--calendar-partial: 255, 165, 0;
--calendar-unmonitored: 173 173 173; --calendar-unmonitored: 173 173 173;
--calendar-missing: 240 80 80; --calendar-missing: 240 80 80;
--calendar-unreleased: 93 156 236;
} }
body { body {
@ -824,58 +823,59 @@ input:focus:-ms-input-placeholder {
} }
/* CALENDAR */ /* CALENDAR */
[class*="CalendarEvent-downloaded-"] { [class*="CalendarEvent-downloaded-"]:not([class*="AgendaEvent-"]) {
background: rgb(var(--calendar-available) / .7) !important; background: rgb(var(--calendar-downloaded) / .7) !important;
border-left-color: transparent !important; border-left-color: transparent !important;
} }
[class*="Calendar-calendar-"] [class*="CalendarEvent-downloaded-"]:hover { [class*="Calendar-calendar-"] [class*="CalendarEvent-downloaded-"]:hover:not([class*="AgendaEvent-"]) {
background: rgb(var(--calendar-available) / .5) !important; background: rgb(var(--calendar-downloaded) / .5) !important;
border-left-color: transparent !important; border-left-color: transparent !important;
} }
[class*="CalendarEvent-missing-"] { [class*="CalendarEvent-missing-"]:not([class*="AgendaEvent-"]) {
background: rgb(var(--calendar-missing) / .7) !important; background: rgb(var(--calendar-missing) / .7) !important;
border-left-color: transparent !important; border-left-color: transparent !important;
} }
[class*="Calendar-calendar-"] [class*="CalendarEvent-missing-"]:hover { [class*="Calendar-calendar-"] [class*="CalendarEvent-missing-"]:hover:not([class*="AgendaEvent-"]) {
background: rgba(var(--calendar-missing) / .5) !important; background: rgba(var(--calendar-missing) / .5) !important;
border-left-color: transparent !important; border-left-color: transparent !important;
} }
[class*="CalendarEvent-unreleased-"] { [class*="CalendarEvent-unreleased-"]:not([class*="AgendaEvent-"]) {
background: rgb(var(--calendar-unaired) / .7) !important; background: rgb(var(--calendar-unreleased) / .7) !important;
border-left-color: transparent !important; border-left-color: transparent !important;
} }
[class*="Calendar-calendar-"] [class*="CalendarEvent-unreleased-"]:hover { [class*="Calendar-calendar-"] [class*="CalendarEvent-unreleased-"]:hover:not([class*="AgendaEvent-"]) {
background: rgb(var(--calendar-unaired) / .5) !important; background: rgb(var(--calendar-unreleased) / .5) !important;
border-left-color: transparent !important; border-left-color: transparent !important;
} }
[class*="CalendarEvent-unmonitored-"] { [class*="CalendarEvent-unmonitored-"]:not([class*="AgendaEvent-"]) {
background: rgb(var(--calendar-unmonitored) / .7) !important; background: rgb(var(--calendar-unmonitored) / .7) !important;
border-left-color: transparent !important; border-left-color: transparent !important;
} }
[class*="Calendar-calendar-"] [class*="CalendarEvent-unmonitored-"]:hover { [class*="Calendar-calendar-"] [class*="CalendarEvent-unmonitored-"]:hover:not([class*="AgendaEvent-"]) {
background: rgb(var(--calendar-unmonitored) / .5) !important; background: rgb(var(--calendar-unmonitored) / .5) !important;
border-left-color: transparent !important; border-left-color: transparent !important;
} }
[class*="CalendarEvent-downloading-"] { [class*="CalendarEvent-downloading-"]:not([class*="AgendaEvent-"]) {
background: rgb(var(--calendar-downloading) / .7) !important; background: rgb(var(--calendar-downloading) / .7) !important;
border-left-color: transparent !important; border-left-color: transparent !important;
} }
[class*="Calendar-calendar-"] [class*="CalendarEvent-downloading-"]:hover { [class*="Calendar-calendar-"] [class*="CalendarEvent-downloading-"]:hover:not([class*="AgendaEvent-"]) {
background: rgb(var(--calendar-downloading) / .5) !important; background: rgb(var(--calendar-downloading) / .5) !important;
border-left-color: transparent !important; border-left-color: transparent !important;
} }
[class*="DayOfWeek-dayOfWeek-"] { [class*="DayOfWeek-dayOfWeek-"] {
background-color: hsla(0, 0%, 100%, .08); background-color: hsla(0, 0%, 100%, .08);
color: #fff;
} }
[class*="CalendarDay-dayOfMonth-"] { [class*="CalendarDay-dayOfMonth-"] {
@ -886,6 +886,23 @@ input:focus:-ms-input-placeholder {
[class*="CalendarDay-isToday-"], [class*="CalendarDay-isToday-"],
[class*="DayOfWeek-isToday-"] { [class*="DayOfWeek-isToday-"] {
background-color: hsla(0, 0%, 100%, .25) !important; background-color: hsla(0, 0%, 100%, .25) !important;
color: #fff;
}
[class*="CalendarEvent-authorName-"] a,
[class*="CalendarEvent-authorName-"],
[class*="CalendarEvent-bookTitle-"] a,
[class*="CalendarEvent-bookTitle-"]{
color: #eee !important;
}
[class*="CalendarEvent-authorName-"] a:hover,
[class*="CalendarEvent-bookTitle-"] a:hover{
color: #fff !important;
}
[class*="CalendarEvent-event-"] {
border-left: 4px solid var(--text);
} }
[class*="CalendarDay-day-"], [class*="CalendarDay-day-"],