this repo has no description

hidden unicode for Userchrome Toggle closes #4

+24 -19
Media/UCToggleSettings.png

This is a binary file and will not be displayed.

+7 -5
chrome/browser/main.css
··· 61 background-color: transparent !important; 62 } 63 64 - &:not([titlepreface*="="]) { 65 & #appcontent browser { 66 border-top-left-radius: var(--uc-content-radius) !important; 67 border-top-right-radius: var(--uc-content-radius) !important; ··· 78 } 79 } 80 @media (-moz-bool-pref: "uc.tweak.sidebar-full-collapse") { 81 - &:not([titlepreface*="-"]) { 82 &:has(#sidebar-box:not([positionend="true"])) #appcontent browser { 83 border-top-left-radius: var(--uc-content-radius) !important; 84 border-bottom-left-radius: var(--uc-content-radius) !important; ··· 99 clip-path: circle(100%); 100 background-color: transparent !important; 101 } 102 - 103 - &:not([titlepreface*="="]) { 104 & #appcontent browser { 105 border-top-left-radius: var(--uc-content-radius) !important; 106 border-top-right-radius: var(--uc-content-radius) !important; ··· 117 } 118 } 119 @media (-moz-bool-pref: "uc.tweak.sidebar-full-collapse") { 120 - &:not([titlepreface*="-"]) { 121 &:has(#sidebar-box:not([positionend="true"])) #appcontent browser { 122 border-top-left-radius: var(--uc-content-radius) !important; 123 border-bottom-left-radius: var(--uc-content-radius) !important;
··· 61 background-color: transparent !important; 62 } 63 64 + /* navbar collapse */ 65 + &:not([titlepreface*="​"]) { 66 & #appcontent browser { 67 border-top-left-radius: var(--uc-content-radius) !important; 68 border-top-right-radius: var(--uc-content-radius) !important; ··· 79 } 80 } 81 @media (-moz-bool-pref: "uc.tweak.sidebar-full-collapse") { 82 + &:not([titlepreface*="؜"]) { 83 &:has(#sidebar-box:not([positionend="true"])) #appcontent browser { 84 border-top-left-radius: var(--uc-content-radius) !important; 85 border-bottom-left-radius: var(--uc-content-radius) !important; ··· 100 clip-path: circle(100%); 101 background-color: transparent !important; 102 } 103 + /* navbar collapse */ 104 + &:not([titlepreface*="​"]) { 105 & #appcontent browser { 106 border-top-left-radius: var(--uc-content-radius) !important; 107 border-top-right-radius: var(--uc-content-radius) !important; ··· 118 } 119 } 120 @media (-moz-bool-pref: "uc.tweak.sidebar-full-collapse") { 121 + /* sidebar collapse */ 122 + &:not([titlepreface*="؜"]) { 123 &:has(#sidebar-box:not([positionend="true"])) #appcontent browser { 124 border-top-left-radius: var(--uc-content-radius) !important; 125 border-bottom-left-radius: var(--uc-content-radius) !important;
+4 -4
chrome/browser/navbar.css
··· 3 * License, v. 2.0. If a copy of the MPL was not distributed with this 4 * file, You can obtain one at https://mozilla.org/MPL/2.0/. 5 */ 6 - 7 - :root:not([titlepreface*="="], [inDOMFullscreen="true"]) { 8 --uc-content-margin-top: 0px !important; 9 } 10 ··· 50 51 /* tab bar */ 52 #TabsToolbar { display: none !important; } 53 - 54 - #main-window[titlepreface*="="]:not([inDOMFullscreen="true"]) { 55 --uc-content-margin-top: var(--uc-content-margin) !important; 56 --nav-width: clamp(400px, 75vw, 1000px); 57 --nav-height: 38px;
··· 3 * License, v. 2.0. If a copy of the MPL was not distributed with this 4 * file, You can obtain one at https://mozilla.org/MPL/2.0/. 5 */ 6 + /* navbar collapse */ 7 + :root:not([titlepreface*="​"], [inDOMFullscreen="true"]) { 8 --uc-content-margin-top: 0px !important; 9 } 10 ··· 50 51 /* tab bar */ 52 #TabsToolbar { display: none !important; } 53 + /* navbar collapse */ 54 + #main-window[titlepreface*="​"]:not([inDOMFullscreen="true"]) { 55 --uc-content-margin-top: var(--uc-content-margin) !important; 56 --nav-width: clamp(400px, 75vw, 1000px); 57 --nav-height: 38px;
+6 -4
chrome/browser/sidebar.css
··· 27 } 28 29 @media (-moz-bool-pref: "uc.tweak.borderless") { 30 - &[titlepreface*="="] #sidebar-box { 31 margin-top: var(--uc-sidebar-margin) !important; 32 } 33 } ··· 71 } 72 #sidebar-close { display: none !important; } 73 } 74 - 75 - &[sizemode="fullscreen"][titlepreface*="="] #sidebar-box { 76 margin-top: 0 !important; 77 height: 100% !important; 78 & #sidebar { ··· 81 } 82 83 /* sidebar collapse */ 84 - &[titlepreface*="-"] { 85 #sidebar-splitter { 86 display: none !important; 87 }
··· 27 } 28 29 @media (-moz-bool-pref: "uc.tweak.borderless") { 30 + /* navbar collpase */ 31 + &[titlepreface*="​"] #sidebar-box { 32 margin-top: var(--uc-sidebar-margin) !important; 33 } 34 } ··· 72 } 73 #sidebar-close { display: none !important; } 74 } 75 + 76 + /* navbar collapse */ 77 + &[sizemode="fullscreen"][titlepreface*="​"] #sidebar-box { 78 margin-top: 0 !important; 79 height: 100% !important; 80 & #sidebar { ··· 83 } 84 85 /* sidebar collapse */ 86 + &[titlepreface*="؜"] { 87 #sidebar-splitter { 88 display: none !important; 89 }
+2 -2
chrome/browser/urlbar.css
··· 60 top: 20vh !important; 61 left: calc(50vw - (clamp(400px,64vw,800px)/2)) !important; 62 right: calc(50vw - (clamp(400px,64vw,800px)/2)) !important; 63 - 64 - #main-window[titlepreface*="="]:not([sizemode="fullscreen"]) & { 65 left: calc((var(--nav-width)/2) - (clamp(400px,64vw,800px)/2)) !important; 66 right: calc((var(--nav-width)/2) - (clamp(400px,64vw,800px)/2)) !important; 67 }
··· 60 top: 20vh !important; 61 left: calc(50vw - (clamp(400px,64vw,800px)/2)) !important; 62 right: calc(50vw - (clamp(400px,64vw,800px)/2)) !important; 63 + /* navbar collapse */ 64 + #main-window[titlepreface*="​"]:not([sizemode="fullscreen"]) & { 65 left: calc((var(--nav-width)/2) - (clamp(400px,64vw,800px)/2)) !important; 66 right: calc((var(--nav-width)/2) - (clamp(400px,64vw,800px)/2)) !important; 67 }
+4 -3
chrome/browser/window-controls.css
··· 3 * License, v. 2.0. If a copy of the MPL was not distributed with this 4 * file, You can obtain one at https://mozilla.org/MPL/2.0/. 5 */ 6 - 7 - :root[titlepreface*="="] .titlebar-buttonbox-container { 8 display: none !important; 9 } 10 ··· 15 } 16 17 @media not (-moz-bool-pref: "uc.tweak.no-window-controls") { 18 - :root:not([inDOMFullscreen], [titlepreface*="="]) { 19 20 & .titlebar-buttonbox-container { 21 z-index: 100 !important;
··· 3 * License, v. 2.0. If a copy of the MPL was not distributed with this 4 * file, You can obtain one at https://mozilla.org/MPL/2.0/. 5 */ 6 + /* navbar collapse */ 7 + :root[titlepreface*="​"] .titlebar-buttonbox-container { 8 display: none !important; 9 } 10 ··· 15 } 16 17 @media not (-moz-bool-pref: "uc.tweak.no-window-controls") { 18 + /* navbar collapse */ 19 + :root:not([inDOMFullscreen], [titlepreface*="​"]) { 20 21 & .titlebar-buttonbox-container { 22 z-index: 100 !important;
+1 -1
chrome/vars.css
··· 24 } 25 26 /* sidebar vars */ 27 - &[titlepreface*="-"] { 28 --uc-sidebar-hover-width: 200px; 29 --uc-autohide-sidebar-delay: 0ms; 30 }
··· 24 } 25 26 /* sidebar vars */ 27 + &[titlepreface*="؜"] { 28 --uc-sidebar-hover-width: 200px; 29 --uc-autohide-sidebar-delay: 0ms; 30 }