[Pkg-mozext-commits] [tabmixplus] 32/47: Override rule that set list-style-image for toolbarbutton-1 to the close tab button
David Prévot
taffit at moszumanska.debian.org
Fri Sep 26 20:57:02 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch upstream
in repository tabmixplus.
commit 26026302b402c79d01eb0cd87dbd86d55b2e5e83
Author: onemen <tabmix.onemen at gmail.com>
Date: Sun Sep 21 16:39:10 2014 +0300
Override rule that set list-style-image for toolbarbutton-1 to the close tab button
---
chrome/skin/app_version/4.0/linux/browser.css | 4 ++++
chrome/skin/app_version/4.0/mac/browser.css | 4 ++++
chrome/skin/app_version/4.0/win/browser.css | 1 +
3 files changed, 9 insertions(+)
diff --git a/chrome/skin/app_version/4.0/linux/browser.css b/chrome/skin/app_version/4.0/linux/browser.css
index 7a415b3..3b59fc8 100644
--- a/chrome/skin/app_version/4.0/linux/browser.css
+++ b/chrome/skin/app_version/4.0/linux/browser.css
@@ -19,6 +19,10 @@
margin-bottom: -4px !important;
}
+#TabsToolbar > .tabs-closebutton:not([class~="tabmix"]) {
+ list-style-image: url("moz-icon://stock/gtk-close?size=menu");
+}
+
/*** Tabstrip close button Firefox 31+ ***/
.tabs-closebutton.tabmix:not(:hover) {
background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 64, 16, 48);
diff --git a/chrome/skin/app_version/4.0/mac/browser.css b/chrome/skin/app_version/4.0/mac/browser.css
index 578ba79..8067ed0 100644
--- a/chrome/skin/app_version/4.0/mac/browser.css
+++ b/chrome/skin/app_version/4.0/mac/browser.css
@@ -16,6 +16,10 @@
*/
/* override some rules for toolbarbutton-1 and tabs-closebutton*/
+#TabsToolbar > .tabs-closebutton {
+ list-style-image: url("chrome://global/skin/icons/close.png");
+}
+
#TabsToolbar .tabs-closebutton:not([type="menu-button"]):not([disabled=true]):not([open]):hover {
background-image: none !important;
}
diff --git a/chrome/skin/app_version/4.0/win/browser.css b/chrome/skin/app_version/4.0/win/browser.css
index 5830433..2cf6536 100644
--- a/chrome/skin/app_version/4.0/win/browser.css
+++ b/chrome/skin/app_version/4.0/win/browser.css
@@ -17,6 +17,7 @@
/* override some rules for toolbarbutton-1 and tabs-closebutton*/
#TabsToolbar > .tabs-closebutton {
+ list-style-image: url("chrome://global/skin/icons/close.png");
background-image: none !important;
}
--
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