Merge pull request #1151 from lv7777/rebase-skin-color-#1145-new
Rebase skin color #1145 By this change, "dark" color set is applied only on the combination: Firefod Developer Edition + "dark" theme
This commit is contained in:
commit
7dd94bf92a
@ -95,6 +95,13 @@ function TreeStyleTabWindow(aWindow)
|
||||
aWindow.TreeStyleTabService = this;
|
||||
|
||||
XPCOMUtils.defineLazyModuleGetter(aWindow, 'TreeStyleTabBrowser', 'resource://treestyletab-modules/browser.js');
|
||||
|
||||
var DevEdition = this.window.AppConstants.MOZ_DEV_EDITION;
|
||||
if (DevEdition) {
|
||||
var rootelem = this.document.documentElement;
|
||||
rootelem.setAttribute('treestyletab-devedition', true);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
TreeStyleTabWindow.prototype = inherit(TreeStyleTabBase, {
|
||||
|
@ -44,7 +44,7 @@
|
||||
--tst-tab-dropmarker: -moz-dialogtext;
|
||||
}
|
||||
|
||||
:root[devtoolstheme="dark"] {
|
||||
:root[devtoolstheme="dark"][treestyletab-devedition="true"] {
|
||||
--tst-tab-surface: #39424D;
|
||||
--tst-tab-text: white;
|
||||
--tst-tab-border: #5f6670;
|
||||
|
@ -15,7 +15,7 @@
|
||||
--tst-tabbar-bg: darkgray;
|
||||
}
|
||||
|
||||
:root[devtoolstheme="dark"] {
|
||||
:root[devtoolstheme="dark"][treestyletab-devedition="true"] {
|
||||
--tst-tab-highlighted-base: ThreeDHighlight;
|
||||
--tst-tab-highlighted-highlight: Highlight;
|
||||
--tst-tab-side-border: #39424D;
|
||||
|
Loading…
Reference in New Issue
Block a user