From c3f387a18a55390e7b34969e56c627b8676b8edb Mon Sep 17 00:00:00 2001 From: Vince Date: Wed, 16 Jun 2021 21:51:55 +0800 Subject: [PATCH] Update #300 --- .../Monterey/parts/left_header_button_3.css | 18 ++++++++++++ .../Monterey/parts/left_header_button_4.css | 18 ++++++++++++ .../Monterey/parts/left_header_button_5.css | 18 ++++++++++++ .../Monterey/parts/right_header_button_3.css | 10 +++++++ .../Monterey/parts/right_header_button_4.css | 10 +++++++ .../Monterey/parts/right_header_button_5.css | 10 +++++++ src/other/firefox/Monterey/parts/toolbox.css | 29 +++++++------------ 7 files changed, 94 insertions(+), 19 deletions(-) create mode 100644 src/other/firefox/Monterey/parts/left_header_button_3.css create mode 100644 src/other/firefox/Monterey/parts/left_header_button_4.css create mode 100644 src/other/firefox/Monterey/parts/left_header_button_5.css create mode 100644 src/other/firefox/Monterey/parts/right_header_button_3.css create mode 100644 src/other/firefox/Monterey/parts/right_header_button_4.css create mode 100644 src/other/firefox/Monterey/parts/right_header_button_5.css diff --git a/src/other/firefox/Monterey/parts/left_header_button_3.css b/src/other/firefox/Monterey/parts/left_header_button_3.css new file mode 100644 index 0000000..74b4bf6 --- /dev/null +++ b/src/other/firefox/Monterey/parts/left_header_button_3.css @@ -0,0 +1,18 @@ +#TabsToolbar { + margin-left: 460px !important; +} + +:root[sizemode="maximized"] #TabsToolbar { + margin-left: 500px !important; +} + +/* Left window titlebuttons mode */ +@media (-moz-gtk-csd-reversed-placement) { + #TabsToolbar { + margin-left: 534px !important; + } + + :root[sizemode="maximized"] #TabsToolbar { + margin-left: 574px !important; + } +} diff --git a/src/other/firefox/Monterey/parts/left_header_button_4.css b/src/other/firefox/Monterey/parts/left_header_button_4.css new file mode 100644 index 0000000..a2ceaa3 --- /dev/null +++ b/src/other/firefox/Monterey/parts/left_header_button_4.css @@ -0,0 +1,18 @@ +#TabsToolbar { + margin-left: 500px !important; +} + +:root[sizemode="maximized"] #TabsToolbar { + margin-left: 540px !important; +} + +/* Left window titlebuttons mode */ +@media (-moz-gtk-csd-reversed-placement) { + #TabsToolbar { + margin-left: 574px !important; + } + + :root[sizemode="maximized"] #TabsToolbar { + margin-left: 614px !important; + } +} diff --git a/src/other/firefox/Monterey/parts/left_header_button_5.css b/src/other/firefox/Monterey/parts/left_header_button_5.css new file mode 100644 index 0000000..8d10417 --- /dev/null +++ b/src/other/firefox/Monterey/parts/left_header_button_5.css @@ -0,0 +1,18 @@ +#TabsToolbar { + margin-left: 540px !important; +} + +:root[sizemode="maximized"] #TabsToolbar { + margin-left: 580px !important; +} + +/* Left window titlebuttons mode */ +@media (-moz-gtk-csd-reversed-placement) { + #TabsToolbar { + margin-left: 614px !important; + } + + :root[sizemode="maximized"] #TabsToolbar { + margin-left: 654px !important; + } +} diff --git a/src/other/firefox/Monterey/parts/right_header_button_3.css b/src/other/firefox/Monterey/parts/right_header_button_3.css new file mode 100644 index 0000000..47db9d7 --- /dev/null +++ b/src/other/firefox/Monterey/parts/right_header_button_3.css @@ -0,0 +1,10 @@ +#TabsToolbar { + margin-right: 12vw !important; +} + +/* Left window titlebuttons mode */ +@media (-moz-gtk-csd-reversed-placement) { + #TabsToolbar { + margin-right: 5vw !important; + } +} diff --git a/src/other/firefox/Monterey/parts/right_header_button_4.css b/src/other/firefox/Monterey/parts/right_header_button_4.css new file mode 100644 index 0000000..98c6776 --- /dev/null +++ b/src/other/firefox/Monterey/parts/right_header_button_4.css @@ -0,0 +1,10 @@ +#TabsToolbar { + margin-right: 13vw !important; +} + +/* Left window titlebuttons mode */ +@media (-moz-gtk-csd-reversed-placement) { + #TabsToolbar { + margin-right: 6vw !important; + } +} diff --git a/src/other/firefox/Monterey/parts/right_header_button_5.css b/src/other/firefox/Monterey/parts/right_header_button_5.css new file mode 100644 index 0000000..eef8e7e --- /dev/null +++ b/src/other/firefox/Monterey/parts/right_header_button_5.css @@ -0,0 +1,10 @@ +#TabsToolbar { + margin-right: 15vw !important; +} + +/* Left window titlebuttons mode */ +@media (-moz-gtk-csd-reversed-placement) { + #TabsToolbar { + margin-right: 8vw !important; + } +} diff --git a/src/other/firefox/Monterey/parts/toolbox.css b/src/other/firefox/Monterey/parts/toolbox.css index d179935..8899a9e 100644 --- a/src/other/firefox/Monterey/parts/toolbox.css +++ b/src/other/firefox/Monterey/parts/toolbox.css @@ -5,6 +5,16 @@ * - bookmark bar (toolbar#PersonalToolbar) * - add-ons can add their own toolbars (toolbar) */ +/* buttons on left headerbar */ +@import "left_header_button_3.css"; +/*@import "left_header_button_4.css";*/ +/*@import "left_header_button_5.css";*/ + +/* buttons on right headerbar */ +@import "right_header_button_3.css"; +/*@import "right_header_button_4.css";*/ +/*@import "right_header_button_5.css";*/ + @namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; #nav-bar, #PersonalToolbar, #toolbar-menubar { @@ -41,27 +51,8 @@ findbar { margin-top: -43px !important; padding: 0 !important; margin-bottom: 0 !important; - margin-left: 460px !important; - margin-right: 12vw !important; background: none !important; } - -:root[sizemode="maximized"] #TabsToolbar { - margin-left: 500px !important; -} - -/* Left window titlebuttons mode */ -@media (-moz-gtk-csd-reversed-placement) { - #TabsToolbar { - margin-left: 534px !important; - margin-right: 5vw !important; - } - - :root[sizemode="maximized"] #TabsToolbar { - margin-left: 574px !important; - } -} - #nav-bar { border: none !important; box-shadow: none !important;