aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDepFA <35278260+dfaker@users.noreply.github.com>2022-09-17 16:56:53 +0000
committerGitHub <noreply@github.com>2022-09-17 16:56:53 +0000
commitfb668c58ef9bfe7ab63af0a70c27c5ff8a70cf64 (patch)
tree6a5de31c3868418636eacc80a89312445dd7ba63
parentf96d8a601c782885d33ce021ad2c3f20b801dd24 (diff)
downloadstable-diffusion-webui-gfx803-fb668c58ef9bfe7ab63af0a70c27c5ff8a70cf64.tar.gz
stable-diffusion-webui-gfx803-fb668c58ef9bfe7ab63af0a70c27c5ff8a70cf64.tar.bz2
stable-diffusion-webui-gfx803-fb668c58ef9bfe7ab63af0a70c27c5ff8a70cf64.zip
add previous and next styles
-rw-r--r--style.css26
1 files changed, 26 insertions, 0 deletions
diff --git a/style.css b/style.css
index 36d073fa..9a236185 100644
--- a/style.css
+++ b/style.css
@@ -230,3 +230,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);
+}