Create urlbar_connection_type_colors.css

This commit is contained in:
MrOtherGuy 2020-08-23 14:59:33 +03:00
parent 23dfd1743d
commit 9b87c5f668
3 changed files with 20 additions and 1 deletions

View file

@ -0,0 +1,17 @@
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/urlbar_connection_type_colors.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */
/* Modifies the urlbar text color based on connection type - "normal" https: won't be mdofied */
/* Mixed content including neterror */
#identity-box[pageproxystate="valid"].unknownIdentity ~ .urlbar-input-box{ color: orange }
/* http: and potentially some other insecure connections like ftp: */
#identity-box[pageproxystate="valid"].notSecure ~ .urlbar-input-box{ color: orangered }
/* Extension pages */
#identity-box[pageproxystate="valid"].extensionPage ~ .urlbar-input-box{ color: violet }
/* Internal about: and chrome:// urls (includes reader-view) */
#identity-box[pageproxystate="valid"].localResource ~ .urlbar-input-box,
#identity-box[pageproxystate="valid"].chromeUI ~ .urlbar-input-box{ color: dodgerblue }

View file

@ -102,5 +102,6 @@
"vertical_popup_menubar.css":["menubar","menu","toolbars","popup"],
"classic_firefox_menu_button.css":["classic","menu"],
"bookmarks_toolbar_on_newtabs_only.css":["bookmarks","toolbars","autohide","hiding"],
"status_inside_urlbar_v2.css":["status","urlbar","status","effect","hack"]
"status_inside_urlbar_v2.css":["status","urlbar","status","effect","hack"],
"urlbar_connection_type_colors.css":["urlbar","colors","status"]
}

View file

@ -102,3 +102,4 @@ vertical_popup_menubar.css,menubar,menu,toolbars,popup
classic_firefox_menu_button.css,classic,menu
bookmarks_toolbar_on_newtabs_only.css,bookmarks,toolbars,autohide,hiding
status_inside_urlbar_v2.css,status,urlbar,status,effect,hack
urlbar_connection_type_colors.css,urlbar,colors,status

1 autohide_bookmarks_and_main_toolbars.css,autohide,bookmarks,toolbars,nav-bar
102 classic_firefox_menu_button.css,classic,menu
103 bookmarks_toolbar_on_newtabs_only.css,bookmarks,toolbars,autohide,hiding
104 status_inside_urlbar_v2.css,status,urlbar,status,effect,hack
105 urlbar_connection_type_colors.css,urlbar,colors,status