Skip to content

Instantly share code, notes, and snippets.

@chrise86
Forked from dumindu/userChrome.css
Created October 23, 2019 09:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrise86/4fc507363013cc09b659de6c06480b2b to your computer and use it in GitHub Desktop.
Save chrise86/4fc507363013cc09b659de6c06480b2b to your computer and use it in GitHub Desktop.
/* Fixing back button in normal density */
:root:not([uidensity=compact]) #back-button {
padding-top: 0 !important;
padding-bottom: 0 !important;
}
:root:not([uidensity=compact]) #back-button > .toolbarbutton-icon {
background-color: unset !important;
border: none !important;
}
/* Remove extra space around tabs */
.titlebar-spacer[type="pre-tabs"] {
width: 25px !important;
}
.titlebar-spacer[type="post-tabs"] {
width: 5px !important;
}
/* Remove tab list icon */
#alltabs-button {
display: none !important;
}
/* OPTIONAL */
/* Remove unnecessary identity-box content */
#urlbar[pageproxystate="valid"] > #identity-box.verifiedDomain > #connection-icon,
#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity > #connection-icon,
#urlbar[pageproxystate="valid"] > #identity-box.mixedActiveBlocked > #connection-icon,
#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity > #identity-icon-labels {
display: none !important;
}
#urlbar[pageproxystate=valid] > #identity-box.notSecureText,
#urlbar[pageproxystate=valid] > #identity-box.verifiedIdentity,
#urlbar[pageproxystate=valid] > #identity-box.chromeUI,
#urlbar[pageproxystate=valid] > #identity-box.extensionPage,
#urlbar-display-box {
border: none !important;
margin-right: 0 !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment