stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

on mouse hover show / hide modal image viewer icons

Open w-e-w opened this issue 7 months ago • 4 comments

Description

future request https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/14288 Fullscreen Preview control fading/disable.

  • for mouse usere, show and hide fullscreen image viewer icon on mouse hover

  • this CSS is only in effect when using Mouse, so mobile are not affected

personally I think it looks better when it's automatically hidden but ideally they should be an option to toggle this behavior, currently I haven't figured out how to do so

demo video

https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/40751091/83e5e5e7-402a-4389-b36a-323b5a877226

Checklist:

w-e-w avatar Dec 12 '23 17:12 w-e-w

Perfect thanks!

jefferysanders avatar Dec 12 '23 17:12 jefferysanders

For a user who doesn't know about those elements at top it could be difficult to find out about them if they are invisible. Maybe a setting toggle?

AUTOMATIC1111 avatar Dec 14 '23 07:12 AUTOMATIC1111

I implemented a strange method of making it optional and also add an option to configure the opacity of the entire top toolbar I couldn't find a more elegant method of making a certain css rule optional any advice?

w-e-w avatar Dec 15 '23 08:12 w-e-w

I implemented a strange method

I think a CSS variable is absolutely fine for this 👍

akx avatar Dec 15 '23 08:12 akx