Bug 1062839 - Fix the direction of the camera/screenshare notification anchor icons on the chat window toolbar in RTL mode (should be the same as LTR). r=mikedeboer

This commit is contained in:
Mark Banner 2015-09-02 11:38:28 +01:00
parent 980ffb55da
commit 4c05ab36c4

View File

@ -106,11 +106,20 @@
padding-left: 7px;
}
/* This changes the direction of the main notification box on the url bar. */
#notification-popup-box:-moz-locale-dir(rtl),
/* This adds a second flip for the notification anchors, as they don't switch direction
for RTL mode. */
.notification-anchor-icon:-moz-locale-dir(rtl) {
transform: scaleX(-1);
}
/* For the anchor icons in the chat window, we don't have the notification popup box,
so we need to cancel the RTL transform. */
.notification-anchor-icon.chat-toolbarbutton:-moz-locale-dir(rtl) {
transform: none;
}
.notification-anchor-icon {
%ifdef MOZ_WIDGET_GTK
list-style-image: url(moz-icon://stock/gtk-dialog-info?size=16);