Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

urlbar_connection_type_background_colors.css #343

Open
ChasCB opened this issue Feb 22, 2024 · 2 comments
Open

urlbar_connection_type_background_colors.css #343

ChasCB opened this issue Feb 22, 2024 · 2 comments

Comments

@ChasCB
Copy link

ChasCB commented Feb 22, 2024

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.

@MrOtherGuy
Copy link
Owner

Yes, you can do it if you replace every instance of ::before with ~ .urlbar-input-box::before

@ChasCB
Copy link
Author

ChasCB commented Feb 22, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants