diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2022-09-17 17:30:25 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-17 17:30:25 +0000 |
commit | 23a0ec04c005957091ab35c26c4c31485e75d146 (patch) | |
tree | 30c3bddb9eede2520143da4aebcb02ff830bfd7c /style.css | |
parent | 1dd721d13661ddd80109c3fde5999a014190899e (diff) | |
parent | f9cae046cb0a676efeda2577761474e58c27abed (diff) | |
download | stable-diffusion-webui-gfx803-23a0ec04c005957091ab35c26c4c31485e75d146.tar.gz stable-diffusion-webui-gfx803-23a0ec04c005957091ab35c26c4c31485e75d146.tar.bz2 stable-diffusion-webui-gfx803-23a0ec04c005957091ab35c26c4c31485e75d146.zip |
Merge pull request #616 from dfaker/patch-3
Block event propagation when lightbox is triggered
Diffstat (limited to 'style.css')
-rw-r--r-- | style.css | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -248,3 +248,29 @@ input[type="range"]{ width: auto;
}
+.modalPrev,
+.modalNext {
+ cursor: pointer;
+ position: absolute;
+ top: 50%;
+ width: auto;
+ padding: 16px;
+ margin-top: -50px;
+ color: white;
+ font-weight: bold;
+ font-size: 20px;
+ transition: 0.6s ease;
+ border-radius: 0 3px 3px 0;
+ user-select: none;
+ -webkit-user-select: none;
+}
+
+.modalNext {
+ right: 0;
+ border-radius: 3px 0 0 3px;
+}
+
+.modalPrev:hover,
+.modalNext:hover {
+ background-color: rgba(0, 0, 0, 0.8);
+}
|