GMail Professional skin

By jbmarteau Last update Sep 7, 2009 — Installed 17,252 times. Daily Installs: 31, 26, 39, 54, 33, 40, 26, 37, 36, 54, 37, 35, 40, 37, 28, 46, 39, 18, 27, 20, 18, 22, 26, 22, 17, 29, 19, 19, 25, 28, 30, 36

There are 42 previous versions of this script.

// ==UserScript==
// @name          GMail Professional skin
// @version       5.1
// @description   Professional apparence for Gmail 3 (September 2009)
// @author 	  jbmarteau 
// @include       http://mail.google.com/*
// @include       https://mail.google.com/*
// @include       http://*.mail.google.com/*
// @include       https://*.mail.google.com/*
// ==/UserScript==
(function() {
var css = "@namespace url(http://www.w3.org/1999/xhtml); /* DEFAULTS FOR ALL LINKS */ a:link, a:visited, .link { text-decoration: none !important;} a:active, .link:active { color: #92CDFF !important;text-decoration: none !important;} /* CHANGE GLOBAL FONT */ td,textarea,select,input, .at, .ah, .goog-imageless-button-content, .gb1, .gb2, .gb3, .a8, .aR, .aS, .aQ, .ef, .h1, .ra, tr.zA div div div, td[class=\"bN bR\"], div[class=\"nH pX\"] {font-family: \"Arial\", Tahoma, Verdana !important; font-size:11px !important;} .am {width: auto !important;} .nH, .bN {font-size:14px !important;} /* QUICK LINKS (NEW WINDOW, PRINT ALL, ETC.) IN A ROW */ table.iY > tr > td:first-child + td > div { width: auto !important } table.iY > tr > td:first-child + td + td > div { width: 0 !important; position: relative !important } table.iY > tr > td:first-child + td + td > div > div { position: absolute !important; right: 10px !important; top: 7px !important} /* QUICK LINKS */ table.iY div.hj { width: auto !important;} table.iY div.hj div.hk { display: inline !important; padding-right: 1px !important;} table.iY div.hj div.hk span { padding: 3px 8px !important; border: 1px solid #C0C0C0 !important;} .hk span {background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAoCAAAAAAa3c+rAAAAAXNSR0IArs4c6QAAABJJREFUCNdj+MnEQBT8CsUEIACgKQMyxVIz6AAAAABJRU5ErkJggg==) repeat-x left center !important; color: #000000 !important; } .hk:first-child span {-moz-border-radius-topleft: 2px !important; -moz-border-radius-bottomleft: 2px !important; border-left-color: #BBBBBB !important; } .hk:last-child span {-moz-border-radius-topright: 2px !important; -moz-border-radius-bottomright: 2px !important;} .hk u {text-decoration: none !important; } .hk img {margin-bottom: 2px !important; } /* QUICK LINKS HOVERING EFFECT */ table.iY div.hj div.hk span:hover { border-top-color: #939393 !important; border-bottom-color: #939393 !important;} table.iY div.hj div.hk:first-child span:hover {border-left-color: #939393 !important;} table.iY div.hj div.hk:last-child span:hover {border-right-color: #939393 !important;} /* QUICK LINKS ACTIVE */ .hk span:active { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAoCAAAAAAa3c+rAAAAAXNSR0IArs4c6QAAABVJREFUCNdjeMzEQDTkZmJg+IlfDQBx9QI0/iX6wgAAAABJRU5ErkJggg==) !important; border-top-color: #444444 !important; border-bottom-color: #444444 !important; } .hk:first-child span:active { border-left-color: #444444 !important; } .hk:last-child span:active { border-right-color: #444444 !important; } /* NOTIFICATIONS */ .b8, .cd, .cc { padding: 3px 0 !important; font-size:11px !important;} .b8 .ve, .cd .ve, .cc .ve { align-left: middle !important; position: relative !important; z-index: 1 !important; background-color: #FFFFFF !important; border: 2px solid #FFFFFF !important; border-collapse: separate !important; -moz-border-radius: 6px !important; } /* BLOCK THE ADS TABLE IN THE MESSAGE WINDOW */ .u5, .u8 { display: none !important } table[class=\"T1HY1 nH iY\"] { width: 100% !important } div[class=\"ip iq\"] { margin-right: 13px !important} textarea.ir { width: 100% !important } /* REDESIGN MESSAGE LIST - SELECTED */ table.cf tr.zE:hover, table.tlc tr.ur:hover { background-color: #FFFF99 !important;} /* HOVERING SELECTED MESSAGE */ table.cf tr.x7:hover, table.tlc tr.ur:hover { background-color: #FFEA86 !important;}/* REDESIGN MESSAGE LIST - HOVER ITEM */ table.cf tr.yO:hover, table.tlc tr.rr:hover { background-color: #c3d9ff !important;} /* REDESIGN MESSAGE LIST - HOVER ITEM NEW */ table.cf tr.zE:hover, table.tlc tr.ur:hover { background-color: #FFEA86 !important;} /* NEW MESSAGE */ table.cf tr.zE, table.tlc tr.ur { background-color: #FFFF99 !important;} /* ADJUST TITLE AND LABELS */ div.if h1.ha {line-height: 30px !important; margin-top: 50px !important; margin-left: 14px !important; position: relative !important } div.if h1.ha span.hP { padding: 0 !important } div.if h1.ha span:first-child + span { position: absolute !important; top: -20px !important; left: -2px !important } div.if h1.ha table * {line-height: 14px !important } /* MOVE INFO STORAGE TO TOP */ .mj {position: absolute !important; right: 10px !important; top: 76px !important; color: #336699 !important;} /* REMOVE LINK BACK TO INBOX */ .AO { display:none !important;} /* HIDE ICONS */ .pW,.pV { display: none !important;} /* HIDE FOOTER */ .mn, .l6, .mp, .ma  { display:none !important; } /* HIDE INVITE AND CHAT BOXES */ .nH.s, .nH.pY { display:none !important; } /* REMOVE CHATS ITEM */ .nH.qj > div > div:first-child + div +div {display: none !important;} /* HIDE SPAM COUNT */ *[title*=\"Spam (\"] {visibility: hidden !important;} *[title*=\"Spam (\"]::before {content: \"Spam\" !important; visibility: visible !important; font-weight: normal !important; text-decoration: none !important;} /* REMOVE GOOGLE LOGO */ div[class=\"a9 Rgky9\"] {display:none !important;} /* CLEAN PRINT VIEW */ img[src=\"/mail/help/images/logo1.gif\"] { display: none !important; } html > body > table:first-child > tbody > tr > td:last-child > font > b > span, html > body > table:first-child > tbody > tr > td:last-child > font > b { display: none !important;}";
if (typeof GM_addStyle != "undefined") {
	GM_addStyle(css);
} else if (typeof addStyle != "undefined") {
	addStyle(css);
} else {
	var heads = document.getElementsByTagName("head");
	if (heads.length > 0) {
		var node = document.createElement("style");
		node.type = "text/css";
		node.appendChild(document.createTextNode(css));
		heads[0].appendChild(node); 
	}
}
})();