Skip to content

Gmail by raghavparatkar

Details

Authorraghavparatkar

LicenseNo License

Categoryuserstyle

Created

Updated

Size8.1 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Gmail minimalist

Notes

makes it better

Source code

/* ==UserStyle==
@name         Gmail
@version      20210906.03.35
@namespace    userstyles.world/user/raghavparatkar
@description  Gmail minimalist
@author       raghavparatkar
@license      No License
==/UserStyle== */



/**
 * More Minimalist Gmail userstyle
 * http://snarfed.org/more_minimalist_gmail
 * https://userstyles.org/styles/35678/gmail-more-minimalist  (but site is dying)
 * Ryan Barrett <more-minimalist-gmail@ryanb.org>
 *
 * Aggressively hides Gmail's UI and chrome, leaving a simplified view of your
 * email, labels, and search box. Inspired by Matt Constantine's Minimalist
 * Gmail, http://mattconstantine.com/mg .
 *
 * Tips:
 *
 * Use keyboard shortcuts! This userstyle expects that you do; it's pretty
 * much unusable otherwise. More details:
 * http://support.google.com/mail/bin/answer.py?hl=en&answer=6594
 *
 * If you're using Stylish, you can temporarily show the hidden features by
 * turning off Stylish. Click the Stylish icon and select Turn all styles off.
 * When you're done, select Turn all styles on. Bonus tip: if you do this
 * often, add a keyboard shortcut with the keyconfig browser extension.
 *
 * You can hide individual labels in the GMail settings Labels tab. This
 * includes built in labels like Starred, Important, Chats, Circles, etc.
 *
 * Changelog:
 * 1.0.7 3/14/2021:
 * - Fix tasks delete icon, due date calendar picker.
 * 1.0.6 3/10/2021:
 * - Fix settings drop-down.
 * 1.0.5 2/6/2021:
 * - Improve Tasks text and widget colors.
 * - Fix selectors for Gmail update.
 * 1.0.4 11/23/2018:
 * - Scroll bars are translucent now, so stop explicitly hiding them.
 * - Fix selectors for Gmail update.
 * 1.0.3 7/25/2018:
 *   Fix selectors for Gmail update.
 * 1.0.2 5/19/2018:
 *   Fix selectors for Gmail update.
 * 1.0.1 5/8/2018:
 *   Don't style body text color. (Fixes colors in settings etc for light themes.)
 * 1.0 5/6/2018:
 *   Update for new GMail design.
 * 0.25 11/21/2017:
 * - un-hide settings gear button (again)
 * 0.24 12/5/2013:
 * - fix gmail update bug that moves threads and conversations far down the screen
 * - fix header and search box selectors
 * 0.23 11/15/2013:
 * thanks to toomey8 for the ideas!
 * - re-hide settings gear button
 * - re-hide Google+ header stuff
 * - hide "No new mail!" text
 * - try harder to hide Inbox drop-down menu arrow
 * - add left margin to search box
 * 0.22 10/16/2013:
 * - re-hide sandbar (top right header)
 * - fix search box z-index to put it behind pop-up menus; also add left margin
 * - fix settings gear button so that it always shows. let me know if you don't
 *   like this, i'm open to reverting it.
 * 0.21 10/6/2013:
 * - update for new gmail build
 * - show top-level settings button
 * - search box and labels layout is different now. ah well.
 * 0.20 3/5/2013:
 * - remove obsolete chrome-specific rule that was forcing tasks (and maybe
 *   chat?) moles to the left
 * 0.19 2/7/2012:
 * - update selector for footer in conversation view
 * 0.18 5/29/2012:
 * - significantly shrink top header and put search box to the right of labels
 * 0.17 5/12/2012:
 * - update selectors for footer and conversation view right side pane
 * 0.16 3/15/2012:
 * - new footer selector
 * 0.15 2/24/2012:
 * - update many selectors for top-level items (logo, search button)
 * - re-hide search box right side "advanced options" drop-down arrow
 * 0.14 11/21/2011:
 * - conversation view: show top right, per message drop-down More menu
 * 0.13 11/17/2011:
 * - bug fix: show Move to and Labels pop-up menus (thanks John Marshall!)
 * - show print and new window buttons in conversation view
 * 0.12 11/14/2011
 * - new gmail selectors
 * - bug fixes for chrome
 * 0.11 11/7/2011
 * - bug fix: unhide move to and labels pop-up menus
 * - hide bottom and left borders around labels
 * - switch compose to show bottom send, save, discard buttons, not top ones
 * - hide reply, reply all, forward tabs in reply view
 * - show new contact button
 * - other misc bug fixes and refactorings
 * 0.10 11/6/2011
 * - total overhaul for new gmail UI
 * 0.9 8/12/2011
 * - bug fix: don't hide notification bar
 * - show expand all button
 * 0.8.1 8/8/2011
 * - bug fix to individual contact view
 * 0.8 8/1/2011
 * Significant redesign to condense and improve usability, especially in smaller
 * or narrow browser windows.
 * - moved labels above conversation/thread view
 * - condensed top search box area
 * - made widths all auto so that everything follows your browser's width
 * - bug fix: don't hide To and CC labels in compose area
 * - hide new "Import mail & contacts" link
 * - hide Sent Mail and All Mail labels
 * selector fixes:
 * - logo
 * - re-hide stars
 * 0.7 5/13/2011
 * selector fixes:
 * - header/footer buttons in list and conversation view
 * - expand all and new window buttons in conversation view
 * - right side username in new top header
 * - ...and more!
 * 0.6 3/27/2011
 * - more selector updates to handle GMail updates
 * 0.5 3/23/2011
 * - update misc selectors to handle GMail updates, including the new top bar
 * 0.4 1/24/2011
 * - clean up main display: none selector list
 * - remove bottom commented section of selectors (does more harm than good)
 * - hide *all* list view buttons but still support mo(v)e and (l)abel keys
 * - hide ads on bottom of conversation view
 * - hide the google talk presence indicator
 * - re-hide stars in both list and conversation view
 * 0.3 11/12/2010
 * - show built in labels like Inbox, Drafts when they have unread messages
 * - show Move to Inbox button
 * - hide new top right header sections
 * 0.2
 * - show Settings link in upper right
 * - re-hide stars
 * 0.1
 * - initial release
 *
 * Note: sometimes buttons need to be displayed (ie not display: none) for their
 * keyboard shortcuts to work. in those cases, hide them with opacity: 0 instead.
 */

