+
diff --git a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.scss b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.scss
index ba7190615..36db2203c 100644
--- a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.scss
+++ b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.scss
@@ -1,7 +1,10 @@
+@import "/src/theme";
+
.doc-img {
object-fit: cover;
object-position: top;
height: 200px;
+ mix-blend-mode: multiply;
}
.document-card-check {
@@ -10,4 +13,12 @@
.document-card:hover .document-card-check {
display: block;
+}
+
+.card-selected {
+ border-color: $primary;
+}
+
+.doc-img-background-selected {
+ background-color: $primaryFaded;
}
\ No newline at end of file
diff --git a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.ts b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.ts
index 037c02cf0..5d664697b 100644
--- a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.ts
+++ b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.ts
@@ -13,7 +13,20 @@ export class DocumentCardSmallComponent implements OnInit {
constructor(private documentService: DocumentService) { }
- selected = false
+ _selected = false
+
+ get selected() {
+ return this._selected
+ }
+
+ @Input()
+ set selected(value: boolean) {
+ this._selected = value
+ this.selectedChange.emit(value)
+ }
+
+ @Output()
+ selectedChange = new EventEmitter
()
@Input()
document: PaperlessDocument
diff --git a/src-ui/src/app/components/document-list/document-list.component.html b/src-ui/src/app/components/document-list/document-list.component.html
index a87a89bbf..0c3674421 100644
--- a/src-ui/src/app/components/document-list/document-list.component.html
+++ b/src-ui/src/app/components/document-list/document-list.component.html
@@ -155,5 +155,5 @@
diff --git a/src-ui/src/theme.scss b/src-ui/src/theme.scss
index 88f3ae30f..df2aea003 100644
--- a/src-ui/src/theme.scss
+++ b/src-ui/src/theme.scss
@@ -1,5 +1,6 @@
$paperless-green: #17541f;
$primary: #17541f;
+$primaryFaded: #d1ddd2;
$theme-colors: (
"primary": $primary