aboutsummaryrefslogtreecommitdiffstats
path: root/style.css
diff options
context:
space:
mode:
authorDepFA <35278260+dfaker@users.noreply.github.com>2022-09-17 00:00:45 +0000
committerAUTOMATIC1111 <16777216c@gmail.com>2022-09-17 11:56:11 +0000
commit65be5312dc2b73e659299ea052d5484e6ae6c0ea (patch)
tree55bab52bc5963da705128ceae048b915a388e39d /style.css
parentba295b32688629cf575d67f1750a7838b008858b (diff)
downloadstable-diffusion-webui-gfx803-65be5312dc2b73e659299ea052d5484e6ae6c0ea.tar.gz
stable-diffusion-webui-gfx803-65be5312dc2b73e659299ea052d5484e6ae6c0ea.tar.bz2
stable-diffusion-webui-gfx803-65be5312dc2b73e659299ea052d5484e6ae6c0ea.zip
Add modal css classes
Diffstat (limited to 'style.css')
-rw-r--r--style.css37
1 files changed, 37 insertions, 0 deletions
diff --git a/style.css b/style.css
index 752d2cf4..2de83a94 100644
--- a/style.css
+++ b/style.css
@@ -196,3 +196,40 @@ input[type="range"]{
border-radius: 8px;
}
+#lightboxModal{
+ display: none;
+ position: fixed;
+ z-index: 900;
+ padding-top: 100px;
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ overflow: auto;
+ background-color: black;
+}
+
+.modalClose {
+ color: white;
+ position: absolute;
+ top: 10px;
+ right: 25px;
+ font-size: 35px;
+ font-weight: bold;
+}
+
+.modalClose:hover,
+.modalClose:focus {
+ color: #999;
+ text-decoration: none;
+ cursor: pointer;
+}
+
+#modalImage {
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+ margin-top: auto;
+ width: auto;
+}
+