Bug 1399235 - Prevent the urlbar-icon hover feedback from bleeding outside the location and search bars. r?adw
MozReview-Commit-ID: GRGvdW70Tkt
--- a/browser/themes/linux/browser.css
+++ b/browser/themes/linux/browser.css
@@ -291,26 +291,16 @@ menuitem.bookmark-item {
%include ../shared/urlbarSearchSuggestionsNotification.inc.css
#search-container {
min-width: calc(54px + 11ch);
}
/* identity box */
-#identity-box:-moz-locale-dir(ltr) {
- border-top-left-radius: 1.5px;
- border-bottom-left-radius: 1.5px;
-}
-
-#identity-box:-moz-locale-dir(rtl) {
- border-top-right-radius: 1.5px;
- border-bottom-right-radius: 1.5px;
-}
-
#identity-box:not(:active):-moz-focusring {
outline: 1px dotted;
outline-offset: -3px;
}
%include ../shared/identity-block/identity-block.inc.css
%include ../shared/notification-icons.inc.css
--- a/browser/themes/osx/browser.css
+++ b/browser/themes/osx/browser.css
@@ -348,26 +348,16 @@
#urlbar[focused="true"],
.searchbar-textbox[focused="true"] {
border-color: -moz-mac-focusring;
box-shadow: var(--focus-ring-box-shadow);
}
%include ../shared/identity-block/identity-block.inc.css
-#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;
- border-bottom-right-radius: 2px;
-}
-
#identity-box:not(:active):-moz-focusring {
box-shadow: var(--focus-ring-box-shadow);
border-inline-end-style: none;
padding-inline-end: 5px;
}
.urlbar-input-box {
margin: 0;
padding: 3px 0 2px;
--- a/browser/themes/shared/urlbar-searchbar.inc.css
+++ b/browser/themes/shared/urlbar-searchbar.inc.css
@@ -9,16 +9,17 @@
-moz-appearance: none;
background-clip: content-box;
border: 1px solid hsla(240,5%,5%,.25);
border-radius: var(--toolbarbutton-border-radius);
box-shadow: 0 1px 4px rgba(0,0,0,.05);
padding: 0;
margin: 0 5px;
min-height: 30px;
+ overflow: -moz-hidden-unscrollable;
}
#urlbar:hover,
.searchbar-textbox:hover {
border-color: hsla(240,5%,5%,.35);
box-shadow: 0 1px 6px rgba(0,0,0,.1);
}
--- a/browser/themes/windows/browser.css
+++ b/browser/themes/windows/browser.css
@@ -587,18 +587,16 @@ html|*.urlbar-input:-moz-lwtheme::placeh
/* identity box */
#identity-box:not(:active):-moz-focusring {
outline: 1px dotted;
outline-offset: -3px;
}
-/* page proxy icon */
-
%include ../shared/identity-block/identity-block.inc.css
/* autocomplete */
%include ../shared/autocomplete.inc.css
%include ../shared/urlbar-autocomplete.inc.css
#PopupAutoComplete > richlistbox > richlistitem[originaltype~="datalist-first"] {