-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add a drop shadow to the contextual notes on tablet/desktop #87
Comments
|
@gissoo noting because I had a tab open about using borders to simulate drop shadows. I couldn't get the example to work with our styles, but wondered if a border with an image would work to solve this? Here's what the contextual notes look like with just a simple gray border on bottom and right edges: I haven't used border images before so I don't know how we need to set them up, but might work here. |
can you expand on this? is the screenshot you posted using an actual image laid underneath the contextual note, or just a css |
This image is just a straight up css border on bottom and right — I used gray, forget how many pixels (5ish?). I agree, I think this might be better than nothing - especially for the one contextual note in DBV that comes right before the interlude, where you end up with a purple note over a purple background. I'm not sure how well transparent works, it might be transparent over the other color (i.e. purple). IDK if border image would work here or not. Here's an example https://developer.mozilla.org/en-US/docs/Web/CSS/border-image |
whoa, had no idea about |
@gissoo would a simple gray border (see screenshot above) be better than nothing? (never mind! no last minute changes, too easy to introduce errors! 😬 ) |
This is the link to the appropriate design (look at the shadow of the contextual note container here, will be the same for desktop and tablet).
The text was updated successfully, but these errors were encountered: