mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 507369 - optimize some rtl style rules. r=rflint
This commit is contained in:
parent
c0a3613e30
commit
e83d976f70
@ -655,7 +655,7 @@ toolbar[iconsize="small"] #back-button[disabled="true"] {
|
||||
toolbar[iconsize="small"] #back-button:-moz-locale-dir(rtl) {
|
||||
list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=menu");
|
||||
}
|
||||
menupopup:-moz-locale-dir(rtl) > .unified-nav-back[_moz-menuactive] {
|
||||
.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
|
||||
list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=menu") !important;
|
||||
}
|
||||
toolbar[iconsize="small"] #back-button[disabled="true"]:-moz-locale-dir(rtl) {
|
||||
@ -675,7 +675,7 @@ toolbar[iconsize="small"] #forward-button[disabled="true"] {
|
||||
toolbar[iconsize="small"] #forward-button:-moz-locale-dir(rtl) {
|
||||
list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=menu");
|
||||
}
|
||||
menupopup:-moz-locale-dir(rtl) > .unified-nav-forward[_moz-menuactive] {
|
||||
.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
|
||||
list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=menu") !important;
|
||||
}
|
||||
toolbar[iconsize="small"] #forward-button[disabled="true"]:-moz-locale-dir(rtl) {
|
||||
|
@ -472,13 +472,13 @@ toolbar[mode="icons"] #back-forward-dropmarker > dropmarker {
|
||||
-moz-image-region: rect(66px, 514px, 99px, 504px);
|
||||
}
|
||||
|
||||
.unified-nav-back[_moz-menuactive],
|
||||
menupopup:-moz-locale-dir(rtl) > .unified-nav-forward[_moz-menuactive] {
|
||||
.unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
|
||||
.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
|
||||
list-style-image: url("chrome://browser/skin/menu-back.png") !important;
|
||||
}
|
||||
|
||||
.unified-nav-forward[_moz-menuactive],
|
||||
menupopup:-moz-locale-dir(rtl) > .unified-nav-back[_moz-menuactive] {
|
||||
.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
|
||||
.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
|
||||
list-style-image: url("chrome://browser/skin/menu-forward.png") !important;
|
||||
}
|
||||
|
||||
|
@ -746,8 +746,8 @@ toolbar[iconsize="small"] #back-button:-moz-locale-dir(rtl)[disabled="true"] {
|
||||
toolbar[iconsize="small"] #back-button:-moz-locale-dir(rtl):not([disabled="true"]):hover:active {
|
||||
-moz-image-region: rect(64px 32px 80px 16px);
|
||||
}
|
||||
.unified-nav-back[_moz-menuactive],
|
||||
menupopup:-moz-locale-dir(rtl) > .unified-nav-forward[_moz-menuactive] {
|
||||
.unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
|
||||
.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
|
||||
list-style-image: url("chrome://browser/skin/menu-back.png") !important;
|
||||
}
|
||||
|
||||
@ -783,8 +783,8 @@ toolbar[iconsize="small"] #forward-button:-moz-locale-dir(rtl)[disabled="true"]
|
||||
toolbar[iconsize="small"] #forward-button:-moz-locale-dir(rtl):not([disabled="true"]):hover:active {
|
||||
-moz-image-region: rect(64px 16px 80px 0px);
|
||||
}
|
||||
.unified-nav-forward[_moz-menuactive],
|
||||
menupopup:-moz-locale-dir(rtl) > .unified-nav-back[_moz-menuactive] {
|
||||
.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
|
||||
.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
|
||||
list-style-image: url("chrome://browser/skin/menu-forward.png") !important;
|
||||
}
|
||||
|
||||
@ -1081,7 +1081,7 @@ toolbar[iconsize="small"] #fullscreen-button:hover:active {
|
||||
|
||||
/* Keep the URL bar LTR */
|
||||
|
||||
#urlbar .autocomplete-textbox-container {
|
||||
#urlbar > .autocomplete-textbox-container {
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
@ -1490,23 +1490,21 @@ tabpanels {
|
||||
-moz-image-region: rect(0, 45px, 17px, 30px);
|
||||
}
|
||||
|
||||
.tabbrowser-arrowscrollbox > .scrollbutton-up {
|
||||
.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(ltr) {
|
||||
border-left-style: none;
|
||||
list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-left.png");
|
||||
-moz-border-radius-topright: 2px;
|
||||
list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-left.png");
|
||||
}
|
||||
|
||||
.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl) {
|
||||
border-left-style: solid;
|
||||
border-right-style: none;
|
||||
-moz-border-radius-topleft: 2px;
|
||||
-moz-border-radius-topright: 0px;
|
||||
list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-right.png");
|
||||
}
|
||||
|
||||
.tabbrowser-arrowscrollbox > .scrollbutton-down,
|
||||
.tabs-container > .tabs-newtab-button,
|
||||
.tabs-alltabs-button {
|
||||
.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr),
|
||||
.tabs-container > .tabs-newtab-button:-moz-locale-dir(ltr),
|
||||
.tabs-alltabs-button:-moz-locale-dir(ltr) {
|
||||
border-right-style: none;
|
||||
-moz-border-radius-topleft: 2px;
|
||||
}
|
||||
@ -1517,10 +1515,8 @@ tabpanels {
|
||||
|
||||
.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(rtl),
|
||||
.tabs-container > .tabs-newtab-button:-moz-locale-dir(rtl),
|
||||
.tabs-container > stack:-moz-locale-dir(rtl) > .tabs-alltabs-button {
|
||||
.tabs-alltabs-button:-moz-locale-dir(rtl) {
|
||||
border-left-style: none;
|
||||
border-right-style: solid;
|
||||
-moz-border-radius-topleft: 0px;
|
||||
-moz-border-radius-topright: 2px;
|
||||
}
|
||||
|
||||
@ -1580,7 +1576,7 @@ tabpanels {
|
||||
opacity: 0.0;
|
||||
}
|
||||
|
||||
stack:-moz-locale-dir(rtl) > hbox > .tabs-alltabs-box-animate {
|
||||
.tabs-alltabs-box-animate:-moz-locale-dir(rtl) {
|
||||
background-image: url("chrome://browser/skin/tabbrowser/alltabs-box-overflow-start-bkgnd-animate.png");
|
||||
}
|
||||
|
||||
|
@ -302,13 +302,13 @@ treecol[dragging="true"] {
|
||||
color: ThreeDHighlight !important;
|
||||
}
|
||||
|
||||
tree:-moz-locale-dir(ltr) treecol[insertafter="true"],
|
||||
tree:-moz-locale-dir(rtl) treecol[insertbefore="true"] {
|
||||
treecol[insertafter="true"]:-moz-locale-dir(ltr),
|
||||
treecol[insertbefore="true"]:-moz-locale-dir(rtl) {
|
||||
-moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
|
||||
}
|
||||
|
||||
tree:-moz-locale-dir(rtl) treecol[insertafter="true"],
|
||||
tree:-moz-locale-dir(ltr) treecol[insertbefore="true"] {
|
||||
treecol[insertafter="true"]:-moz-locale-dir(rtl),
|
||||
treecol[insertbefore="true"]:-moz-locale-dir(ltr) {
|
||||
-moz-border-left-colors: ThreeDDarkShadow ThreeDShadow;
|
||||
}
|
||||
|
||||
|
@ -266,13 +266,13 @@ treecol[dragging="true"] {
|
||||
color: ThreeDHighlight !important;
|
||||
}
|
||||
|
||||
tree:-moz-locale-dir(ltr) treecol[insertafter="true"],
|
||||
tree:-moz-locale-dir(rtl) treecol[insertbefore="true"] {
|
||||
treecol[insertafter="true"]:-moz-locale-dir(ltr),
|
||||
treecol[insertbefore="true"]:-moz-locale-dir(rtl) {
|
||||
-moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
|
||||
}
|
||||
|
||||
tree:-moz-locale-dir(rtl) treecol[insertafter="true"],
|
||||
tree:-moz-locale-dir(ltr) treecol[insertbefore="true"] {
|
||||
treecol[insertafter="true"]:-moz-locale-dir(rtl),
|
||||
treecol[insertbefore="true"]:-moz-locale-dir(ltr) {
|
||||
-moz-border-left-colors: ThreeDDarkShadow ThreeDShadow;
|
||||
}
|
||||
|
||||
|
@ -28,18 +28,18 @@ treechildren::-moz-tree-twisty(hover, open) {
|
||||
list-style-image: url("chrome://global/skin/tree/twisty-open-hover.png");
|
||||
}
|
||||
|
||||
tree:-moz-locale-dir(rtl) > treechildren::-moz-tree-twisty {
|
||||
treechildren:-moz-locale-dir(rtl)::-moz-tree-twisty {
|
||||
list-style-image: url("chrome://global/skin/tree/twisty-clsd-rtl.png");
|
||||
}
|
||||
|
||||
tree:-moz-locale-dir(rtl) > treechildren::-moz-tree-twisty(open) {
|
||||
treechildren:-moz-locale-dir(rtl)::-moz-tree-twisty(open) {
|
||||
list-style-image: url("chrome://global/skin/tree/twisty-open-rtl.png");
|
||||
}
|
||||
|
||||
tree:-moz-locale-dir(rtl) > treechildren::-moz-tree-twisty(hover) {
|
||||
treechildren:-moz-locale-dir(rtl)::-moz-tree-twisty(hover) {
|
||||
list-style-image: url("chrome://global/skin/tree/twisty-clsd-hover-rtl.png");
|
||||
}
|
||||
|
||||
tree:-moz-locale-dir(rtl) > treechildren::-moz-tree-twisty(hover, open) {
|
||||
treechildren:-moz-locale-dir(rtl)::-moz-tree-twisty(hover, open) {
|
||||
list-style-image: url("chrome://global/skin/tree/twisty-open-hover-rtl.png");
|
||||
}
|
||||
|
@ -296,13 +296,13 @@ treecol[dragging="true"] {
|
||||
color: ThreeDHighlight !important;
|
||||
}
|
||||
|
||||
tree:-moz-locale-dir(ltr) treecol[insertafter="true"],
|
||||
tree:-moz-locale-dir(rtl) treecol[insertbefore="true"] {
|
||||
treecol[insertafter="true"]:-moz-locale-dir(ltr),
|
||||
treecol[insertbefore="true"]:-moz-locale-dir(rtl) {
|
||||
-moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
|
||||
}
|
||||
|
||||
tree:-moz-locale-dir(rtl) treecol[insertafter="true"],
|
||||
tree:-moz-locale-dir(ltr) treecol[insertbefore="true"] {
|
||||
treecol[insertafter="true"]:-moz-locale-dir(rtl),
|
||||
treecol[insertbefore="true"]:-moz-locale-dir(ltr) {
|
||||
-moz-border-left-colors: ThreeDDarkShadow ThreeDShadow;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user