Bug 1381008 - Dont enlarge identify box while inactive. r=dao
MozReview-Commit-ID: L0e1arGEylA
--- a/browser/themes/osx/browser.css
+++ b/browser/themes/osx/browser.css
@@ -631,16 +631,17 @@ toolbarpaletteitem[place="palette"] > #p
@conditionalForwardWithUrlbar@:-moz-locale-dir(rtl) {
-moz-box-direction: reverse;
}
%endif
%include ../shared/identity-block/identity-block.inc.css
+%ifndef MOZ_PHOTON_THEME
#identity-box {
padding-top: 2px;
padding-bottom: 2px;
}
#urlbar:not([focused="true"]) > #identity-box {
margin-top: -1px;
margin-bottom: -1px;
@@ -651,16 +652,17 @@ toolbarpaletteitem[place="palette"] > #p
@media (-moz-mac-yosemite-theme) {
#urlbar:not([focused="true"]):not(:-moz-window-inactive) > #identity-box {
margin-top: -2px;
margin-bottom: -2px;
padding-top: 4px;
padding-bottom: 4px;
}
}
+%endif
#identity-box:-moz-locale-dir(ltr) {
border-top-left-radius: 2px;
border-bottom-left-radius: 2px;
}
#identity-box:-moz-locale-dir(rtl) {
border-top-right-radius: 2px;