From 88e060cd30b67b7d102ccb92eb9969ed2cf1c6fb Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Sat, 29 Dec 2018 17:18:42 +0200 Subject: [PATCH] New file --- chrome/minimal_text_fields.css | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 chrome/minimal_text_fields.css diff --git a/chrome/minimal_text_fields.css b/chrome/minimal_text_fields.css new file mode 100644 index 0000000..11b8550 --- /dev/null +++ b/chrome/minimal_text_fields.css @@ -0,0 +1,23 @@ +:root{ + --lwt-toolbar-field-background-color: transparent !important; + --lwt-toolbar-field-border-color: transparent !important; +} + +#urlbar, +.searchbar-textbox{ + box-shadow: none !important; +} + +#urlbar > *, +.searchbar-textbox > *{ + opacity: 0; + transition: opacity 150ms linear +} + +#urlbar > .urlbar-input-box, +.searchbar-textbox > moz-input-box{ opacity: 0.6 } + +#urlbar:hover > *, +#urlbar:focus-within > *, +.searchbar-textbox:hover > *, +.searchbar-textbox:focus-within > *{ opacity: 1 } \ No newline at end of file