/* ==UserStyle== @name Better Gmail.com @version 1.2.1 @namespace github.com/Birdie0/userstyles @description Improve Gmail look @author Birdie0 @homepageURL https://github.com/Birdie0/userstyles @supportURL https://github.com/Birdie0/userstyles/issues @updateURL https://raw.githubusercontent.com/Birdie0/userstyles/master/styles/mail.google.com.user.css @license MIT @preprocessor stylus @var checkbox shrink_email_list "Shrink Email List" 1 @var checkbox no_gray_sidebar "No Gray Sidebar" 1 @var checkbox custom_background "Custom background" 1 @var checkbox hide_gemini "Hide Gemini button" 1 @var checkbox hide_google_one "Hide Google One button" 1 @var color background_color "Background color" #ffffff @var range background_opacity "Background opacity" [0.4, 0.01, 1, 0.01] ==/UserStyle== */ @-moz-document domain("mail.google.com") { if shrink_email_list { .Tm.aeJ { height: unset !important; max-height: calc(100vh - 180px) !important; } } if no_gray_sidebar { .bhZ { &.bym, &.bjB { background-color: transparent !important; backdrop-filter: blur(3px) contrast(99%) !important; } } } if custom_background { .bkK > .nH { background-color: rgba(background_color, background_opacity) !important; } .TD { background-color: rgba(background_color, background_opacity * 0.8) !important; } } if hide_gemini { div[jscontroller="xdV2Hc"] { display: none !important; } } if hide_google_one { .I6agWe { display: none !important; } } }