Hide container name box unless urlbar is hovered

Fixes #353
This commit is contained in:
MrOtherGuy
2024-03-26 19:31:48 +02:00
parent da374c6975
commit cc93a34f04
+2 -1
View File
@@ -1,7 +1,7 @@
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/urlbar_info_icons_on_hover.css made available under Mozilla Public License v. 2.0 /* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/urlbar_info_icons_on_hover.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. */
/* Hides info icons (except remote control icon) on the left side of urlbar and shows them when urlbar is hovered. */ /* Hides info icons (except remote control icon) on the left side of urlbar and shows them when urlbar is hovered. Also hides container name and shows it on hover*/
#urlbar-search-button, #urlbar-search-button,
#tracking-protection-icon-container, #tracking-protection-icon-container,
@@ -18,3 +18,4 @@ See the above repository for updates as well as full license text. */
#urlbar:hover #identity-box.extensionPage #identity-icon-label{ #urlbar:hover #identity-box.extensionPage #identity-icon-label{
max-width: 300px; max-width: 300px;
} }
#urlbar:not(:hover) #userContext-label{ display: none }