fix devediton newtab-color.change css load place.
This commit is contained in:
parent
7ba39cb03b
commit
381e371657
@ -3,13 +3,6 @@
|
||||
<?xml-stylesheet href="treestyletab.css" type="text/css"?>
|
||||
<?xml-stylesheet href="treestyletab-tmp.css" type="text/css"?><!-- hacks for Tab Mix Plus -->
|
||||
|
||||
<?xml-stylesheet href="chrome://treestyletab/skin/base.css" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://treestyletab/skin/twisty/twisty.css" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://treestyletab/skin/ui.css" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://treestyletab/skin/tmp.css" type="text/css"?><!-- hacks for Tab Mix Plus -->
|
||||
<?xml-stylesheet href="chrome://treestyletab/skin/platform-base.css" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://treestyletab/skin/pseudo-tree.css" type="text/css"?>
|
||||
|
||||
<!DOCTYPE overlay SYSTEM "chrome://treestyletab/locale/treestyletab.dtd">
|
||||
<overlay id="treestyletab-overlay"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
|
@ -64,6 +64,16 @@ TreeStyleTabThemeManager.prototype = {
|
||||
this._lastStyles = null;
|
||||
|
||||
var styles = [];
|
||||
|
||||
styles.push(BASE+'base-colors.css');
|
||||
|
||||
styles.push('chrome://treestyletab/skin/base.css');
|
||||
styles.push('chrome://treestyletab/skin/twisty/twisty.css');
|
||||
styles.push('chrome://treestyletab/skin/ui.css');
|
||||
styles.push('chrome://treestyletab/skin/tmp.css');
|
||||
styles.push('chrome://treestyletab/skin/platform-base.css');
|
||||
styles.push('chrome://treestyletab/skin/pseudo-tree.css');
|
||||
|
||||
switch (aStyle)
|
||||
{
|
||||
default:
|
||||
|
9
skin/classic/treestyletab/base-colors.css
Normal file
9
skin/classic/treestyletab/base-colors.css
Normal file
@ -0,0 +1,9 @@
|
||||
:root[devtoolstheme="light"]{
|
||||
--tabs-newtab-button-background:-moz-dialog;
|
||||
--tabs-newtab-button-background-hover:ThreeDHighlight;
|
||||
}
|
||||
|
||||
:root[devtoolstheme="dark"]{
|
||||
--tabs-newtab-button-background:#39424D;
|
||||
--tabs-newtab-button-background-hover:#49525D;
|
||||
}
|
@ -16,11 +16,11 @@
|
||||
border-radius: 0;
|
||||
-moz-border-radius: 0;
|
||||
border-top: 1px solid ThreeDShadow !important;
|
||||
background: -moz-dialog !important;
|
||||
background: var(--tabs-newtab-button-background) !important;
|
||||
}
|
||||
.tabbrowser-tabs[treestyletab-mode="vertical"] .tabs-newtab-button:hover,
|
||||
.treestyletab-tabbar-toolbar[treestyletab-mode="vertical"] > toolbarbutton:hover {
|
||||
background: ThreeDHighlight !important;
|
||||
background: var(--tabs-newtab-button-background-hover) !important;
|
||||
}
|
||||
|
||||
/* for Mac OS X */
|
||||
|
Loading…
Reference in New Issue
Block a user