Skip to content

Instantly share code, notes, and snippets.

@Black-Light
Forked from natyusha/userchrome.css
Created September 28, 2012 11:13
Show Gist options
  • Save Black-Light/3799232 to your computer and use it in GitHub Desktop.
Save Black-Light/3799232 to your computer and use it in GitHub Desktop.
nightly css
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
/*
gdipp + HWA
Disable HWA > Restart FF
Toggle gfx.direct2d.disabled to true
Make sure layers.acceleration.disabled is false
Make sure gfx.direct2d.force-enabled is false
Restart FF
toggle layers.acceleration.force-enabled to true
Restart FF
Hide new tab icon
*/
.tab-text {
font-size: 10px !important;
}
.autocomplete-history-dropmarker,
#TabsToolbar .scrollbutton-up,
#TabsToolbar .scrollbutton-down,
#tabbrowser-tab-tooltip,
#appmenu-button .button-text,
#appmenu-button .button-menu-dropmarker
{
display:none!important;
}
#tabbrowser-tabs tab .tab-close-button .toolbarbutton-icon,
#appmenu-button .button-icon
{
list-style-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEIAAAALCAYAAADLA1tMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA5xJREFUeNrsVk1IG0EU3s3mx1RXY2qxaa0ULFakUogUESUnPaS0Wlo1oifbQ0AUDx704EGIeBAkUXOzEq0/kHpose2h2IbexUKLFA8VokIPKaghrfmpyfa9dELHcTai0FsXNpPZ+d43b9773tsVFUUR/l+CoM38EUWRXZPg1sCdgjuJDzJBI9gT61kukeyFNgrBJ8n/NC9waii+FGWr9vzUdcKb8VWifBVpG8RpVByXent7rywtLSX6+voKeAB8juuII5sIKk5qAZs/OzvrWVxc3Jufn38zPT39hASGjr5mYWEh0NTUVEDxSTgHuy+Ei5tMWP9IJ5W9enp6isDX+OTk5H3CfcKGR64dGhq6UVtbu7OxsXFzYmIizCPH57iOOMRzHNE0NzcXwsE/GAyGYgjE4MrKyrWDgwOvTqezQTAeMwFMra+vO9rb27/bbDYZ5rq6urpch8OxOzMzc0dFDZlsl2VJhuD1eiM4ms1mNySlGLlZGzYQksvlulVZWbm5trZ2fXR0dCuL7JO4jjjEox1NDGuXW1pa3oI0S6uqql5Fo9Ejv9+/Bwp6HYlElnNyclrZQLjd7tDY2JjZ6XRuw9zY3d39rbOz81IgEIhwykWPGLgNsEd6JHO9mnrC4bDParW6MRDE5m/t0nXf1dWV19jYGIHM3B4fH9+Exwm25jj9RN/f319RXV39aXV1Vfb5fD8yzjY0NBQBZxAcGITDvxgYGNhFc1BKUVtb2zYc0gzzGFXLAsmWEaQc7ujowDKJwv1LpRzKyIHEP+4piN0CXiuMRxTvBeD7CXxmUOjLUCj0zGKxPIV5Lqwdps+FP9SbQyJGcciGhZUbg03jEYd4tOPI0zA3N/fe4/E8pDKlnZqaegAOvSNZPLY/9IRCOCSWYz7wHoGUr3J4aUWYAIdqMbGKoHiNBJOHZQx7f4W5QnwWeM0SyyAGkTLV19cHQe4VWWoPy6gCcYhHO04ZJROJxHOTyfQIDn8XlHARxnuyLLfGYrFlBq+x2+0y9IQg9IRSVAKWSU1Nzfbw8DDrR4qoFRUQJ0qIk3mC108IJjkyMhLc3993CRyAwPmWwAAZscsTqfKwOrJuzNLRUZc6aIxOVADgD3HEOeEVqcyl5Q4dvph+a5SXl8uojJKSEr3KHnqw+0yUIPBKmcGIRCEKrUhRpe6572cGe9r7nQ5G5j0unvM7QiL4835HsJhjnLwekfU6C/Ys17/6uj3LuX4LMACwT+lvQQrZSgAAAABJRU5ErkJggg==")!important;
}
#tabbrowser-tabs tab .tab-close-button .toolbarbutton-icon
{
-moz-image-region:rect(0, 35px, 11px, 33px)!important;
}
#appmenu-button .button-icon
{
-moz-image-region:rect(0, 66px, 11px, 55px)!important;
}
#main-window #appmenu-button
{
background:transparent!important;
border:0!important;
padding:1px 5px!important;
min-width:16px!important;
box-shadow:none!important;
}
#main-window[sizemode="normal"] #appmenu-button
{
margin:6px 0 -25px!important;
}
#main-window[sizemode="fullscreen"] #appmenu-button,
#main-window[sizemode="maximized"] #appmenu-button
{
margin:0!important;
}
#appmenu-button .button-icon
{
-moz-image-region:rect(0, 66px, 11px, 55px)!important;
}
#main-menubar {
margin: 4px 0 0 2px !important;
border-radius: 0 !important;
}
#tabbrowser-tabs {
margin: 4px 0 0 -3px !important;
background: transparent !important;
padding: 0 0 0 0 !important;
border: none !important;
}
#urlbar {
padding: 0 !important;
margin: 0 !important;
border: none !important;
}
#main-window #tabbrowser-tabs tab {
background:#1b1b1b !important;
border: none !important;
}
#main-window #tabbrowser-tabs tab[selected] {
color:#c92f8c !important;
}
#main-window #tabbrowser-tabs tab:not([selected]) {
color:#ddd !important;
}
#main-window #tabbrowser-tabs tab[fadein] {
-moz-transition: all .2s ease-in-out !important;
}
#main-window #tabbrowser-tabs tab:not([selected]):hover {
color:rgba(230,41,167,.8) !important;
}
#main-window #tabbrowser-tabs tab[fadein]:not([pinned])
{
min-width:40px!important;
max-width:160px!important;
}
#main-window #tabbrowser-tabs tab[pinned]
{
max-width:24px !important;
min-width:24px !important;
}
#main-window #tabbrowser-tabs tab .tab-throbber,
#main-window #tabbrowser-tabs tab .tab-icon-image
{
max-height:10px !important;
max-width:10px !important;
margin-top:0px !important;
}
#main-window:not([chromehidden*="toolbar"])[sizemode="normal"]
{
margin-top:-11px!important;
}
#main-window[sizemode="fullscreen"] #TabsToolbar
{
margin-top:10px!important;
}
#main-window[sizemode="normal"] .tabbrowser-tabs
{
margin: 0 0 0 16px !important;
}
scrollbar, scrollcorner
{
background: #1d1d1d !important;
}
@Black-Light
Copy link
Author

Messy fork mainly for personal use.

Changes:

added minimal app menu button
removed Tab close button (middle click tabs to close or keybind ctrl+w)
increased brightness of some font colors
added color to the corner of scroll bar (visible when you can see both horizontal and vertical bars)
slightly Increased the height of caption bar when not full screen to match the height of other windows

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