Bug 891897 - Make the identity box text padding respect the UI text direction instead of its own text direction, r?gijs draft
authorRakhi Sharma <Rakhish1994@gmail.com>
Fri, 11 Mar 2016 01:29:25 +0530
changeset 339222 c21b61c40139b8c243b521f89a07266418e1efbc
parent 339168 a78c54d83d3ed44a0a9780128794abfc14c6903c
child 339225 0650d36649e5d3c54bbe23e3271677b2e8d1d37c
push id12668
push userbmo:Rakhish1994@gmail.com
push dateThu, 10 Mar 2016 20:00:05 +0000
reviewersgijs
bugs891897
milestone47.0a1
Bug 891897 - Make the identity box text padding respect the UI text direction instead of its own text direction, r?gijs MozReview-Commit-ID: 6nco9dLRcwv
browser/themes/shared/identity-block/identity-block.inc.css
--- a/browser/themes/shared/identity-block/identity-block.inc.css
+++ b/browser/themes/shared/identity-block/identity-block.inc.css
@@ -50,21 +50,26 @@
 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
   color: var(--identity-box-verified-color);
 }
 
 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI {
   color: var(--identity-box-chrome-color);
 }
 
-#identity-icon-labels {
+#identity-icon-labels:-moz-locale-dir(ltr) {
   padding-inline-start: 2px;
   padding-inline-end: 2px;
 }
 
+#identity-icon-labels:-moz-locale-dir(rtl){
+   padding-inline-start: 2px;
+  padding-inline-end: 2px;
+}
+
 #notification-popup-box:not([hidden]) + #identity-box {
   padding-inline-start: 10px;
   border-radius: 0;
 }
 
 @conditionalForwardWithUrlbar@ > #urlbar > #identity-box {
   border-radius: 0;
 }