Skip to content

Instantly share code, notes, and snippets.

@rakiru
Last active August 23, 2018 23:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rakiru/e9c224fdddfce782bc38721d00e1f2ec to your computer and use it in GitHub Desktop.
Save rakiru/e9c224fdddfce782bc38721d00e1f2ec to your computer and use it in GitHub Desktop.
Make the new gmail style less... urgh. Doesn't fix the buttons missing a background, or similar material design bullshit. Note: It may make some features inaccessible (the addon sidebar which this hides contains links to "Calendar", "Keep", and "Tasks" by default). This is my own stylesheet, shared in case others find it useful, in whole or in part
@-moz-document domain("mail.google.com") {
/* Get rid of right-hand "addon" sidebar */
.bAw {
display: none;
}
/* Shrink left sidebar to a sensible size */
.aeN {
min-width: 202px !important;
}
.wT {
/* This should match the original difference - makes room for scrollbar */
max-width: 187px !important;
min-width: 187px !important;
}
/* Fix font size in email list */
.zA > .a4W, .xY { /* Most of the text */
font-size: 80% !important;
}
.yW { /* Make the from part behave */
font-size: inherit !important;
}
/* Disable the aggressively bold font */
* {
font-family: /*Roboto,RobotoDraft,*/Helvetica,Arial,sans-serif !important;
}
/* Make the email count ("1-50 of 162") more visible */
.Dj, .adl {
color: rgb(32, 33, 36) !important;
}
.Dj .ts, .adl .ts {
font-weight: bold;
}
/* Make the email list item height slightly more compact */
.zA {
/* This actually ends up 1px taller than the old design, but close enough */
padding-top: 3px;
padding-bottom: 3px;
}
/* Make the left-hand menu stay the fuck down */
.HwgYue {
display: inherit !important;
}
.n6 {
display: none;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment