Bug 1538016 - mirror 'send tab to device' icon in the account panel in RTL, r=florian, a=pascalc
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Fri, 22 Mar 2019 13:51:44 +0000
changeset 525850 329f98e8ad66162f5565e20ccf81493b74d4f26a
parent 525849 d03bf065608b3254ff3d6c7934e18f3b10ee77bc
child 525851 13d26dc811fe304c8c38bb4b6da79020467164b1
push id2032
push userffxbld-merge
push dateMon, 13 May 2019 09:36:57 +0000
treeherdermozilla-release@455c1065dcbe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersflorian, pascalc
bugs1538016
milestone67.0
Bug 1538016 - mirror 'send tab to device' icon in the account panel in RTL, r=florian, a=pascalc Differential Revision: https://phabricator.services.mozilla.com/D24501
browser/themes/shared/customizableui/panelUI.inc.css
browser/themes/shared/urlbar-searchbar.inc.css
--- a/browser/themes/shared/customizableui/panelUI.inc.css
+++ b/browser/themes/shared/customizableui/panelUI.inc.css
@@ -766,16 +766,24 @@ panelmultiview[mainViewId="PanelUI-fxa"]
 panelmultiview[mainViewId="PanelUI-fxa"] #PanelUI-remotetabs-syncnow {
   display: none;
 }
 
 #PanelUI-sendTabToDevice > .panel-subview-body:not([state]) > #PanelUI-sendTabToDevice-syncingDevices {
   display: none;
 }
 
+#PanelUI-fxa-menu-sendtab-button {
+  list-style-image: url("chrome://browser/skin/send-to-device.svg");
+}
+
+#PanelUI-fxa-menu-sendtab-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
+  transform: scaleX(-1);
+}
+
 .fxaChooseWhatToSyncDevices {
   height: 102px;
   width: 201px;
   list-style-image: url(chrome://browser/skin/fxa/choose-what-to-sync-devices.svg);
 }
 
 .fxaGraphicMail {
   height: 71px;
--- a/browser/themes/shared/urlbar-searchbar.inc.css
+++ b/browser/themes/shared/urlbar-searchbar.inc.css
@@ -175,17 +175,16 @@
   list-style-image: url("chrome://browser/skin/link.svg");
 }
 
 #pageAction-panel-emailLink,
 #pageAction-urlbar-emailLink {
   list-style-image: url("chrome://browser/skin/mail.svg");
 }
 
-#PanelUI-fxa-menu-sendtab-button,
 #pageAction-panel-sendToDevice,
 #pageAction-urlbar-sendToDevice {
   list-style-image: url("chrome://browser/skin/send-to-device.svg");
 }
 
 #pageAction-panel-pinTab:-moz-locale-dir(rtl) > .toolbarbutton-icon,
 #pageAction-urlbar-pinTab:-moz-locale-dir(rtl),
 #pageAction-panel-sendToDevice:-moz-locale-dir(rtl) > .toolbarbutton-icon,