Bug 1593665 - Increase font-weight of highlighted URLs and titles in the Megabar. r=mak
authorHarry Twyford <htwyford@mozilla.com>
Tue, 05 Nov 2019 16:16:28 +0000
changeset 500720 5275ea4d5a1aec6e1e66e051456c4239fe91df11
parent 500719 f86d070215fdea7cf81ea502c1558b1b2138ba5a
child 500721 e6fa62187db798c6c58c2bf973cc453768047b67
push id114166
push userapavel@mozilla.com
push dateThu, 07 Nov 2019 10:04:01 +0000
treeherdermozilla-inbound@d271c572a9bc [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmak
bugs1593665
milestone72.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1593665 - Increase font-weight of highlighted URLs and titles in the Megabar. r=mak Differential Revision: https://phabricator.services.mozilla.com/D51816
browser/themes/shared/urlbar-autocomplete.inc.css
--- a/browser/themes/shared/urlbar-autocomplete.inc.css
+++ b/browser/themes/shared/urlbar-autocomplete.inc.css
@@ -325,19 +325,20 @@
   display: none;
 }
 
 .urlbarView-tags,
 .urlbarView-title:not(:empty) ~ .urlbarView-secondary {
   font-size: .85em;
 }
 
-.urlbarView-title > strong,
-.urlbarView-url > strong,
-.urlbarView-tag > strong {
+/* The megabar uses full bold weight (700). */
+.urlbarView:not(.megabar) .urlbarView-title > strong,
+.urlbarView:not(.megabar) .urlbarView-url > strong,
+.urlbarView:not(.megabar) .urlbarView-tag > strong {
   font-weight: 600;
 }
 
 .urlbarView-title:not(:empty) ~ .urlbarView-secondary {
   color: var(--urlbar-popup-action-color);
 }
 
 .urlbarView-url {