1
0
mirror of https://github.com/gilbN/theme.park.git synced 2024-10-05 15:07:11 +02:00

Starr alt calendar addons (#444)

* make alt calendar addons inital

* readarr addon

* whisparr alt calendar

* move color impaired css into bases
This commit is contained in:
GilbN 2022-10-10 23:00:11 +02:00 committed by GitHub
parent d4a9934e45
commit a56b789361
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 167 additions and 241 deletions

View File

@ -0,0 +1,19 @@
[class*="CalendarEvent-downloaded-"] {
background: rgb(var(--calendar-downloaded) / .4) !important;
}
[class*="CalendarEvent-downloading-"] {
background: rgb(var(--calendar-downloading) / .4) !important;
}
[class*="CalendarEvent-unmonitored-"] {
background: rgb(var(--calendar-unmonitored) / .4) !important;
}
[class*="CalendarEvent-missing-"] {
background: rgb(var(--calendar-missing) / .4) !important;
}
[class*="CalendarEvent-unreleased-"] {
background: rgb(var(--calendar-unreleased) / .4) !important;
}

View File

@ -0,0 +1,31 @@
[class*="CalendarEvent-event-"] {
background: rgb(var(--calendar-unmonitored) / .4);
}
[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-unmonitored-"] {
background: rgb(var(--calendar-unmonitored) / .4) !important;
}
[class*="CalendarEvent-downloading-"],
[class*="CalendarEvent-queue-"] {
background: rgb(var(--calendar-downloading) / .4) !important;
}

View File

@ -0,0 +1,20 @@
[class*="CalendarEvent-downloaded-"]:not([class*="AgendaEvent-"]) {
background: rgb(var(--calendar-downloaded) / .4) !important;
}
[class*="CalendarEvent-missing-"]:not([class*="AgendaEvent-"]) {
background: rgb(var(--calendar-missing) / .4) !important;
}
[class*="CalendarEvent-unreleased-"]:not([class*="AgendaEvent-"]) {
background: rgb(var(--calendar-unreleased) / .4) !important;
}
[class*="CalendarEvent-unmonitored-"]:not([class*="AgendaEvent-"]) {
background: rgb(var(--calendar-unmonitored) / .4) !important;
}
[class*="CalendarEvent-downloading-"]:not([class*="AgendaEvent-"]),
[class*="CalendarEvent-queue-"]:not([class*="AgendaEvent-"]) {
background: rgb(var(--calendar-downloading) / .4) !important;
}

View File

@ -0,0 +1,58 @@
: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;
}

View File

