diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2024-01-01 13:53:33 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-01 13:53:33 +0000 |
commit | 15156cde18844f459ba101b1356d162aa7f39c47 (patch) | |
tree | 7cc25de93251c1ab370a5f96a165a66a7cd47313 /style.css | |
parent | 0aa7c53c0b9469849377aff83f43c9f75c19b3fa (diff) | |
parent | 0c5427960b3a4ffe6d673c28e8e135b26f015717 (diff) | |
download | stable-diffusion-webui-gfx803-15156cde18844f459ba101b1356d162aa7f39c47.tar.gz stable-diffusion-webui-gfx803-15156cde18844f459ba101b1356d162aa7f39c47.tar.bz2 stable-diffusion-webui-gfx803-15156cde18844f459ba101b1356d162aa7f39c47.zip |
Merge pull request #14291 from AUTOMATIC1111/on-mouse-hover-show-hide-modal-image-viewer-icons
on mouse hover show / hide modal image viewer icons
Diffstat (limited to 'style.css')
-rw-r--r-- | style.css | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -679,7 +679,7 @@ table.popup-table .link{ transition: 0.2s ease background-color;
}
.modalControls:hover {
- background-color:rgba(0,0,0,0.9);
+ background-color:rgba(0,0,0, var(--sd-webui-modal-lightbox-toolbar-opacity));
}
.modalClose {
margin-left: auto;
@@ -749,6 +749,22 @@ table.popup-table .link{ display: none;
}
+@media (pointer: fine) {
+ .modalPrev:hover,
+ .modalNext:hover,
+ .modalControls:hover ~ .modalPrev,
+ .modalControls:hover ~ .modalNext,
+ .modalControls:hover .cursor {
+ opacity: 1;
+ }
+
+ .modalPrev,
+ .modalNext,
+ .modalControls .cursor {
+ opacity: var(--sd-webui-modal-lightbox-icon-opacity);
+ }
+}
+
/* context menu (ie for the generate button) */
#context-menu{
|