A few more quick Gmail 2.0 customizations

With our organizational switch over to Gmail 2.0, we have been working on practical, advocate-friendly solutions that work with the updated Gmail 2.0 interface. The initial solutions a few days ago had to do with using Better Gmail 2.0 to give our users mailto functionality that works with our Google Apps, plus nifty new file-type icons and other goodies that come with that add-on package. Done.

The second part of the plan is to exploit the power and flexibility of the Stylish Firefox extension to perform a few modest cosmetic tweaks, while also offering users some options about what appears and does not appear in the new Gmail interface.
Here are the targets of our coding madness today — all real-world examples as of this afternoon from my Google Apps Gmail account — displayed here and familiar to all who are familiar with the default Gmail 2.0 interface, from top to bottom: the two search buttons, one for your Gmail and the other for a general Google search; the Labels menu with its new “color-code/edit-label” boxes to the right of (and partially obscuring) each label; and the indispensible Inbox, illustrated below, with a default design that makes it touch harder than it needs to be to read the labels in the message row:

So you’re asking yourself, “Yeah, I love Gmail. But do I have to live with all this blah design and extraneous stuff I don’t really want?” No, my friend, you do not.
The solution for today’s tech challenge is the Stylish add-on for Firefox. The short version is that Stylish enables you to easily change how things look in your Firefox web browser by simply invoking a new set of CSS rules that control the “presentation” or visual design of what you see, including web applications like Gmail. And there are truckloads of Stylish code bits already available for Gmail 2.0.
But it is even better than just loading someone else’s Stylish code. What you can easily do is cherry-pick a design idea or two from any of the many code samples already available and build your own custom Stylish code set. With a nod to ideas and code lifted shamelessly from Gmail: Inbox with new style and GMail Cleaner, plus a few original ideas for changing the look of Gmail labels in the Inbox itself (to make them easier to scan and more readable) and removing the “color-code/edit-label boxes” (so that they no longer obscure the already-too-narrow Labels menu), here’s how I did my own personal, quite modest makeover of the Gmail interface:
- Install Stylish (OK, you already knew that.)
- In Firefox go to
Tools > Add-ons > Stylish > Options. That opens the “Manage Styles” dialog. Click onWrite. - Give your style a memorable name by typing it into the “Description” field. (“I Love Webdogs 2.0″ has a nice ring to it, but it’s your call.)
- Cut-and-paste (or download) the code below, put it into the large edit field below the “Insert” button and then click “Save.”
/* Stylish code based in part on code and ideas from "Gmail: Inbox with new style" http://userstyles.org/styles/678 and "GMail Cleaner" http://userstyles.org/styles/4118 */ @namespace url(http://www.w3.org/1999/xhtml); @-moz-document domain("mail.google.com") { /* remove web search button */ button[id="1fbh"] {display:none !important;} /* create hover "row" effect for message lists */ table.N2mZ7b tr:hover, table.tlc tr.rr:hover { background-color:#FFEB86 !important; } table.N2mZ7b tr.rfza3e:hover, table.tlc tr.ur:hover { background-color:#CDF39F !important; } /* restyle how Labels display in message lists */ span.s75Nkf b { background-color:transparent !important; border-color:#C0C0C0 !important; } /* remove "color-code/edit-label" boxes */ div.qn0D4e b b { display:none !important; } td.BFvfre { display:none !important; } }
What does this get you?


- You now have only one “Search Mail” button. The “Search Web” button is gone.
- When you hover your mouse over a message, the whole message row is now highlighted. Can you say, “Easier to scan and click”?
- The Label names still have a low-contrast appearance but the font and border style are easier to scan, plus the backgrounds of the labels are transparent. Can you say, “Easier to read”?
- The “color-code/edit-labels” boxes are gone, revealing more of the Labels menu. Can you say, “Well, OK, maybe I like that, maybe I don’t. I’ll get back to you.”
Don’t like something? Just remove or edit the offending CSS code. But you get the idea: Play with other folk’s Stylish code by installing any number of Gmail styles to get some useful ideas of what you like and then what you really want. Then cut-and-paste and recode and add code as suits you and create your own master Stylish code set.
To coin a phrase, “It’s all good.”










icon on the Google Toolbar, regardless of whether the search field is empty or not, it will take you directly to the California Bar “Attorney Search” page. Better, no?