-
Notifications
You must be signed in to change notification settings - Fork 975
Minor toolbar visual refinement suggestions #4400
Conversation
Hi John - these are all great fixes! Thank you! A few may get adjusted slightly with some planned UI tweaks which I will send your way for feedback. @bbondy - please pull these in after @bclifton checks for Windows conflicts related to the big toolbar PR.
|
@JohnONolan these changes are great! Thanks for the time and thought put into this 😄 I'll be sure to test these on Windows and work w/ the team towards accepting this. Assigning to myself, @bradleyrichter, and @bbondy |
Pleasure! Let me know if there's anything that I can do :) |
Great stuff, thanks! |
looks really cool |
Hi everyone! 👋 after chatting with some of the team yesterday I had a couple of suggestions for visual refinements. Rather than write a wordy issue or mess around with mockups -- I thought I'd offer a PR with a few minor refinement suggestions (and explanation).
If this is totally off-base / not how you guys work, please feel free to close. I won't be butthurt.
If you're all "uh, who the hell is this guy" (understandable) -- I'm John from https://github.com/TryGhost/Ghost -- I do all the design / front end over there. (Hi!)
This PR has a mix of bug fixes, refinements, and one enhancement. I'll briefly cover each and offer before/after screenshots to explain my work. All of these changes, by themselves, are miniscule and barely noticeable - but in concert, they contribute to (imo) a far more slick and native "feel".
Summary, before/after: (click on any image to see larger version)
of course, all of this is mostly FAO @bradleyrichter :)
1. Tame the back buttons.
The back buttons in the tool bar feel a little overwhelming when alongside other native applications. They're pretty huge, and a little bit squished up against the browser window controls.
I reduced them down to a more standard 25px height baseline across all toolbar elements, which gives a more consistent/proportional horizontal flow -- and gave them a tiny bit more breathing room from the window controls.
[Note: Out of context, these look pretty small - but if you take the PR for a test-drive, you'll see that this size fits in far more with native application controls // feels "normal"]
Also, the hover state border radius wasn't working because the back button elements aren't square - so they come out as weird ovals. Adjusted to a more standard button shape:
2. Refined focus state of address bar
Move from a slightly in-your-face 2px border to a slightly less-obtrusive 1px
3. Slightly refine tab bar
The + icon, despite being svg, was slightly pixelated due to the CSS
contain
value. This sets a pixel size value which delivers a sharper icon, and also very slightly lightens the tab-bar background to make it feel less muddy, and naturally gives more emphasis to the tab'sbox-shadow
due to greater contrast.4. Bugfix: Brave menu hover state
Previously the icons in the brave context menu had no hover state color, but now they do!
5. Enhancement: Move to Native System Font Stack
So the default font right now is just plain
arial
- which is cool and mostly works, but we can have way more cross-platform compatibility and better rendering by using a native system font stack that caters to all devices / operating systems.Reference material to describe how this works and why it's awesome:
In the screenshot above, other than a small size tweak to better fit with native styles, you'll see there's barely any difference - which is a good thing. But this should be much more future-proof.
6. Shadow Pedantry
This is the most nerdtastic thing ever... but: Replace slightly-bold default box shadow on address bar with a 3 box-shadow alpha transparency symphony.
The main difference is a slightly less "heavy" feel to the shadow, which is a bit web 2.0 - and to make the address input feel more enclosed within the toolbar. Note the contrast between input and border, particularly in the bottom left corner.
Note: ^ You can actually notice the better font-family rendering here, on
http