Advertisement
Guest User

Untitled

a guest
Nov 18th, 2024
794
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.53 KB | None | 0 0
  1. @media not (-moz-bool-pref: 'zen.view.compact') {
  2. @media not (-moz-bool-pref: 'zen.tabs.vertical.right-side') {
  3. /* Set explicit minimum on overall window sizes */
  4. :root {
  5. min-width: 800px !important;
  6. min-height: 460px !important;
  7. }
  8.  
  9. /* Window Controls Positioning and Styling */
  10. .titlebar-buttonbox-container {
  11. position: absolute;
  12. width: auto;
  13. left: 0;
  14. z-index: 3;
  15. display: flex !important;
  16. padding: 6px 3px 3px 5px;
  17. pointer-events: auto !important;
  18. }
  19.  
  20. .titlebar-buttonbox {
  21. position: relative;
  22. left: 5px;
  23. display: flex;
  24. margin-right: 20px;
  25. pointer-events: auto !important;
  26. }
  27.  
  28. /* Window Control Buttons Styling */
  29. .titlebar-button {
  30. padding: 0px !important;
  31. min-height: 13px !important;
  32. min-width: 13px !important;
  33. align-self: center;
  34. margin-left: 6px !important;
  35. border-radius: 50px;
  36. transition: all 100ms;
  37. pointer-events: auto !important;
  38. }
  39.  
  40. .titlebar-min {
  41. background-color: hsl(130, 50%, 40%) !important;
  42. }
  43.  
  44. .titlebar-max, .titlebar-restore {
  45. background-color: hsl(60, 50%, 50%) !important;
  46. }
  47.  
  48. .titlebar-close {
  49. background-color: hsl(0, 50%, 50%) !important;
  50. }
  51.  
  52. .titlebar-button > image {
  53. visibility: collapse !important;
  54. }
  55.  
  56. @media (-moz-bool-pref: "theme.zen-minimal-exit-menu.enable-macos-identic") {
  57. .titlebar-button:hover {
  58. opacity: 0.25 !important;
  59. }
  60. }
  61.  
  62. @media not (-moz-bool-pref: "theme.zen-minimal-exit-menu.enable-macos-identic") {
  63. .titlebar-button {
  64. background-color: var(--zen-colors-border) !important;
  65. }
  66.  
  67. .titlebar-min:hover {
  68. background-color: hsl(130, 50%, 40%) !important;
  69. }
  70. .titlebar-max:hover, .titlebar-restore:hover {
  71. background-color: hsl(60, 50%, 50%) !important;
  72. }
  73. .titlebar-close:hover {
  74. background-color: hsl(0, 50%, 50%) !important;
  75. }
  76.  
  77. .titlebar-button:hover {
  78. min-height: 20px !important;
  79. }
  80. }
  81.  
  82. /* Make items belonging to the content/nav area visible when positioned outside */
  83. #zen-appcontent-wrapper {
  84. overflow: visible;
  85. }
  86.  
  87. /* Sidebar - Add Space for URL Bar */
  88. #TabsToolbar {
  89. padding-top: 40px;
  90. margin-top: 0px;
  91. }
  92.  
  93. /* Content Area Styling - Add Shadow */
  94. .browserContainer {
  95. box-shadow: 0 0px 5px 2px rgb(0 0 0 / 0.1);
  96. }
  97.  
  98. /* Navigation area containers */
  99. #zen-appcontent-navbar-container {
  100. container-type: inline-size;
  101. height: var(--zen-element-separation);
  102. z-index: 1;
  103. pointer-events: none;
  104. position: relative;
  105. }
  106.  
  107. #nav-bar {
  108. --sidebar-width: calc(100vw - 100cqw);
  109. width: var(--sidebar-width);
  110. container-name: sidebar;
  111. container-type: inline-size;
  112. overflow: visible !important;
  113. position: fixed !important;
  114. right: calc(100cqw);
  115. pointer-events: none;
  116. height: 0;
  117. }
  118.  
  119. /* Hide additional chrome elements */
  120. #nav-bar .chromeclass-toolbar-additional:not(#back-button, #forward-button, #stop-reload-button) {
  121. display: none;
  122. }
  123.  
  124. /* User Setting - Maintain Default Sidebar Width */
  125. @media (-moz-bool-pref: "ark-left.maintain-default-sidebar-width") {
  126. #navigator-toolbox {
  127. min-width: 215px !important;
  128. max-width: 215px !important;
  129. }
  130.  
  131. #zen-sidebar-splitter {
  132. pointer-events: none;
  133. }
  134. }
  135.  
  136. /* Hide Navbar Buttons */
  137. #preferences-button, #zen-expand-sidebar-button, #zen-profile-button {
  138. display: none;
  139. }
  140.  
  141. /* Hide Three Dots */
  142. #PanelUI-button {
  143. opacity: 0%;
  144. pointer-events: none;
  145. }
  146.  
  147. /* Navigation Buttons */
  148. #back-button, #forward-button, #stop-reload-button {
  149. position: fixed;
  150. top: calc(var(--zen-element-separation) + 2px);
  151. z-index: 2;
  152. pointer-events: auto !important;
  153. }
  154.  
  155. #back-button {
  156. right: 90px;
  157. }
  158.  
  159. #forward-button {
  160. right: 55px;
  161. }
  162.  
  163. #stop-reload-button {
  164. right: 20px;
  165. }
  166.  
  167. /* Hide Bookmarks Bar */
  168. #PersonalToolbar {
  169. display: none;
  170. }
  171.  
  172. /* Hide on Resize - Under 185px */
  173. @container sidebar (max-width: 185px) {
  174. #stop-reload-button {
  175. visibility: hidden;
  176. }
  177.  
  178. #back-button {
  179. right: 65px;
  180. }
  181.  
  182. #forward-button {
  183. right: 15px;
  184. }
  185. }
  186.  
  187. /* URL Bar Styling */
  188. #urlbar-container {
  189. position: fixed !important;
  190. top: 47px;
  191. left: 7px;
  192. width: calc(100% - 17px) !important;
  193. visibility: visible !important;
  194. opacity: 1 !important;
  195. z-index: 1;
  196. pointer-events: auto !important;
  197. }
  198.  
  199. #urlbar {
  200. box-shadow: none;
  201. height: 35px;
  202. pointer-events: auto !important;
  203. }
  204.  
  205. #urlbar-input {
  206. padding-left: 3px !important;
  207. font-weight: 400;
  208. font-size: 0.95em;
  209. color: color-mix(in srgb, currentColor 65%, transparent);
  210. pointer-events: auto !important;
  211. }
  212.  
  213. #zen-appcontent-wrapper {
  214. overflow: visible !important;
  215. }
  216.  
  217. #navigator-toolbox {
  218. padding-top: 50px !important;
  219. }
  220.  
  221. #urlbar:not([focused="true"]):not([breakout-extend="true"]) > #urlbar-background {
  222. background: color-mix(in srgb, var(--tab-hover-background-color) 80%, transparent) !important;
  223. }
  224.  
  225. .urlbarView-body-outer, .urlbarView-body-inner {
  226. box-sizing: border-box;
  227. pointer-events: auto !important;
  228. }
  229.  
  230. #urlbar [id$="-box"] {
  231. display: none;
  232. }
  233.  
  234. @media (-moz-bool-pref: "ark-left.hide-http-warning-icon") {
  235. #urlbar [id$="-box"]:has(#identity-icon[tooltiptext="Connection is not secure"]) {
  236. display: inherit;
  237. margin-right: 0px !important;
  238. }
  239. }
  240.  
  241. label[value="Not Secure"] {
  242. display: none;
  243. }
  244.  
  245. #identity-icon[tooltiptext="Connection is not secure"] {
  246. color: #D46955;
  247. }
  248.  
  249. #urlbar [id$="-button"]:not(#reader-mode-button) {
  250. display: none;
  251. }
  252.  
  253. #urlbar [id$="-container"] {
  254. display: none;
  255. }
  256.  
  257. #nav-bar #PanelUI-button {
  258. position: absolute;
  259. top: var(--zen-element-separation);
  260. left: 248px !important;
  261. }
  262.  
  263. #unified-extensions-panel {
  264. animation: ease-in-out;
  265. transition-duration: 0.13s;
  266. }
  267.  
  268. #customizationui-widget-panel {
  269. border-radius: var(--zen-border-radius);
  270. animation: ease-in-out;
  271. transition-duration: 0.13s;
  272. }
  273.  
  274. #window-modal-dialog {
  275. height: 100vh;
  276. max-height: 100%;
  277. }
  278.  
  279. #window-modal-dialog .dialogTemplate {
  280. position: absolute;
  281. top: 50%;
  282. left: 50%;
  283. transform: translate(-50%, -50%);
  284. }
  285.  
  286. #window-modal-dialog .dialogBox {
  287. &:not(.spotlightBox) {
  288. box-shadow: 0 0px 35px 35px rgb(0 0 0 / 0.2);
  289. }
  290. }
  291.  
  292. /* URL Bar Open Styling */
  293. #urlbar-container:has(> #urlbar[open]) {
  294. #urlbar {
  295. left: 0;
  296. top: 0;
  297. width: 760px;
  298. overflow: hidden !important;
  299. box-shadow: 0 0px 50px 50px rgb(0 0 0 / 0.2);
  300. }
  301.  
  302. #urlbar-input {
  303. font-size: 1.2em;
  304. color: unset;
  305. }
  306.  
  307. .urlbar-input-container {
  308. height: 50px;
  309. }
  310.  
  311. .urlbarView-row {
  312. height: 50px;
  313. }
  314.  
  315. .urlbar-go-button {
  316. display: none;
  317. }
  318.  
  319. .urlbarView-row-inner {
  320. flex-wrap: unset;
  321. font-weight: 500 !important;
  322. font-size: 0.98em;
  323. }
  324.  
  325. .urlbarView-row-inner strong {
  326. font-weight: unset !important;
  327. }
  328.  
  329. .urlbarView-no-wrap {
  330. flex-basis: unset;
  331. font-size: inherit;
  332. }
  333.  
  334. .urlbarView-title-separator {
  335. color: color-mix(in srgb, currentColor 30%, transparent);
  336. }
  337.  
  338. .urlbarView-url {
  339. --urlbarView-second-line-indent: 15px;
  340. font-size: inherit;
  341. color: color-mix(in srgb, currentColor 30%, transparent);
  342. }
  343.  
  344. .urlbar-background {
  345. padding-left: 100px !important;
  346. }
  347. }
  348. }
  349. }
  350.  
  351. /* Hide the Workspace Indicator */
  352. #zen-current-workspace-indicator {
  353. Display: none !important;
  354. }
  355.  
  356.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement