-** Firefox
-Just some basic Firefox CSS. Will probably have to rewrite for the Proton redesign.
-*** Swap tab and URL bars
-#+begin_src css :tangle ~/.mozilla/firefox/armaan-release/chrome/userChrome.css
- #nav-bar {
- -moz-box-ordinal-group: 1 !important;
- }
-
- #PersonalToolbar {
- -moz-box-ordinal-group: 2 !important;
- }
-
- #titlebar {
- -moz-box-ordinal-group: 3 !important;
- }
-#+end_src
-*** Hide URL bar when not focused.
-#+begin_src css :tangle ~/.mozilla/firefox/armaan-release/chrome/userChrome.css
- #navigator-toolbox:not(:focus-within):not(:hover) {
- margin-top: -30px;
- }
-
- #navigator-toolbox {
- transition: 0.1s margin-top ease-out;
- }
-#+end_src
-*** Black screen by default
-userChrome.css:
-#+begin_src css :tangle ~/.mozilla/firefox/armaan-release/chrome/userChrome.css
- #main-window,
- #browser,
- #browser vbox#appcontent tabbrowser,
- #content,
- #tabbrowser-tabpanels,
- #tabbrowser-tabbox,
- browser[type="content-primary"],
- browser[type="content"] > html,
- .browserContainer {
- background: black !important;
- color: #fff !important;
- }
-#+end_src
-
-userContent.css:
-#+begin_src css :tangle ~/.mozilla/firefox/armaan-release/chrome/userContent.css
- @-moz-document url("about:home"), url("about:blank"), url("about:newtab") {
- body {
- background: black !important;
- }
- }
-#+end_src