make urlbar-row icons line up with search icon in urlbar

This commit is contained in:
MrOtherGuy 2020-06-03 16:19:07 +03:00
parent 9a477fee93
commit ef51f20d38

View file

@ -1,8 +1,7 @@
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/compact_urlbar_megabar.css made available under Mozilla Public License v. 2.0 /* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/compact_urlbar_megabar.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */ See the above repository for updates as well as full license text. */
/* Make urlbar megabar appear more compact */ /* Make urlbar appear more compact */
/* Set the pref browser.urlbar.megabar to true */
#urlbar[breakout]{ #urlbar[breakout]{
margin-inline-start: 0px !important; margin-inline-start: 0px !important;
width: 100% !important; width: 100% !important;
@ -11,7 +10,8 @@ See the above repository for updates as well as full license text. */
} }
#urlbar[breakout]:not([open]){ bottom: calc((var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2) !important; } #urlbar[breakout]:not([open]){ bottom: calc((var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2) !important; }
.urlbarView{ margin-inline: 0 !important; width: auto !important; } .urlbarView{ margin-inline: 0 !important; width: auto !important; }
.urlbarView-row{ padding: 0 4px !important; } .urlbarView-row{ padding: 0 2px !important; }
.urlbarView-row-inner{ padding-inline-start: 4px !important; }
#urlbar-background{ animation: none !important; } #urlbar-background{ animation: none !important; }
#urlbar-input-container{ padding: 0 !important; height: 100% !important; } #urlbar-input-container{ padding: 0 !important; height: 100% !important; }
#identity-box{ padding-block: var(--urlbar-icon-padding) } #identity-box{ padding-block: var(--urlbar-icon-padding) }