News for hackers. Stuff that matters.
Re:Use Google+ to Improve Your UI by bretthopper on Monday July 18, 2011 @12:44PM (#2776987)
One interesting difference: Google just uses <div> for their buttons instead of <a> tags or even <button>. They also don't set cursor: pointer (the hand) for them.

Any UI people want to comment on the best practice for cursor styles? I always figured pointer should be used for all buttons or links that have an action attached.

Re:Use Google+ to Improve Your UI by Groxx on Monday July 18, 2011 @12:57PM (#2777039)
I, personally, hate buttons without cursor:pointer. Hover effects are nice and all, but they're often rather subtle, and your eyes are attuned to the cursor already. Changing it is extremely visible, and gives you immediate feedback that you're hovering something actionable. Anecdotal, but I find I "see" when my cursor enters a clickable region much more quickly if the cursor changes - I click sooner, rather than making sure it's positioned inside the element.
Re:Use Google+ to Improve Your UI by derefr on Tuesday July 19, 2011 @02:05AM (#2779783)
I find that I subconsciously interpret cursor:pointer as "clicking here will do something with GET semantics" vs. cursor:default as "clicking will do something with POST semantics". I feel about the same way about cursor:pointer-styled buttons as I do about plain blue-underlined "Delete" links.
Re:Use Google+ to Improve Your UI by Groxx on Tuesday July 19, 2011 @02:49AM (#2779846)
I wonder if that's born from OS UI semantics... interesting. I wonder what pushed us in opposite directions.
Re:Use Google+ to Improve Your UI by ender7 on Monday July 18, 2011 @01:25PM (#2777175)
Well, the old technical limitations of the web have muddied the affordances somewhat, but my rules is generally "add cursor:pointer if the button behaves like a link, leave it unchanged if the button behaves like a button".

Most of the G+ buttons actually behave like buttons, i.e. you click on them and something happens on the current page. They don't have cursor:pointer, but they have other standard button hover effects. Pre-AJAX, the web had a history of tarting links up to look like buttons so they would seem more "clickable". Those kinds of "buttons" should get cursor:pointer, but not any other hover effects.

Re:Use Google+ to Improve Your UI by ars on Monday July 18, 2011 @05:18PM (#2778309)
My rule is add cursor: pointer if you can click on it.

Just because browsers didn't do that in the past for form buttons doesn't mean they did the right thing.

Re:Use Google+ to Improve Your UI by alanh on Monday July 18, 2011 @07:46PM (#2778910)
Agreed completely. At minimum, and this should be obvious, but you should never leave the text/I-beam cursor on something that can be interacted with (e.g. buttons, sliders, tabs). (I would have only upvoted you, but with hidden scores, who does that help?)
Re:Use Google+ to Improve Your UI by mooism2 on Tuesday July 19, 2011 @04:42AM (#2780045)
(It's meant you've expanded on ars's point, which is a win from my point of view.)
Re:Use Google+ to Improve Your UI by flyosity on Monday July 18, 2011 @01:24PM (#2777172)
This is absolutely terrible for accessibility. Screen readers will not handle these buttons properly leading to a significantly more difficult experience. James Edwards actually talked about this at The Highland Fling conference a few weeks back.
Re:Use Google+ to Improve Your UI by mbrubeck on Monday July 18, 2011 @04:29PM (#2778077)
The Google buttons do use the ARIA role="button" attribute, which should let them work in screen readers.
Re:Use Google+ to Improve Your UI by blakeperdue on Monday July 18, 2011 @01:37PM (#2777220)
Good point on accessibility. Anyone have links to making your UI accessible (including buttons)?
Re:Use Google+ to Improve Your UI by mdwrigh2 on Monday July 18, 2011 @10:51PM (#2779383)
Here's a pretty good introduction on ARIA which is what Google uses to make their web sites accessible: http://msdn.microsoft.com/en-us/scriptjunkie/ff743762
Re:Use Google+ to Improve Your UI by icebraining on Monday July 18, 2011 @08:08PM (#2778976)
Or for people using Vimperator/Pentadactyl :|
Re:Use Google+ to Improve Your UI by cleer on Monday July 18, 2011 @12:52PM (#2777018)
FWIW, I asked also this here: http://www.quora.com/Whats-best-practice-for-buttons-on-sing...

Would be cool to get more opinions on it.

Also note that the buttons in the header area of Google+ are <a> tags, probably since they actually link to separate pages. I guess that's Google's practice.

Re:Use Google+ to Improve Your UI by yaix on Monday July 18, 2011 @03:06PM (#2777665)
Yes, use pointer. I don't know why G doesn't, but that is not good practice. There should be a visual indication that an object can be clicked, other than a highlighted border.
Re:Use Google+ to Improve Your UI by talmand on Monday July 18, 2011 @01:11PM (#2777096)
Yes, changing the cursor to indicate the element can be clicked is the easiest method to communicate this and for the user to understand it.

But it is not unheard of since desktop applications most likely do not change the cursor hovering on a button. It is mostly a web browser feature.

Re:Use Google+ to Improve Your UI by ary on Monday July 18, 2011 @01:18PM (#2777134)
It's always been my belief that one should try to stick to the browser's native behavior when possible. Web browsers (on personal computers) have pretty consistent pointer states for links (which take you to another page) and form elements (which activate an ability on the current page [with the exception of 'submit' buttons]).

In this regard it seems like Google is doing the right thing. Only run against the user's previously acquired assumptions if there is a very good reason.

Re:Use Google+ to Improve Your UI by robflynn on Monday July 18, 2011 @08:26PM (#2779026)
Is there some downside that I am not seeing with relation to using <button> instead of a <div>?

I have always used <button> tags (occasionally <a> tags as well). Along with a css reset and some custom changes I can make the button look like anything I want.

Re:Use Google+ to Improve Your UI by JoshTriplett on Monday July 18, 2011 @03:24PM (#2777759)
These look good to me (apart from the previously mentioned issue of not actually using <a> tags or similar), but where's the license on these? Neither the site nor the download includes any license information.
Re:Use Google+ to Improve Your UI by shawncplus on Monday July 18, 2011 @01:29PM (#2777200)
almost identical to the particletree buttons from almost 4(!) years ago http://particletree.com/features/rediscovering-the-button-el...
Re:Use Google+ to Improve Your UI by scooter53080 on Monday July 18, 2011 @06:07PM (#2778515)
I like the buttons described there. They were also rolled into blueprint css as the 'buttons' plugin.

https://github.com/joshuaclayton/blueprint-css/tree/master/b...

Re:Use Google+ to Improve Your UI by netmau5 on Monday July 18, 2011 @05:15PM (#2778293)
Well done. Backpacking an existing fad to get visibility from early adopters on your project. Case study in excellent blog-marketing.

Thanks for the buttons too~

Re:Use Google+ to Improve Your UI by yellowbkpk on Monday July 18, 2011 @12:29PM (#2776908)
No, no, no! Please don't let GMail and G+'s new look become a new fad. The white space around every element is very wasteful and obnoxious. Not everyone has huge resolutions and those that do don't appreciate having to scroll several times just to see past the first 4 or 5 entries in a list view.
Re:Use Google+ to Improve Your UI by Groxx on Monday July 18, 2011 @12:52PM (#2777013)
I like the "flatter" UI design overall, but I agree on the whitespace. Especially in Gmail. I wouldn't mind a flatter phase going through The Internets, as I think it's less distracting, but I entirely agree. Less wasteful display of data, please.

I would be interested in any info people may have as to whether such a large amount of whitespace does or does not improve user's understanding/use of sites. I like dense displays, but I'm also willing to learn how to use more powerful tools, as I value the efficiency.

Re:Use Google+ to Improve Your UI by samdelagarza on Monday July 18, 2011 @08:17PM (#2779002)
Yes the extra whitespace in gmail is good. Just read TuFte's book on ink-to-information ratio. Good stuff
Re:Use Google+ to Improve Your UI by bretthopper on Monday July 18, 2011 @12:40PM (#2776961)
This has nothing to do with whitespace. It's just a CSS library for Google+ style buttons.
Re:Use Google+ to Improve Your UI by Groxx on Monday July 18, 2011 @12:59PM (#2777047)
But it does have something (ie, everything) to do with spreading the Google+ style, which includes the whitespace.
Re:Use Google+ to Improve Your UI by dpcan on Monday July 18, 2011 @01:11PM (#2777098)
I think you're going to lose this battle :)

I like the new layout and white space, it's much easier for me to read, but I've always liked this style. In fact, I have a tendency to double space much of my code and other coders hate that I do this.

The only think I REALLY don't like is the giant red COMPOSE button. Uhg. I just want to change it to another color. I REPLY all the time but don't compose often, and having this giant red eye-sore there all the time is very uncomfortable.

Re:Use Google+ to Improve Your UI by enjo on Monday July 18, 2011 @12:42PM (#2776975)
I'm using the new gmail theme, and I don't have any of those complaints. I'm on a medium resolution screen (1400x1050 I think) and I currently have 18 mail entries visible.

It definitely took me a bit to get used to a typography-centric layout. I really do like it now, however.

Re:Use Google+ to Improve Your UI by Groxx on Monday July 18, 2011 @01:04PM (#2777064)
Between the dense new theme and the original, I go between 18 entries and 26 entries. The original also has noticeably more preview text. The "normal" new theme gives me only 14 - nearly half the number. Were my window a bit shorter, it would be half, because the header area and priority-inbox-label lines are larger.

The increased whitespace makes it massively less dense.

Re:Use Google+ to Improve Your UI by yaix on Monday July 18, 2011 @03:10PM (#2777687)
Okay, thanks. I was just about to write the exact same thing (although I may have been more dramatic complaining about the huge amount of unnecessary white space that fills my small netbook screen).

The new buttons however are quite nice and simple. There should be a hint of 3D though, to make them feel more "press-able". Other than that, I am okay with them becoming wide spread on the web, just don't surround them with so much wasted space.

Re:Use Google+ to Improve Your UI by pizzaburger on Monday July 18, 2011 @03:48PM (#2777898)
I wrote a userscript that dials down the whitespace, if anyone's interested: http://userscripts.org/scripts/show/105891
Re:Use Google+ to Improve Your UI by gizmo on Monday July 18, 2011 @01:02PM (#2777055)
It looks pretty nice but the use of background gradients is inconsistent. The buttons with a background image have no gradient but the other buttons do.
Re:Use Google+ to Improve Your UI by blakeperdue on Monday July 18, 2011 @01:13PM (#2777112)
Nice catch. Know of an easy workaround to this?
Re:Use Google+ to Improve Your UI by bretthopper on Monday July 18, 2011 @01:23PM (#2777165)
You can use multiple backgrounds in CSS3: http://snook.ca/archives/html_and_css/multiple-bg-css-gradie...

Lots of details here and some catches to look out for (mostly browser support).

Re:Use Google+ to Improve Your UI by alanh on Monday July 18, 2011 @07:49PM (#2778916)
Warning: Multiple backgrounds can lead to LOTS of waste in the CSS (defining gradients over and over) if you aren’t using sprites for those icons (and setting all of them at once).
Re:Use Google+ to Improve Your UI by gizmo on Monday July 18, 2011 @01:38PM (#2777228)
Nope, I don't think there are any (the CSS3 workarounds can be tricky with custom padding/margin). Google consistently uses nested elements and I think for the next few years that's the only solution that's going to work well cross-browser.
Re:Use Google+ to Improve Your UI by r00fus on Monday July 18, 2011 @01:29PM (#2777199)
Is it me, or does this theme look similar to jQueryUI?
Re:Use Google+ to Improve Your UI by tbh2347 on Tuesday July 19, 2011 @03:51AM (#2779958)
Unless we're talking about different things (I'm thinking http://jqueryui.com/themeroller/), it feels completely different from jQueryUI. jQueryUI is much glossier and not as muted.
Re:Use Google+ to Improve Your UI by solarlion on Tuesday July 19, 2011 @12:15AM (#2779586)
Reminded me of the aristo theme which I quite like https://github.com/banzor/Aristo-jQuery-UI-Theme
Re:Use Google+ to Improve Your UI by taitems on Tuesday July 19, 2011 @03:42AM (#2779938)
C'mon, at least link back to the original ;)

https://github.com/taitems/Aristo-jQuery-UI-Theme

Re:Use Google+ to Improve Your UI by dangrossman on Monday July 18, 2011 @04:22PM (#2778060)
In what way? The sites don't look similar, and neither do their buttons.
Re:Use Google+ to Improve Your UI by taitems on Tuesday July 19, 2011 @03:44AM (#2779939)
For the love of god people, please stop using the Silk icon set. It's had a good run and it's time to retire it.
Re:Use Google+ to Improve Your UI by ajessup on Tuesday July 19, 2011 @10:57PM (#2784121)
Just wanted to say thanks for providing this - it's already been helpful