mirror of
https://github.com/Radarr/Radarr
synced 2025-02-22 06:11:09 +00:00
Add existing flag for Discover Movie Posters
This commit is contained in:
parent
bc4847cdc7
commit
7c32061e17
3 changed files with 22 additions and 0 deletions
|
@ -68,6 +68,19 @@ $hoverScale: 1.05;
|
||||||
color: var(--white);
|
color: var(--white);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.existing {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
z-index: 1;
|
||||||
|
width: 0;
|
||||||
|
height: 0;
|
||||||
|
border-width: 25px 25px 0 0;
|
||||||
|
border-style: solid;
|
||||||
|
border-color: #37bc9b transparent transparent;
|
||||||
|
color: var(--white);
|
||||||
|
}
|
||||||
|
|
||||||
.controls {
|
.controls {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 10px;
|
bottom: 10px;
|
||||||
|
|
|
@ -7,6 +7,7 @@ interface CssExports {
|
||||||
'controls': string;
|
'controls': string;
|
||||||
'editorSelect': string;
|
'editorSelect': string;
|
||||||
'excluded': string;
|
'excluded': string;
|
||||||
|
'existing': string;
|
||||||
'externalLinks': string;
|
'externalLinks': string;
|
||||||
'link': string;
|
'link': string;
|
||||||
'overlayTitle': string;
|
'overlayTitle': string;
|
||||||
|
|
|
@ -159,6 +159,14 @@ class DiscoverMoviePoster extends Component {
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
isExisting &&
|
||||||
|
<div
|
||||||
|
className={styles.existing}
|
||||||
|
title={translate('Existing')}
|
||||||
|
/>
|
||||||
|
}
|
||||||
|
|
||||||
<Link
|
<Link
|
||||||
className={styles.link}
|
className={styles.link}
|
||||||
style={elementStyle}
|
style={elementStyle}
|
||||||
|
|
Loading…
Reference in a new issue