Skip to content

Instantly share code, notes, and snippets.

@max-m
Created March 23, 2014 13:10
Show Gist options
  • Save max-m/9722874 to your computer and use it in GitHub Desktop.
Save max-m/9722874 to your computer and use it in GitHub Desktop.
Firefox and Thunderbird Aero fixes - userChrome.css
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* Firefox And Thunderbird Aero Fixes - Sigle File For Both Applications */
@media(-moz-windows-glass) {
#TabsToolbar:not(:-moz-lwtheme)::before,
#TabsToolbar:not(:-moz-lwtheme)::after,
#tabs-toolbar:not(:-moz-lwtheme)::before,
#tabs-toolbar:not(:-moz-lwtheme)::after {
box-shadow: none !important;
}
.tabs-newtab-button,
#TabsToolbar > #new-tab-button,
#TabsToolbar > toolbarpaletteitem > #new-tab-button {
list-style-image: url('chrome://browser/skin/tabbrowser/newtab-inverted.png') !important;
}
.tabbrowser-tab[selected]:not(:-moz-lwtheme),
.tabmail-tab[selected]:not(:-moz-lwtheme) {
text-shadow:
0px -1px rgba(255, 255, 255, 0.5), /* top */
-1px 0px rgba(255, 255, 255, 0.5), /* left */
1px 0px rgba(255, 255, 255, 0.5), /* right */
0px 1px rgba(255, 255, 255, 0.75) /* bottom */
!important;
}
.tabbrowser-tab:not([selected]):not(:-moz-lwtheme),
.tabmail-tab:not([selected]):not(:-moz-lwtheme) {
color: rgba(255, 255, 255, 1) !important;
text-shadow:
0px -1px rgba(11, 17, 25, 0.5), /* top */
-1px 0px rgba(11, 17, 25, 0.5), /* left */
1px 0px rgba(11, 17, 25, 0.5), /* right */
0px 1px rgba(11, 18, 25, 0.75) /* bottom */
!important;
}
.tabbrowser-tab:not([selected]) .tab-close-button:not(:hover):not(:active),
.tabmail-tab:not([selected]) .tab-close-button:not(:hover):not(:active) {
-moz-image-region: rect(0, 64px, 16px, 48px) !important;
}
}
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* Firefox Aero Fixes */
@media(-moz-windows-glass) {
#TabsToolbar:not(:-moz-lwtheme)::before,
#TabsToolbar:not(:-moz-lwtheme)::after {
box-shadow: none !important;
}
.tabs-newtab-button,
#TabsToolbar > #new-tab-button,
#TabsToolbar > toolbarpaletteitem > #new-tab-button {
list-style-image: url('chrome://browser/skin/tabbrowser/newtab-inverted.png') !important;
}
.tabbrowser-tab[selected]:not(:-moz-lwtheme) {
text-shadow:
0px -1px rgba(255, 255, 255, 0.5), /* top */
-1px 0px rgba(255, 255, 255, 0.5), /* left */
1px 0px rgba(255, 255, 255, 0.5), /* right */
0px 1px rgba(255, 255, 255, 0.75) /* bottom */
!important;
}
.tabbrowser-tab:not([selected]):not(:-moz-lwtheme) {
color: rgba(255, 255, 255, 1) !important;
text-shadow:
0px -1px rgba(11, 17, 25, 0.5), /* top */
-1px 0px rgba(11, 17, 25, 0.5), /* left */
1px 0px rgba(11, 17, 25, 0.5), /* right */
0px 1px rgba(11, 18, 25, 0.75) /* bottom */
!important;
}
.tabbrowser-tab:not([selected]) .tab-close-button:not(:hover):not(:active) {
-moz-image-region: rect(0, 64px, 16px, 48px) !important;
}
}
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* Thunderbird Aero Fixes */
@media(-moz-windows-glass) {
#tabs-toolbar:not(:-moz-lwtheme)::before,
#tabs-toolbar:not(:-moz-lwtheme)::after {
box-shadow: none !important;
}
.tabmail-tab[selected]:not(:-moz-lwtheme) {
text-shadow:
0px -1px rgba(255, 255, 255, 0.5), /* top */
-1px 0px rgba(255, 255, 255, 0.5), /* left */
1px 0px rgba(255, 255, 255, 0.5), /* right */
0px 1px rgba(255, 255, 255, 0.75) /* bottom */
!important;
}
.tabmail-tab:not([selected]):not(:-moz-lwtheme) {
color: rgba(255, 255, 255, 1) !important;
text-shadow:
0px -1px rgba(11, 17, 25, 0.5), /* top */
-1px 0px rgba(11, 17, 25, 0.5), /* left */
1px 0px rgba(11, 17, 25, 0.5), /* right */
0px 1px rgba(11, 18, 25, 0.75) /* bottom */
!important;
}
.tabmail-tab:not([selected]) .tab-close-button:not(:hover):not(:active) {
-moz-image-region: rect(0, 64px, 16px, 48px) !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment