mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
6e38df366f
* New: Native Theme Engine Co-Authored-By: Zak Saunders <thezak48@users.noreply.github.com> (cherry picked from commit 2291f3e00eb2ff9268a0b2f49da8dde82ee13c04) * Update CSS for themes * Fixup CSS values * Fixup remove duped Color-Impaired setting * Fixup Link Colors Co-Authored-By: Qstick <qstick@gmail.com>
113 lines
1.8 KiB
CSS
113 lines
1.8 KiB
CSS
$hoverScale: 1.05;
|
|
|
|
.content {
|
|
transition: all 200ms ease-in;
|
|
|
|
&:hover {
|
|
z-index: 2;
|
|
box-shadow: 0 0 12px var(--black);
|
|
transition: all 200ms ease-in;
|
|
|
|
.controls {
|
|
opacity: 0.9;
|
|
transition: opacity 200ms linear 150ms;
|
|
}
|
|
}
|
|
}
|
|
|
|
.posterContainer {
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.poster {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
|
|
.link {
|
|
composes: link from '~Components/Link/Link.css';
|
|
|
|
position: relative;
|
|
display: block;
|
|
height: 70px;
|
|
background-color: var(--defaultColor);
|
|
}
|
|
|
|
.overlayTitle {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 5px;
|
|
width: 100%;
|
|
height: 100%;
|
|
color: var(--offWhite);
|
|
text-align: center;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.nextAiring {
|
|
background-color: var(--seriesBackgroundColor);
|
|
text-align: center;
|
|
font-size: $smallFontSize;
|
|
}
|
|
|
|
.title {
|
|
@add-mixin truncate;
|
|
|
|
background-color: var(--seriesBackgroundColor);
|
|
text-align: center;
|
|
font-size: $smallFontSize;
|
|
}
|
|
|
|
.ended {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
z-index: 1;
|
|
width: 0;
|
|
height: 0;
|
|
border-width: 0 25px 25px 0;
|
|
border-style: solid;
|
|
border-color: transparent var(--dangerColor) transparent transparent;
|
|
color: var(--white);
|
|
}
|
|
|
|
.editorSelect {
|
|
position: absolute;
|
|
top: 10px;
|
|
left: 10px;
|
|
z-index: 4;
|
|
}
|
|
|
|
.controls {
|
|
position: absolute;
|
|
bottom: 10px;
|
|
left: 10px;
|
|
z-index: 3;
|
|
border-radius: 4px;
|
|
background-color: var(--readarrRed);
|
|
color: var(--white);
|
|
font-size: $smallFontSize;
|
|
opacity: 0;
|
|
transition: opacity 0;
|
|
}
|
|
|
|
.action {
|
|
composes: button from '~Components/Link/IconButton.css';
|
|
|
|
&:hover {
|
|
color: #ccc;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: $breakpointSmall) {
|
|
.container {
|
|
padding: 5px;
|
|
}
|
|
}
|