A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
cleanup css
Bolko Schreiber6a1f5fb4cd19
diff --git a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.htmlindex a531dea97..e1ad87bcc 100644--- a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html+++ b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html@@ -1,7 +1,7 @@<div class="card mb-3 shadow-sm" [class.card-selected]="selected" [class.document-card]="selectable"><div class="row no-gutters"><div class="col-md-2 d-none d-lg-block doc-img-background rounded-left" [class.doc-img-background-selected]="selected" (click)="this.toggleSelected.emit($event)">- <img [src]="getThumbUrl()" class="card-img {{ getIsThumbInverted() ? 'doc-img-inverted' : 'doc-img' }} border-right rounded-left">+ <img [src]="getThumbUrl()" class="card-img doc-img border-right rounded-left" [class.inverted]="getIsThumbInverted()"><div style="top: 0; left: 0" class="position-absolute border-right border-bottom bg-light p-1" [class.document-card-check]="!selected"><div class="custom-control custom-checkbox">diff --git a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.scss b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.scssindex 10454dc73..c49de93b5 100644--- a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.scss+++ b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.scss@@ -4,7 +4,7 @@overflow-wrap: anywhere;}-.doc-img, .doc-img-inverted {+.doc-img {object-fit: cover;object-position: top left;height: 100%;diff --git a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.htmlindex f90239e63..862b0ad22 100644--- a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html+++ b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html@@ -1,7 +1,7 @@<div class="col p-2 h-100"><div class="card h-100 shadow-sm document-card" [class.card-selected]="selected"><div class="border-bottom doc-img-container" [class.doc-img-background-selected]="selected" (click)="this.toggleSelected.emit($event)">- <img class="card-img {{ getIsThumbInverted() ? 'doc-img-inverted' : 'doc-img' }} rounded-top" [src]="getThumbUrl()">+ <img class="card-img doc-img rounded-top" [class.inverted]="getIsThumbInverted()" [src]="getThumbUrl()"><div class="border-right border-bottom bg-light p-1 rounded document-card-check"><div class="custom-control custom-checkbox">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.scssindex 680198efc..cbe8fa6f6 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,6 +1,6 @@@import "/src/theme";-.doc-img, .doc-img-inverted {+.doc-img {object-fit: cover;object-position: top left;height: 200px;diff --git a/src-ui/src/theme_dark.scss b/src-ui/src/theme_dark.scssindex 89a7bea34..1b26680fe 100644--- a/src-ui/src/theme_dark.scss+++ b/src-ui/src/theme_dark.scss@@ -147,18 +147,11 @@ $border-color-dark-mode: #47494f;}}- .doc-img-inverted {- mix-blend-mode: normal;+ .doc-img.inverted {filter: invert(95%) hue-rotate(180deg);- border-radius: 0;- border-color: $bg-dark-mode;-- &.border-right {- border-right: none !important;- }}- .card-selected .doc-img .doc-img-inverted {+ .card-selected .doc-img {mix-blend-mode: luminosity;}