-
-
Notifications
You must be signed in to change notification settings - Fork 199
Preliminary sidebar handling css #1320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…imeout to account for transition time
…isplayed all the time, with other css handling visibility
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Still to do is the gallery view for OSD. I'm also going to remove some of the show()/hide() jQuery calls so that visiblity of the panels' top/close/main child elements are controlled purely in the CSS if possible. |
Looks good on desktop and mobile for me, thanks Johnathan. I'll merge this into my branch and apply the button event. Using this made me think the thumbnail panel should close automatically when a thumbnail is selected on mobile. Unless anyone thinks otherwise I'll look into that. |
Yes, that makes sense to me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is definitely on the right track with the approach and configuration considerations. For my money, we should keep the new color scheme.
Do we want to standardize UV css variables to start with |
@crhallberg I was just basing it on the --uv-vh property that's added to But I really don't want to type |
@LlGC-jop, did you intend to merge this to dev? It hasn't been approved yet, so I'm not sure how that was able to happen... |
Hi @LlGC-jop are there more CSS changes to come or can I pull this down to my branch? |
@jamesmisson, because this branch got accidentally merged and then reverted, it probably won't merge cleanly with your own branch. I think @LlGC-jop has set up a new branch to replace this; I'll let him share the details since I'm not sure if I'm entirely correct about this. :-) |
Updates CSS and some small JS bits to allow the side panels to appear on mobile.
Currently only tested on OSD extension, but should work the same for all types.
Please excuse the garish colours - they're useful for checking which media queries are running and the stacking of the z-indexes :)
Summary of changes:
<html>
element, which will allow config from JS to be passed to the CSS, but for now they're all instyles.less
in the:root
selector to simulate this.--uv-animation
property acts as a boolean toggle for this and can be set to 0 to disable animations without the need for more complex selectors.