-
Notifications
You must be signed in to change notification settings - Fork 972
Conversation
That should work. We will need a hover state for all buttons. Shall we use the same approach? |
Only if there is a background color change which I think is back and forward buttons only |
53be983
to
6e7792a
Compare
@bsclifton I mentioned to you that we could get the backbutton / forwardbutton hover effect working with just a single image. I implemented that but would love it if you'd take a look at the approach (https://github.com/brave/browser-laptop/pull/5173/files#diff-303f0b6a297506f2cc18bf7b4cb370c5R912) If this approach works we can ship without additional SVGs. Also, for the life of me I can't figure out why on my branch the entire center navigation is pushed slightly to the right. If anyone could help me figure that out it would be greatly appreciated! |
Checking this out now... |
@jkup for the offset issue, you're gonna wanna check here: browser-laptop/less/navigationBar.less Line 33 in 05fbdc1
The nav button sizes are stored in variables.less and this centerOffset uses those for the calculation. Hope this helps 😄 |
22c9249
to
dde1e09
Compare
@jkup This is looking great. The main thing missing is to reduce the size of the "X" (stop loading) button icon. I think about 30% smaller will be good. |
@bradleyrichter reduced the size! still need to make sure it looks good on Windows before shipping. |
710eced
to
8152c32
Compare
8152c32
to
f701293
Compare
a52c810
to
4e939f2
Compare
@jkup let me know when this is ready for re-review 😄 |
@bsclifton meant to update you -- should be ready for re-review. I could go either way on the position on the buttons on Windows. If you'd like them bumped up 1 px let me know but I think they look good! |
Mac looks great but still needs a reduction for the stop icon. Windows needs a 1px nudge up for the bookmark star and the actual URL text string.
|
@bradleyrichter fixed and fixed |
Checking this out right now... 😄 |
- move star up 1px - make reload/stop/home the same size (on hover) as back/forward - move reload/stop/home out of `startButtons` and into `navigator` - change reload/stop/home to pos relative, move down 3 px Changes tested on Windows
a163e90
to
35196bc
Compare
Looks good to me! 😄 @bbondy before I merge, did you want to cherry pick the commits and give it a spin? I screen capped the buttons and zoomed in, measured the pixels on each (on Windows + Mac). I had tweaks (see commits) and it should be good to go now |
I'll merge and see it on master, thanks! |
git rebase -i
to squash commits (if needed).Fix #4852 #5210
Auditors @bsclifton @bbondy @bradleyrichter
Things needed to ship:
After going over it with @bradleyrichter here is how it currently looks:
Also here is the windows version:
Testing:
The 5 possible buttons to the left of the urlbar have all been replaced. This includes back, forward, stop, reload and home.