about summary refs log tree commit diff stats
path: root/css
diff options
context:
space:
mode:
authorAndrew Dolgov <noreply@fakecake.org>2021-01-26 13:45:43 +0300
committerAndrew Dolgov <noreply@fakecake.org>2021-01-26 13:45:43 +0300
commit9f09eb0abe2bae6138615e30fbec14e48c22dc86 (patch)
tree73ccefab18ab2cd60f4b1038a7cb66da6122876a /css
parentdb5cf9263dfacd6fd7f578b64de1d92088783e63 (diff)
downloadthe-epube-9f09eb0abe2bae6138615e30fbec14e48c22dc86.tar.gz
the-epube-9f09eb0abe2bae6138615e30fbec14e48c22dc86.tar.xz
img: un-invert on hover; set dark style for modals in night mode
Diffstat (limited to 'css')
-rw-r--r--css/themes.less20
1 files changed, 20 insertions, 0 deletions
diff --git a/css/themes.less b/css/themes.less
index 6d22910..1e72415 100644
--- a/css/themes.less
+++ b/css/themes.less
@@ -18,6 +18,26 @@
 
    img {
       filter: invert(1) contrast(0.73);
+      transition : filter linear 0.1s;
+   }
+
+   img:hover {
+      filter : none;
+   }
+
+   .modal-dialog {
+      .modal-content {
+         background : #222;
+         color : #ccc;
+
+         button.close {
+            color : #fff;
+         }
+      }
+
+      .modal-header, .modal-footer {
+         border-color : #444;
+      }
    }
 }