Skip to content

Instantly share code, notes, and snippets.

@jmodjeska
Last active September 1, 2021 06:14
Show Gist options
  • Save jmodjeska/ee093724ba0b69542cb3d58a8ec4b6a8 to your computer and use it in GitHub Desktop.
Save jmodjeska/ee093724ba0b69542cb3d58a8ec4b6a8 to your computer and use it in GitHub Desktop.
/* Add padding at the top of the page */
body {
margin-top: 20px;
}
/* Hide the top right user menu */
[data-ogsr-up] {
display:none;
}
/* Hide the footer */
div[role=contentinfo] {
display:none;
}
/* Hide the gmail logo */
a[title=Gmail] {
display: none;
}
/* Hide support button */
[data-tooltip="Support"] {
display: none;
}
/* Inbox message row font */
.inboxsdk__thread_row, span {
font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif !important;
font-size: 13px !important;
}
/* Inbox message table width */
div[id=":4"], div[id=":3"] {
padding-left: 80px;
margin-top: 30px;
width: 90%;
}
/* Hide the compose button and hamburger menu */
div[gh=cm], div[aria-label="Main menu"] {
display: none !important;
}
/* Hide the top row left toolbar and toolbar border */
div[gh=mtb] {
display: none;
}
[role=banner] {
background-color: #fff !important;
}
.bq9 {
z-index: 5 !important;
}
/* Shift the search bar position */
[role=search] {
margin-left: -100px !important;
margin-top: 15px !important;
}
/* Rename "Updates" categories tab to "Jira" */
[data-tooltip="Personal, auto-generated updates including confirmations, receipts, bills, and statements."] {
margin-right: -30px;
color: rgba(0, 0, 0, 0) !important;
}
[data-tooltip="Personal, auto-generated updates including confirmations, receipts, bills, and statements."]::before {
color: #222 !important;
content: "Jira";
}
/* Hide Mailvelope icon */
.m-encrypt-frame {
display:none !important;
}
.m-encrypt-container {
display:none !important;
}
/* Hide chat on left sidebar */
[role="complementary"] {
display: none !important;
}
/* Bring right calendar channel to top */
div[style*="z-index: 5"], .bq9 {
z-index: 100 !important;
}
/* Hide rooms and chat */
[data-tooltip="Rooms"], [data-tooltip="Chat"], div[gh=chat], div[gh=cl] {
display: none !important;
}
/* Hide bottom border on left side-nav groups (not durable) */
.V3 {
border-bottom: none !important;
}
@jmodjeska
Copy link
Author

jmodjeska commented Apr 28, 2020

This is a style for the Stylus plugin for Chrome.

Set the "Applies to" option to "URLs Starting With": https://mail.google.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment