[Pkg-mozext-commits] [tabmixplus] 29/44: Use left and right close tab button on tab to show on mouse hover, remove showhover-box and button

David Prévot taffit at moszumanska.debian.org
Wed Oct 15 02:10:04 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository tabmixplus.

commit bf1fc31b1c4abb529a6deaa2fb2d61b3b9f4e910
Author: onemen <tabmix.onemen at gmail.com>
Date:   Tue Oct 7 19:36:35 2014 +0300

    Use left and right close tab button on tab to show on mouse hover, remove showhover-box and button
---
 chrome/content/extensions/extensions.js       |  6 +--
 chrome/content/overlay/browsr.css             | 68 +++++++++++----------------
 chrome/content/tab/tab.js                     | 29 ++++++++++--
 chrome/content/tab/tabbrowser_4.xml           | 50 ++++----------------
 chrome/content/tabmix.js                      | 15 +++---
 chrome/skin/app_version/4.0/general.css       |  6 ---
 chrome/skin/app_version/4.0/linux/browser.css |  6 ---
 chrome/skin/app_version/4.0/mac/browser.css   |  6 +--
 chrome/skin/app_version/4.0/win/browser.css   |  5 --
 chrome/skin/tab.css                           | 17 -------
 10 files changed, 72 insertions(+), 136 deletions(-)

