Don't disable background image of closebox in tabs (#678)
The closebox icon of tabs are now an SVG background image, in Firefox 31 or later on Linux. See: https://bugzilla.mozilla.org/show_bug.cgi?id=879921
This commit is contained in:
parent
482bab417b
commit
881efcd5a8
@ -45,6 +45,7 @@ override chrome://treestyletab/skin/platform-styled.css chrome://treestyletab/sk
|
|||||||
override chrome://treestyletab/skin/square/platform.css chrome://treestyletab/skin/square/Darwin.css os=Darwin
|
override chrome://treestyletab/skin/square/platform.css chrome://treestyletab/skin/square/Darwin.css os=Darwin
|
||||||
override chrome://treestyletab/skin/square/platform.css chrome://treestyletab/skin/square/Linux.css os=Linux
|
override chrome://treestyletab/skin/square/platform.css chrome://treestyletab/skin/square/Linux.css os=Linux
|
||||||
override chrome://treestyletab/skin/square/platform.css chrome://treestyletab/skin/dummy.css os=WINNT
|
override chrome://treestyletab/skin/square/platform.css chrome://treestyletab/skin/dummy.css os=WINNT
|
||||||
|
override chrome://treestyletab/skin/square/disable-closebox-bg.css chrome://treestyletab/skin/dummy.css os=Linux appversion>=31.0a1
|
||||||
|
|
||||||
override chrome://treestyletab/skin/metal/platform.css chrome://treestyletab/skin/metal/Darwin.css os=Darwin
|
override chrome://treestyletab/skin/metal/platform.css chrome://treestyletab/skin/metal/Darwin.css os=Darwin
|
||||||
override chrome://treestyletab/skin/metal/platform.css chrome://treestyletab/skin/dummy.css os=WINNT
|
override chrome://treestyletab/skin/metal/platform.css chrome://treestyletab/skin/dummy.css os=WINNT
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import url("./disable-closebox-bg.css");
|
||||||
|
|
||||||
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
||||||
|
|
||||||
/* Default style */
|
/* Default style */
|
||||||
@ -218,15 +220,8 @@
|
|||||||
.tabbrowser-tabs:not([treestyletab-tabbar-position="top"])
|
.tabbrowser-tabs:not([treestyletab-tabbar-position="top"])
|
||||||
.tabbrowser-tab
|
.tabbrowser-tab
|
||||||
.tab-close-button {
|
.tab-close-button {
|
||||||
height: auto;
|
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
background: transparent;
|
|
||||||
}
|
|
||||||
.tabbrowser-tabs:not([treestyletab-tabbar-position="top"])
|
|
||||||
.tabbrowser-tab[selected="true"]
|
|
||||||
.tab-close-button {
|
|
||||||
background: transparent;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabbrowser-tabs[treestyletab-mode="vertical"]
|
.tabbrowser-tabs[treestyletab-mode="vertical"]
|
||||||
|
20
skin/classic/treestyletab/square/disable-closebox-bg.css
Normal file
20
skin/classic/treestyletab/square/disable-closebox-bg.css
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Disable background images for closebox in tabs.
|
||||||
|
* This must be activated on:
|
||||||
|
* - WINNT, any version
|
||||||
|
* - OS X, any version
|
||||||
|
* - Linux, Firefox 30 or older
|
||||||
|
* See: https://bugzilla.mozilla.org/show_bug.cgi?id=879921
|
||||||
|
*/
|
||||||
|
|
||||||
|
.tabbrowser-tabs:not([treestyletab-tabbar-position="top"])
|
||||||
|
.tabbrowser-tab
|
||||||
|
.tab-close-button,
|
||||||
|
.tabbrowser-tabs:not([treestyletab-tabbar-position="top"])
|
||||||
|
.tabbrowser-tab[selected="true"]
|
||||||
|
.tab-close-button {
|
||||||
|
height: auto;
|
||||||
|
background: transparent;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user