зеркало из https://github.com/mozilla/gecko-dev.git
Bug 580220 - Simplify selectors involving the tabsontop attribute. r=gavin
This commit is contained in:
Родитель
ab682f23e4
Коммит
9c224166f3
|
@ -80,7 +80,7 @@ toolbar[printpreview="true"] {
|
|||
-moz-box-ordinal-group: 100;
|
||||
}
|
||||
|
||||
#navigator-toolbox[tabsontop="true"] > #TabsToolbar {
|
||||
#TabsToolbar[tabsontop="true"] {
|
||||
-moz-box-ordinal-group: 10;
|
||||
}
|
||||
|
||||
|
|
|
@ -39,9 +39,9 @@
|
|||
}
|
||||
|
||||
#toolbar-menubar:not(:-moz-lwtheme),
|
||||
#navigator-toolbox[tabsontop="true"] > #TabsToolbar:not(:-moz-lwtheme),
|
||||
#navigator-toolbox:not([tabsontop="true"]) > #nav-bar:not(:-moz-lwtheme),
|
||||
#navigator-toolbox:not([tabsontop="true"]) > #nav-bar + #customToolbars + #PersonalToolbar[collapsed="true"] + #TabsToolbar:last-child:not(:-moz-lwtheme) {
|
||||
#TabsToolbar[tabsontop="true"]:not(:-moz-lwtheme),
|
||||
#navigator-toolbox[tabsontop="false"] > #nav-bar:not(:-moz-lwtheme),
|
||||
#nav-bar + #customToolbars + #PersonalToolbar[collapsed="true"] + #TabsToolbar[tabsontop="false"]:last-child:not(:-moz-lwtheme) {
|
||||
background: transparent !important;
|
||||
color: black;
|
||||
text-shadow: 0 0 .7em white, 0 0 .7em white, 0 1px 0 rgba(255,255,255,.4);
|
||||
|
@ -54,9 +54,9 @@
|
|||
|
||||
/* Make the window draggable by glassed toolbars (bug 555081) */
|
||||
#toolbar-menubar:not([autohide="true"]),
|
||||
#navigator-toolbox[tabsontop="true"] > #TabsToolbar,
|
||||
#navigator-toolbox:not([tabsontop="true"]) > #nav-bar,
|
||||
#navigator-toolbox:not([tabsontop="true"]) > #nav-bar + #customToolbars + #PersonalToolbar[collapsed="true"] + #TabsToolbar:last-child,
|
||||
#TabsToolbar[tabsontop="true"],
|
||||
#navigator-toolbox[tabsontop="false"] > #nav-bar,
|
||||
#nav-bar + #customToolbars + #PersonalToolbar[collapsed="true"] + #TabsToolbar[tabsontop="false"]:last-child,
|
||||
#navigator-toolbox > toolbar:not(#toolbar-menubar):-moz-lwtheme {
|
||||
-moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar-drag");
|
||||
}
|
||||
|
|
|
@ -84,7 +84,7 @@
|
|||
background-image: -moz-linear-gradient(@toolbarHighlight@, rgba(255,255,255,0));
|
||||
}
|
||||
|
||||
#navigator-toolbox:not([tabsontop="true"]) > #toolbar-menubar:not(:-moz-lwtheme) {
|
||||
#navigator-toolbox[tabsontop="false"] > #toolbar-menubar:not(:-moz-lwtheme) {
|
||||
background-image: -moz-linear-gradient(@toolbarHighlight@, @toolbarHighlight@);
|
||||
}
|
||||
|
||||
|
@ -1090,7 +1090,7 @@ richlistitem[type="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-i
|
|||
}
|
||||
|
||||
#TabsToolbar:not(:-moz-lwtheme),
|
||||
#navigator-toolbox:not([tabsontop="true"]) > #TabsToolbar {
|
||||
#TabsToolbar[tabsontop="false"] {
|
||||
background-image: -moz-linear-gradient(transparent, transparent 10%,
|
||||
rgba(0,0,0,.03) 50%, rgba(0,0,0,.1) 90%, rgba(0,0,0,.2));
|
||||
}
|
||||
|
@ -1153,7 +1153,7 @@ richlistitem[type="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-i
|
|||
color: black;
|
||||
}
|
||||
|
||||
#navigator-toolbox[tabsontop="true"] > #TabsToolbar > #tabbrowser-tabs > .tabbrowser-tab[selected="true"]:not(:-moz-lwtheme) {
|
||||
#tabbrowser-tabs[tabsontop="true"] > .tabbrowser-tab[selected="true"]:not(:-moz-lwtheme) {
|
||||
background-image: -moz-radial-gradient(center top, white, rgba(255,255,255,0) 60%),
|
||||
-moz-linear-gradient(left, transparent, transparent 1px,
|
||||
@toolbarHighlight@ 1px, @toolbarHighlight@),
|
||||
|
|
Загрузка…
Ссылка в новой задаче