From fceee7b95f5b7eb701e7950a8de635d6b8678e01 Mon Sep 17 00:00:00 2001 From: xyz Date: Sat, 26 Jun 2021 05:12:50 -0700 Subject: firefox user profile --- .mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css (limited to '.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css') diff --git a/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css b/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css new file mode 100644 index 00000000..2f20695d --- /dev/null +++ b/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css @@ -0,0 +1,3 @@ +#titlebar { + visibility: collapse !important; +} -- cgit v1.2.3-70-g09d2 From 27c39017835e547343fe3099b6715003cc21472c Mon Sep 17 00:00:00 2001 From: xyz Date: Wed, 14 Jul 2021 02:00:09 -0700 Subject: decrease sidebar width --- .mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css') diff --git a/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css b/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css index 2f20695d..ee8a868f 100644 --- a/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css +++ b/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css @@ -1,3 +1,7 @@ #titlebar { visibility: collapse !important; } + +#sidebar { + min-width: 0px !important; +} -- cgit v1.2.3-70-g09d2 From b000183f1147d1269e2bbe5df2d812dd37949ac5 Mon Sep 17 00:00:00 2001 From: xyz Date: Wed, 14 Jul 2021 17:39:08 -0700 Subject: delete userChrome.css, no more TST --- .mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 .mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css (limited to '.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css') diff --git a/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css b/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css deleted file mode 100644 index ee8a868f..00000000 --- a/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css +++ /dev/null @@ -1,7 +0,0 @@ -#titlebar { - visibility: collapse !important; -} - -#sidebar { - min-width: 0px !important; -} -- cgit v1.2.3-70-g09d2 From f507bfafead6d5921df65f9413b196c2943a4b5b Mon Sep 17 00:00:00 2001 From: xyz Date: Sun, 26 Sep 2021 15:59:59 -0700 Subject: userChrome.css, tabbar navbar oneline, hide some buttons --- .../firefox/xxxxxxxx.fly/chrome/userChrome.css | 106 +++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 .mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css (limited to '.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css') diff --git a/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css b/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css new file mode 100644 index 00000000..3e88d7d0 --- /dev/null +++ b/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css @@ -0,0 +1,106 @@ +/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/navbar_tabs_oneliner_tabs_on_left.css made available under Mozilla Public License v. 2.0 +See the above repository for updates as well as full license text. */ + +/*Make tabs and navbar appear side-by-side tabs on left */ + +/* IMPORTANT */ +/* +Get window_control_placeholder_support.css +Window controls will be all wrong without it +*/ +:root{ --tab-block-margin: var(--proton-tab-block-margin) } +:root[uidensity="compact"]{ + --tab-block-margin: 2px !important; + --proton-tab-block-margin: 2px !important; + } + +/* Modify these to change relative widths or default height */ +#navigator-toolbox{ + /* need 46vw for search bookmarks urls and title shown in one line */ + --uc-navigationbar-width: 46vw; + --uc-toolbar-height: 40px; + --uc-urlbar-min-width: 100vw; /* minimum width for opened urlbar */ +} +@media (-moz-proton){ + #scrollbutton-up,#scrollbutton-down{ border-block-width: 2px !important; } +} +/* Override for other densities */ +:root[uidensity="compact"] #navigator-toolbox{ --uc-toolbar-height: 32px;} +:root[uidensity="touch"] #navigator-toolbox{ --uc-toolbar-height: 44px; } + +:root[uidensity=compact] #urlbar-container{ + --urlbar-container-height: var(--uc-toolbar-height) !important; + padding-block: 0 !important; +} +:root[uidensity=compact] #urlbar{ + --urlbar-toolbar-height: var(--uc-toolbar-height) !important; +} + +/* prevent urlbar overflow on narrow windows */ +/* Dependent on how many items are in navigation toolbar and tabs-/nav-bar ratio - ADJUST AS NEEDED */ +@media screen and (max-width: 1600px){ + #urlbar-container{ min-width:unset !important } +} + +#toolbar-menubar{ height: initial !important; } +#toolbar-menubar[inactive] > :not(.titlebar-buttonbox-container){ opacity: 0; pointer-events: none; } +#toolbar-menubar[inactive]{ margin-bottom: calc(0px - var(--uc-toolbar-height)) } + +#TabsToolbar > .titlebar-buttonbox-container, +.titlebar-spacer[type="post-tabs"]{ + display: none; +} +#TabsToolbar{ + margin-right: var(--uc-navigationbar-width); + --tabs-navbar-shadow-size: 0px; +} + +#tabbrowser-tabs{ + --tab-min-height: calc(var(--uc-toolbar-height) - 2 * var(--tab-block-margin,0px)) !important; +} + +#toolbar-menubar[autohide="true"] > .titlebar-buttonbox-container{ + min-height: var(--uc-toolbar-height) !important +} +#tabbrowser-tabs, +.tabbrowser-tab[pinned]{ + min-height: var(--tab-min-height) !important; +} +#nav-bar{ + margin-left: calc(100vw - var(--uc-navigationbar-width)); + margin-top: calc(0px - var(--uc-toolbar-height)); +} + +/* Override style set in window_control_placeholder_support.css */ +#nav-bar{ border-left-width: 0px !important } +#nav-bar::before{ display:none !important } + +/* Rules specific to window controls on right layout */ +@supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled"){ + :root:not([inFullscreen]) #TabsToolbar-customization-target > .titlebar-spacer[type="pre-tabs"]{ + width: var(--uc-window-drag-space-post) !important; + display: -moz-box !important; + } + #TabsToolbar > .titlebar-buttonbox-container{ display: -moz-box; } +} + +/* 1px margin on touch density causes tabs to be too high */ +.tab-close-button{ margin-top: 0 !important } + +/* Make opened urlbar overlay all */ +#urlbar[open]:focus-within{ + min-width: var(--uc-urlbar-min-width,none) !important; + right: -78px !important; + left: auto !important; +} + +/* Hide dropdown placeholder */ +#urlbar-container:not(:hover) .urlbar-history-dropmarker{ margin-inline-start: -28px; } + +/* Fix customization view */ +#customization-panelWrapper > .panel-arrowbox > .panel-arrow{ margin-inline-end: initial !important; } + +/* hide history back and forward-button */ +#back-button, #forward-button { display: none !important; } +/* hide minimize, restore, and close button when in full screen mode */ +#minimize-button, #restore-button, #close-button { display: none !important; } -- cgit v1.2.3-70-g09d2 From 683a73a4ac27c24c8646db3c8bfb146afe1acb7d Mon Sep 17 00:00:00 2001 From: xyz Date: Sun, 26 Sep 2021 21:11:06 -0700 Subject: userchrome, no expand opened url bar --- .mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to '.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css') diff --git a/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css b/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css index 3e88d7d0..2592f593 100644 --- a/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css +++ b/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css @@ -19,7 +19,8 @@ Window controls will be all wrong without it /* need 46vw for search bookmarks urls and title shown in one line */ --uc-navigationbar-width: 46vw; --uc-toolbar-height: 40px; - --uc-urlbar-min-width: 100vw; /* minimum width for opened urlbar */ + /* minimum width for opened urlbar */ + /*--uc-urlbar-min-width: 100vw;*/ } @media (-moz-proton){ #scrollbutton-up,#scrollbutton-down{ border-block-width: 2px !important; } @@ -87,12 +88,15 @@ Window controls will be all wrong without it /* 1px margin on touch density causes tabs to be too high */ .tab-close-button{ margin-top: 0 !important } -/* Make opened urlbar overlay all */ +/* Make opened urlbar overlay all +fcitx5 input method or sxhkd caps lock will close opened bar, seems hard to fix */ +/* #urlbar[open]:focus-within{ min-width: var(--uc-urlbar-min-width,none) !important; right: -78px !important; left: auto !important; } +*/ /* Hide dropdown placeholder */ #urlbar-container:not(:hover) .urlbar-history-dropmarker{ margin-inline-start: -28px; } -- cgit v1.2.3-70-g09d2 From 3fb33ecfea0797054e8f76f27c5a0c7e2f0f2dd3 Mon Sep 17 00:00:00 2001 From: xyz Date: Sun, 26 Sep 2021 22:09:17 -0700 Subject: userchrome, using git submodule or clone to manage instead --- .../firefox/xxxxxxxx.fly/chrome/userChrome.css | 106 +-------------------- 1 file changed, 4 insertions(+), 102 deletions(-) (limited to '.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css') diff --git a/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css b/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css index 2592f593..512fc29a 100644 --- a/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css +++ b/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css @@ -1,110 +1,12 @@ -/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/navbar_tabs_oneliner_tabs_on_left.css made available under Mozilla Public License v. 2.0 -See the above repository for updates as well as full license text. */ +@import url(firefox-csshacks/chrome/navbar_tabs_oneliner.css); +@import url(firefox-csshacks/chrome/urlbar_popup_full_width.css); -/*Make tabs and navbar appear side-by-side tabs on left */ - -/* IMPORTANT */ -/* -Get window_control_placeholder_support.css -Window controls will be all wrong without it -*/ -:root{ --tab-block-margin: var(--proton-tab-block-margin) } -:root[uidensity="compact"]{ - --tab-block-margin: 2px !important; - --proton-tab-block-margin: 2px !important; - } - -/* Modify these to change relative widths or default height */ #navigator-toolbox{ - /* need 46vw for search bookmarks urls and title shown in one line */ - --uc-navigationbar-width: 46vw; - --uc-toolbar-height: 40px; - /* minimum width for opened urlbar */ - /*--uc-urlbar-min-width: 100vw;*/ -} -@media (-moz-proton){ - #scrollbutton-up,#scrollbutton-down{ border-block-width: 2px !important; } -} -/* Override for other densities */ -:root[uidensity="compact"] #navigator-toolbox{ --uc-toolbar-height: 32px;} -:root[uidensity="touch"] #navigator-toolbox{ --uc-toolbar-height: 44px; } - -:root[uidensity=compact] #urlbar-container{ - --urlbar-container-height: var(--uc-toolbar-height) !important; - padding-block: 0 !important; -} -:root[uidensity=compact] #urlbar{ - --urlbar-toolbar-height: var(--uc-toolbar-height) !important; -} - -/* prevent urlbar overflow on narrow windows */ -/* Dependent on how many items are in navigation toolbar and tabs-/nav-bar ratio - ADJUST AS NEEDED */ -@media screen and (max-width: 1600px){ - #urlbar-container{ min-width:unset !important } -} - -#toolbar-menubar{ height: initial !important; } -#toolbar-menubar[inactive] > :not(.titlebar-buttonbox-container){ opacity: 0; pointer-events: none; } -#toolbar-menubar[inactive]{ margin-bottom: calc(0px - var(--uc-toolbar-height)) } - -#TabsToolbar > .titlebar-buttonbox-container, -.titlebar-spacer[type="post-tabs"]{ - display: none; -} -#TabsToolbar{ - margin-right: var(--uc-navigationbar-width); - --tabs-navbar-shadow-size: 0px; -} - -#tabbrowser-tabs{ - --tab-min-height: calc(var(--uc-toolbar-height) - 2 * var(--tab-block-margin,0px)) !important; + --uc-navigationbar-width: 46vw !important; } -#toolbar-menubar[autohide="true"] > .titlebar-buttonbox-container{ - min-height: var(--uc-toolbar-height) !important -} -#tabbrowser-tabs, -.tabbrowser-tab[pinned]{ - min-height: var(--tab-min-height) !important; -} -#nav-bar{ - margin-left: calc(100vw - var(--uc-navigationbar-width)); - margin-top: calc(0px - var(--uc-toolbar-height)); -} - -/* Override style set in window_control_placeholder_support.css */ -#nav-bar{ border-left-width: 0px !important } -#nav-bar::before{ display:none !important } - -/* Rules specific to window controls on right layout */ -@supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled"){ - :root:not([inFullscreen]) #TabsToolbar-customization-target > .titlebar-spacer[type="pre-tabs"]{ - width: var(--uc-window-drag-space-post) !important; - display: -moz-box !important; - } - #TabsToolbar > .titlebar-buttonbox-container{ display: -moz-box; } -} - -/* 1px margin on touch density causes tabs to be too high */ -.tab-close-button{ margin-top: 0 !important } - -/* Make opened urlbar overlay all -fcitx5 input method or sxhkd caps lock will close opened bar, seems hard to fix */ -/* -#urlbar[open]:focus-within{ - min-width: var(--uc-urlbar-min-width,none) !important; - right: -78px !important; - left: auto !important; -} -*/ - -/* Hide dropdown placeholder */ -#urlbar-container:not(:hover) .urlbar-history-dropmarker{ margin-inline-start: -28px; } - -/* Fix customization view */ -#customization-panelWrapper > .panel-arrowbox > .panel-arrow{ margin-inline-end: initial !important; } - /* hide history back and forward-button */ #back-button, #forward-button { display: none !important; } + /* hide minimize, restore, and close button when in full screen mode */ #minimize-button, #restore-button, #close-button { display: none !important; } -- cgit v1.2.3-70-g09d2 From dd9f1d5ba6d31b8694b1f5e92ac1a57ae03189c8 Mon Sep 17 00:00:00 2001 From: xyz Date: Sun, 26 Sep 2021 22:41:02 -0700 Subject: refactor --- .mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css | 1 + 1 file changed, 1 insertion(+) (limited to '.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css') diff --git a/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css b/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css index 512fc29a..cd515eae 100644 --- a/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css +++ b/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css @@ -1,6 +1,7 @@ @import url(firefox-csshacks/chrome/navbar_tabs_oneliner.css); @import url(firefox-csshacks/chrome/urlbar_popup_full_width.css); +/* need 46vw for search bookmarks urls and title shown in one line */ #navigator-toolbox{ --uc-navigationbar-width: 46vw !important; } -- cgit v1.2.3-70-g09d2 From b5e504b13fd6e4e203e13922f4f3daaae3bc0d18 Mon Sep 17 00:00:00 2001 From: xyz Date: Sun, 26 Sep 2021 22:44:04 -0700 Subject: refactor --- .mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css') diff --git a/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css b/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css index cd515eae..e8f9392c 100644 --- a/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css +++ b/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css @@ -1,7 +1,8 @@ @import url(firefox-csshacks/chrome/navbar_tabs_oneliner.css); @import url(firefox-csshacks/chrome/urlbar_popup_full_width.css); -/* need 46vw for search bookmarks urls and title shown in one line */ +/* on my laptop with linux, if only has more tool >> button and application menu hambugger button, +need 46vw for search bookmarks urls and title shown in one line */ #navigator-toolbox{ --uc-navigationbar-width: 46vw !important; } -- cgit v1.2.3-70-g09d2 From 439a4e77852cbfb4de99282eb980c0a859aeebe5 Mon Sep 17 00:00:00 2001 From: xyz Date: Tue, 28 Sep 2021 21:42:28 -0700 Subject: refactor --- .mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to '.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css') diff --git a/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css b/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css index e8f9392c..c0465de8 100644 --- a/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css +++ b/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css @@ -3,9 +3,7 @@ /* on my laptop with linux, if only has more tool >> button and application menu hambugger button, need 46vw for search bookmarks urls and title shown in one line */ -#navigator-toolbox{ - --uc-navigationbar-width: 46vw !important; -} +#navigator-toolbox { --uc-navigationbar-width: 46vw !important; } /* hide history back and forward-button */ #back-button, #forward-button { display: none !important; } -- cgit v1.2.3-70-g09d2