@ -15,12 +15,11 @@
@import url("/css/defaults/servarr-base.css");
:root {
--calendar-downloading: 122 67 182;
--calendar-downloaded: 39 194 76;
--calendar-unreleased: 93 156 236;
--calendar-partial: 255, 165, 0;
--calendar-downloading: 122 67 182;
--calendar-unmonitored: 173 173 173;
--calendar-missing: 240 80 80;
--calendar-unreleased: 93 156 236;
}
/* LIDARR SPECIFIC */
@ -213,56 +212,21 @@
}
/* CALENDAR */
[class*="CalendarEvent-downloaded-"] {
background: rgb(var(--calendar-available) / .7) !important;
border-left-color: transparent !important;
[class*="CalendarEvent-event-"]>div>div>a {
color: var(--transparency-light-95) !important;
}
[class*="Calendar-calendar-"] [class*="CalendarEvent-downloaded-"]:hover {
background: rgb(var(--calendar-available) / .5) !important;
border-left-color: transparent !important;
/* Color Impaired Mode */
[class*="CalendarEvent-unmonitored-"].colorImpaired {
background: repeating-linear-gradient(90deg, rgb(var(--calendar-unmonitored) / .2), rgb(var(--calendar-unmonitored) / .2) 5px, rgb(var(--calendar-unmonitored) / .4) 5px, rgb(var(--calendar-unmonitored) / .4) 10px) !important;
}
[class*="CalendarEvent-missing-"] {
background: rgb(var(--calendar-missing) / .7) !important;
border-left-color: transparent !important;
[class*="CalendarEvent-missing-"].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*="Calendar-calendar-"] [class*="CalendarEvent-missing-"]:hover {
background: rgba(var(--calendar-missing) / .5) !important;
border-left-color: transparent !important;
}
[class*="CalendarEvent-unreleased-"] {
background: rgb(var(--calendar-unaired) / .7) !important;
border-left-color: transparent !important;
}
[class*="Calendar-calendar-"] [class*="CalendarEvent-unreleased-"]:hover {
background: rgb(var(--calendar-unaired) / .5) !important;
border-left-color: transparent !important;
}
[class*="CalendarEvent-unmonitored-"] {
background: rgb(var(--calendar-unmonitored) / .7) !important;
border-left-color: transparent !important;
}
[class*="Calendar-calendar-"] [class*="CalendarEvent-unmonitored-"]:hover {
background: rgb(var(--calendar-unmonitored) / .5) !important;
border-left-color: transparent !important;
}
[class*="CalendarEvent-downloading-"],
[class*="CalendarEvent-queue-"] {
background: rgb(var(--calendar-downloading) / .7) !important;
border-left-color: transparent !important;
}
[class*="Calendar-calendar-"] [class*="CalendarEvent-downloading-"]:hover,
[class*="Calendar-calendar-"] [class*="CalendarEvent-queue-"]:hover {
background: rgb(var(--calendar-downloading) / .5) !important;
border-left-color: transparent !important;
[class*="CalendarEvent-unreleased-"].colorImpaired{
background: repeating-linear-gradient(90deg, rgb(var(--calendar-unreleased) / .2), rgb(var(--calendar-unreleased) / .2) 5px, rgb(var(--calendar-unreleased) / .4) 5px, rgb(var(--calendar-unreleased) / .4) 10px) !important;
}
[class*="ArtistIndexHeader-sortName-"]:hover,

View File

@ -257,83 +257,6 @@
color: var(--text-hover);
}
/* CALENDAR */
[class*="CalendarEvent-downloaded-"] {
background: rgb(var(--calendar-available) / .7) !important;
border-left-color: transparent !important;
}
[class*="Calendar-calendar-"] [class*="CalendarEvent-downloaded-"]:hover {
background: rgb(var(--calendar-available) / .5) !important;
border-left-color: transparent !important;
}
[class*="CalendarEvent-missing-"],
[class*="CalendarEvent-missingMonitored"] {
background: rgb(var(--calendar-missing) / .7) !important;
border-left-color: transparent !important;
}
[class*="Calendar-calendar-"] [class*="CalendarEvent-missing-"]:hover,
[class*="Calendar-calendar-"] [class*="CalendarEvent-missingMonitored"]:hover {
background: rgba(var(--calendar-missing) / .5) !important;
border-left-color: transparent !important;
}
[class*="CalendarEvent-missingUnmonitored-"] {
background: rgb(var(--calendar-missing-unmonitored) / .7) !important;
border-left-color: transparent !important;
}
[class*="CalendarEvent-missingUnmonitored-"]:hover {
background: rgb(var(--calendar-missing-unmonitored) / .5) !important;
border-left-color: transparent !important;
}
[class*="CalendarEvent-unreleased-"],
[class*="CalendarEvent-continuing-"] {
background: rgb(var(--calendar-unaired) / .7) !important;
border-left-color: transparent !important;
}
[class*="Calendar-calendar-"] [class*="CalendarEvent-unreleased-"]:hover,
[class*="Calendar-calendar-"] [class*="CalendarEvent-continuing-"]:hover {
background: rgb(var(--calendar-unaired) / .5) !important;
border-left-color: transparent !important;
}
[class*="CalendarEvent-event-"] {
background: rgb(var(--calendar-unmonitored) / .7);
border-left-color: transparent;
}
[class*="Calendar-calendar-"] [class*="CalendarEvent-event-"]:hover {
background: rgb(var(--calendar-unmonitored) / .5);
border-left-color: transparent;
}
[class*="CalendarEvent-unmonitored-"] {
background: rgb(var(--calendar-unmonitored) / .7) !important;
border-left-color: transparent !important;
}
[class*="Calendar-calendar-"] [class*="CalendarEvent-unmonitored-"]:hover {
background: rgb(var(--calendar-unmonitored) / .5) !important;
border-left-color: transparent !important;
}
[class*="CalendarEvent-downloading-"],
[class*="CalendarEvent-queue-"] {
background: rgb(var(--calendar-downloading) / .7) !important;
border-left-color: transparent !important;
}
[class*="Calendar-calendar-"] [class*="CalendarEvent-downloading-"]:hover,
[class*="Calendar-calendar-"] [class*="CalendarEvent-queue-"]:hover {
background: rgb(var(--calendar-downloading) / .5) !important;
border-left-color: transparent !important;
}
[class*="CalendarEvent-movieTitle-"],
[class*="CalendarEvent-movieInfo-"] {
color: #fff !important;
@ -343,6 +266,21 @@
color: var(--text-hover) !important;
}
[class*="CalendarEvent-missingMonitored-"].colorImpaired {
background: var(--transparency-light-15);
}
/* 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;
}
/* Custom filter */
[class*="SelectMovieModalContent-path-"] {
color: var(--text);

View File

@ -207,57 +207,6 @@
}
/* CALENDAR */
[class*="CalendarEvent-downloaded-"]:not([class*="AgendaEvent-"]) {
background: rgb(var(--calendar-downloaded) / .7) !important;
border-left-color: transparent !important;
}
[class*="Calendar-calendar-"] [class*="CalendarEvent-downloaded-"]:hover:not([class*="AgendaEvent-"]) {
background: rgb(var(--calendar-downloaded) / .5) !important;
border-left-color: transparent !important;
}
[class*="CalendarEvent-missing-"]:not([class*="AgendaEvent-"]) {
background: rgb(var(--calendar-missing) / .7) !important;
border-left-color: transparent !important;
}
[class*="Calendar-calendar-"] [class*="CalendarEvent-missing-"]:hover:not([class*="AgendaEvent-"]) {
background: rgba(var(--calendar-missing) / .5) !important;
border-left-color: transparent !important;
}
[class*="CalendarEvent-unreleased-"]:not([class*="AgendaEvent-"]) {
background: rgb(var(--calendar-unreleased) / .7) !important;
border-left-color: transparent !important;
}
[class*="Calendar-calendar-"] [class*="CalendarEvent-unreleased-"]:hover:not([class*="AgendaEvent-"]) {
background: rgb(var(--calendar-unreleased) / .5) !important;
border-left-color: transparent !important;
}
[class*="CalendarEvent-unmonitored-"]:not([class*="AgendaEvent-"]) {
background: rgb(var(--calendar-unmonitored) / .7) !important;
border-left-color: transparent !important;
}
[class*="Calendar-calendar-"] [class*="CalendarEvent-unmonitored-"]:hover:not([class*="AgendaEvent-"]) {
background: rgb(var(--calendar-unmonitored) / .5) !important;
border-left-color: transparent !important;
}
[class*="CalendarEvent-downloading-"]:not([class*="AgendaEvent-"]),
[class*="CalendarEvent-queue-"]:not([class*="AgendaEvent-"]) {
background: rgb(var(--calendar-downloading) / .7) !important;
border-left-color: transparent !important;
}
[class*="Calendar-calendar-"] [class*="CalendarEvent-downloading-"]:hover:not([class*="AgendaEvent-"]),
[class*="Calendar-calendar-"] [class*="CalendarEvent-queue-"]:hover:not([class*="AgendaEvent-"]) {
background: rgb(var(--calendar-downloading) / .5) !important;
border-left-color: transparent !important;
}
[class*="CalendarEvent-authorName-"] a,
[class*="CalendarEvent-authorName-"],
@ -271,6 +220,19 @@ color: #eee !important;
color: #fff !important;
}
/* Color Impaired Mode */
[class*="CalendarEvent-unmonitored-"].colorImpaired {
background: repeating-linear-gradient(90deg, rgb(var(--calendar-unmonitored) / .2), rgb(var(--calendar-unmonitored) / .2) 5px, rgb(var(--calendar-unmonitored) / .4) 5px, rgb(var(--calendar-unmonitored) / .4) 10px) !important;
}
[class*="CalendarEvent-missing-"].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-unreleased-"].colorImpaired{
background: repeating-linear-gradient(90deg, rgb(var(--calendar-unreleased) / .2), rgb(var(--calendar-unreleased) / .2) 5px, rgb(var(--calendar-unreleased) / .4) 5px, rgb(var(--calendar-unreleased) / .4) 10px) !important;
}
/* Library */
[class*="AuthorIndexPoster-link-"],
[class*="AuthorIndexPoster-title-"] {

View File

@ -237,72 +237,6 @@
stroke: #fff;
}
[class*="CalendarEvent-downloaded-"] {
background: rgb(var(--calendar-tv-available) / .7) !important;
border-left-color: transparent !important;
color: #fff;
}
[class*="Calendar-calendar-"] [class*="CalendarEvent-downloaded-"]:hover {
background: rgb(var(--calendar-tv-available) / .5) !important;
border-left-color: transparent !important;
}
[class*="CalendarEvent-missing-"] {
background: rgb(var(--calendar-tv-missing) / .7) !important;
border-left-color: transparent !important;
color: #fff;
}
[class*="Calendar-calendar-"] [class*="CalendarEvent-missing-"]:hover {
background: rgb(var(--calendar-tv-missing) / .5) !important;
border-left-color: transparent !important;
}
[class*="CalendarEvent-unaired-"] {
background: rgb(var(--calendar-tv-unaired) / .7) !important;
border-left-color: transparent !important;
color: #fff;
}
[class*="Calendar-calendar-"] [class*="CalendarEvent-unaired-"]:hover {
background: rgb(var(--calendar-tv-unaired) / .5) !important;
border-left-color: transparent !important;
}
[class*="CalendarEvent-unmonitored-"] {
background: rgb(var(--calendar-tv-unmonitored) / .7) !important;
border-left-color: transparent !important;
color: #fff;
}
[class*="Calendar-calendar-"] [class*="CalendarEvent-unmonitored-"]:hover {
background: rgb(var(--calendar-tv-unmonitored) / .5) !important;
border-left-color: transparent !important;
}
[class*="CalendarEvent-onAir-"] {
background: rgb(var(--calendar-tv-on-air) / .7) !important;
border-left-color: transparent !important;
color: #fff;
}
[class*="Calendar-calendar-"] [class*="CalendarEvent-onAir-"]:hover {
background: rgb(var(--calendar-tv-on-air) / .5) !important;
border-left-color: transparent !important;
}
[class*="CalendarEvent-downloading-"] {
background: rgb(var(--calendar-tv-downloading) / .7) !important;
border-left-color: transparent !important;
color: #fff;
}
[class*="Calendar-calendar-"] [class*="CalendarEvent-downloading-"]:hover {
background: rgb(var(--calendar-tv-downloading) / .5) !important;
border-left-color: transparent !important;
}
[class*="CalendarEvent-seriesTitle-"],
[class*="CalendarEvent-episodeInfo-"],
[class*="CalendarEvent-airTime-"] {