Skip to content

Instantly share code, notes, and snippets.

@levacic
Last active September 2, 2015 07:40
Show Gist options
  • Save levacic/7aa3fe9f6f14216037dd to your computer and use it in GitHub Desktop.
Save levacic/7aa3fe9f6f14216037dd to your computer and use it in GitHub Desktop.
/**
* These modify the height and layout of the popup menus for editing the labels
* of emails - basically, they increase the height a lot, which is useful for
* people that have many labels. They also reduce the font-size to make those
* lists fit more items, and look better.
*/
.J-M {
max-height: 800px !important;
font-size: 10px !important;
}
.aXjCH::-webkit-scrollbar, .J-M::-webkit-scrollbar {
width: 20px !important;
}
.J-M-Jz {
max-height: 800px !important;
}
/**
* These rules modify the colors of the labels in the left-hand menu, when there
* are unread messages in them, as well as the currently selected label. The
* colors are optimized for a dark GMail color scheme, because the bolded white
* labels are barely indistinguishable from the non-bolded ones.
* The `a` element selector was added to increase specificity, because GMail's
* built-in styles have `!important`, so we need to override them.
*/
.n1 a.n0 {
/* A label containing unread messages */
color: #6af !important;
}
.nZ.TO a.n0 {
/* The currently selected label */
color: #9df !important;
}
/**
* These are all the labels/folders in the sidebar on the left - we're reducing
* their font size so we could fit more of them on the screen (not to mention
* that it looks prettier!)
*/
.nM {
font-size: 60% !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment