19 June 2012

Beyond GMail's Themes

New in GMail Themes is a huge range of images you can add as a background to Gmail. Or you can choose your own image if you prefer.

Google currently provides a choice of a light or dark overlay, just like those in their pre-built themes, but there is no way to modify them and no way to change the text colors

So here's how to do that yourself!


There's a very simple script below for Stylish in Firefox or Chrome. Stylish is a browser extension/add on which lets you easily install and manage userstyles - "themes" for web sites created by modifying a site's Cascading Style Sheet (CSS). You can add, delete, enable, disable, and organise your userstyles with a few clicks of a mouse. Stylish's companion website, userstyles.org, hosts tens of thousands of user styles made by other Stylish users that you can try.


This short script for Stylish lets you change:

1. Unread message background colours and degree of opacity
2. Unread message text colours for sender, subject and timestamp
3. Read message background colours and degree of opacity
4. Read message text colours for sender, subject and timestamp
5. Background colour and degree of opacity for messages you have selected
6. The colour and opacity of the line which divides your message rows in the list
7. The colours of alternating message in Conversation view, to help you distinguish one from the other

First of all, install the right version of the Stylish browser extension from userstyles.org, depending on which browser you are using, Firefox or Chrome.

Pick your image next - you can upload one of your own from disk, grab one you uploaded earlier from My Photos or Picasa WebAlbums or choose from the gallery provided in the new Custom Background theme. Work out what colours you think will go well with it.

Then go here, and look up those colours and their RGB codes.
http://www.rapidtables.com/web/color/RGB_Color.htm

There's a long list of toning colours, grouped in "families", giving all their RGB numbers, or you can pick your own from the colour pickers at the top of the page (see left).

Choose your colours, write down the RGB numbers you want to use for (1) to (7) above and then just alter the script to suit you. You can do this by pasting it from this page into any text editor like Notepad or TextEdit - but be careful to only change the RGBA/RGB numbers.

Here's the script...


It's currently set up with my favourite green background/text colours which work well with GMail's standard Turf and Teahouse themes, and will work with any image that has green as the main colour. You can use it exactly as it is if you like green!


If you'd rather have other colours, all you need to do now is to plug in the new RGB values for the various elements that you have previously chosen and written down.  Copy the following lines of code into any text editor.

/* Unread rows - background colour and opacity and text */
.zE {background-color: rgba(230,255,210,0.95) !important; color: rgb(0,80,0) !important;}

/* Read rows - background colour and opacity and text */
.yO {background-color: rgba(210,240,190,0.8) !important; color: rgb(0,80,0) !important;}

/* Selected rows - background colour and opacity*/
.x7 {background-color: rgba(255,250,205,1) !important;}

/* Row dividing line colour and opacity */
.xY {border-color: rgba(140,190,140,0.9) !important;}

/* Alternating message colours in Conversation View */
div.h7:nth-of-type(odd) div.adn.ads, div.kv:nth-of-type(odd){ background-color: rgba(190,220,180,0.65); }
div.h7:nth-of-type(even) div.adn.ads, div.kv:nth-of-type(even){ background-color: rgba(230,255,210,0.85); }


How to amend the script for your chosen colours


To break this down and make it simple, let's take the first line above:
.zE {background-color: rgba(230,255,210,0.95) !important; color: rgb(0,80,0) !important;}

.zE is the Unread message row. To set the background, you need to alter the first three RED numbers in brackets after the "rgba" - that sets the colour. Then alter the fourth BLUE number inside the brackets to control the opacity of the colour you have just set. The scale is 0.05 to 1.0 in increments of 0.05 - and you can set any level that you want to change the look of your style.

As an example, here's a similar screenshot to the green one above, which is set to have opacities of 0.85 and 0.9 - with opacities set at 0.5 - quite a difference!



Then move to the color element further along the line which is just "rgb" - that controls the colour of the text for the sender, the subject and the timestamp. You don't want these to be transparent, so there is no opacity control - just alter the three numbers within the brackets to use the RGB colour you have chosen.

All the other lines in the script work exactly the same way. Change the RGB numbers and select the opacity level if it is shown.

Here's how Conversation View looks - even with the recent improvements, this colour alternation makes it easier to tell one message from the next, and the slightly darker coloration of read messages makes it easier to see what you have read and what you have not read:



And finally....install your script and view it in GMail!


When you have it all tweaked, save your text file, but keep it open, because you'll want to copy from it.


In your browser go to your GMail tab and click the Stylish extension icon - Chrome top right, Firefox bottom left. The interfaces are slightly different in Chrome and Firefox, but it's easy to find your way around.

