firefox-csshacks
firefox-csshacks copied to clipboard
urlbar_connection_type_background_colors.css
Love this piece of code. But is it possible to have connection_type_background_colours only apply to the #urlbar-input-container moz-input-box.urlbar-input-box only, not to the entire urlbar ?? Therefore the box containing the; Identity, Permissions, Protections & Notifications to the left and the Page-Action-Button box to the right of the urlbar-input-container are excluded from these background colour changes.
Yes, you can do it if you replace every instance of ::before
with ~ .urlbar-input-box::before
Thank you that worked a treat. Note: I have also posted this into Reddit where I had originally posted the question. I have also incorporated your "urlbar text color based on connection type" css as well.
Maybe offer the ~ .urlbar-input-box::before
as another css code option.