Skip to content

Instantly share code, notes, and snippets.

@amio
Last active August 29, 2015 13:57
Show Gist options
  • Save amio/9569085 to your computer and use it in GitHub Desktop.
Save amio/9569085 to your computer and use it in GitHub Desktop.
Ocean for Gmail (userstyle)
@-moz-document domain("mail.google.com") {
body, td, input, textarea, select { font-family: "Open Sans", "Lucida Grande", sans-serif !important }
/* ==================== ADS BLOCK ==================== */
.Pj + .nH + .nH { display: none }
/* ==================== LEFT NAV ==================== */
/* Main Nav */
div.aim { padding-left: 4px !important }
div.aim.ain { padding-left: 4px !important; box-sizing: border-box }
div.NQ { margin-left: -4px; padding-left: 4px }
div.aiq.NQ { padding-left: 0 }
div.aiq { background-color: rgba(0,0,0,0.1) }
/* Tag Color Icon */
div.aig .pM { border-radius: 2px; overflow: hidden; padding: 1px; margin-top: -1px }
div.aig .p8 { font-size: 0.7em; line-height: 1.6em }
/* ==================== MAIL LIST ==================== */
/* hover background */
tr.zA:hover { background-color: #E8EEF7 }
tr.zA.yO:hover { background-color: #DCE5F5 }
tr.zA.x7:hover { background-color: #FEA }
/* new mail icon */
.yX { vertical-align: middle }
.aOe { padding: 2px; margin: 2px }
.aOe > .aRI { line-height: 11px }
/* mail tag */
.yW, .y6, .xS, .xT, .as { overflow: visible !important }
.as .at { font-size: 12px; border-radius: 3px; line-height: 15px; margin-top: 1px }
.ar { margin: 0; font-family: "Open Sans", "Lucida Grande", sans-serif !important }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment