Hacking Gmail

(Grace) #1

48 Part II — Getting Inside Gmail


active menu option in the normal view. It’s much simpler now. Having manipu-
lated these elements, consider this CSS:
/* labels */
body#gmail-google-com div#nb_0 {
display: none !important;
}

/* The Invitation Link */
body#gmail-google-com #il {
display: none !important;
}

/* The footer */
body#gmail-google-com div#ft {
display: none !important;
}

These three short sections turn off the labels, the invitation link, and the whole
footer section. We’re almost Zen-like now. Final stop: the application area:
/*------------------------------------------------------------
*/
/* THE APPLICATION AREA */

/* top bar */
body#gmail-google-com div#tc_top table,
body#gmail-google-com div#tc_top table td.tl,
body#gmail-google-com div#tc_top table td.tr,
body#gmail-google-com div#tc_top table.th,{
background: #ffffff !important;
border: none !important;
padding: 2px !important;
margin: 5px 0 5px 0 !important;
}

/* bottom bar*/
body#gmail-google-com div#tc_bot table,
body#gmail-google-com div#tc_bot table td.bl,
body#gmail-google-com div#tc_bot table td.br,
body#gmail-google-com div#tc_bot table.th{
display: none !important;
}

/* selection links in bar */
body#gmail-google-com div#co div#tc_top span.l{
color: #191b4c !important;
}
Free download pdf