From 110612d2a356eeefefbf097f00ef96b1e54b1728 Mon Sep 17 00:00:00 2001 From: Ambrose Chua Date: Sun, 5 Sep 2021 10:54:54 +0800 Subject: [PATCH] Add my userChrome.css --- .dockerignore | 6 +++++- .gitignore | 6 +++++- .mozilla/firefox/chrome/userChrome.css | 26 ++++++++++++++++++++++++++ 3 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 .mozilla/firefox/chrome/userChrome.css diff --git a/.dockerignore b/.dockerignore index f439b2d..a86f832 100644 --- a/.dockerignore +++ b/.dockerignore @@ -30,6 +30,7 @@ !.config/wofi !.config/yabai !.config/yadm +.deno/bin .dbus .esd_auth .gem @@ -55,7 +56,10 @@ .local/share/yadm/repo.git !.local/share/yadm/archive .mc/share -.mozilla +.mozilla/* +!.mozilla/firefox +.mozilla/firefox/* +!.mozilla/firefox/chrome .npm .password-store .pki diff --git a/.gitignore b/.gitignore index d76a71b..55c4346 100644 --- a/.gitignore +++ b/.gitignore @@ -30,6 +30,7 @@ !.config/wofi !.config/yabai !.config/yadm +.deno/bin .dbus .esd_auth .gem @@ -55,7 +56,10 @@ .local/share/yadm/repo.git !.local/share/yadm/archive .mc/share -.mozilla +.mozilla/* +!.mozilla/firefox +.mozilla/firefox/* +!.mozilla/firefox/chrome .npm .password-store .pki diff --git a/.mozilla/firefox/chrome/userChrome.css b/.mozilla/firefox/chrome/userChrome.css new file mode 100644 index 0000000..d1a469e --- /dev/null +++ b/.mozilla/firefox/chrome/userChrome.css @@ -0,0 +1,26 @@ +html:not([inFullscreen]) body { + -moz-box-direction: reverse; +} + +.panel-viewstack { + max-height: none !important; +} + +#urlbar[open] > .urlbarView > .urlbarView-body-outer > .urlbarView-body-inner { + border-top: 0 !important; +} + +#navigator-toolbox { + -moz-box-direction: reverse; +} + +html:not([inFullscreen]) #urlbar[breakout] { + display: flex !important; + flex-direction: column-reverse; +} + +html:not([inFullscreen]) #urlbar[breakout-extend] { + top: auto !important; + bottom: 0 !important; +} +