ⵙƧƧϽ.ƎMOЯHϽЯƎƧUⵙ⊚ⵙ◌ⵙ⊚ⵙ◌ⵙ⊚ⵙ◌ⵙ⚪ⵙ◯ⵙ◯ⵙ⚪ⵙ◌ⵙ⊚ⵙ◌ⵙ⊚ⵙ◌ⵙ⊚ⵙUSERCHROME.CSSⵙ 19KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926
  1. @namespace url('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul');
  2. @namespace htmlNs url('http://www.w3.org/1999/xhtml');
  3. // #region Features
  4. $feature-floating: true !default;
  5. $feature-floating-alignment: bottom !default;
  6. $feature-floating-distance: 18px !default;
  7. $feature-buttons: true !default;
  8. $feature-buttons-grouped: true !default;
  9. // #endregion
  10. $space-unit: 8px;
  11. %bordered-control {
  12. border: 1px solid ThreeDShadow;
  13. }
  14. findbar {
  15. position: absolute;
  16. contain: content;
  17. border: 1px solid var(--chrome-content-separator-color);
  18. @if $feature-floating {
  19. right: $feature-floating-distance;
  20. #{$feature-floating-alignment}: $feature-floating-distance;
  21. transform-origin: #{$feature-floating-alignment} center;
  22. border-radius: var(--toolbarbutton-border-radius);
  23. } @else {
  24. border-bottom-left-radius: var(--toolbarbutton-border-radius);
  25. border-bottom-right-radius: var(--toolbarbutton-border-radius);
  26. border-top-width: 0 !important;
  27. top: -1px;
  28. right: 44px;
  29. transform-origin: top center;
  30. }
  31. animation: 0.1s keyframes-scale-in;
  32. &[hidden='true'] {
  33. animation: 0.1s keyframes-scale-out;
  34. }
  35. checkbox {
  36. margin: 0 !important;
  37. @if $feature-buttons {
  38. @extend %bordered-control;
  39. @if $feature-buttons-grouped {
  40. &:not(:last-of-type) {
  41. border-top-right-radius: 0;
  42. border-bottom-right-radius: 0;
  43. }
  44. &:not(:first-of-type) {
  45. border-top-left-radius: 0;
  46. border-bottom-left-radius: 0;
  47. border-left-width: 0;
  48. }
  49. } @else {
  50. &:not(:first-of-type) {
  51. margin-inline-start: $space-unit !important;
  52. }
  53. }
  54. padding: 3px 6px;
  55. border-radius: var(--toolbarbutton-border-radius);
  56. color: var(--button-color);
  57. background-color: var(--button-bgcolor);
  58. &:hover {
  59. background-color: var(--button-hover-bgcolor);
  60. }
  61. &:active {
  62. background-color: var(--button-active-bgcolor);
  63. }
  64. &[checked='true'] {
  65. color: var(--button-primary-color);
  66. background-color: var(--button-primary-bgcolor);
  67. &:hover {
  68. background-color: var(--button-primary-hover-bgcolor);
  69. }
  70. &:active {
  71. background-color: var(--button-primary-active-bgcolor);
  72. }
  73. }
  74. &:focus-visible {
  75. outline: var(--focus-outline);
  76. outline-offset: var(--focus-outline-inset);
  77. }
  78. .checkbox-check {
  79. display: none;
  80. }
  81. } @else {
  82. &:not(:first-of-type) {
  83. margin-inline-start: $space-unit !important;
  84. }
  85. }
  86. }
  87. [anonid='findbar-textbox-wrapper'] {
  88. margin-inline-end: $space-unit * if($feature-buttons, 1, 2) !important;
  89. htmlNs|input {
  90. @extend %bordered-control;
  91. @if $feature-buttons and $feature-buttons-grouped {
  92. border-top-right-radius: 0 !important;
  93. border-bottom-right-radius: 0 !important;
  94. }
  95. }
  96. toolbarbutton {
  97. @extend %bordered-control;
  98. color: var(--button-color);
  99. background-color: var(--button-bgcolor);
  100. border-width: 1px !important;
  101. margin-inline: 0 !important;
  102. @if $feature-buttons and $feature-buttons-grouped {
  103. &:last-of-type {
  104. border-top-left-radius: 0 !important;
  105. border-bottom-left-radius: 0 !important;
  106. }
  107. &:not(:last-of-type) {
  108. border-radius: 0 !important;
  109. border-right-width: 0 !important;
  110. }
  111. }
  112. }
  113. }
  114. .findbar-label {
  115. margin: 0 !important;
  116. margin-inline-start: $space-unit !important;
  117. }
  118. description.findbar-label:empty {
  119. display: none;
  120. }
  121. }
  122. @keyframes keyframes-scale-in {
  123. 0% {
  124. transform: scaleY(0);
  125. }
  126. 100% {
  127. transform: scaleY(1);
  128. }
  129. }
  130. @keyframes keyframes-scale-out {
  131. 0% {
  132. transform: scaleY(1);
  133. }
  134. 100% {
  135. transform: scaleY(0);
  136. }
  137. }
  138. :root{
  139. --toolbarbutton-inner-padding:0px !important;
  140. --tab-min-height: 16px !important;
  141. }
  142. .titlebar-button{ padding-block: 0px !important; }
  143. #urlbar-container, #search-container{ padding-block: 1px !important; }
  144. #titlebar{ -moz-appearance:none !important; }
  145. :root[sizemode="maximized"] #navigator-toolbox{ margin-top: 0px }
  146. /* ROOT - VARS */
  147. *|*:root {
  148. --tab-min-height: 16px !important; /* adjust */
  149. --tab-min-width: 1px !important; /* adjust */
  150. }
  151. /* TABS: height */
  152. #tabbrowser-tabs,
  153. #tabbrowser-tabs > #tabbrowser-arrowscrollbox,
  154. .tabbrowser-tabs .tabbrowser-tab {
  155. min-height: var(--tab-min-height) !important;
  156. max-height: var(--tab-min-height) !important;
  157. }
  158. :root {
  159. --tab-max-height: 16px !important;
  160. --tab-min-height: 0 !important;
  161. --urlbar-toolbar-height: var(--tab-max-height) !important;
  162. }
  163. /* Bar resizing */
  164. #nav-bar,
  165. .toolbar-items,
  166. .titlebar-buttonbox-container,
  167. .tab-content,
  168. .tab-background,
  169. .tab-label-container {
  170. height: var(--tab-max-height);
  171. }
  172. .tab-background {
  173. margin: 0 !important;
  174. }
  175. .tab-secondary-label {
  176. font-size: .5em !important;
  177. margin: -.6em 0 .5em !important;
  178. }
  179. /* Selection highlight */
  180. #nav-bar toolbaritem,
  181. #nav-bar toolbarbutton {
  182. --focus-outline: none;
  183. --slimbar-highlight-color: color-mix(in srgb, var(--lwt-toolbar-field-highlight) 40%, var(--toolbar-bgcolor));
  184. /* --toolbar-field-focus-background-color: var(--slimbar-highlight-color); */
  185. }
  186. #nav-bar toolbaritem:focus-visible,
  187. #nav-bar toolbarbutton:focus-visible,
  188. #nav-bar toolbaritem #identity-icon-box:focus-visible,
  189. #nav-bar toolbaritem #star-button-box:focus-visible,
  190. #nav-bar toolbaritem .unified-extensions-item-action-button:focus-visible {
  191. background-color: var(--slimbar-highlight-color) !important;
  192. }
  193. /*----------------------------------------------------------
  194. Tabs to Bottom
  195. source: https://github.com/Arty2/userstyles/blob/master/tabs_to_bottom.userchrome.css
  196. UI model:
  197. #navigator-toolbox-background
  198. #navigator-toolbox
  199. #titlebar
  200. #toolbar-menubar
  201. #TabsToolbar
  202. #nav-bar
  203. #PersonalToolbar
  204. #browser
  205. */
  206. /* bring the browser window to the top */
  207. #browser {
  208. -moz-box-ordinal-group: 0 !important;
  209. order: 0 !important;
  210. }
  211. #navigator-toolbox-background {
  212. -moz-box-ordinal-group: 1 !important;
  213. order: 1 !important;
  214. }
  215. /* adjust paddings */
  216. *|*:root[sizemode="normal"] #browser {
  217. padding-top: 0 !important;
  218. }
  219. /* hide tab toolbar when fullscreen */
  220. #nav-bar[inFullscreen],
  221. #TabsToolbar[inFullscreen] {
  222. display: none;
  223. }
  224. /* restore top border */
  225. *|*:root[sizemode="normal"] #browser {
  226. border-top: .0px solid AccentColor !important;
  227. }
  228. *|*:root[sizemode="normal"]:-moz-window-inactive #browser {
  229. border-top-color: rgb(238,238,238) !important;
  230. }
  231. /* make toolbar border persist on fullscreen */
  232. *|*:root[sizemode="maximized"] #navigator-toolbox {
  233. border-top: .0px solid AccentColor !important;
  234. border-bottom: .0px solid AccentColor !important;
  235. }
  236. /* hide titlebar buttons */
  237. #TabsToolbar > .titlebar-buttonbox-container {
  238. display: none !important;
  239. }
  240. /*fix pop-ups opening below window*/
  241. #urlbar[open]{
  242. display: flex !important;
  243. flex-direction: column-reverse; /* use 'column' if you want to type the URL in center*/
  244. bottom: -2px !important;
  245. top: auto !important;
  246. }
  247. /*.urlbarView-body-inner { border-top: none !important; }*/
  248. /*.urlbarView { display: none !important; }*/ /* uncomment this to hidden address bar suggestions */
  249. /* Removes text from tabs */
  250. .tabbrowser-tab .tab-label {
  251. display:none !important;
  252. }
  253. /* Resizes tabs to minimum width */
  254. .tabbrowser-tab:not([pinned]) {
  255. max-width: 16px !important;
  256. min-width: 16px !important;
  257. }
  258. .tabbrowser-tab[pinned],
  259. .tabs-newtab-button {
  260. max-width: 16px !important;
  261. min-width: 16px !important;
  262. }
  263. .tabbrowser-tab[pinned=true] .tab-throbber,
  264. .tabbrowser-tab[pinned=true] .tab-icon-image {
  265. margin-left: 0px !important;
  266. margin-right: 0px !important;
  267. margin-top: 0px !important;
  268. margin-bottom: 0px !important;
  269. }
  270. /* Tabs */
  271. .tabbrowser-tab[pinned] {
  272. padding-left: 0px;
  273. padding-right: 0px;
  274. padding-top: 0px;
  275. padding-bottom: 0px;
  276. }
  277. /*
  278. * SETUP:
  279. * Must go to about:config and change browser.tabs.tabMinWidth to 0. -> this is no longer needed (last checked January 2023)
  280. */
  281. /* General Rules */
  282. #main-window:not(#f) .tabbrowser-tab {
  283. -moz-box-sizing: border-box !important;
  284. height: 16px !important;
  285. vertical-align: top !important;
  286. }
  287. #tabbrowser-tabs .arrowscrollbox-scrollbox {
  288. /* overflow: visible !important; */
  289. display: block;
  290. }
  291. .tabbrowser-tab,
  292. .tab-background {
  293. height: var(--tab-min-height);
  294. }
  295. .tab-stack .tab-content {
  296. padding: 0 0px !important;
  297. }
  298. .tabbrowser-tab:not([pinned]) {
  299. min-width: 16px !important;
  300. max-width: 16px !important;
  301. }
  302. .tabbrowser-tab:not([pinned]):not([fadein]) {
  303. max-width: 16px !important;
  304. min-width: 16px !important;
  305. }
  306. /* Pinned Tabs Rules */
  307. .tabbrowser-tab[pinned][selected] .tab-content:after{
  308. /*display: none;*/
  309. border-color: var(--tab-line-color) transparent transparent transparent;
  310. }
  311. .tabbrowser-tab[pinned][selected] .tab-line {
  312. display: none !important;
  313. }
  314. .tabbrowser-tab[pinned] .tab-content {
  315. position: relative;
  316. }
  317. .tabbrowser-tab[pinned] .tab-content:after {
  318. display: block;
  319. content: '';
  320. position: absolute;
  321. top: 0;
  322. left: 0;
  323. width: 0;
  324. height: 0;
  325. border-style: solid;
  326. border-width: 0px 0px 0 0;
  327. border-color: #ffffff transparent transparent transparent;
  328. opacity: 0.9;
  329. }
  330. /* NonPinned Tabs Rules */
  331. .tab-icon-image:not([pinned]) {
  332. margin-left: 0 !important;
  333. margin-right: 0 !important;
  334. }
  335. .tab-label-container {
  336. display: none;
  337. }
  338. .tab-close-button {
  339. display: none;
  340. }
  341. /* THIS IS OTHER STUFF - NOT BEING USED BUT HELPED WITH OVERFLOW ISSUES */
  342. /* #main-window:not(#f) .tabbrowser-tab:not([pinned]) {
  343. width: auto !important;
  344. }
  345. #main-window:not(#f) .titlebar-button {
  346. height: 16px !important;
  347. }
  348. #main-window:not(#f) #titlebar-buttonbox,
  349. .tabbrowser-arrowscrollbox scrollbox > box {
  350. display: block !important;
  351. }
  352. #main-window:not(#f) #titlebar-buttonbox {
  353. vertical-align: top !important;
  354. }
  355. .tabbrowser-arrowscrollbox scrollbox {
  356. overflow: visible !important;
  357. }
  358. .tab-label-container[textoverflow]:not([pinned]) {
  359. mask-image: unset !important;
  360. } */
  361. /*** Megabar Styler General - version 2023-03-23 ***/
  362. /*** General Preferences ***/
  363. :root {
  364. /* Number of pixels of enlargement when URL bar is focused */
  365. --mbarstyler-popout-pixels: 0px; /* [0px - 7px] */
  366. /* Top Bar Display or Not */
  367. --mbarstyler-top-bar-display: none; /* [block,none] */
  368. /* Font sizes (default: 13.8px for title, 10.2px for URL) */
  369. --mbarstyler-title-font-size: 13px; /* [13px - 18px] */
  370. --mbarstyler-url-font-size: 12px; /* [12px - 16px] */
  371. /* Rows to show without scrolling */
  372. --mbarstyler-max-rows-without-scrolling: 8;
  373. /* Bottom border for each result row */
  374. --mbarstyler-bottom-border-width: 0px; /* [0px or 1px] */
  375. /* Height adjustment for labels (Proton) */
  376. --mbarstyler-label-height-adjustment: /*[[labelheight]]*/; /* [0px or 35px] */
  377. /* Match display style */
  378. --mbarstyler-match-weight: 400; /* [400,700] */
  379. --mbarstyler-match-background-opacity: 0.05; /* [0.0,0.05,0.1] */
  380. }
  381. /*** URL bar enlargement or lack thereof ***/
  382. /* Compute new position, width, and padding */
  383. #urlbar[breakout][breakout-extend] {
  384. top: calc(5px - var(--mbarstyler-popout-pixels) - 1px) !important; /* updated for Proton */
  385. left: calc(0px - var(--mbarstyler-popout-pixels) + 1px) !important; /* updated for Proton */
  386. width: calc(100% + (2 * var(--mbarstyler-popout-pixels)) - 2px) !important; /* updated for Proton */
  387. padding: var(--mbarstyler-popout-pixels) !important;
  388. }
  389. [uidensity="compact"] #urlbar[breakout][breakout-extend] {
  390. top: calc(3px - var(--mbarstyler-popout-pixels) + 1px) !important; /* updated for Proton */
  391. }
  392. [uidensity="touch"] #urlbar[breakout][breakout-extend] {
  393. top: calc(4px - var(--mbarstyler-popout-pixels) + 1px) !important; /* updated for Proton */
  394. }
  395. /* Prevent shift of URL bar contents */
  396. #urlbar[breakout][breakout-extend] > #urlbar-input-container {
  397. height: var(--urlbar-height) !important;
  398. padding: 0 !important;
  399. }
  400. /* Do not animate */
  401. #urlbar[breakout][breakout-extend] > #urlbar-background {
  402. animation: none !important;;
  403. }
  404. /* Remove shadows */
  405. #urlbar[breakout][breakout-extend] > #urlbar-background {
  406. box-shadow: none !important;
  407. }
  408. /*** Top "Blue Bar" Display ***/
  409. .urlbarView-row:first-of-type {
  410. display: var(--mbarstyler-top-bar-display) !important;
  411. }
  412. /*** Font Sizes and Scrolling ***/
  413. /* Title font-size */
  414. .urlbarView-row .urlbarView-title {
  415. font-size: var(--mbarstyler-title-font-size) !important;
  416. }
  417. /* URL / action font-size */
  418. .urlbarView-row .urlbarView-secondary,
  419. .urlbarView-row .urlbarView-url,
  420. .urlbarView-row .urlbarView-action {
  421. font-size: var(--mbarstyler-url-font-size) !important;
  422. }
  423. /* Set max-height for items visible without scrolling */
  424. #urlbarView-results, #urlbar-results {
  425. height: unset !important;
  426. max-height: calc(2.5 * (var(--mbarstyler-title-font-size) + var(--mbarstyler-bottom-border-width)) * var(--mbarstyler-max-rows-without-scrolling) + var(--mbarstyler-label-height-adjustment)) !important;
  427. }
  428. #urlbar-results {
  429. overflow-y: auto !important;
  430. }
  431. /* Clean up extra spacing at the top and bottom */
  432. #urlbar-results {
  433. padding-top: 0 !important;
  434. padding-bottom: 0 !important;
  435. }
  436. /* Clean up extra vertical spacing on "tip" suggestions, shrink icon */
  437. .urlbarView-row[type="tip"]{
  438. padding-block: 0px !important;
  439. }
  440. .urlbarView-row[type="tip"] > .urlbarView-row-inner {
  441. min-height: 0px !important;
  442. }
  443. .urlbarView-row[type="tip"] > .urlbarView-row-inner > .urlbarView-no-wrap > .urlbarView-favicon {
  444. height: 16px !important;
  445. width: 16px !important;
  446. flex-basis: 16px !important;
  447. }
  448. /* Subtle border between results */
  449. .urlbarView-row:not(:last-of-type) {
  450. border-bottom: var(--mbarstyler-bottom-border-width) solid rgba(0, 0, 0, 0.1) !important;
  451. }
  452. /* Match Styling Like Fx43-47 */
  453. [lwt-popup-darktext] .urlbarView-row:not([selected]) .urlbarView-title strong,
  454. [lwt-popup-darktext] .urlbarView-row:not([selected]) .urlbarView-url strong {
  455. font-weight: var(--mbarstyler-match-weight) !important;
  456. box-shadow: inset 0 0 1px 1px rgba(0, 0, 0, calc(var(--mbarstyler-match-background-opacity) * 2));
  457. background-color: rgba(0, 0, 0, var(--mbarstyler-match-background-opacity));
  458. border-radius: 2px;
  459. }
  460. [lwt-popup-brighttext] .urlbarView-row:not([selected]) .urlbarView-title strong,
  461. [lwt-popup-brighttext] .urlbarView-row:not([selected]) .urlbarView-url strong {
  462. font-weight: var(--mbarstyler-match-weight) !important;
  463. box-shadow: inset 0 0 1px 1px rgba(255, 255, 255, calc(var(--mbarstyler-match-background-opacity) * 2));
  464. background-color: rgba(255, 255, 255, var(--mbarstyler-match-background-opacity));
  465. border-radius: 2px;
  466. }
  467. /*[[labelhider]]*/
  468. /*** End of: Megabar Styler General ***/
  469. /*** Megabar Styler Two-Row Flex Layout - version 2021-09-09 ***/
  470. /* !!! Requires variables from Megabar Styler General !!! */
  471. /* Adjust heights for scrolling */
  472. #urlbarView-results, #urlbar-results {
  473. max-height: calc(1.625 * (var(--mbarstyler-title-font-size) + var(--mbarstyler-url-font-size) + var(--mbarstyler-bottom-border-width)) * var(--mbarstyler-max-rows-without-scrolling)) !important;
  474. }
  475. /* Wrap the url (adapted from Fx75 narrow bar design) */
  476. .urlbarView-row-inner {
  477. flex-wrap: wrap !important;
  478. padding-block: 2px !important;
  479. }
  480. .urlbarView-no-wrap {
  481. max-width: 100% !important;
  482. flex-basis: 100% !important;
  483. position: relative;
  484. }
  485. /* Remove Proton excess height from search suggestions */
  486. :root:not([uidensity="compact"]) .urlbarView-row[type="search"]{
  487. min-height: unset !important;
  488. }
  489. /* Adjust horizontal and vertical URL position */
  490. .urlbarView-row[has-url] > .urlbarView-row-inner > .urlbarView-url {
  491. padding-inline-start: calc(6px + 4px + /* favicon */ 16px) !important;
  492. margin-top: calc(2px + (var(--mbarstyler-url-font-size) - var(--mbarstyler-title-font-size)));
  493. }
  494. /* Hide the separator if there's a URL */
  495. .urlbarView[actionoverride] .urlbarView-row[has-url] .urlbarView-title-separator,
  496. .urlbarView .urlbarView-row[has-url]:not([type$=tab]) .urlbarView-title-separator,
  497. .urlbarView .urlbarView-row[type=remotetab]:-moz-any(:hover, [selected]) .urlbarView-title-separator {
  498. display: none !important;
  499. }
  500. /* Move Switch Tab info to URL line :: added 2020-04-12 */
  501. /* Make sure URL is always visible */
  502. .urlbarView-row[type="switchtab"][has-url="true"] .urlbarView-url {
  503. visibility: visible !important;
  504. }
  505. /* Show Switch to Tab or Open depending on [actionoverride] */
  506. .urlbarView:not([actionoverride]) .urlbarView-row[type="switchtab"][has-url="true"] .urlbarView-url::before {
  507. content: "Switch to Tab: ";
  508. font-style: italic;
  509. color: var(--urlbar-popup-action-color);
  510. }
  511. .urlbarView:not([actionoverride]) .urlbarView-row[type="switchtab"][has-url="true"][selected] .urlbarView-url::before {
  512. color: HighlightText; /* 2020-05-31 improve visibility when selected */
  513. }
  514. .urlbarView[actionoverride] .urlbarView-row[type="switchtab"][has-url="true"] .urlbarView-url::before {
  515. content: "Open: ";
  516. font-style: italic;
  517. color: var(--urlbar-popup-action-color);
  518. }
  519. .urlbarView[actionoverride] .urlbarView-row[type="switchtab"][has-url="true"][selected] .urlbarView-url::before {
  520. color: HighlightText; /* 2020-05-31 improve visibility when selected */
  521. }
  522. /* Hide the existing Action phrase and separator */
  523. .urlbarView-row[type="switchtab"][has-url="true"] .urlbarView-action,
  524. .urlbarView-row[type="switchtab"][has-url="true"] .urlbarView-title-separator {
  525. display: none !important;
  526. }
  527. /* A little more room for the address bar when drop-down is open :: added 2020-06-02 */
  528. .urlbarView {
  529. margin-block-start: 0 !important;
  530. }
  531. /*** End of: Megabar Styler Two-Row Flex Layout ***/
  532. /*** Megabar Styler One-Offs - version 2020-05-31 ***/
  533. /*** One-Off Search Button Preferences ***/
  534. :root {
  535. /* One-Offs Display or Not */
  536. --mbarstyler-oneoffs-display: flex; /* [flex,none] */
  537. }
  538. /* Show or Hide the One-Offs Search Icon Bar */
  539. #urlbar .search-one-offs:not([hidden]) {
  540. display: var(--mbarstyler-oneoffs-display) !important;
  541. }
  542. /* Shorten the One-Offs Search Icon Bar Vertically */
  543. #urlbar .search-one-offs:not([hidden]) {
  544. padding-block: unset !important;
  545. }
  546. /* We don't need the text */
  547. #urlbar .search-one-offs .search-panel-header {
  548. display: none !important;
  549. }
  550. /*** End of: Megabar Styler One-Offs ***/