style declarations shared with Firefox 3.6 should not contain :-moz-any() selector

This commit is contained in:
Piro / SHIMODA Hiroshi 2011-02-19 15:58:20 +09:00
parent feae4c6abf
commit 831060564a
4 changed files with 20 additions and 41 deletions

View File

@ -13,51 +13,21 @@ radio[pane] {
radio[pane="prefpane-appearance"] {
-moz-image-region: rect(0px, 32px, 32px, 0px);
}
radio[pane="prefpane-appearance"]:hover,
radio[pane="prefpane-appearance"][selected="true"] {
-moz-image-region: rect(32px, 32px, 64px, 0px);
}
radio[pane="prefpane-style"] {
-moz-image-region: rect(0px, 32px, 32px, 0px);
}
radio[pane="prefpane-style"]:hover,
radio[pane="prefpane-style"][selected="true"] {
-moz-image-region: rect(32px, 32px, 64px, 0px);
}
radio[pane="prefpane-menu"] {
-moz-image-region: rect(0px, 32px, 32px, 0px);
}
radio[pane="prefpane-menu"]:hover,
radio[pane="prefpane-menu"][selected="true"] {
-moz-image-region: rect(32px, 32px, 64px, 0px);
}
radio[pane="prefpane-tab"] {
-moz-image-region: rect(0px, 64px, 32px, 32px);
}
radio[pane="prefpane-tab"]:hover,
radio[pane="prefpane-tab"][selected="true"] {
-moz-image-region: rect(32px, 64px, 64px, 32px);
}
radio[pane="prefpane-autohide"] {
-moz-image-region: rect(0px, 64px, 32px, 32px);
}
radio[pane="prefpane-autohide"]:hover,
radio[pane="prefpane-autohide"][selected="true"] {
-moz-image-region: rect(32px, 64px, 64px, 32px);
}
radio[pane="prefpane-advanced"] {
-moz-image-region: rect(0px, 224px, 32px, 192px);
}
radio[pane="prefpane-advanced"]:hover,
radio[pane="prefpane-advanced"][selected="true"] {
-moz-image-region: rect(32px, 224px, 64px, 192px);
}
radio[pane="prefpane-tree"] {
list-style-image: url("chrome://treestyletab/content/res/icon.png");
}

View File

@ -1 +1,2 @@
@import url("chrome://treestyletab/skin/config-base.css");
@import url("chrome://treestyletab/skin/config-legacy.css");

View File

@ -67,8 +67,9 @@ tabbrowser[treestyletab-style~="sidebar"][treestyletab-mode="vertical"]
border-top: 1px solid transparent !important;
}
.tabbrowser-tabs[treestyletab-style~="sidebar"][treestyletab-mode="vertical"]
:-moz-any(.tabbrowser-tab:not([pinned]),
.tabbrowser-tab[pinned]:not([titlechanged])) {
.tabbrowser-tab:not([pinned]),
.tabbrowser-tabs[treestyletab-style~="sidebar"][treestyletab-mode="vertical"]
.tabbrowser-tab[pinned]:not([titlechanged]) {
background: transparent !important;
}
.tabbrowser-tabs[treestyletab-style~="sidebar"][treestyletab-mode="vertical"]

View File

@ -80,9 +80,13 @@
-moz-box-align: stretch !important;
}
.tabbrowser-tabs[treestyletab-style~="square"]:not([treestyletab-tabbar-position="top"])
:-moz-any(.tabbrowser-tab:not([pinned]),
.tabbrowser-tab[pinned]:not([titlechanged]),
.tabbrowser-tab:not([pinned]):not([selected="true"]),
.tabbrowser-tab:not([pinned]),
.tabbrowser-tabs[treestyletab-style~="square"]:not([treestyletab-tabbar-position="top"])
.tabbrowser-tab:not([pinned]):not([selected="true"]) {
background: ThreeDFace !important;
}
.tabbrowser-tabs[treestyletab-style~="square"]:not([treestyletab-tabbar-position="top"])
:-moz-any(.tabbrowser-tab[pinned]:not([titlechanged]),
.tabbrowser-tab[pinned]:not([titlechanged]):not([selected="true"])),
:root[tabFx2Compatible-flags~="mac"]
.tabbrowser-tabs[treestyletab-style~="square"]:not([treestyletab-tabbar-position="top"])
@ -251,7 +255,8 @@
-moz-border-bottom-colors: transparent transparent !important;
}
.tabbrowser-tabs[treestyletab-style~="vertigo"]:not([treestyletab-tabbar-position="top"])
:-moz-any(.tabbrowser-tab:not([selected="true"]):not([pinned]),
.tabbrowser-tab:not([selected="true"]):not([pinned]),
.tabbrowser-tabs[treestyletab-style~="vertigo"]:not([treestyletab-tabbar-position="top"])
.tabbrowser-tab:not([selected="true"])[pinned]:not([titlechanged])) {
background: transparent !important;
}
@ -261,8 +266,9 @@
-moz-border-bottom-colors: #e0e8f6 #e0e8f6 !important;
}
.tabbrowser-tabs[treestyletab-style~="vertigo"]:not([treestyletab-tabbar-position="top"])
:-moz-any(.tabbrowser-tab:not([selected="true"]):not([pinned]),
.tabbrowser-tab:not([selected="true"])[pinned]:not([titlechanged])):hover {
.tabbrowser-tab:not([selected="true"]):not([pinned]):hover,
.tabbrowser-tabs[treestyletab-style~="vertigo"]:not([treestyletab-tabbar-position="top"])
.tabbrowser-tab:not([selected="true"])[pinned]:not([titlechanged]):hover {
background-color: #e0e8f6 !important;
}
.tabbrowser-tabs[treestyletab-style~="vertigo"]:not([treestyletab-tabbar-position="top"])
@ -328,8 +334,9 @@
-moz-border-left-colors: #e0e8f6 transparent !important;
}
.tabbrowser-tabs[treestyletab-style~="square"][treestyletab-style~="color"]:not([treestyletab-tabbar-position="top"])
:-moz-any(.tabbrowser-tab:not([selected="true"]):not([pinned]),
.tabbrowser-tab:not([selected="true"])[pinned]:not([titlechanged])):hover {
.tabbrowser-tab:not([selected="true"]):not([pinned]):hover,
.tabbrowser-tabs[treestyletab-style~="square"][treestyletab-style~="color"]:not([treestyletab-tabbar-position="top"])
.tabbrowser-tab:not([selected="true"])[pinned]:not([titlechanged]):hover {
background-color: #e0e8f6 !important;
}
.tabbrowser-tabs[treestyletab-style~="square"][treestyletab-style~="color"][treestyletab-mode="vertical"][treestyletab-firsttab-border="true"]