From b2ff92a023994b64c35338a5c52bbf088ebb4da5 Mon Sep 17 00:00:00 2001 From: oonuma ryouyu Date: Sat, 16 Jul 2016 06:43:58 -0700 Subject: [PATCH 01/11] fix #1145 for rebase skin color --- modules/window.js | 7 +++++++ skin/classic/treestyletab/base-colors.css | 2 +- skin/classic/treestyletab/square/base.css | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/modules/window.js b/modules/window.js index 20e822a6..ec47fe46 100644 --- a/modules/window.js +++ b/modules/window.js @@ -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, { diff --git a/skin/classic/treestyletab/base-colors.css b/skin/classic/treestyletab/base-colors.css index fbfb9ffe..c2d071ee 100644 --- a/skin/classic/treestyletab/base-colors.css +++ b/skin/classic/treestyletab/base-colors.css @@ -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; diff --git a/skin/classic/treestyletab/square/base.css b/skin/classic/treestyletab/square/base.css index 3f6dff9a..489364f1 100644 --- a/skin/classic/treestyletab/square/base.css +++ b/skin/classic/treestyletab/square/base.css @@ -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; From 5f7a874d3ca832dc77302bf8f0d5c2ad8d220239 Mon Sep 17 00:00:00 2001 From: oonuma ryouyu Date: Sat, 16 Jul 2016 06:49:29 -0700 Subject: [PATCH 02/11] add spase for readable code --- modules/window.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/window.js b/modules/window.js index ec47fe46..7bb34fb1 100644 --- a/modules/window.js +++ b/modules/window.js @@ -96,9 +96,9 @@ function TreeStyleTabWindow(aWindow) XPCOMUtils.defineLazyModuleGetter(aWindow, 'TreeStyleTabBrowser', 'resource://treestyletab-modules/browser.js'); - var DevEdition=this.window.AppConstants.MOZ_DEV_EDITION; + var DevEdition = this.window.AppConstants.MOZ_DEV_EDITION; if (DevEdition) { - var rootelem=this.document.documentElement; + var rootelem = this.document.documentElement; rootelem.setAttribute('treestyletab-devedition', true); } From 183cc904cc467ae9b0dc2c5f3f91eb44c0fd85b5 Mon Sep 17 00:00:00 2001 From: "YUKI \"Piro\" Hiroshi" Date: Sat, 16 Jul 2016 23:01:48 +0900 Subject: [PATCH 03/11] Add "is" prefix for a boolean-expected variable --- modules/window.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/window.js b/modules/window.js index 7bb34fb1..bbc7bfb4 100644 --- a/modules/window.js +++ b/modules/window.js @@ -96,8 +96,8 @@ function TreeStyleTabWindow(aWindow) XPCOMUtils.defineLazyModuleGetter(aWindow, 'TreeStyleTabBrowser', 'resource://treestyletab-modules/browser.js'); - var DevEdition = this.window.AppConstants.MOZ_DEV_EDITION; - if (DevEdition) { + var isDevEdition = this.window.AppConstants.MOZ_DEV_EDITION; + if (isDevEdition) { var rootelem = this.document.documentElement; rootelem.setAttribute('treestyletab-devedition', true); } From fbbb09cddc87343270d753293133cabba756c6e6 Mon Sep 17 00:00:00 2001 From: "YUKI \"Piro\" Hiroshi" Date: Sat, 16 Jul 2016 23:02:25 +0900 Subject: [PATCH 04/11] Shrink scope of a short-live variable --- modules/window.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/window.js b/modules/window.js index bbc7bfb4..1a352e76 100644 --- a/modules/window.js +++ b/modules/window.js @@ -98,7 +98,7 @@ function TreeStyleTabWindow(aWindow) var isDevEdition = this.window.AppConstants.MOZ_DEV_EDITION; if (isDevEdition) { - var rootelem = this.document.documentElement; + let rootelem = this.document.documentElement; rootelem.setAttribute('treestyletab-devedition', true); } From 336e43099b0b134098c19bea16db4eb8ba395c4e Mon Sep 17 00:00:00 2001 From: "YUKI \"Piro\" Hiroshi" Date: Sat, 16 Jul 2016 23:03:35 +0900 Subject: [PATCH 05/11] Add credit --- modules/window.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/window.js b/modules/window.js index 1a352e76..3244df7f 100644 --- a/modules/window.js +++ b/modules/window.js @@ -20,6 +20,7 @@ * Contributor(s): YUKI "Piro" Hiroshi * Tetsuharu OHZEKI * J. Ryan Stinnett + * Ohnuma * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or From 8d33ec709d65b75415e89ea3a5137d504858a7c1 Mon Sep 17 00:00:00 2001 From: "YUKI \"Piro\" Hiroshi" Date: Fri, 5 Aug 2016 02:43:21 +0900 Subject: [PATCH 06/11] Link to unbranded Firefox --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 74f1e2e1..228416ce 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -15,8 +15,8 @@ Here is a list of typical questions I asked to existing reports: * **Does the problem appear with the [latest develpment build](http://piro.sakura.ne.jp/xul/xpi/nightly/)?** Possibly, problems you met has been resolved already. - On Firefox 43 and later you need to set `xpinstall.signatures.required` to `false` via `about:config`, to try such unsigned packages of development builds. - For Firefox 46 and later, you'll have to try an unbranded Firefox (including Beta, Aurora, and Nightly) to try development builds because the option will be removed on official Firefox 46 and later. + On Firefox 43 and later you need to set , to try such unsigned packages of development builds. + For Firefox 48 and later, you'll have to use an [unbranded Firefox](https://wiki.mozilla.org/Add-ons/Extension_Signing#Unbranded_Builds) (including Beta, Aurora, and Nightly) with a secret preference `xpinstall.signatures.required`=`false` (you can set it via `about:config`), to try unsigned development builds. * **Does the problem appear without Tab Mix Plus or something other tab related addon?** If a compatibility issue with other addons is reported without such information, it is very hard to be resolved. See also the next to next. From 9fcab077a3a1aff471059afff0a55b1d8db7ee64 Mon Sep 17 00:00:00 2001 From: "YUKI \"Piro\" Hiroshi" Date: Fri, 5 Aug 2016 02:44:02 +0900 Subject: [PATCH 07/11] Remove needless section --- CONTRIBUTING.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 228416ce..6f717341 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -15,8 +15,7 @@ Here is a list of typical questions I asked to existing reports: * **Does the problem appear with the [latest develpment build](http://piro.sakura.ne.jp/xul/xpi/nightly/)?** Possibly, problems you met has been resolved already. - On Firefox 43 and later you need to set , to try such unsigned packages of development builds. - For Firefox 48 and later, you'll have to use an [unbranded Firefox](https://wiki.mozilla.org/Add-ons/Extension_Signing#Unbranded_Builds) (including Beta, Aurora, and Nightly) with a secret preference `xpinstall.signatures.required`=`false` (you can set it via `about:config`), to try unsigned development builds. + On Firefox 48 and later, you'll have to use an [unbranded Firefox](https://wiki.mozilla.org/Add-ons/Extension_Signing#Unbranded_Builds) (including Beta, Aurora, and Nightly) with a secret preference `xpinstall.signatures.required`=`false` (you can set it via `about:config`), to try unsigned development builds. * **Does the problem appear without Tab Mix Plus or something other tab related addon?** If a compatibility issue with other addons is reported without such information, it is very hard to be resolved. See also the next to next. From c4890373bbf1326e0eddcbcfe967ff1b864a31fe Mon Sep 17 00:00:00 2001 From: "asamuzaK (Kazz)" Date: Sat, 6 Aug 2016 02:37:16 +0900 Subject: [PATCH 08/11] remove deprecated -moz-* properties --- skin/classic/treestyletab/Linux-styled.css | 1 - skin/classic/treestyletab/WINNT-styled.css | 1 - skin/classic/treestyletab/base.css | 2 -- skin/classic/treestyletab/group.css | 1 - skin/classic/treestyletab/metal/base.css | 3 +-- skin/classic/treestyletab/metal/tab.css | 3 --- skin/classic/treestyletab/sidebar/sidebar.css | 4 ---- skin/classic/treestyletab/square/base.css | 2 -- skin/classic/treestyletab/square/dropshadow.css | 5 ----- skin/classic/treestyletab/ui-base.css | 1 - 10 files changed, 1 insertion(+), 22 deletions(-) diff --git a/skin/classic/treestyletab/Linux-styled.css b/skin/classic/treestyletab/Linux-styled.css index bd0dd49b..0e5e3cf4 100644 --- a/skin/classic/treestyletab/Linux-styled.css +++ b/skin/classic/treestyletab/Linux-styled.css @@ -8,7 +8,6 @@ .tabbrowser-tabs[treestyletab-tabbar-position="top"][treestyletab-tabs-indented="true"] .tabbrowser-tab[visuallyselected="true"] { border-radius: 0 0 0 0; - -moz-border-radius: 0 0 0 0; height: 1.5em; margin-bottom: 0; padding-bottom: 0; diff --git a/skin/classic/treestyletab/WINNT-styled.css b/skin/classic/treestyletab/WINNT-styled.css index c159009f..49d87d9f 100644 --- a/skin/classic/treestyletab/WINNT-styled.css +++ b/skin/classic/treestyletab/WINNT-styled.css @@ -9,7 +9,6 @@ .tabbrowser-tabs[treestyletab-tabbar-position="top"][treestyletab-tabs-indented="true"] .tabbrowser-tab:hover[visuallyselected="true"] { border-radius: 0 0 0 0; - -moz-border-radius: 0 0 0 0; border-top-width: 1px; height: auto; margin-bottom: 3px; diff --git a/skin/classic/treestyletab/base.css b/skin/classic/treestyletab/base.css index d164eb4f..0240a53c 100644 --- a/skin/classic/treestyletab/base.css +++ b/skin/classic/treestyletab/base.css @@ -50,7 +50,6 @@ -moz-border-bottom-colors: none !important; -moz-border-left-colors: none !important; border-radius: 0; - -moz-border-radius: 0; border-top: 1px solid var(--tst-tab-border) !important; background: var(--tst-tab-surface) !important; } @@ -111,7 +110,6 @@ border: 0 none !important; border-bottom: 1px solid var(--tst-tab-border) !important; border-radius: 0 0 3px 3px; - -moz-border-radius: 0 0 3px 3px; } .tabbrowser-tabs[treestyletab-style~="vertigo"][treestyletab-mode="vertical"] .tabbrowser-arrowscrollbox .tabs-newtab-button { diff --git a/skin/classic/treestyletab/group.css b/skin/classic/treestyletab/group.css index 44762f02..f13d8151 100644 --- a/skin/classic/treestyletab/group.css +++ b/skin/classic/treestyletab/group.css @@ -46,7 +46,6 @@ image-rendering: -moz-crisp-edges; margin: 0 -0.3em -0.3em 0; transform: rotate(8deg); - -moz-transform: rotate(8deg); } .background-image-container { diff --git a/skin/classic/treestyletab/metal/base.css b/skin/classic/treestyletab/metal/base.css index d259246f..a76e52e8 100644 --- a/skin/classic/treestyletab/metal/base.css +++ b/skin/classic/treestyletab/metal/base.css @@ -286,14 +286,13 @@ tabbrowser[treestyletab-tabbar-position="right"] background: #9a9a9a url("shadow-active-l.png") repeat-y top right !important; margin-left: 6px !important; border-radius: 6px 0 0 6px; - -moz-border-radius: 6px 0 0 6px; } .tabbrowser-tabs[treestyletab-mode="vertical"][treestyletab-tab-inverted="true"] .tabbrowser-arrowscrollbox .tabs-newtab-button { background: #9a9a9a url("shadow-active-r.png") repeat-y top left !important; margin-right: 6px !important; - -moz-border-radius: 0 6px 6px 0; + border-radius: 0 6px 6px 0; } .tabbrowser-tabs[treestyletab-tabbar-position="left"] diff --git a/skin/classic/treestyletab/metal/tab.css b/skin/classic/treestyletab/metal/tab.css index 90a7953b..03ed5d9a 100644 --- a/skin/classic/treestyletab/metal/tab.css +++ b/skin/classic/treestyletab/metal/tab.css @@ -12,7 +12,6 @@ -moz-appearance: none !important; border: 2px solid transparent !important; border-radius: 0 !important; - -moz-border-radius: 0 !important; color: black !important; height: auto !important; max-height: none !important; @@ -226,7 +225,6 @@ .tabbrowser-tab[pinned][visuallyselected="true"]:hover { border: none !important; border-radius: 0 !important; - -moz-border-radius: 0 !important; padding: 0 !important; } .tabbrowser-tabs[treestyletab-mode="vertical"] @@ -263,7 +261,6 @@ line-height: 1 !important; border: 1px solid #666666 !important; border-radius: 4px !important; - -moz-border-radius: 4px !important; margin: 1px 0 0 1px !important; padding: 2px 4px 2px 3px !important; } diff --git a/skin/classic/treestyletab/sidebar/sidebar.css b/skin/classic/treestyletab/sidebar/sidebar.css index 0dbaae59..05b921e3 100644 --- a/skin/classic/treestyletab/sidebar/sidebar.css +++ b/skin/classic/treestyletab/sidebar/sidebar.css @@ -112,7 +112,6 @@ tabbrowser[treestyletab-mode="vertical"] -moz-appearance: none !important; border: none; border-radius: 0 !important; - -moz-border-radius: 0 !important; border-top: 1px solid transparent !important; box-align: stretch !important; -moz-box-align: stretch !important; @@ -231,7 +230,6 @@ tabbrowser[treestyletab-mode="vertical"] .treestyletab-counter-container { background-color: #91a0c0 !important; border-radius: 8px !important; - -moz-border-radius: 8px !important; padding: 0 6px !important; } .tabbrowser-tabs[treestyletab-mode="vertical"] @@ -295,7 +293,6 @@ tabbrowser[treestyletab-mode="vertical"] background: #d0def5 !important; border: 2px solid #577bf3 !important; /* not OSX's colour but Firefox's */ border-radius: 8px !important; - -moz-border-radius: 8px !important; padding: 0 1px 0 8px !important; } @@ -339,7 +336,6 @@ tabbrowser[treestyletab-mode="vertical"] background: transparent !important; border: 0 none !important; box-shadow: none !important; - -moz-box-shadow: none !important; margin: 0 !important; padding: 0 !important; } diff --git a/skin/classic/treestyletab/square/base.css b/skin/classic/treestyletab/square/base.css index 489364f1..341baddf 100644 --- a/skin/classic/treestyletab/square/base.css +++ b/skin/classic/treestyletab/square/base.css @@ -62,7 +62,6 @@ margin: 0 !important; padding: 0 !important; box-shadow: none !important; - -moz-box-shadow: none !important; } .tabbrowser-strip[treestyletab-tabbar-position="left"][treestyletab-tabbar-fixed="true"], @@ -128,7 +127,6 @@ border-bottom: 2px solid !important; -moz-border-bottom-colors: var(--tst-tab-border) transparent !important; border-radius: 0 !important; - -moz-border-radius: 0 !important; -moz-border-image: none !important; border-image: none !important; box-align: stretch !important; diff --git a/skin/classic/treestyletab/square/dropshadow.css b/skin/classic/treestyletab/square/dropshadow.css index 3c6ab5dd..0993f0b7 100644 --- a/skin/classic/treestyletab/square/dropshadow.css +++ b/skin/classic/treestyletab/square/dropshadow.css @@ -6,13 +6,11 @@ .tabbrowser-tabs[treestyletab-mode="vertical"] .tabbrowser-tab:not([pinned="true"]) { box-shadow: -0.3em 0.3em 0.2em rgba(0, 0, 0, 0.15); - -moz-box-shadow: -0.3em 0.3em 0.2em rgba(0, 0, 0, 0.15); } .tabbrowser-tabs[treestyletab-mode="vertical"][treestyletab-tab-inverted="true"] .tabbrowser-tab:not([pinned="true"]) { box-shadow: 0.3em 0.3em 0.2em rgba(0, 0, 0, 0.15); - -moz-box-shadow: 0.3em 0.3em 0.2em rgba(0, 0, 0, 0.15); } .tabbrowser-tabs[treestyletab-mode="vertical"] @@ -24,7 +22,6 @@ .tabbrowser-arrowscrollbox .tabs-newtab-button { box-shadow: 0 0.3em 0.2em rgba(0, 0, 0, 0.15); - -moz-box-shadow: 0 0.3em 0.2em rgba(0, 0, 0, 0.15); } @@ -34,7 +31,6 @@ .tabbrowser-arrowscrollbox .scrollbox-innerbox { box-shadow: inset -0.2em 0.2em 0.3em rgba(0, 0, 0, 0.15) !important; - -moz-box-shadow: inset -0.2em 0.2em 0.3em rgba(0, 0, 0, 0.15) !important; } .tabbrowser-tabs[treestyletab-mode="vertical"][treestyletab-tab-inverted="true"]:not([overflow="true"]) @@ -43,7 +39,6 @@ .tabbrowser-arrowscrollbox .scrollbox-innerbox { box-shadow: inset 0.2em 0.2em 0.3em rgba(0, 0, 0, 0.15) !important; - -moz-box-shadow: inset 0.2em 0.2em 0.3em rgba(0, 0, 0, 0.15) !important; } diff --git a/skin/classic/treestyletab/ui-base.css b/skin/classic/treestyletab/ui-base.css index efbc78d4..d8edc865 100644 --- a/skin/classic/treestyletab/ui-base.css +++ b/skin/classic/treestyletab/ui-base.css @@ -403,7 +403,6 @@ tabbrowser[treestyletab-tabbar-position="bottom"] border: 0 none; bottom: 0; box-shadow: none; - -moz-box-shadow: none; height: 2em; left: 0; margin-top: -2em; From 2cc4ca66f7a3f6f68b5687216a6fee24d5dee0f9 Mon Sep 17 00:00:00 2001 From: "asamuzaK (Kazz)" Date: Sat, 6 Aug 2016 08:25:53 +0900 Subject: [PATCH 09/11] Remove unprefixed CSS properties which are not in any spec Plus fix nits * Remove forgotten -moz-box-shadow * Remove duplicated declaration * Fix typo --- content/treestyletab/treestyletab.css | 2 +- skin/classic/treestyletab/metal/base.css | 1 - skin/classic/treestyletab/ui-base.css | 4 ---- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/content/treestyletab/treestyletab.css b/content/treestyletab/treestyletab.css index b9583ea1..7413cbdf 100644 --- a/content/treestyletab/treestyletab.css +++ b/content/treestyletab/treestyletab.css @@ -286,7 +286,7 @@ tabs.tabbrowser-tabs[treestyletab-tabbar-position="left"][treestyletab-invert-sc min-height: 1px !important; opacity: 0 !important; /** - * Sometimes "transitionend" event for "max-width" doesn't fire so ghotst + * Sometimes "transitionend" event for "max-width" doesn't fire so ghost * tabs are left. To do cleanup process forcedly, we have to re-define new * max-width to fire transitionend event. */ diff --git a/skin/classic/treestyletab/metal/base.css b/skin/classic/treestyletab/metal/base.css index a76e52e8..b4d13c82 100644 --- a/skin/classic/treestyletab/metal/base.css +++ b/skin/classic/treestyletab/metal/base.css @@ -9,7 +9,6 @@ background: transparent !important; border: 0 none !important; box-shadow: none !important; - -moz-box-shadow: none !important; margin: 0 !important; padding: 0 !important; } diff --git a/skin/classic/treestyletab/ui-base.css b/skin/classic/treestyletab/ui-base.css index d8edc865..ad87d301 100644 --- a/skin/classic/treestyletab/ui-base.css +++ b/skin/classic/treestyletab/ui-base.css @@ -320,7 +320,6 @@ tabbrowser[treestyletab-tabbar-position="bottom"] /* pinned tabs */ .tabbrowser-tabs[treestyletab-mode="vertical"][positionpinnedtabs="true"] { - padding-start: 0 !important; -moz-padding-start: 0 !important; } @@ -413,8 +412,6 @@ tabbrowser[treestyletab-tabbar-position="bottom"] right: 0; top: 0; transition: 1s opacity ease-out; - transition: 1s opacity ease-out; - user-focus: ignore; z-index: 99999; -moz-user-focus: ignore; } @@ -435,7 +432,6 @@ tabbrowser[treestyletab-tabbar-position="bottom"] outline: transparent solid 0.2em; outline-offset: -0.2em; -moz-outline-radius: 0.25em; - outline-radius: 0.25em; } .tabbrowser-tab[treestyletab-highlighted='notifying'] { outline: Highlight solid 0.2em; From 5751569e115c0091a625cc7c17e0d4f13a52e6c0 Mon Sep 17 00:00:00 2001 From: "asamuzaK (Kazz)" Date: Sat, 6 Aug 2016 18:24:10 +0900 Subject: [PATCH 10/11] Remove unprefixed appearance and unprefixed box-* --- skin/classic/treestyletab/Linux-base.css | 1 - skin/classic/treestyletab/base.css | 2 -- skin/classic/treestyletab/config.css | 1 - skin/classic/treestyletab/group.css | 2 -- skin/classic/treestyletab/metal/aero.css | 1 - skin/classic/treestyletab/metal/base.css | 3 --- skin/classic/treestyletab/metal/tab.css | 2 -- skin/classic/treestyletab/sidebar/aero.css | 1 - skin/classic/treestyletab/sidebar/sidebar.css | 1 - skin/classic/treestyletab/square/base.css | 6 ------ skin/classic/treestyletab/tmp.css | 5 ----- skin/classic/treestyletab/twisty/twisty.css | 3 --- skin/classic/treestyletab/ui-base.css | 8 -------- 13 files changed, 36 deletions(-) diff --git a/skin/classic/treestyletab/Linux-base.css b/skin/classic/treestyletab/Linux-base.css index 04ba193e..701f5d67 100644 --- a/skin/classic/treestyletab/Linux-base.css +++ b/skin/classic/treestyletab/Linux-base.css @@ -2,7 +2,6 @@ /* splitter for floating & autohide tab bar */ .treestyletab-tabbar-toolbar .treestyletab-splitter { - appearance: none; -moz-appearance: none; width: 6px; } diff --git a/skin/classic/treestyletab/base.css b/skin/classic/treestyletab/base.css index 0240a53c..3563df52 100644 --- a/skin/classic/treestyletab/base.css +++ b/skin/classic/treestyletab/base.css @@ -42,7 +42,6 @@ .tabbrowser-tabs[treestyletab-mode="vertical"] .tabs-newtab-button, .treestyletab-tabbar-toolbar[treestyletab-mode="vertical"] > toolbarbutton, .treestyletab-tabbar-toolbar[treestyletab-mode="vertical"] > toolbarpaletteitem > toolbarbutton { - appearance: none !important; -moz-appearance: none !important; border: 0 none !important; -moz-border-top-colors: none !important; @@ -75,7 +74,6 @@ /* Support customizable tab bar */ .treestyletab-tabbar-toolbar[treestyletab-mode="vertical"] > toolbarpaletteitem > toolbarbutton { - box-flex: 1; -moz-box-flex: 1; } .treestyletab-tabbar-toolbar[treestyletab-mode="vertical"] > *:not(toolbarpaletteitem) { diff --git a/skin/classic/treestyletab/config.css b/skin/classic/treestyletab/config.css index b954604f..859d7ac7 100644 --- a/skin/classic/treestyletab/config.css +++ b/skin/classic/treestyletab/config.css @@ -2,7 +2,6 @@ radio.image .radio-label-box, radio.image label.radio-label { - box-align: center; -moz-box-align: center; } diff --git a/skin/classic/treestyletab/group.css b/skin/classic/treestyletab/group.css index f13d8151..756c3bb5 100644 --- a/skin/classic/treestyletab/group.css +++ b/skin/classic/treestyletab/group.css @@ -1,7 +1,6 @@ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); :root { - appearance: window; -moz-appearance: window; background: -moz-dialog; margin: 0; @@ -60,7 +59,6 @@ #tree { margin: 1em 0 0 0.5em; overflow: auto; - box-flex: 1; -moz-box-flex: 1; } diff --git a/skin/classic/treestyletab/metal/aero.css b/skin/classic/treestyletab/metal/aero.css index b364a489..8714f639 100644 --- a/skin/classic/treestyletab/metal/aero.css +++ b/skin/classic/treestyletab/metal/aero.css @@ -5,7 +5,6 @@ tabbrowser[treestyletab-style~="aero"]:not([treestyletab-tabbar-position="top"]), :root[treestyletab-style~="aero"]:not([treestyletab-tabbar-position="top"]) #appcontent, :root[treestyletab-style~="aero"]:not([treestyletab-tabbar-position="top"]) #browser { - appearance: none !important; -moz-appearance: none !important; background: transparent !important; } diff --git a/skin/classic/treestyletab/metal/base.css b/skin/classic/treestyletab/metal/base.css index b4d13c82..f58315e9 100644 --- a/skin/classic/treestyletab/metal/base.css +++ b/skin/classic/treestyletab/metal/base.css @@ -4,7 +4,6 @@ .treestyletab-tabbar-toolbar:not([treestyletab-tabbar-position="top"]), .treestyletab-tabbar-toolbar[treestyletab-tabbar-position="top"]:not([treestyletab-tabbar-fixed="true"]) { - appearance: none !important; -moz-appearance: none !important; background: transparent !important; border: 0 none !important; @@ -41,7 +40,6 @@ } .tabbrowser-tabs[treestyletab-mode="vertical"] { - appearance: none !important; -moz-appearance: none !important; background: transparent !important; margin: 0; @@ -77,7 +75,6 @@ tabbrowser[treestyletab-mode="vertical"] .treestyletab-splitter, .treestyletab-tabbar-toolbar[treestyletab-mode="vertical"] .treestyletab-splitter { - appearance: none !important; -moz-appearance: none !important; background: #b3b2b3 !important; border: 0 solid #666666 !important; diff --git a/skin/classic/treestyletab/metal/tab.css b/skin/classic/treestyletab/metal/tab.css index 03ed5d9a..05546d3a 100644 --- a/skin/classic/treestyletab/metal/tab.css +++ b/skin/classic/treestyletab/metal/tab.css @@ -8,7 +8,6 @@ .tabbrowser-tab[visuallyselected="true"], .tabbrowser-tabs[treestyletab-mode="vertical"] .tabbrowser-tab[visuallyselected="true"]:hover { - appearance: none !important; -moz-appearance: none !important; border: 2px solid transparent !important; border-radius: 0 !important; @@ -112,7 +111,6 @@ } .tabbrowser-tabs[treestyletab-mode="vertical"] .tab-content { - appearance: none !important; -moz-appearance: none !important; border: 10px solid transparent; margin: 0 !important; diff --git a/skin/classic/treestyletab/sidebar/aero.css b/skin/classic/treestyletab/sidebar/aero.css index 3cb6e067..ec91a63e 100644 --- a/skin/classic/treestyletab/sidebar/aero.css +++ b/skin/classic/treestyletab/sidebar/aero.css @@ -5,7 +5,6 @@ tabbrowser[treestyletab-style~="aero"]:not([treestyletab-tabbar-position="top"]), :root[treestyletab-style~="aero"]:not([treestyletab-tabbar-position="top"]) #appcontent, :root[treestyletab-style~="aero"]:not([treestyletab-tabbar-position="top"]) #browser { - appearance: none !important; -moz-appearance: none !important; background: transparent !important; } diff --git a/skin/classic/treestyletab/sidebar/sidebar.css b/skin/classic/treestyletab/sidebar/sidebar.css index 05b921e3..dfd20cc9 100644 --- a/skin/classic/treestyletab/sidebar/sidebar.css +++ b/skin/classic/treestyletab/sidebar/sidebar.css @@ -108,7 +108,6 @@ tabbrowser[treestyletab-mode="vertical"] /* Style tabs themselves. Get rid of most of the initial XUL styling */ .tabbrowser-tabs[treestyletab-mode="vertical"] .tabbrowser-tab { - appearance: none !important; -moz-appearance: none !important; border: none; border-radius: 0 !important; diff --git a/skin/classic/treestyletab/square/base.css b/skin/classic/treestyletab/square/base.css index 341baddf..2ba259c8 100644 --- a/skin/classic/treestyletab/square/base.css +++ b/skin/classic/treestyletab/square/base.css @@ -31,14 +31,12 @@ .tabbrowser-tabs:not([treestyletab-tabbar-position="top"]), .treestyletab-tabbar-toolbar:not([treestyletab-tabbar-position="top"]) { - appearance: none; -moz-appearance: none; background: transparent !important; margin: 0 !important; padding: 0 !important; } .tabbrowser-strip[treestyletab-style~="border"]:not([treestyletab-tabbar-position="top"]) { - appearance: none; -moz-appearance: none; background: var(--tst-tabbar-bg) !important; } @@ -113,7 +111,6 @@ .tabbrowser-tab[visuallyselected="true"], .tabbrowser-tabs:not([treestyletab-tabbar-position="top"]) .tabbrowser-tab:not([visuallyselected="true"]) { - appearance: none !important; -moz-appearance: none !important; min-height: 2em; margin: 0 !important; @@ -129,7 +126,6 @@ border-radius: 0 !important; -moz-border-image: none !important; border-image: none !important; - box-align: stretch !important; -moz-box-align: stretch !important; } /* override "-moz-menutext" color defined by the default theme, because it is too bright on Ubuntu */ @@ -295,7 +291,6 @@ /* Mac OS X */ .tabbrowser-tabs[treestyletab-mode="vertical"] .tabbrowser-tab { - box-pack: start !important; -moz-box-pack: start !important; text-align: start !important; } @@ -324,7 +319,6 @@ tabbrowser[treestyletab-style~="aero"]:not([treestyletab-tabbar-position="top"]), :root[treestyletab-style~="aero"]:not([treestyletab-tabbar-position="top"]) #appcontent, :root[treestyletab-style~="aero"]:not([treestyletab-tabbar-position="top"]) #browser { - appearance: none !important; -moz-appearance: none !important; background: transparent !important; } diff --git a/skin/classic/treestyletab/tmp.css b/skin/classic/treestyletab/tmp.css index bf03a25b..167d7f9e 100644 --- a/skin/classic/treestyletab/tmp.css +++ b/skin/classic/treestyletab/tmp.css @@ -38,7 +38,6 @@ :root[treestyletab-enable-compatibility-tmp="true"] .tabbrowser-tabs[treestyletab-mode="vertical"] .tabs-closebutton-topbox > .tabs-closebutton { - appearance: none !important; -moz-appearance: none !important; border: 0 none !important; -moz-border-top-colors: none !important; @@ -66,13 +65,9 @@ :root[treestyletab-enable-compatibility-tmp="true"] .tabbrowser-tabs[treestyletab-mode="vertical"] .tabs-newtab-topbox > .tabs-newtab-button { - box-flex: 1; -moz-box-flex: 1; - box-align: center; -moz-box-align: center; - box-pack: center; -moz-box-pack: center; - box-orient: vertical; -moz-box-orient: vertical; } diff --git a/skin/classic/treestyletab/twisty/twisty.css b/skin/classic/treestyletab/twisty/twisty.css index 2d4bd790..2b30bb41 100644 --- a/skin/classic/treestyletab/twisty/twisty.css +++ b/skin/classic/treestyletab/twisty/twisty.css @@ -12,11 +12,8 @@ max-width: 16px; min-height: 16px; min-width: 16px; - box-pack: start; -moz-box-pack: start; - box-align: center; -moz-box-align: center; - box-flex: 1; -moz-box-flex: 1; } diff --git a/skin/classic/treestyletab/ui-base.css b/skin/classic/treestyletab/ui-base.css index ad87d301..3b730f06 100644 --- a/skin/classic/treestyletab/ui-base.css +++ b/skin/classic/treestyletab/ui-base.css @@ -3,9 +3,7 @@ /* tree UI */ .treestyletab-counter-container { - box-align: center; -moz-box-align: center; - box-pack: end; -moz-box-pack: end; } @@ -165,7 +163,6 @@ tabbrowser[treestyletab-drop-position] { - appearance: none !important; -moz-appearance: none !important; border: 2px solid transparent !important; -moz-border-top-colors: none !important; @@ -306,7 +303,6 @@ tabbrowser[treestyletab-tabbar-position="bottom"] /* toolbar customization */ .treestyletab-tabbar-toolbar-ready-popup { - appearance: tooltip; -moz-appearance: tooltip; max-width: 15em; opacity: 0.85; @@ -343,18 +339,14 @@ tabbrowser[treestyletab-tabbar-position="bottom"] .tabbrowser-tab[pinned="true"] .tab-stack, .tabbrowser-tabs[treestyletab-mode="vertical"] .tab-content[pinned="true"] { - box-align: center; -moz-box-align: center; - box-pack: center; -moz-box-pack: center; min-height: 0; } .tabbrowser-tabs[treestyletab-mode="vertical"] .tab-background[pinned="true"] { - box-align: stretch; -moz-box-align: stretch; - box-pack: justify; -moz-box-pack: justify; min-height: 0; } From 098eb8242ee4b5f584adc78d40821e5070a805c9 Mon Sep 17 00:00:00 2001 From: "asamuzaK (Kazz)" Date: Sat, 6 Aug 2016 19:43:04 +0900 Subject: [PATCH 11/11] Pick up where the modification has not been applied --- content/treestyletab/treestyletab-tmp.css | 1 - content/treestyletab/treestyletab.css | 7 ------- skin/classic/treestyletab/sidebar/sidebar.css | 5 ----- 3 files changed, 13 deletions(-) diff --git a/content/treestyletab/treestyletab-tmp.css b/content/treestyletab/treestyletab-tmp.css index 8f6b96af..3e46a446 100644 --- a/content/treestyletab/treestyletab-tmp.css +++ b/content/treestyletab/treestyletab-tmp.css @@ -21,7 +21,6 @@ :root[treestyletab-enable-compatibility-tmp="true"] tabbrowser[treestyletab-mode="vertical"] tabs[flowing] > * .tabs-frame { - box-flex: 1 !important; -moz-box-flex: 1 !important; } diff --git a/content/treestyletab/treestyletab.css b/content/treestyletab/treestyletab.css index 7413cbdf..c27e3691 100644 --- a/content/treestyletab/treestyletab.css +++ b/content/treestyletab/treestyletab.css @@ -60,7 +60,6 @@ max-width: 20px; min-width: 20px; width: 20px; - box-flex: 0; -moz-box-flex: 0; mask: url("res/tabEffects.svg#fadein-mask"); } @@ -171,7 +170,6 @@ tabbrowser[treestyletab-tabbar-autohide-mode="1"][treestyletab-tabbar-autohide=" #treestyletab-autohide-content-area-screen { - appearance: none; -moz-appearance: none; /** * Don't make this panel completely transparent, because @@ -202,9 +200,7 @@ tabbrowser[treestyletab-tabbar-autohide-mode="1"][treestyletab-tabbar-autohide=" .tabbrowser-tabs[treestyletab-mode="vertical"] .tabbrowser-arrowscrollbox .scrollbox-innerbox { - box-flex: 1 !important; -moz-box-flex: 1 !important; - box-pack: start !important; -moz-box-pack: start !important; } @@ -218,7 +214,6 @@ toolbar.treestyletab-tabbar-toolbar[treestyletab-mode="vertical"] > toolbaritem, toolbar.treestyletab-tabbar-toolbar[treestyletab-mode="vertical"] > .treestyletab-toolbar-inner-box > toolbaritem { - box-flex: 0 !important; -moz-box-flex: 0 !important; } @@ -229,7 +224,6 @@ toolbar.treestyletab-tabbar-toolbar[treestyletab-mode="vertical"] /* workaround for https://github.com/piroor/treestyletab/issues/100 */ .treestyletab-tabbar-toolbar[treestyletab-mode="vertical"] .textbox-input-box { - box-align: stretch; -moz-box-align: stretch; } @@ -421,7 +415,6 @@ toolbar.treestyletab-tabbar-toolbar-ready:not([nowindowdrag="true"]), .treestyletab-tabbar-toolbar:not([treestyletab-tabbar-position="top"]), .treestyletab-tabbar-toolbar[treestyletab-tabbar-position="top"]:not([treestyletab-tabbar-fixed="true"]) { - appearance: none !important; -moz-appearance: none !important; line-height: 0 !important; /* to avoid an useless space above the tab bar */ position: fixed !important; diff --git a/skin/classic/treestyletab/sidebar/sidebar.css b/skin/classic/treestyletab/sidebar/sidebar.css index dfd20cc9..1e2c159e 100644 --- a/skin/classic/treestyletab/sidebar/sidebar.css +++ b/skin/classic/treestyletab/sidebar/sidebar.css @@ -112,7 +112,6 @@ tabbrowser[treestyletab-mode="vertical"] border: none; border-radius: 0 !important; border-top: 1px solid transparent !important; - box-align: stretch !important; -moz-box-align: stretch !important; height: 21px !important; /* height including border! */ margin: 0 !important; @@ -330,7 +329,6 @@ tabbrowser[treestyletab-mode="vertical"] .treestyletab-tabbar-toolbar:not([treestyletab-tabbar-position="top"]), .treestyletab-tabbar-toolbar[treestyletab-tabbar-position="top"]:not([treestyletab-tabbar-fixed="true"]) { - appearance: none !important; -moz-appearance: none !important; background: transparent !important; border: 0 none !important; @@ -358,7 +356,6 @@ tabbrowser[treestyletab-mode="vertical"] .treestyletab-tabbar-toolbar[treestyletab-mode="vertical"] > toolbarpaletteitem > toolbarbutton:hover { - appearance: none !important; -moz-appearance: none !important; background: transparent !important; border: 0 none !important; @@ -394,7 +391,6 @@ tabbrowser[treestyletab-mode="vertical"] -moz-image-region: auto !important; } .tabbrowser-tabs[treestyletab-mode="vertical"] { - appearance: none !important; -moz-appearance: none !important; background: transparent !important; margin: 0; @@ -403,7 +399,6 @@ tabbrowser[treestyletab-mode="vertical"] /* for Linux (Gnomestrip) */ .tabbrowser-tabs[treestyletab-mode="vertical"] .tab-close-button { - appearance: none !important; -moz-appearance: none !important; }