In Chrome, choose "Manage Installed Styles" and then click the "Write new style" button. A new tab will open (see below) for you to create your code. Copy and paste in your style, give it a name and save it.

You should also add the URL of the site you want it to apply to - in our case, mail.google.com - so from the URL drop-down choose "URLs on the domain" and type "mail.google.com" into the box.  Save the style again. Then go back to GMail, and from your Stylish menu, choose the name you gave your new style and click Enable to apply it to GMail.

In Firefox, choose Write New Style from the Stylish menu to get to the code window, and follow the same procedure. To apply your style, click the Stylish icon and check the style you want to use.

If you want to tweak your colours further, or alter the opacity of the various elements now you can see them on the page, click the Stylish icon in Chrome, click your style and choose Edit.

Or in Firefox, click Manage Styles, and choose the Edit button alongside your style name. You can do this any time.



Last of all, here it is pre-built for you, as an easy installable userstyle right from the userstyles.org site with an easy method of choosing your colours - just click the link and get choosing....


GMail Message List Colours


See http://gmail-miscellany.blogspot.co.uk/2012/04/userstyles-for-gmail.html for a bit more information and some more screenshots

Making more scripts for different colour schemes

You may be the kind of person that likes a change. So you might want several styles, set up to use different colour sets to go with your favourite background images. To do that, click the Stylish icon, find your script in the Stylish menu and click edit. Select and copy the script in the box. Close the edit window. Then click the Stylish icon again and choose Manage Styles and Write New Style (just as you did before) and paste in the code you just copied. Change the RGBA/RGB values to the new colours of your choice. Give your new style a name and save it. Then head back to GMail to see it working. To switch between your colour styles, use the Disable/Enable options in the Stylish menu.

If you have more than one account, and like to have them open at the same time using Multiple Sign-in. the same userstyle will be applied to both accounts. To differentiate them, you can choose different backgrounds - either a standard GMail theme or an image from the gallery in the new Custom Background theme, or one of your own - that tone nicely with the colours used for your message list.

Here are some more screen shots of what you can do using just these few lines of code. I've used my Spam label so that I need to do the least possible redaction to keep the images clear.




If, having digested the above, you really don't want to start messing with GMail's style sheet, there are a large number of pre-written GMail userstyles available at userstyles.org, as well as the one I have written for you (see above) based on this script. I wrote about those in an earlier blog at http://gmail-miscellany.blogspot.co.uk/2012/04/userstyles-for-gmail.html - and you can just install them into Stylish and use "as is".

A particularly useful one - which also mimics the "old inbox look" to a large degree - is "Marina Resurrected". Find it here: http://userstyles.org/styles/65048/marina-resurrected

Unlike many of the pre-written styles, this one allows you to pick your own colours and customise the script before it is installed into Stylish.  Each element is listed, with a colour picker beside it, and you can choose from the Marina background or a solid colour - or if you are using the Custom Background theme or another GMail theme, then it will work with any of those images too. The style can also remove the People Widget and the ads in an open message, freeing up that space for wider messages.  Here's how it looks with one of the gallery images, and a small tweak to the colour of read messages:


Acknowledgement

I must thank all those busy coders at userstyles.org who publish their userstyles for other GMail users to share. I was able to browse their code to find the most straightforward and robust way of making a short colour-changing script, and could not have written this simple little style without their generosity to other GMail users. In particular, thanks are due to bookdragoness for Marina Resurrected, and C26000 for the Real GMail Turf Theme, both of which helped me write the original script, and produce the pre-built version now available at www.userstyles.org.


