Skip to content

Instantly share code, notes, and snippets.

@My1
Last active May 2, 2018 12:36
Show Gist options
  • Save My1/cae7b88ad0494a876f2faf76c63d9db4 to your computer and use it in GitHub Desktop.
Save My1/cae7b88ad0494a876f2faf76c63d9db4 to your computer and use it in GitHub Desktop.
/*!
Written by My1 (github.com/My1, twitter.com/My1xT, blog.my1.tech
you can use, modify, share, etc. this little piece of code but please keep this comment. (basically a CC-BY)
*/
body, td, input, textarea, select { /* force fonts */
font-family: arial, sans-serif;
}
.bA4,.zA>.a4W,.xY,.yW { /* get the fonts of the email list back to size */
font-size: .8rem;
}
.zA>.xY, .yi, .y6 {
line-height:normal;
}
.xS {
line-height:19px;
}
.aKS { /* force display context buttons like view issue/view order etc */
display:block;
}
.x7 { /* selection color */
background-color:#555;
}
.bAw /* addon toolbar*/,.bqX.brv /*snooze email on the right of hovered email*/ {
display:none;
}
.bqX /*margins for quickbuttons in email list*/ {
margin: 0 7px;
}
.bqY li:first-child { /* precise margin alignment of first quick-icon (so that the context button wont move) */
margin-left:-1px;
}
.xY,.bqX,.aKS,.aOd.T-I { /*switch heights of lines/icons etc to a base of 19px*/
height:19px;
}
.zA { /*padding in email list rows*/
padding-top:3px;
padding-bottom:3px;
}
td.apU>.T-KT { /* star for emails size */
height:19px;
width:19px;
}
/* compose button */
.z0>.L3 {
background-color: rgba(0,0,0,.1);
color:#fff;
height: unset;
padding: 5px 10px 5px 5px;
border:1px solid rgba(0,0,0,.5);
}
.z0>.L3::before {
height:20px!important;
}
.z0>.L3:hover, .z0>.L3:focus {
background-color: rgba(0,0,0,.4);
color:#fff;
}
.z0 {
height: unset;
padding-left: 0px;
text-align:center;
}
/* compose button end */
/* search and header */
.gb_Pe.gb_lf { /* search container */
height:32px;
margin: 6px 0;
}
.gb_Pe.gb_lf > button > svg { /* icon sizes in search bar */
margin:0;
padding: 4px;
}
.gb_7e { /* search bar input field height and padding */
padding: 4px 16px;
height:32px;
}
.gb_Cc { /* header height */
height:32px;
}
.gb_cc { /* logo height */
height:24px;
}
.bAp.b8.UC .vh { /* put the notification back where it belongs */
position:relative;
top: 24px;
left:100px;
bottom:unset;
right:unset;
display:inline;
}
.b8 .bBe { /* close button of notifs*/
right: 8px;
top: 8px;
}
.lR::after { /* archive */
content:"\2003 Archive";
color:rgba(255,255,255,.8);
}
.bvt::after { /* mark as unread */
content:"\2003 Unread";
color:rgba(255,255,255,.8);
}
.m9::after { /* mark as read */
content:"\2003 Read";
color:rgba(255,255,255,.8);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment