]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Update preview-popup.component.scss
authorshamoon <4887959+shamoon@users.noreply.github.com>
Wed, 16 Oct 2024 04:58:25 +0000 (21:58 -0700)
committershamoon <4887959+shamoon@users.noreply.github.com>
Wed, 16 Oct 2024 04:58:25 +0000 (21:58 -0700)
src-ui/src/app/components/common/preview-popup/preview-popup.component.scss

index af8dc565a239d563a087a87eb552e402f5aee338..1ce4585c4b0aaaaaf8980e2b5d7474860e09694d 100644 (file)
@@ -7,3 +7,32 @@
 ::ng-deep .popover.popover-preview {
     max-width: 32rem;
 }
+
+// https://github.com/paperless-ngx/paperless-ngx/issues/7920
+// TODO: remove me
+@mixin ff_txt {
+  .preview-popup-container {
+    width: 30rem !important;
+    height: 22rem !important;
+    background-color: #e7e7e7;
+  }
+
+  object {
+    mix-blend-mode: difference;
+    &.p-2 {
+      padding: 0 !important;
+    }
+  }
+}
+
+@-moz-document url-prefix() {
+  html[data-bs-theme='dark'] {
+    @include ff_txt;
+  }
+  html[data-bs-theme='auto'] {
+    @media screen and (prefers-color-scheme: dark) {
+      @include ff_txt;
+    }
+  }
+
+}