diff --git a/chrome/content/extensions/extensions.js b/chrome/content/extensions/extensions.js
index 1060963..dd046dd 100644
--- a/chrome/content/extensions/extensions.js
+++ b/chrome/content/extensions/extensions.js
@@ -379,10 +379,6 @@ var TMP_extensionsCompatibility = {
         'if (tab.hasAttribute("mergeselected"))' +
         '  title = "(*) " + title;' +
         '$&';
-      let getLabel = 'if (!label) {' +
-        'let labelBox = document.getAnonymousElementByAttribute(tab,"class","tab-text-stack");' +
-        'label = document.getAnonymousElementByAttribute(labelBox,"anonid","tab-label");' +
-      '}\n';
 
       let func = {styleTiledTabs: /if\s+\(tab\.hasAttribute\("tiletabs-assigned"\)\)/,
         showProperties: 'if (tab.hasAttribute("image"))',
@@ -394,7 +390,7 @@ var TMP_extensionsCompatibility = {
       for (let fnName of Object.keys(func)) {
         if (typeof tileTabs[fnName] == "function") {
           Tabmix.changeCode(tileTabs, "tileTabs." + fnName)._replace(
-            func[fnName], fnName == "styleTiledTabs" ? getLabel + newCode : newCode
+            func[fnName], newCode
           ).toCode();
         }
       }
diff --git a/chrome/content/overlay/browsr.css b/chrome/content/overlay/browsr.css
index a13b618..0ed53e2 100644
--- a/chrome/content/overlay/browsr.css
+++ b/chrome/content/overlay/browsr.css
@@ -11,17 +11,6 @@ label.text-link, label[onclick] {
   -moz-binding: url(chrome://tabmixplus/content/tab/text.xml#tmp-text-link);
 }
 
-/*
- * For close button on tab
- */
-.tabbrowser-tab .tabs-closebutton {
-  display: none;
-}
-
-.tabbrowser-tabs > .tabbrowser-tab .tabs-closebutton {
-  pointer-events: auto;
-}
-
 /*  we don't use .tabbrowser-tab > .tab-close-button[button_side="right"] here
     because in some theme the buttons are inside tab-middle
 */
@@ -67,30 +56,44 @@ label.text-link, label[onclick] {
 }
 
 /* some theme use display: none !important;  so we must use !important; */
-.tabbrowser-tabs[closebuttons-hover="notactivetab"] > .tabbrowser-tab:not([pinned]):not([faviconized="true"]):not([selected="true"]):not([isPermaTab="true"]):not([protected])[showbutton=on] .tabs-closebutton,
-.tabbrowser-tabs[closebuttons-hover="alltabs"] > .tabbrowser-tab:not([pinned]):not([faviconized="true"]):not([isPermaTab="true"]):not([protected])[showbutton=on] .tabs-closebutton {
+.tabbrowser-tabs[closebuttons-hover="notactivetab"][closebuttons-side="right"] > .tabbrowser-tab:not([pinned]):not([faviconized="true"]):not([selected="true"]):not([isPermaTab="true"]):not([protected])[showbutton=on] .tab-close-button[button_side="right"],
+.tabbrowser-tabs[closebuttons-hover="alltabs"][closebuttons-side="right"] > .tabbrowser-tab:not([pinned]):not([faviconized="true"]):not([isPermaTab="true"]):not([protected])[showbutton=on] .tab-close-button[button_side="right"] {
   display: -moz-box !important;
 }
 
-/*  for PermaTab */
-/*  show PermaTab icon only on right side only right  */
-.tabbrowser-tab[isPermaTab="true"] .tabs-closebutton,
-.tabbrowser-tab[isPermaTab="true"] .tab-close-button[button_side="left"] {
-  display: none !important;
+.tabbrowser-tabs[closebuttons-hover="notactivetab"][closebuttons-side="left"] > .tabbrowser-tab:not([pinned]):not([faviconized="true"]):not([selected="true"]):not([isPermaTab="true"]):not([protected])[showbutton=on] .tab-close-button[button_side="left"],
+.tabbrowser-tabs[closebuttons-hover="alltabs"][closebuttons-side="left"] > .tabbrowser-tab:not([pinned]):not([faviconized="true"]):not([isPermaTab="true"]):not([protected])[showbutton=on] .tab-close-button[button_side="left"] {
+  display: -moz-box !important;
 }
 
-.tabbrowser-tabs[closebuttons-side="right"] > .tabbrowser-tab .showhover-box {
-  -moz-box-pack: end;
+/* button on the left side */
+.tabbrowser-tabs[closebuttons-side="left"][closebuttons="activetab"] > .tabbrowser-tab[selected="true"] > .tab-stack > .tab-content > .tab-close-button,
+.tabbrowser-tabs[closebuttons-side="left"][closebuttons-hover="notactivetab"] > .tabbrowser-tab:not([selected="true"]) > .tab-stack > .tab-content > .tab-icon,
+.tabbrowser-tabs[closebuttons-side="left"][closebuttons-hover="alltabs"] > .tabbrowser-tab > .tab-stack > .tab-content > .tab-icon {
+  -moz-box-ordinal-group: 0 !important;
 }
 
-/* for themes that use old tabmix_3.xml version */
-.tabbrowser-tabs[closebuttons-side="left"] > .tabbrowser-tab .showhover-flex {
+.tabbrowser-tabs[closebuttons-side="left"][closebuttons="activetab"] > .tabbrowser-tab[selected="true"] > .tab-stack > .tab-content > .tab-icon,
+.tabbrowser-tabs[closebuttons-side="left"][closebuttons-hover="notactivetab"] > .tabbrowser-tab:not([selected="true"]) > .tab-stack > .tab-content > .tab-close-button,
+.tabbrowser-tabs[closebuttons-side="left"][closebuttons-hover="alltabs"] > .tabbrowser-tab > .tab-stack > .tab-content > .tab-close-button {
+  -moz-box-ordinal-group: 1 !important;
+}
+
+.tabbrowser-tabs[closebuttons-side="left"][closebuttons-hover="notactivetab"] > .tabbrowser-tab:not([selected="true"]) > .tab-stack > .tab-content > .tab-label,
+.tabbrowser-tabs[closebuttons-side="left"][closebuttons-hover="alltabs"] > .tabbrowser-tab > .tab-stack > .tab-content > .tab-label {
+  -moz-box-ordinal-group: 2 !important;
+}
+
+/*  for PermaTab */
+/*  show PermaTab icon only on right side only right  */
+.tabbrowser-tab[isPermaTab="true"] .tab-close-button[button_side="left"] {
   display: none !important;
 }
 
-/* prevent text box height from changing when we show the button on tab */
+/* for themes that use old tabmix xml version */
+.tabbrowser-tab .showhover-box,
 .tabbrowser-tab .showhover-flex {
-  height: 0px;
+  display: none !important;
 }
 
 .tabbrowser-arrowscrollbox[type=tabmix-box] {
@@ -113,11 +116,6 @@ label.text-link, label[onclick] {
  -moz-binding: url("chrome://tabmixplus/content/tab/tabbrowser_4.xml#tabbrowser-close-tab-button")!important;
 }
 
-/* showhover button */
-.showhover-box > .showhover {
-  -moz-binding: url("chrome://tabmixplus/content/tab/tabbrowser_4.xml#tabmix-showhover-close-tab-button");
-}
-
 .tabbrowser-tabs:not([defaultScrollButtons]) > .tabbrowser-arrowscrollbox:not([_side]) > .scrollbutton-up,
 .tabbrowser-tabs:not([defaultScrollButtons]) > .tabbrowser-arrowscrollbox:not([_side]) > .scrollbutton-down {
   visibility: collapse !important;
@@ -200,8 +198,7 @@ label.text-link, label[onclick] {
 .tab-progress-container > .tab-progress:not([fadein]):not([pinned]),
 .tab-icon:not([fadein]):not([pinned]) > .tab-protect-icon,
 .tab-icon:not([fadein]):not([pinned]) > .tab-lock-icon,
-.tab-icon:not([fadein]):not([pinned]) > .tab-reload-icon,
-.tab-text-stack:not([fadein]):not([pinned]) > .tabs-closebutton {
+.tab-icon:not([fadein]):not([pinned]) > .tab-reload-icon {
    display: none !important;
 }
 
@@ -235,15 +232,6 @@ so display: none !important; does not hide the button */
   display: none !important;
 }
 
-/***  Pinned Tab  ***/
-.tab-text-stack[pinned] {
-  width: 0;
-  margin-left: 0 !important;
-  margin-right: 0 !important;
-  padding-left: 0 !important;
-  padding-right: 0 !important;
-}
-
 /***  For progressmeter on tab Firefox 4.0+  ***/
 .tab-progress {
   margin: 0;
diff --git a/chrome/content/tab/tab.js b/chrome/content/tab/tab.js
index c26c27c..dc0bc43 100644
--- a/chrome/content/tab/tab.js
+++ b/chrome/content/tab/tab.js
@@ -995,6 +995,15 @@ var gTMPprefObserver = {
                            selector + '.tab-lock-icon {' +
                            '-moz-margin-start: %S; -moz-margin-end: %S;}'.replace("%S", marginStart).replace("%S", marginEnd);
     this.insertRule(iconRule);
+
+    /** at the moment we move the button over the title - see setCloseButtonMargin
+    // move left button that show on hover closer to the tab icon
+    iconRule = '.tabbrowser-tabs[closebuttons-hover="notactivetab"][closebuttons-side="left"] > .tabbrowser-tab:not([pinned]):not([faviconized="true"]):not([selected="true"]):not([isPermaTab="true"]):not([protected])[showbutton=on] .tab-icon,' +
+               '.tabbrowser-tabs[closebuttons-hover="alltabs"][closebuttons-side="left"] > .tabbrowser-tab:not([pinned]):not([faviconized="true"]):not([isPermaTab="true"]):not([protected])[showbutton=on] .tab-icon {' +
+               '-moz-margin-end: %Spx;}'.replace("%S", - parseInt(marginEnd)/2);
+    this.insertRule(iconRule);
+    */
+
     icon.setAttribute("pinned", true);
     let _marginStart = style.getPropertyValue(sMarginStart);
     let _marginEnd = style.getPropertyValue(sMarginEnd);
@@ -1052,14 +1061,24 @@ var gTMPprefObserver = {
                     '-moz-margin-end: %PX !important;}'.replace("%PX", marginStart);
       this.insertRule(newRule);
     }
-    // set right margin to text stack when close button is not right to it
+
+    // move left button that show on hover over tab title
+    icon.style.setProperty("display", "-moz-box", "important");
+    let iconMargin = '.tabbrowser-tabs[closebuttons-hover="notactivetab"][closebuttons-side="left"] > .tabbrowser-tab:not([pinned]):not([faviconized="true"]):not([selected="true"]):not([isPermaTab="true"]):not([protected]) .tab-close-button[button_side="left"],' +
+                     '.tabbrowser-tabs[closebuttons-hover="alltabs"][closebuttons-side="left"] > .tabbrowser-tab:not([pinned]):not([faviconized="true"]):not([isPermaTab="true"]):not([protected]) .tab-close-button[button_side="left"] {' +
+                     '-moz-margin-start: 0px !important;' +
+                     '-moz-margin-end: %Spx !important;}'.replace("%S", - icon.getBoundingClientRect().width);
+    icon.style.removeProperty("display");
+    this.insertRule(iconMargin);
+
+    // set right margin to tab-label when close button is not right to it
     // on default theme the margin is zero, so we set the end margin to be the same as the start margin
     let textMarginEnd = parseInt(marginEnd) ? marginEnd : this._marginStart;
     delete this._marginStart;
-    let iconRule = '.tabbrowser-tabs%favhideclose%[closebuttons="noclose"] > .tabbrowser-tab%faviconized%:not([pinned]) .tab-text-stack,' +
-                            '.tabbrowser-tabs%favhideclose%[closebuttons-side="left"] > .tabbrowser-tab%faviconized%:not([pinned]) .tab-text-stack,' +
-                            '.tabbrowser-tabs%favhideclose%[closebuttons="activetab"]:not([closebuttons-hover="notactivetab"])[closebuttons-side="right"] > .tabbrowser-tab%faviconized%:not([pinned]):not([selected="true"]) .tab-text-stack,' +
-                            '.tabbrowser-tab%faviconized1%[protected]:not([pinned]) .tab-text-stack {' +
+    let iconRule = '.tabbrowser-tabs%favhideclose%[closebuttons="noclose"] > .tabbrowser-tab%faviconized%:not([pinned]) .tab-label[tabmix="true"],' +
+                            '.tabbrowser-tabs%favhideclose%[closebuttons-side="left"] > .tabbrowser-tab%faviconized%:not([pinned]) .tab-label[tabmix="true"],' +
+                            '.tabbrowser-tabs%favhideclose%[closebuttons="activetab"]:not([closebuttons-hover="notactivetab"])[closebuttons-side="right"] > .tabbrowser-tab%faviconized%:not([pinned]):not([selected="true"]) .tab-label[tabmix="true"],' +
+                            '.tabbrowser-tab%faviconized1%[protected]:not([pinned]) .tab-label[tabmix="true"] {' +
                             '-moz-margin-end: %PX !important;}'.replace("%PX", textMarginEnd);
     if ("faviconize" in window) {
       let newRule = iconRule.replace(/%favhideclose%/g, ':not([favhideclose="true"])').replace(/%faviconized%/g, '').replace(/%faviconized1%/g, ':not([faviconized="true"])');
diff --git a/chrome/content/tab/tabbrowser_4.xml b/chrome/content/tab/tabbrowser_4.xml
index 944eb17..7f268d3 100644
--- a/chrome/content/tab/tabbrowser_4.xml
+++ b/chrome/content/tab/tabbrowser_4.xml
@@ -28,52 +28,15 @@
     </handlers>
   </binding>
 
-  <binding id="tabmix-tab-text-stack-28" display="xul:stack">
+  <binding id="tabmix-tab-label">
     <content>
       <xul:label flex="1"
-                 anonid="tab-label"
-                 xbl:inherits="value=visibleLabel,crop,accesskey,fadein,pinned,selected"
+                 xbl:inherits="value=labelvalue,crop,accesskey,fadein,pinned,selected"
                  class="tab-text tab-label"
                  role="presentation"/>
-      <xul:hbox class="showhover-box">
-        <xul:toolbarbutton anonid="tmp-close-button"
-                 class="showhover tabs-closebutton close-icon tabmix-showhover"/>
-      </xul:hbox>
     </content>
   </binding>
 
-  <binding id="tabmix-tab-text-stack" display="xul:stack">
-    <content>
-      <xul:label flex="1"
-                 anonid="tab-label"
-                 xbl:inherits="value=label,crop,accesskey,fadein,pinned,selected"
-                 class="tab-text tab-label"
-                 role="presentation"/>
-      <xul:hbox class="showhover-box">
-        <xul:toolbarbutton anonid="tmp-close-button"
-                 class="showhover tabs-closebutton close-icon"/>
-      </xul:hbox>
-    </content>
-  </binding>
-
-  <binding id="tabmix-showhover-close-tab-button"
-           extends="chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton-image">
-    <handlers>
-      <handler event="click" button="0"><![CDATA[
-        var bindingParent = document.getBindingParent(this).parentNode.parentNode.parentNode;
-        var tabContainer = bindingParent.parentNode;
-        tabContainer.tabbrowser.removeTab(bindingParent, {animate: true, byMouse: true});
-        tabContainer._blockDblClick = true;
-      ]]></handler>
-      <handler event="dblclick" button="0" phase="capturing">
-        event.stopPropagation();
-      </handler>
-      <handler event="dragstart">
-        event.stopPropagation();
-      </handler>
-    </handlers>
-  </binding>
-
   <binding id="tabmix-tabbrowser-tab" display="xul:hbox"
             extends="chrome://tabmixplus/content/tab/tabbrowser_proxy.xml#tabmix-tabbrowser-tab-proxy">
     <content context="tabContextMenu" closetabtext="&closeTab.label;">
@@ -111,8 +74,11 @@
               <xul:image class="tab-lock-icon"/>
               <xul:image class="tab-reload-icon"/>
             </xul:stack>
-            <xul:stack class="tab-text-stack" flex="1"
-                       xbl:inherits="visibleLabel,label,crop,accesskey,fadein,pinned,selected"/>
+          <xul:label flex="1"
+                     anonid="tab-label" tabmix="true"
+                     xbl:inherits="value=visibleLabel,labelvalue=label,crop,accesskey,fadein,pinned,selected"
+                     class="tab-text tab-label"
+                     role="presentation"/>
           <xul:toolbarbutton anonid="tmp-close-button"
                              xbl:inherits="fadein,pinned,selected"
                              button_side="right"
@@ -245,6 +211,7 @@
 
         if (aTab.mIsHover && aTab.getAttribute("showbutton") != "on" &&
             !aTab.hasAttribute("dragged")) {
+          aTab.style.setProperty("width", aTab.getBoundingClientRect().width + "px", "important");
           aTab.setAttribute("showbutton", "on");
           aTab.parentNode.__showbuttonTab = aTab;
         }
@@ -286,6 +253,7 @@
 
         if (!aTab.mIsHover && aTab.hasAttribute("showbutton")) {
           aTab.removeAttribute("showbutton");
+          aTab.style.removeProperty("width");
           // we use this in Linux to prevent underflow
           // that trigger by hidding the close button
           aTab.setAttribute("showbutton_removed", true);
diff --git a/chrome/content/tabmix.js b/chrome/content/tabmix.js
index 10c9dde..a2d663f 100644
--- a/chrome/content/tabmix.js
+++ b/chrome/content/tabmix.js
@@ -341,10 +341,11 @@ var TMP_eventListener = {
   },
 
   onContentLoaded: function TMP_EL_onContentLoaded() {
-    let newRule = '.tabbrowser-tab > .tab-stack > .tab-content > .tab-text-stack {' +
-      '-moz-binding: url("chrome://tabmixplus/content/tab/tabbrowser_4.xml#tabmix-tab-text-stack#VERSION") !important;}'
-      .replace("#VERSION", Tabmix.isVersion(280) ? "-28" : "");
-    gTMPprefObserver.insertRule(newRule);
+    if (!Tabmix.isVersion(280)) {
+      let newRule = '.tabbrowser-tab > .tab-stack > .tab-content > .tab-label[tabmix="true"] {' +
+        '-moz-binding: url("chrome://tabmixplus/content/tab/tabbrowser_4.xml#tabmix-tab-label") !important;}'
+      gTMPprefObserver.insertRule(newRule);
+    }
 
     Tabmix.isFirstWindow = Tabmix.numberOfWindows() == 1;
     TMP_SessionStore.setAfterSessionRestored();
@@ -920,6 +921,10 @@ var TMP_eventListener = {
     TMP_LastTab.OnSelect();
     TabmixSessionManager.tabSelected(true);
 
+    if (tab.hasAttribute("showbutton") &&
+        tabBar.getAttribute("closebuttons") == "activetab")
+      tab.style.removeProperty("width");
+
     // tabBar.updateCurrentBrowser call tabBar._setPositionalAttributes after
     // TabSelect event. we call updateBeforeAndAfter after a timeout so
     // _setPositionalAttributes not override our attribute
@@ -1096,8 +1101,6 @@ var TMP_eventListener = {
         node.setAttribute(aAtt, aValue);
     }
 
-    updateAttrib("class", "tab-text-container", "class", "tab-text-stack");
-
     let button = document.getAnonymousElementByAttribute(aTab, "button_side", "left");
     if (button)
       return;
diff --git a/chrome/skin/app_version/4.0/general.css b/chrome/skin/app_version/4.0/general.css
index 8441f3c..f786822 100644
--- a/chrome/skin/app_version/4.0/general.css
+++ b/chrome/skin/app_version/4.0/general.css
@@ -24,12 +24,6 @@
   width: 16px;
 }
 
-.tabmix-showhover {
- -moz-appearance: none;
-  height: 16px;
-  border: none;
-}
-
 /* :::: for miniT drag indicator :::: */
 .tab-drag-indicator-left, .tab-drag-indicator-right {
   visibility: hidden;
diff --git a/chrome/skin/app_version/4.0/linux/browser.css b/chrome/skin/app_version/4.0/linux/browser.css
index 3b59fc8..d176add 100644
--- a/chrome/skin/app_version/4.0/linux/browser.css
+++ b/chrome/skin/app_version/4.0/linux/browser.css
@@ -13,12 +13,6 @@
   background-image: none !important;
 }
 
-/***  For .tabs-closebutton .showhover ***/
-.tabbrowser-tabs .tabbrowser-tab .tabs-closebutton {
-  margin-top: -5px !important; /* did not work without !important */
-  margin-bottom: -4px !important;
-}
-
 #TabsToolbar > .tabs-closebutton:not([class~="tabmix"]) {
   list-style-image: url("moz-icon://stock/gtk-close?size=menu");
 }
diff --git a/chrome/skin/app_version/4.0/mac/browser.css b/chrome/skin/app_version/4.0/mac/browser.css
index a9cf509..a1c9f83 100644
--- a/chrome/skin/app_version/4.0/mac/browser.css
+++ b/chrome/skin/app_version/4.0/mac/browser.css
@@ -43,10 +43,6 @@
   position: static !important;
 }
 
-.tabbrowser-tabs[classic="v4Mac"] > .tabbrowser-tab .tabs-closebutton {
-  margin: 0px;
-}
-
 #TabsToolbar[multibar]:not(:-moz-lwtheme) {
   background-repeat: repeat;
   -moz-appearance: toolbar;
@@ -72,7 +68,7 @@
 .tabbrowser-tabs > .tabbrowser-tab:not(:hover) > * > * > .tab-icon > .tab-protect-icon:not([selected="true"]),
 .tabbrowser-tabs > .tabbrowser-tab:not(:hover) > * > * > .tab-icon > .tab-lock-icon:not([selected="true"]),
 .tabbrowser-tabs > .tabbrowser-tab:not(:hover) > * > * > .tab-icon > .tab-reload-icon:not([selected="true"]),
-.tabbrowser-tabs > .tabbrowser-tab:not(:hover) > * > * > .tab-text-stack > .tab-label:not([selected="true"]):-moz-lwtheme {
+.tabbrowser-tabs > .tabbrowser-tab:not(:hover) > * > * > .tab-label:not([selected="true"]):-moz-lwtheme {
   opacity: .8;
 }
 
diff --git a/chrome/skin/app_version/4.0/win/browser.css b/chrome/skin/app_version/4.0/win/browser.css
index 2cf6536..c6dd555 100644
--- a/chrome/skin/app_version/4.0/win/browser.css
+++ b/chrome/skin/app_version/4.0/win/browser.css
@@ -21,11 +21,6 @@
   background-image: none !important;
 }
 
-/*  For .tabs-closebutton .showhover */
-.tabbrowser-tabs > .tabbrowser-tab .tabs-closebutton {
-  margin: -3px 0px -3px 0px;
-}
-
 /*  new tab button after last tab on firefox 4.0  aero */
 #TabsToolbar[tabmix_aero] .tabbrowser-tabs[multibar=true] .tabbrowser-arrowscrollbox > toolbarbutton {
   vertical-align: bottom;
diff --git a/chrome/skin/tab.css b/chrome/skin/tab.css
index 6bd2538..384ac55 100644
--- a/chrome/skin/tab.css
+++ b/chrome/skin/tab.css
@@ -5,18 +5,6 @@
 
 **/
 
-/* :::: For .tabs-closebutton .showhover :::: */
-.showhover-box > .tabs-closebutton,
-.showhover-box > .tabs-closebutton > .toolbarbutton-icon {
-  padding: 0px !important;
-}
-
-/* Find a way to eliminate the jump of the tab when tab button display on the tab */
-.tabbrowser-tabs:not([tabmix_skin]):not([Mac]):not([classic=v3]):not([classic40]):not([classic=v3Linux]) .tabbrowser-tab .tabs-closebutton {
-  margin-top: -1px;
-  margin-bottom: -3px;
-}
-
 .tabbrowser-tabs[flowing=multibar][multibar] .tabs-frame .tabs-right {
   display: none !important;
 }
@@ -205,7 +193,6 @@ toolbar[mode="full"] .tabmix-button[type="menu"] {
  *                                non default theme
 */
 /* Chromifox Extreme */
-.tabbrowser-tabs[tabmix_skin="cfxec"]  > .tabbrowser-tab .tabs-closebutton,
 .tabbrowser-tabs[tabmix_skin="cfxec"]  > .tabbrowser-tab .tab-close-button {
   display: none !important;
 }
@@ -215,10 +202,6 @@ toolbar[mode="full"] .tabmix-button[type="menu"] {
   height: 24px;
 }
 
-.tabbrowser-tabs[tabmix_skin="Vfox3"] > .tabbrowser-tab .tabs-closebutton {
-  margin: -2px 2px -1px 0px;
-}
-
 /* Phoenity Aura -  Multi-row tabbar for Phoenity Aura theme */
 .tabbrowser-tabs[tabmix_skin="CrystalFox"][multibar] > .tabbrowser-tab,
 .tabbrowser-tabs[tabmix_skin="phoenityaura"][multibar] > .tabbrowser-tab {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/tabmixplus.git



More information about the Pkg-mozext-commits mailing list