Skip to content

Instantly share code, notes, and snippets.

@max107
Created July 16, 2015 15:51
Show Gist options
  • Save max107/2968642933529aa36dc9 to your computer and use it in GitHub Desktop.
Save max107/2968642933529aa36dc9 to your computer and use it in GitHub Desktop.
Firefox userChrome.css wild old tabs
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
* {
font-size: 12px !important;
font-family: Ubuntu, "Lucida Grande", "Helvetica Neue", Arial, sans-serif !important;
}
/* Remove space before first tab */
.tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox {
-moz-padding-end: 0 !important;
-moz-padding-start: 0 !important;
}
/* Hide Australis tab styles */
.tab-background-start, .tab-background-end {
visibility: hidden !important;
}
.tab-background-middle {
background: none !important;
}
.tab-background {
background: none !important;
}
/* Remove tab separators */
.tabbrowser-tab:not([selected]):not([afterselected-visible]):not([afterhovered]):not([first-visible-tab]):not(:hover)::before,
#tabbrowser-tabs:not([overflow]) > .tabbrowser-tab[last-visible-tab]:not([selected]):not([beforehovered]):not(:hover)::after {
background: none !important;
}
/* New tab button custom shape */
.tabs-newtab-button {
background: none !important;
}
.tabs-newtab-button:hover {
cursor: pointer;
}
/* Tab custom shape and color */
.tabbrowser-tab {
height: 24px !important;
min-height: 24px !important;
margin-right: -1px !important;
border-style: solid !important;
border-color: #aaa #aaa #EBEBEB #aaa !important;
border-width: 1px 1px 1px 1px !important;
border-top-left-radius: 3px !important;
border-top-right-radius: 3px !important;
background: rgba(0,0,0,0.1) !important;
}
.tabbrowser-tab:hover {
background: rgba(128,128,128,0.1) !important;
}
.tabbrowser-tab[selected] {
color: black;
text-shadow: 1px 1px white, -1px -1px white, 1px -1px white, -1px 1px white,
2px 2px 2px white, -2px -2px 2px white, 2px -2px 2px white, -2px 1px 2px white;
background: #EBEBEB !important;
background-image: linear-gradient(#fff, #EBEBEB) !important;
}
@max107
Copy link
Author

max107 commented Jul 16, 2015

http://s23.postimg.org/klixmagaz/Screen_Shot_2015_07_16_at_18_51_54.png

@max107
Copy link
Author

max107 commented Jul 16, 2015

Version for thunderbird

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

* {
    font-size: 12px !important;
    font-family: Ubuntu, "Lucida Grande", "Helvetica Neue", Arial, sans-serif !important;
}

/* Folder pane(color/text) and Message pane(color) */
treechildren {
    font-size: 12px !important;
    font-family: Ubuntu, "Lucida Grande", "Helvetica Neue", Arial, sans-serif !important;
}

/* change Message Pane text */
treechildren:-moz-tree-cell-text(unread) {
    font-size: 12px !important;
    font-family: Ubuntu, "Lucida Grande", "Helvetica Neue", Arial, sans-serif !important;
}

treechildren:-moz-tree-cell-text(read) {
    font-size: 12px !important;
    font-family: Ubuntu, "Lucida Grande", "Helvetica Neue", Arial, sans-serif !important;
}

/* Set no-label (default) bottom border */
treechildren::-moz-tree-cell {
    font-size: 12px !important;
    font-family: Ubuntu, "Lucida Grande", "Helvetica Neue", Arial, sans-serif !important;
}

/* Menu font */
menu, menulist, menuitem { 
    font-size: 12px !important;
    font-family: Ubuntu, "Lucida Grande", "Helvetica Neue", Arial, sans-serif !important;
}

* {
    font-size: 12px !important;
    font-family: Ubuntu, "Lucida Grande", "Helvetica Neue", Arial, sans-serif !important;
}

/* Remove space before first tab */
.tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox {
    -moz-padding-end: 0 !important;
    -moz-padding-start: 0 !important;
}

/* Hide Australis tab styles */
.tab-background-start, .tab-background-end {
    visibility: hidden !important;
}
.tab-background-middle {
    background: none !important;
}
.tab-background {
    background: none !important;
}

/* Remove tab separators */
.tabbrowser-tab:not([selected]):not([afterselected-visible]):not([afterhovered]):not([first-visible-tab]):not(:hover)::before,
#tabbrowser-tabs:not([overflow]) > .tabbrowser-tab[last-visible-tab]:not([selected]):not([beforehovered]):not(:hover)::after {
    background: none !important;
}

/* Tab custom shape and color */
tab {
    margin-right: -1px !important;
    border-style: solid !important;
    border-color: #aaa #aaa #EBEBEB #aaa !important;
    border-width: 1px 1px 1px 1px !important;
    border-top-left-radius: 3px !important;
    border-top-right-radius: 3px !important;
    background: rgba(0,0,0,0.1) !important;
}

tab:hover {
    background: rgba(128,128,128,0.1) !important;
}

tab[selected] {
    color: black;
    text-shadow: 1px 1px white, -1px -1px white, 1px -1px white, -1px 1px white,
                 2px 2px 2px white, -2px -2px 2px white, 2px -2px 2px white, -2px 1px 2px white;
    background: #EBEBEB !important;
    background-image: linear-gradient(#fff, #EBEBEB) !important;
}

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