63 comments:

  1. This is great, Wendy! I'll be pointing people in your direction :-)

    ReplyDelete
  2. In my gmail theme tab, I am not getting link to custom new own gmail theme. From where I can get?

    ReplyDelete
  3. This is great!! Can you set opacity for messages you are reading?

    ReplyDelete
  4. I found the code for the messages as you read them:
    /* Background of Messages being viewed */
    .Bu {background-color: rgba(255,255,255,0.5) !important;}

    ReplyDelete
  5. Nice find, David - thanks for posting it!

    I kept the original script as simple as possible on the advice of a Gmail engineer, so that future changes in the Gmail CSS would be less likely to break it. So far, so good!

    So I didn't even look for open message transparency, on the assumption that most users wouldn't want the distraction of their background image coming through while actually reading messages.

    Does it work well for you?

    ReplyDelete
  6. Thanks for the above post.I am using gmail from so long time. Now its time to change the color and background of my account. I am trying this but I think here is some problem in doing this. Its not done like you mentioned above. I will try again and then send you feedback. Thanks once again.
    infopath

    ReplyDelete
  7. Awesome! I've been trying to work this out for ages. I also use melius to tweak my gmail interface, and the "gmail label column resizer".

    Thanks very much

    ReplyDelete
  8. he best thing about Yahoo Search Marketing is the sheer quantities of individuals who seek on Yahoo. With a normal of 2.3 billion (with a b) ventures each month, Yahoo Search Marketing gives you an inconceivable range in your promoting.https://800support.net/yahoo-support/how-to-group-and-delete-emails-by-conversations-in-yahoo/

    ReplyDelete
  9. nice template got more information. keep share more information. i would like to get the best kind of services for different theme about template for my web designs. keep it up.
    School Prospectus Design uk | School Prospectus UK

    ReplyDelete
  10. How to add yahoo search bar in my browser

    Yahoo is one of the popular website that you can use as the browser or as a default Internet search engine. You can simply add yahoo search bar in to your browser which can ease your work.

    http://yahoosupportcontactnumber.weebly.com

    ReplyDelete
  11. lot of things learnt from your blog. got more ideas for us. wonderful tips makes from yours. Soonly will test and Execute our status very helpful one.
    GMAT coaching chennai

    ReplyDelete
  12. Gmail has made messaging simple and when any specialized issue comes in it get connected with professionals technicians at our Gmail Helpline Number UK and you will get it fixed.

    ReplyDelete
  13. Thus, it in on the responsibility of the toll free email Yahoo helpline team to attract and keep users by providing the greatest in class services and help so that they have a satisfying knowledge of using the Yahoo mail account.

    ReplyDelete
  14. This comment has been removed by the author.

    ReplyDelete

  15. We have excellence Printer technical support team that are capable enough to short out even the most complicated all type of printer technical problems such as getting paper input problems, getting poor or low printing quality, Plug-and-play problems then contact Printer technical support executive.
    For more information visit: -

    Epson Printer Customer Care Helpline Number for Live Chat
    Dell Printer Customer Care Helpline Number for Live Chat
    Brother Printer Customer Care Helpline Number for Live Chat
    HP Printer Customer Care Helpline Number for Live Chat
    Canon Printer Customer Care Helpline Number for Live Chat

    ReplyDelete
  16. This comment has been removed by the author.

    ReplyDelete
  17. Are you unable to resolve 500 error in your Gmail account? If so, then you need to contact Gmail customer service support toll free 800 phone number to get free from the serious issues. Gmail users don’t need to overload themselves with the worries of your account because the round the clock availability of an expert will surely help you to get rid of the issue.

    ReplyDelete
  18. Get the verification Yahoo Child Account

    You are confronting some technical grievances while using your child account or finding difficulty in viewing the activities of your kid, you can get connected to a certified technical professional of Yahoo mail. Get the verifiction Yahoo phone number support the new Yahoo child account.

    ReplyDelete
  19. Technical Security issues of your Gmail account


    Get the best security issue resolved via Gmail technical support. Gmail is to enable two-step verification password recovery, which prevents other accessing gmail account and secure the Gmail account.This is a major privacy issue and detect email trackers within your Gmail account.

    ReplyDelete
  20. Are you confronting some issue in changing and recovering the Gmail account password? If your answer is positive, then you can contact Gmail password recovery expert. The Gmail customer service representative 800 phone number is the right means to obtain the genuine tech support solutions for recovery related issues.

    ReplyDelete
  21. Just take the technical assistance today in your Yahoo mail account vial using Yahoo customer service corporate 1-800 phone number and obtain the impressive solutions within a short duration of time slot. You will not find any technical obstacle in using your Yahoo account on a regular basis.

    ReplyDelete
  22. This comment has been removed by the author.

    ReplyDelete
  23. Yahoo email account is one of the most frequently used email service providers with its exceptional advanced features. In case you are confronting any issue while using an account by yourself, you need to obtain the best tech support via taking Yahoo mail care customer service.

    ReplyDelete
  24. Use the Compose mail in Yahoo mail

    This helps to keep the same email in a conversation with multiple email account holders.You don’t need to write the same email every time. You can use the Cc and Bcc feature of Yahoo mail.You need to quickly consult a certified Yahoo phone number team of Yahoo. This helps to keep the same email in a conversation with multiple email account holders.

    ReplyDelete
  25. Yahoo Support Customer Care Phone Number +1-877-618-6887 for urgent premium services by experts of yahoo , for more info call now on 24*7 helpline number or visit yahoohelpdeskservice.blogspot.com/.../how-yahoo-account-can-be-hacked.html

    ReplyDelete
  26. Great article! Do you think there is a way to set up a style so that the background color changes based on the label applied to a certain message? E.g. having a different background color for messages grouped under label x and a different one for those grouped under label y and so on.
    Thanks in advance!

    ReplyDelete
  27. Find the Caller Id and Photos Syncing Features of Yahoo

    To boost their Yahoo Mail mobile app, Yahoo recently made some changes in their services in which the Yahoo Mail Mobile App will not only be used for sending & receiving emails but also sync your mobile phone’s photos and help you identify unknown incoming calls via cross-referencing the Yahoo technical support numbers present in your inbox. The call history is also gets updated via names. Yahoo introduced “tripod” which will help you search photos by keyword. Basically, Yahoo wants to increase the ease of access to email photos from mobile when you are on the desktop. Both the Apps, iOS and Android got this update recently.

    ReplyDelete
  28. Reset Yahoo Password in Just A Few Minutes

    You can reset your Yahoo password in just a few minutes by providing this information. If you can’t get into your account, contact our dedicated certified Yahoo Technical Helpdesk for prompt assistance.

    ReplyDelete
  29. The only very best option on hand with them is to contact customer support by dialing Yahoo Technical Support telephone Number as professional experts available there can support them very well in changing mail account password in a sufficient way.

    ReplyDelete
  30. How To Prevent Technical Problems In Yahoo Account

    Simply a Yahoo account password is not good enough; you need to use some additional security to avoid any technical problem. You can use Yahoo best ever security system for your Yahoo account. Yahoo Account Key and Two-Step Verification are your solution. You can easily enable any of these to prevent your Yahoo account from any technical glitch. If needed, you can call Yahoo customer support toll-free number for any help.

    ReplyDelete
  31. Recover Yahoo mails account against hacking activities

    It is suggested that Yahoo users need to keep on changing the password of an account from time to time. Changing the Yahoo password frequently helps you to protect against the hacking activities. In case your Yahoo email account has been hacked by an unauthorized person, simply get in touch with a customer care number of Yahoo for fixing the solutions related to Yahoo mails account hacking activities issues. The primary motive of the professional is to lessen your technical Yahoo complexties.

    ReplyDelete
  32. Solve the Yahoo customer support issues

    Get best solution,can dial a Yahoo Phone number : 1-888-297-6323

    ReplyDelete

  33. Call Yahoo Customer Care For Slow Email Performance

    Sometimes, user experiences the slow loading or slow email performance. This is not a problem with your Yahoo account or Yahoo website. The concern is with your web browser and internet. When you internet is slow or when your web browser is not responding; you need to check internet connection and update web browser. If needed, you can call Yahoo customer support toll-free number for help.

    ReplyDelete
  34. Problems In Modification Of Yahoo Email Password

    You can simply change or update your Yahoo email forgot password after signing in to your Yahoo account. When you are unable to get into your Yahoo account, you can use the Yahoo Sign-In Helper https://login.yahoo.com/forgot? to get your password reset with a new one. If needed, you can call Yahoo mail technical support team for any help.

    ReplyDelete
  35. Are you facing the problem of hacked Gmail account? If yes then now feel relax, there is solution of your hacked Gmail account problem or some tips to recover Gmail password. We are also providing information what is the main reason behind of hacked account. Security of any account is very important & Gmail is most important account for everyone. So without waste time read given below post & for instant help dial Gmail phone number.

    ReplyDelete
  36. If you are rely unable to Move a Message in another Folder in Yahoo Mail Account then contact Yahoo technicians.
    Read More:-

    ReplyDelete
  37. Best USA Yahoo Customer Support For Yahoo Problems

    Frequently emerging Yahoo technical troubles such as not able to sign in or sign out issue, email automatically being delivered to Trash folder, account has been hacked, issue of resetting Yahoo password, lost email issue, unable to send or receive mails easily, and much more troubles? If your answer is affirmative, then you need to give a call on a Yahoo customer support number.

    ReplyDelete
  38. If you are getting Yahoo errors or can’t make it from your end then, contact our dedicated certified Yahoo Helpline Phone number 1-800 for assistance.

    ReplyDelete
  39. Phone Number for Yahoo Email Login Issues

    Are you getting issues while logging into Yahoo Mail? Don’t worry! First of all, try to resolve the issue at your end. Ensure an active but stable internet connection. Delete the cookies, cache and browsing history and try again. Try to update the browser with the latest available updates. Try to log in with another device or system .It would be better to contact our Yahoo Helpline number solution for Yahoo email login issues.

    ReplyDelete
  40. I have been using Gmail for several years but I have never known that the theme can be customized until I landed on the information on this page. I will practically apply the shared procedure so that I can use the new themes. Thanks so much for sharing this information with us and I will be recommending this site to our professional Online Editors.

    ReplyDelete
  41. How To Prevent Spam Messages In Yahoo Account

    Step by step instructions will help you in preventing spam messages in Yahoo account:
    • Open your Yahoo email account.
    • You need to hover over the Gear button.
    • Choose "Settings" and opt for the "Blocked Addresses" tab.
    • Then you need to type the address in and hit "Block".
    • Finally, repeat for any other addresses that you want to block from your account.
    If needed, you can call Yahoo customer care number for prevent spam messages in Yahoo mail account.

    ReplyDelete
  42. This comment has been removed by the author.

    ReplyDelete
  43. You can get solution for any of your problems of Yahoo account with the help of Yahoo Help Page or Yahoo Help Forum. When you are in need of quick solution; you can take help from Yahoo mail password recovery helpline number
    for any help.

    ReplyDelete

  44. Yahoo help service is offered from the expert team and very activated service via Yahoo customer service toll free number.

    ReplyDelete
  45. I was reading your blog and i really enjoyed this post. we provide you best solution for your gmail. call us at +44-800-090-3220. You can visit also here website at Gmail Help Number UK

    ReplyDelete

  46. Complete support for hacked Yahoo account problems

    Among many issues hacked Yahoo account is quite common and many of its users are confronting the issue in getting their account back via Yahoo customer service. Criminals are in the hunt of chance every time to take control of the email account. When your account will be hacked, you will notice that automatically the emails have been forwarded to your friends. Such types of indications you will notice at the time of hacking trouble.

    ReplyDelete


  47. Get the Major Issue with Yahoo Mail Account Security

    To make sure that your Yahoo account is safe and secure; you must stick with the feature which Yahoo provides you. You can turn on the Yahoo Access Key, gone are the days when you need a boring traditional password to get into your Yahoo account. Yahoo Access Key will allow you to get inside without providing the Yahoo password recovery. Once enabled, you will be sent a notification on your Smartphone and you just need to approve it and you will be on the way. On the other hand, you can also turn on the Two-Step verification which will alert you whenever someone will try to access your Yahoo account from an unknown location. For more information and technical support have a word with our certified Yahoo technicians.

    ReplyDelete
  48. To be in unavoidable situation with one’s email account can’t be anyone’s choice. However, if such a matter appears, troubleshoot with the help of established third-party company. Get high-end support from Roadrunner customer care. You must know the significance of getting Roadrunner Customer service care number
    as this number all alone can do the magic. To acquire help, call at the Roadrunner technical support number helpline and get the solutions in a while. After giving a buzz at the service number, support technicians will ask for the matter and after explaining the whole situation, you will be rendered with the apt help and solutions.

    ReplyDelete
  49. Unable To Utilize To Yahoo Email Account

    When you find it difficult to utilize your Yahoo account; you need to be very particular about the prompt while signing in or sending/receiving emails. This will help you to fix the error. Once you are sure about the error; then you can easily fix it, using Yahoo Help Page or using the link https://help.yahoo.com/. If needed; you can call Yahoo helpline toll-free number for any help.

    ReplyDelete
  50. This comment has been removed by the author.

    ReplyDelete
  51. Unable to download the attachments in your Gmail account, then you should talk to the technical experts at 0800-090-3240 toll-free help number to get the proper solution to the issue. Gmail Helpline Number UK

    ReplyDelete
  52. You can also use the Filter feature to check the specific email in your mail account. Further assistance can be availed by dialing a toll-free Yahoo phone number.

    ReplyDelete
  53. Some Yahoo mail users are facing message failures and unable to send or receive Yahoo messages then users should have to dial technical support toll free number of Yahoo mail whenever a user feels to achieve the desired and expected activities in their account...[Read More]

    ReplyDelete
  54. The technical connections provide easy answer approximately right away and the Outlook users do not have to wait much. To get whole solutions, users must contact the Outlook mail Customer service support number right away as soon as they find that they are not talented to access their mail accounts. Calling the technical expert team at Outlook also ensure that misuse of outlook account can in addition be avoided in luggage of hacking attempts.

    ReplyDelete
  55. Spamming is the one of the worse part of an email account after hacking. These are really frustrating and your inbox will be filled with such annoying mails, resolve this problem dial a Yahoo at&t customer care service toll free number.

    ReplyDelete