Skip to content

Commit 7381e63

Browse files
lscambo13Macleykun
andauthored
New: Support for starr and Letterboxd external links via Jellyfin Enhanced (#297)
* Remove background color from external links button * Add back previous change for default bg arr link * Add custom hover colors to arr links provided by JellyFin Enhanced * fix: removed redundant selectors; updated colors for higher contrast on hover and active --------- Co-authored-by: Macley <26381427+Macleykun@users.noreply.github.com>
1 parent c8ef5af commit 7381e63

1 file changed

Lines changed: 40 additions & 20 deletions

File tree

Theme/ElegantFin-theme-nightly.css

Lines changed: 40 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1912,67 +1912,87 @@ progress + span {
19121912
}
19131913

19141914
.itemExternalLinks {
1915-
color: var(--textColor);
1916-
}
1917-
1918-
.itemExternalLinks.focuscontainer-x {
19191915
color: transparent;
19201916
}
19211917

1922-
.itemExternalLinks.focuscontainer-x > .button-link {
1918+
.itemExternalLinks > .button-link {
19231919
color: var(--textColor);
19241920
background-color: var(--selectorBackgroundColor);
19251921
padding: 0.125em 0.5em;
19261922
border-radius: var(--smallerRadius);
19271923
margin-bottom: 0.5em;
19281924
}
19291925

1930-
.layout-mobile .itemExternalLinks.focuscontainer-x > .button-link:hover:not(:active) {
1926+
.layout-mobile .itemExternalLinks > .button-link:hover:not(:active) {
19311927
color: var(--textColor) !important;
19321928
}
19331929

1934-
.layout-desktop .itemExternalLinks.focuscontainer-x > a:hover,
1935-
.itemExternalLinks.focuscontainer-x > a:active {
1930+
.layout-desktop .itemExternalLinks > a:hover,
1931+
.itemExternalLinks > a:active {
19361932
background-color: var(--activeColor) !important;
19371933
color: white !important;
19381934
}
19391935

1940-
.layout-desktop .itemExternalLinks.focuscontainer-x > a[href*="themoviedb.org"]:hover,
1941-
.itemExternalLinks.focuscontainer-x > a[href*="themoviedb.org"]:active {
1936+
.layout-desktop .itemExternalLinks > a[href*="themoviedb.org"]:hover,
1937+
.itemExternalLinks > a[href*="themoviedb.org"]:active {
19421938
background-color: rgb(26, 183, 216) !important;
19431939
color: black !important;
19441940
}
19451941

1946-
.layout-desktop .itemExternalLinks.focuscontainer-x > a[href*="imdb.com"]:hover,
1947-
.itemExternalLinks.focuscontainer-x > a[href*="imdb.com"]:active {
1942+
.layout-desktop .itemExternalLinks > a[href*="imdb.com"]:hover,
1943+
.itemExternalLinks > a[href*="imdb.com"]:active {
19481944
background-color: rgb(226, 182, 22) !important;
19491945
color: black !important;
19501946
}
19511947

1952-
.layout-desktop .itemExternalLinks.focuscontainer-x > a[href*="thetvdb.com"]:hover,
1953-
.itemExternalLinks.focuscontainer-x > a[href*="thetvdb.com"]:active {
1948+
.layout-desktop .itemExternalLinks > a[href*="thetvdb.com"]:hover,
1949+
.itemExternalLinks > a[href*="thetvdb.com"]:active {
19541950
background-color: rgb(108, 213, 145) !important;
19551951
color: black !important;
19561952
}
19571953

1958-
.layout-desktop .itemExternalLinks.focuscontainer-x > a[href*="trakt.tv"]:hover,
1959-
.itemExternalLinks.focuscontainer-x > a[href*="trakt.tv"]:active {
1954+
.layout-desktop .itemExternalLinks > a[href*="trakt.tv"]:hover,
1955+
.itemExternalLinks > a[href*="trakt.tv"]:active {
19601956
background-color: rgb(171, 58, 173) !important;
19611957
color: var(--textColor) !important;
19621958
}
19631959

1964-
.layout-desktop .itemExternalLinks.focuscontainer-x > a[href*="theaudiodb.com"]:hover,
1965-
.itemExternalLinks.focuscontainer-x > a[href*="theaudiodb.com"]:active {
1960+
.layout-desktop .itemExternalLinks > a[href*="theaudiodb.com"]:hover,
1961+
.itemExternalLinks > a[href*="theaudiodb.com"]:active {
19661962
background-color: rgb(99, 153, 204) !important;
19671963
color: rgb(15, 22, 28) !important;
19681964
}
19691965

1970-
.layout-desktop .itemExternalLinks.focuscontainer-x > a[href*="musicbrainz.org"]:hover,
1971-
.itemExternalLinks.focuscontainer-x > a[href*="musicbrainz.org"]:active {
1966+
.layout-desktop .itemExternalLinks > a[href*="musicbrainz.org"]:hover,
1967+
.itemExternalLinks > a[href*="musicbrainz.org"]:active {
19721968
background-color: rgb(186, 71, 143) !important;
19731969
color: var(--textColor) !important;
19741970
}
19751971

1972+
.layout-desktop .itemExternalLinks > a[href*="letterboxd.com"]:hover,
1973+
.itemExternalLinks > a[href*="letterboxd.com"]:active {
1974+
background-color: rgb(20, 24, 28) !important;
1975+
color: var(--textColor) !important;
1976+
}
1977+
1978+
.layout-desktop .itemExternalLinks > a[title*="Radarr"]:hover,
1979+
.itemExternalLinks > a[title*="Radarr"]:active {
1980+
background-color: rgb(255, 194, 48) !important;
1981+
color: black !important;
1982+
}
1983+
1984+
.layout-desktop .itemExternalLinks > a[title*="Sonarr"]:hover,
1985+
.itemExternalLinks > a[title*="Sonarr"]:active {
1986+
background-color: rgb(7, 186, 233) !important;
1987+
color: black !important;
1988+
}
1989+
1990+
.layout-desktop .itemExternalLinks > a[title*="Bazarr"]:hover,
1991+
.itemExternalLinks > a[title*="Bazarr"]:active {
1992+
background-color: var(--textColor) !important;
1993+
color: black !important;
1994+
}
1995+
19761996
.itemTags,
19771997
.itemTags > a {
19781998
display: none;

0 commit comments

Comments
 (0)