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