@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("mail.google.com"), domain("tasks.google.com") {
.aeG,    /* footer with storage space, etc. */
.gb_mc,  /* GMail logo */
/*.gb_4d,  /* Notifications and menu buttons */
.ar5.J-J5-Ji,  /* message counts, next/prev buttons */
.bAw,  /* vertical menu bar for right pane (calendar tasks etc) */
noop_end_selector_list
{
  display: none;
}

/* vertical menu bar for right pane (calendar tasks etc) */
.nH.nn {
    width: unset !important;    
    min-width: unset !important;    
}

/* Make Tasks dark */
.qpGJsd, .rhGwLe, .sxojMb, /* text */
.fKz7Od,  /* checkbox */
.m9ZIJb .RN0YGf,  /* checkbox */
.UXfMHb,  /* menu button */
.OyPDvb, .Uqmawb, .DPvwYc,  /* "Add a task" */
.brC-brG-a1P-K0,  /* task list name */
.kpuJe,  /* list items */
.KHxj8b.tL9Q4c,  /* list item textarea, when typing */
.MocG8c.LMgvRb.KKjvXb,  /* task list drop-down, task detail view */
.brC-brG-a1P-K0,  /* task list drop-down, task list header */
.NMm5M,  /* task item, delete (trash can) button */
.pwXtMb.WhQfHb,  /* task item, due date calendar picker... */
.Ce1Y1c,
.LeaINd,
noop_end_selector_list
{
  color: rgba(255,255,255,0.80) !important;
}

.bTI5jf,  /* contents, in list view */
noop_end_selector_list
{
  color: rgba(255,255,255,0.60) !important;
}

.FuZZcf,  /* task item, due date calendar picker, month arrows */
noop_end_selector_list
{
  stroke: rgba(255,255,255,0.80) !important;
}

body,
.B9yICe, .uqJv0c,  /* header */
.WnvLfb, .oxAbDf, .PV0kIb, /* list items */
.brC-brG.bq9.brC-aMv-auO.bsR,
.UhNUGe.RjKwTc, .ueeCfb, /* Add new task button */
.Sze5Fc,  /* "Completed" */
.g3VIld.TdAUzc.DQQkg.Whe8ub.hFEqNb.J9Nfi.iWO5td, .uKwQle, .g3VIld, /* Task detail, background */
.RpC4Ne.oJeWuf,  /* Task detail, textareas */
.Nm5pwe, .AgHUbf, /* Task detail, task list drop-down */
.brC-brG-avC,  /* right pane header */
.DBUDW,  /* due date */
noop_end_selector_list {
  background-color: black !important;
}
}

/* gmail logos

personal
<div class="gb_lc">
<div class="gb_mc gb_Te">
<a class="gb_Ee gb_oc gb_Ve" href="#inbox" title="Gmail">

work
<div class="gb_lc">
<div class="gb_mc gb_Ue">
<a class="gb_Fe gb_oc gb_We" href="#inbox" title="Gmail">
*/

Reviews

No reviews yet.