difool2nice

userchrome FF60 may 2018

May 19th, 2018
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 62.02 KB | None | 0 0
  1.  
  2. /* --------------no fade effect adress bar---------- */
  3. @namespace "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
  4. @namespace html "http://www.w3.org/1999/xhtml";
  5. @-moz-document url("chrome://browser/content/browser.xul") {
  6.     /* other custom browser.xul CSS here */
  7.     html|input.urlbar-input[textoverflow]:not([focused]) {
  8.         mask-image: initial !important;
  9.     }
  10. }
  11.  
  12. /*---------------------------------------- about firefox --------------------------------------------------------------------*/
  13. @-moz-document url("chrome://browser/content/aboutDialog.xul") {
  14. #leftBox {
  15. background-image: url("Logo.png") !important;
  16. background-position: left;
  17. background-repeat: no-repeat !important;
  18. }
  19. #aboutDialogContainer {
  20. border: none !important;
  21. background: #1f1f1f !important;
  22. font-family: Fira Sans !important;
  23. font-size: 14px !important;
  24. color: dodgerblue !important;
  25. }
  26. #bottomBox {
  27. background-color: #1f1f1f !important;
  28. }
  29. }
  30. /*-----------------------------------------------------------------------------------*/
  31. /*icones barre d'adresse à gauche */
  32. #page-action-buttons {
  33. -moz-box-ordinal-group: 0 !important;
  34. /* Move the PageActions to the left */
  35. }
  36.  
  37.  
  38. #pageActionButton {
  39. -moz-box-ordinal-group: 2 !important;
  40. /* Move the three dots to the end (rightmost) of the PageActions*/
  41. }
  42. /*------------------------------------------------------------------------------------*/
  43. statuspanel .statuspanel-label {
  44. -moz-appearance: none !important;
  45. background-color: black !important;
  46. font-family: Fira Sans !important;
  47. color: dodgerblue !important;
  48. border: 1px solid black !important;
  49. }
  50.  
  51. /* Revert tab throbber */
  52.  
  53. .tab-throbber[busy]::before {
  54. background-image: url("chrome://global/skin/icons/loading.png") !important;
  55. animation: unset !important;
  56. }
  57.  
  58. .tab-throbber[busy]:not([progress])::before {
  59. filter: grayscale(100%);
  60. }
  61.  
  62. @media (min-resolution: 2dppx) {
  63. .tab-throbber[busy]::before {
  64. background-image: url("chrome://global/skin/icons/loading@2x.png") !important;
  65. }
  66. }
  67.  
  68. /* New arrows navigation icons */
  69.  
  70. #back-button {
  71. list-style-image: url("left-arrow.png") !important;
  72. }
  73.  
  74. #forward-button {
  75. list-style-image: url("right-arrow.png") !important;
  76. }
  77.  
  78. /* restart button */
  79.  
  80. #alltabs-button {
  81. -moz-binding: url(data:text/xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+DQo8IS0tIENvcHlyaWdodCAoYykgMjAxNyBIYWdnYWkgTnVjaGkNCkF2YWlsYWJsZSBmb3IgdXNlIHVuZGVyIHRoZSBNSVQgTGljZW5zZToNCmh0dHBzOi8vb3BlbnNvdXJjZS5vcmcvbGljZW5zZXMvTUlUDQogLS0+DQoNCjwhLS0gUnVuIHVzZXJDaHJvbWUuanMvdXNlckNocm9tZS54dWwgYW5kIC51Yy5qcy8udWMueHVsLy5jc3MgZmlsZXMgIC0tPg0KPGJpbmRpbmdzIHhtbG5zPSJodHRwOi8vd3d3Lm1vemlsbGEub3JnL3hibCI+DQogICAgPGJpbmRpbmcgaWQ9ImpzIiBleHRlbmRzPSJjaHJvbWU6Ly9nbG9iYWwvY29udGVudC9iaW5kaW5ncy90b29sYmFyYnV0dG9uLnhtbCNtZW51Ij4NCiAgICAgICAgPGltcGxlbWVudGF0aW9uPg0KICAgICAgICAgICAgPGNvbnN0cnVjdG9yPjwhW0NEQVRBWw0KICAgICAgICAgICAgICAgIGlmKHdpbmRvdy51c2VyQ2hyb21lSnNNb2QpIHJldHVybjsNCiAgICAgICAgICAgICAgICB3aW5kb3cudXNlckNocm9tZUpzTW9kID0gdHJ1ZTsNCiAgICAgICAgICAgICAgICANCiAgICAgICAgICAgICAgICB2YXIgY2hyb21lRmlsZXMgPSBGaWxlVXRpbHMuZ2V0RGlyKCJVQ2hybSIsIFtdKS5kaXJlY3RvcnlFbnRyaWVzOw0KICAgICAgICAgICAgICAgIHZhciB4dWxGaWxlcyA9IFtdOw0KICAgICAgICAgICAgICAgIHZhciBzc3MgPSBDY1snQG1vemlsbGEub3JnL2NvbnRlbnQvc3R5bGUtc2hlZXQtc2VydmljZTsxJ10uZ2V0U2VydmljZShDaS5uc0lTdHlsZVNoZWV0U2VydmljZSk7DQogICAgICAgICAgICAgICAgDQogICAgICAgICAgICAgICAgd2hpbGUoY2hyb21lRmlsZXMuaGFzTW9yZUVsZW1lbnRzKCkpIHsNCiAgICAgICAgICAgICAgICAgICAgdmFyIGZpbGUgPSBjaHJvbWVGaWxlcy5nZXROZXh0KCkuUXVlcnlJbnRlcmZhY2UoQ2kubnNJRmlsZSk7DQogICAgICAgICAgICAgICAgICAgIHZhciBmaWxlVVJJID0gU2VydmljZXMuaW8ubmV3RmlsZVVSSShmaWxlKTsNCiAgICAgICAgICAgICAgICAgICAgDQogICAgICAgICAgICAgICAgICAgIGlmKGZpbGUuaXNGaWxlKCkpIHsNCiAgICAgICAgICAgICAgICAgICAgICAgIGlmKC8oXnVzZXJDaHJvbWV8XC51YylcLmpzJC9pLnRlc3QoZmlsZS5sZWFmTmFtZSkpIHsNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICBTZXJ2aWNlcy5zY3JpcHRsb2FkZXIubG9hZFN1YlNjcmlwdFdpdGhPcHRpb25zKGZpbGVVUkkuc3BlYywge3RhcmdldDogd2luZG93LCBpZ25vcmVDYWNoZTogdHJ1ZX0pOw0KICAgICAgICAgICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgICAgICAgICAgZWxzZSBpZigvKF51c2VyQ2hyb21lfFwudWMpXC54dWwkL2kudGVzdChmaWxlLmxlYWZOYW1lKSkgew0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIHh1bEZpbGVzLnB1c2goZmlsZVVSSS5zcGVjKTsNCiAgICAgICAgICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICAgICAgICAgIGVsc2UgaWYoL1wuYXNcLmNzcyQvaS50ZXN0KGZpbGUubGVhZk5hbWUpKSB7DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYoIXNzcy5zaGVldFJlZ2lzdGVyZWQoZmlsZVVSSSwgc3NzLkFHRU5UX1NIRUVUKSkNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3NzLmxvYWRBbmRSZWdpc3RlclNoZWV0KGZpbGVVUkksIHNzcy5BR0VOVF9TSEVFVCk7DQogICAgICAgICAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgICAgICAgICBlbHNlIGlmKC9eKD8hKHVzZXJDaHJvbWV8dXNlckNvbnRlbnQpXC5jc3MkKS4rXC5jc3MkL2kudGVzdChmaWxlLmxlYWZOYW1lKSkgew0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmKCFzc3Muc2hlZXRSZWdpc3RlcmVkKGZpbGVVUkksIHNzcy5VU0VSX1NIRUVUKSkNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3NzLmxvYWRBbmRSZWdpc3RlclNoZWV0KGZpbGVVUkksIHNzcy5VU0VSX1NIRUVUKTsNCiAgICAgICAgICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICANCiAgICAgICAgICAgICAgICBzZXRUaW1lb3V0KGZ1bmN0aW9uIGxvYWRYVUwoKSB7DQogICAgICAgICAgICAgICAgICAgIGlmKHh1bEZpbGVzLmxlbmd0aCA+IDApIHsNCiAgICAgICAgICAgICAgICAgICAgICAgIGRvY3VtZW50LmxvYWRPdmVybGF5KHh1bEZpbGVzLnNoaWZ0KCksIG51bGwpOw0KICAgICAgICAgICAgICAgICAgICAgICAgc2V0VGltZW91dChsb2FkWFVMLCA1KTsNCiAgICAgICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIH0sIDApOw0KICAgICAgICAgICAgXV0+PC9jb25zdHJ1Y3Rvcj4NCiAgICAgICAgPC9pbXBsZW1lbnRhdGlvbj4NCiAgICA8L2JpbmRpbmc+DQo8L2JpbmRpbmdzPg==);
  82. }
  83.  
  84. /*titre de la page*/
  85.  
  86. #pagetitle-bar {
  87. width: 1000px;
  88. /* Change this value if you want longer/shorter bar */
  89. overflow: hidden;
  90. text-overflow: "..";
  91. white-space: nowrap;
  92. margin-bottom: 1px;
  93. color: dodgerblue !important;
  94. font-family: 'Fira Sans' !important;
  95. }
  96.  
  97. #pagetitle-bar::before {
  98. content: attr(titlepage);
  99. margin-left: 2px !important;
  100. margin-right: 2px !important;
  101. }
  102. /*--------------------*/
  103.  
  104. #urlbar html|input.textbox-input::-moz-selection {
  105. font-family: Fira Sans !important;
  106. font-size: 14px !important;
  107. background-color: #1e90ff !important;
  108. border: 0px !important;
  109. opacity: 1 !important;
  110.  
  111. }
  112.  
  113. menupopup {
  114. -moz-appearance: none !important;
  115. padding: 8px 2px 8px 2px !important;
  116. background-color: #1f1f1f !important;
  117. border: 0px #A0A0A0 solid !important;
  118. /*width: 280px !important;*/
  119. min-width: 280px !important;
  120. }
  121.  
  122. menuseparator {
  123. -moz-appearance: none !important;
  124. border: none !important;
  125. padding: .5px 0px .5px 0px !important;
  126. margin: 4px 8px 4px 8px !important;
  127. background-color: #80808049 !important;
  128. }
  129.  
  130. menuitem, menu {
  131. -moz-appearance: none !important;
  132. color: white !important;
  133. padding: 3px 0px 3px 0px !important;
  134. }
  135.  
  136. menuitem[disabled="true"], menuitem[disabled="true"]>.menu-text {
  137. color: #888888 !important;
  138. }
  139.  
  140. menuitem:hover, menu:hover, menu[open="true"], menuitem[_moz-menuactive="true"] {
  141. -moz-appearance: none !important;
  142. padding: 3px 0px 3px 0px !important;
  143. background-color: dodgerblue !important;
  144. /*#414141 !important;*/
  145. }
  146. menugroup {
  147. padding: 0px !important;
  148. background-color: transparent !important;
  149. }
  150.  
  151. menuitem>.menu-text, menuitem>.menu-iconic-text {
  152. color: white !important;
  153. }
  154.  
  155. menuitem[type="checkbox"] {
  156. padding-left: 8px !important;
  157. padding-top: 5.5px !important;
  158. padding-bottom: 5.5px !important;
  159. }
  160.  
  161. menuitem[type="radio"] {
  162. padding-left: 8px !important;
  163. padding-top: 5.5px !important;
  164. padding-bottom: 5.5px !important;
  165. }
  166.  
  167. menuitem[type="checkbox"]>.menu-iconic-text, menuitem[type="radio"]>.menu-iconic-text {
  168. padding-left: 5px !important;
  169. }
  170.  
  171. menuitem[checked="true"][type="checkbox"]>.menu-iconic-left {
  172. padding: 7px 0px 0px 0px !important;
  173. border: solid white !important;
  174. border-width: 0 0 2px 2px !important;
  175. transform: rotate(-45deg) scale(.75);
  176. margin-bottom: 2px !important;
  177. }
  178.  
  179. menuitem[checked="true"][type="radio"]>.menu-iconic-left {
  180. padding: 1px !important;
  181. border: solid white;
  182. height: 17px !important;
  183. border-radius: 100%;
  184. background: white;
  185. transform: scale(.5);
  186. }
  187.  
  188. menucaption {
  189. background-color: transparent !important;
  190. color: white !important;
  191. }
  192.  
  193. #ContentSelectDropdown>menupopup {
  194. background-image: none !important;
  195. }
  196.  
  197. #ContentSelectDropdown {
  198. padding: 0px !important;
  199. }
  200.  
  201. menulist {
  202. -moz-appearance: none !important;
  203. padding: 4px 4px 4px 4px !important;
  204. border: 0px solid #666666 !important;
  205. background-color: #1f1f1f !important;
  206. }
  207.  
  208. menulist:hover {
  209. padding: 4px 4px 4px 4px !important;
  210. border: 0px solid #999999 !important;
  211. background-color: dodgerblue !important;
  212. }
  213.  
  214. menulist[open="true"] {
  215. border: 0px solid #666666 !important;
  216. background-color: dodgerblue !important;
  217. }
  218.  
  219. #context-back>.menu-iconic-left, #context-forward>.menu-iconic-left, #context-reload>.menu-iconic-left, #context-stop>.menu-iconic-left, #context-bookmarkpage>.menu-iconic-left {
  220. padding: 2px !important;
  221. }
  222.  
  223. .menu-iconic-left {
  224. -moz-appearance: none !important;
  225. padding: 0px 5px 0px 9px !important;
  226. }
  227.  
  228. .menu-right {
  229. -moz-appearance: none !important;
  230. padding: 7.5px !important;
  231. margin-right: 6px !important;
  232. color: white !important;
  233. border: solid white;
  234. border-width: 0 2px 2px 0px;
  235. transform: rotate(-45deg) scale(.55);
  236. }
  237.  
  238. tooltip {
  239. -moz-appearance: none !important;
  240. color: dodgerblue !important;
  241. background-color: #1f1f1f !important;
  242. border: 0px solid #1f1f1f !important;
  243. padding: 5.5px !important;
  244. font-family: Fira Sans !important;
  245. font-size: 12px !important;
  246. opacity: 1 !important;
  247. }
  248. /*
  249. /* Use Normal top and bottom padding for Compact */
  250. /*
  251. #PlacesToolbarItems .bookmark-item {
  252.     padding-top: 1px !important;
  253.     padding-bottom: 1px !important;
  254. }*/
  255. /*------coloring shortcuts in menus     */
  256.  
  257. menuitem .menu-iconic-accel {
  258. font-size: 13px !important;
  259. color: dodgerblue !important;
  260. }
  261.  
  262. menuitem .menu-accel {
  263. font-size: 13px !important;
  264. color: dodgerblue !important;
  265. }
  266.  
  267. #PopupAutoCompleteRichResult .ac-url:not([selected="true"]) {
  268. color: dodgerblue !important;
  269. }
  270.  
  271. /*----------------*/
  272.  
  273. #TabsToolbar {
  274. background-color: black !important;
  275. color: white !important;
  276. --toolbarbutton-inner-padding: 1px !important;
  277. }
  278.  
  279. /*-------------------------*/
  280. #urlbar:hover {
  281. background: #1f1f1f !important;
  282. opacity: 1 !important;
  283. color: white !important;
  284. border: 0px !important;
  285. }
  286.  
  287. /*---------ombre onglets ------------*/
  288.  
  289. .tabbrowser-tab[visuallyselected="true"] {
  290. box-shadow: 0 0 15px white !important;
  291. color: dodgerblue !important;
  292. }
  293.  
  294. /*----------------------------*/
  295.  
  296. icons folders, favicons, default document icons treechildren::-moz-tree-image {
  297. width: 22px !important;
  298. height: auto !important;
  299. min-height: 22px !important;
  300. margin-top: 0px !important;
  301. margin-bottom: 2px !important;
  302. }
  303.  
  304. /*--------------------------------------------*/
  305.  
  306. toolbarbutton.subviewbutton.subviewbutton-iconic .toolbarbutton-text {
  307. display: -moz-box !important;
  308. }
  309.  
  310. toolbarbutton.bookmark-item[type="menu"] {
  311. margin-right: .5em !important;
  312. }
  313.  
  314. toolbarbutton.bookmark-item[type="menu"] .toolbarbutton-text {
  315. display: -moz-box !important;
  316. }
  317.  
  318. /*-----------*/
  319.  
  320. menubar, menubutton, menulist, menu, menuitem {
  321. background-color: none !important;
  322.  
  323. font-family: Fira Sans !important;
  324. font-size: 14px !important;
  325. }
  326.  
  327. /*-------------------------------------------*/
  328.  
  329. #PanelUI-menu-button:before {
  330. content: '';
  331. width: 1px;
  332. height: 20px;
  333. background: dodgerblue !important;
  334. display: flex;
  335. }
  336.  
  337. #sidebar-header {
  338. padding: 2px !important;
  339. }
  340.  
  341. #file-menu {
  342. font-family: Fira Sans !important;
  343. font-size: 14px !important;
  344. }
  345.  
  346. #edit-menu {
  347. font-family: Fira Sans !important;
  348. font-size: 14px !important;
  349. }
  350.  
  351. #toolbar-menubar {
  352. font-family: Fira Sans !important;
  353. font-size: 14px !important;
  354. }
  355.  
  356. #history-menu {
  357. font-family: Fira Sans !important;
  358. font-size: 14px !important;
  359. }
  360.  
  361. #bookmarksMenu {
  362. font-family: Fira Sans !important;
  363. font-size: 14px !important;
  364. }
  365.  
  366. #view-menu {
  367. font-family: Fira Sans !important;
  368. font-size: 14px !important;
  369. }
  370.  
  371. #tools-menu {
  372. font-family: Fira Sans !important;
  373. font-size: 14px !important;
  374. }
  375.  
  376. #help-menu {
  377. font-family: Fira Sans !important;
  378. text-decoration: none !important;
  379. font-weight: normal !important;
  380. font-style: normal !important;
  381. font-size: 14px !important;
  382. }
  383.  
  384. #personal-bookmarks .menu-iconic-text, #personal-bookmarks .toolbarbutton-text {
  385. font-family: Fira Sans !important;
  386. font-size: 14px !important;
  387. }
  388.  
  389. .tab-text {
  390. font-family: Fira Sans !important;
  391. font-size: 14px !important;
  392. }
  393.  
  394. .autocomplete-richlistitem {
  395. font-family: Fira Sans !important;
  396. font-size: 14px !important;
  397. }
  398.  
  399. /*----------hover button color------------*/
  400.  
  401. .toolbarbutton-1 {
  402. --toolbarbutton-hover-background: dodgerblue !important;
  403. --toolbarbutton-active-background: rgba(30, 143, 255, 0.473) !important;
  404. --toolbarbutton-border-radius: 0px !important;
  405. }
  406.  
  407.  
  408. /*************************/
  409.  
  410. #urlbar, .searchbar-textbox {
  411. font-family: Fira Sans !important;
  412. border: 0px !important;
  413. }
  414.  
  415. #TabsToolbar:not([collapsed="true"])+#nav-bar {
  416. border: 0px !important;
  417. }
  418.  
  419. #navigator-toolbox::after {
  420. border: 0px !important;
  421. }
  422.  
  423. /*-----------------------*/
  424.  
  425. #sidebar-search-container, #sidebar-search-container *|input::placeholder {
  426. color: white !important;
  427. opacity: 1 !important;
  428. border: 0px !important;
  429. background-color: black !important;
  430. }
  431.  
  432. /* -------------------------------- */
  433.  
  434. #PersonalToolbar, #nav-bar {
  435. background-color: #1f1f1f !important;
  436. fill: white !important;
  437. opacity: 1 !important;
  438. }
  439.  
  440. #PlacesToolbar .bookmark-item:hover {
  441. border-radius: 0px !important;
  442. background-color: rgb(30, 143, 255) !important;
  443. color: white !important;
  444. }
  445.  
  446. #PlacesToolbar .bookmark-item:active {
  447. border-radius: 0px !important;
  448. background-color: rgb(30, 142, 255) !important;
  449. color: black !important;
  450. }
  451.  
  452. #toolbar-menubar {
  453. background-color: black !important;
  454. background-image: none !important;
  455. }
  456.  
  457. /* fonds icones carrés */
  458.  
  459. #nav-bar {
  460. --toolbarbutton-border-radius: 0px !important;
  461. }
  462.  
  463. /*----------------------*/
  464.  
  465. .toolbarbutton-1 {
  466. --toolbarbutton-hover-background: dodgerblue !important;
  467. border: 1px !important;
  468. border-radius: 0px !important;
  469. --toolbarbutton-active-background: rgba(30, 143, 255, 0.5) !important;
  470. border-radius: 0px !important;
  471. }
  472.  
  473. .urlbar-icon:not([disabled]):hover, .urlbar-icon-wrapper:not([disabled]):hover {
  474. background-color: dodgerblue !important;
  475. border-radius: 0px !important;
  476. border: 0px !important;
  477. }
  478.  
  479. .urlbar-icon[open], .urlbar-icon-wrapper[open], .urlbar-icon:not([disabled]):hover:active, .urlbar-icon-wrapper:hover:active {
  480. background-color: rgba(30, 143, 255, 0.5) !important;
  481. border-radius: 0px !important;
  482. }
  483.  
  484. .urlbar-icon-wrapper[open]>.urlbar-icon, .urlbar-icon-wrapper>.urlbar-icon:hover, .urlbar-icon-wrapper>.urlbar-icon:hover:active {
  485. background-color: dodgerblue !important;
  486. border-radius: 0px !important;
  487. }
  488.  
  489. /*== Identity Box ==*/
  490.  
  491. #identity-box:hover:not(.no-hover):not([open=true]) {
  492. background-color: rgba(30, 143, 255) !important;
  493. }
  494.  
  495. #identity-box:hover:active:not(.no-hover), #identity-box[open=true] {
  496. background-color: rgba(30, 143, 255, 0.5) !important;
  497. }
  498.  
  499. /*== Identity Popup ==*/
  500.  
  501. #identity-popup-securityView, identity-popup-security-content, .identity-popup-section, #identity-popup-securityView-footer {
  502. background-color: #1f1f1f !important;
  503. color: white !important;
  504. }
  505.  
  506. /* tabs --- rotate close button */
  507.  
  508. #tabbrowser-tabs .tabbrowser-tab:hover .tab-close-button {
  509. transform: rotate(1440deg) !important;
  510. transition: transform ease-in-out 2s !important;
  511. }
  512.  
  513. /*rotate close end */
  514.  
  515. /* Boarder color Drop Down */
  516.  
  517. #PopupAutoCompleteRichResult {
  518. border: 0px !important;
  519. }
  520.  
  521. /*------------------------*/
  522.  
  523. #tab-line[selected="true"]   {
  524. background: dodgerblue !important;
  525. /*-moz-win-accentcolor !important;*/
  526. }/*
  527. #tab-bottom-line[selected="true"] {
  528.     background: dodgerblue !important;
  529.  
  530. }*/
  531.  
  532.  
  533. .tab-background[selected="true"] {
  534. background-attachment: none !important;
  535. background-color: #1f1f1f !important;
  536. /* !important;*/
  537. background-image: none !important;
  538. }
  539.  
  540. /*--------------------------------------------*/
  541.  
  542. /* Border between background tabs */
  543.  
  544. .tabbrowser-tab::after, .tabbrowser-tab::before {
  545. display: none !important;
  546. }
  547.  
  548. /*---------------------------------------------------------------------------------------------------*/
  549.  
  550. /*
  551. Firefox 57 users: https://www.jeffersonscher.com/gm/url-bar-tweaks.html
  552. You can copy/paste into a userChrome.css file, see https://www.userchrome.org/
  553. Firefox 52-56 users: roll back your Stylish to version 2.1.1 or 2.0.7 here:
  554. https://addons.mozilla.org/firefox/addon/stylish/versions/
  555. Then find Stylish on the Add-ons page, click its More link, and turn off updates
  556. */
  557.  
  558. /*
  559. @-moz-document url("chrome://browser/content/browser.xul") {*/
  560.  
  561. /* " - Visit" or " - Search with" bar NOT HIDDEN */
  562.  
  563. @-moz-document url("chrome://browser/content/browser.xul") {
  564. /* " - Visit" or " - Search with" bar NOT HIDDEN */
  565. /*
  566. :root {
  567. --panel-separator-color: grey !important;
  568. }
  569. /* Restore persistent display of drop-marker */
  570. #urlbar:not(:hover)>.urlbar-textbox-container>.urlbar-history-dropmarker {
  571. opacity: 1 !important;
  572. border: 0px !important;
  573. }
  574. /* Set max-height for items visible without scrolling */
  575. #PopupAutoCompleteRichResult .autocomplete-richlistbox {
  576. /* height:auto doesn't work in photon */
  577. max-height: calc(40px * 10) !important;
  578. }
  579. /* Constrain drop-down width */
  580. /*#PopupAutoCompleteRichResult {
  581. max-width: 1200px !important;
  582. }*/
  583. /* Font-sizes */
  584. #PopupAutoCompleteRichResult .autocomplete-richlistitem:not([actiontype="searchengine"]) .ac-title {
  585. font-size: 14px !important;
  586. }
  587. #PopupAutoCompleteRichResult .autocomplete-richlistitem:not([actiontype="searchengine"]) .ac-url, #PopupAutoCompleteRichResult .autocomplete-richlistitem:not([actiontype="searchengine"]) .ac-action {
  588. font-family: Fira Sans !important;
  589. font-size: 12px !important;
  590. }
  591. /* Dark Themed Drop-down */
  592. /* Dark Theme - Firefox 48+ */
  593. #PopupAutoCompleteRichResult .autocomplete-richlistbox {
  594. background-color: #1f1f1f !important;
  595. }
  596. #PopupAutoCompleteRichResult .autocomplete-richlistitem {
  597. border-bottom-color: #333 !important;
  598. }
  599. .autocomplete-richlistitem .ac-title, .autocomplete-richlistitem .ac-action, .autocomplete-richlistitem .ac-separator {
  600. color: white !important;
  601. }
  602. #PopupAutoCompleteRichResult .ac-url:not([selected="true"]) {
  603. color:mediumslateblue !important;
  604. }
  605. .autocomplete-richlistitem[selected=true] {
  606. background-color: dodgerblue !important;
  607. }
  608. .autocomplete-richlistitem[selected=true] .ac-title, .ac-title[selected], .autocomplete-richlistitem[selected=true] .ac-action, .ac-action[selected], .autocomplete-richlistitem[selected=true] .ac-separator, .ac-separator[selected] {
  609. color: #eee !important;
  610. }
  611. .autocomplete-richlistitem[selected=true] .ac-url, .ac-url[selected] {
  612. color: dodgerblue !important;
  613. }
  614. #PopupAutoCompleteRichResult .autocomplete-richlistitem:hover {
  615. background-color: dodgerblue !important;
  616. }
  617. #PopupAutoCompleteRichResult .autocomplete-richlistitem[selected] {
  618. background-color: dodgerblue !important;
  619. }
  620. /* Ability to scroll in Fx57 */
  621. #PopupAutoCompleteRichResult .autocomplete-richlistbox>scrollbox {
  622. overflow-y: auto !important;
  623. padding-right: 3px !important;
  624. }
  625. #PopupAutoCompleteRichResult .autocomplete-richlistbox {
  626. padding-right: 0 !important;
  627. }
  628. }
  629.  
  630. /*----------Hamburger icon -----------*/
  631.  
  632. #PanelUI-menu-button {
  633. list-style-image: url("hamburger.png") !important;
  634. filter: white !important;
  635. }
  636.  
  637. @media (min-resolution: 4dppx) {
  638. #PanelUI-menu-button {
  639. list-style-image: url("hamburger.png") !important;
  640. filter: dodgerblue !important;
  641. opacity: 1 !important;
  642. /*transform: rotate(90deg);*/
  643. }
  644. }
  645.  
  646. /*-----------------------------------------------------------------------------*/
  647.  
  648. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  649. /*#TabsToolbar {
  650. height: 33px !important;
  651. }*/
  652.  
  653. .bookmark-item {
  654. margin-left: 0 !important;
  655. margin-right: 0 !important;
  656. padding-right: 0 !important;
  657. padding-left: 0 !important;
  658. }
  659.  
  660. toolbarbutton.bookmark-item .toolbarbutton-text {
  661. display: none !important;
  662. }
  663.  
  664. toolbarbutton.bookmark-item .toolbarbutton-icon {
  665. margin-left: 2px !important;
  666. }
  667.  
  668. #PlacesToolbarItems>.bookmark-item>.toolbarbutton-icon[label]:not([label=""]) {
  669. margin-inline-end: 2px !important;
  670. }
  671.  
  672. toolbarbutton.subviewbutton.subviewbutton-iconic .toolbarbutton-text {
  673. display: -moz-box !important;
  674. }
  675.  
  676. /* --- [2] --- */
  677.  
  678. toolbarbutton.bookmark-item[type="menu"] {
  679. margin-right: .5em !important;
  680. }
  681.  
  682. toolbarbutton.bookmark-item[type="menu"] .toolbarbutton-text {
  683. display: -moz-box !important;
  684. }
  685.  
  686. /*-------------------*/
  687.  
  688. @-moz-document url("chrome://browser/content/browser.xul"), url("chrome://browser/content/bookmarks/bookmarksPanel.xul"), url("chrome://browser/content/history/history-panel.xul") {
  689. #sidebar {
  690. max-width: none !important;
  691. min-width: 0px !important;
  692. }
  693. #sidebar, #sidebar-header {
  694. border-right: 0px solid !important;
  695. }
  696. #sidebar, #sidebar-header, #bookmarksPanel, #bookmarks-view, #history-panel, #historyTree, #downloads-panel {
  697. background-color: #1f1f1f !important;
  698. font-family: Fira Sans !important;
  699. color: white !important;
  700. }
  701. /* Sidebar items */
  702. .sidebar-placesTreechildren::-moz-tree-row {
  703. border: 0px !important;
  704. }
  705. .sidebar-placesTreechildren::-moz-tree-cell(hover) {
  706. background: dodgerblue !important;
  707. }
  708. .sidebar-placesTreechildren::-moz-tree-row(selected) {
  709. background: dodgerblue !important;
  710. }
  711. .sidebar-placesTreechildren::-moz-tree-cell-text(selected) {
  712. color: white !important;
  713. }
  714. #sidebar-splitter {
  715. opacity: 0 !important;
  716. }
  717. /* ******** OPTIONAL ********  */
  718. /* Hide scrollbar (but you can still scroll)
  719. scrollbar,
  720. scrollbar * {
  721. -moz-appearance: none !important;
  722. background: none !important;
  723. margin-left: -9px !important;
  724. }*/
  725. /* Hide white bar. Not necessary, but helpful. */
  726. #sidebar-splitter {
  727. opacity: 0 !important;
  728. }
  729. /* ****** END OPTIONAL ******  */
  730.  
  731. /*sliding bar*/
  732. #nav-bar {
  733. z-index: 1 !important;
  734. }
  735. #PersonalToolbar {
  736. margin-top: -23px !important;
  737. transition: all 0.4s ease 0s !important;
  738. }
  739. #navigator-toolbox:hover>#PersonalToolbar {
  740. margin-top: 0px !important;
  741. transition: all 0.4s ease 0s !important;
  742. }
  743.  
  744.  
  745.  
  746.  
  747. #sidebar-switcher-bookmarks>.toolbarbutton-icon, #sidebar-box[sidebarcommand="viewBookmarksSidebar"]>#sidebar-header>#sidebar-switcher-target>#sidebar-icon {
  748. color: dodgerblue !important;
  749. fill: dodgerblue !important;
  750. opacity: 1 !important;
  751. }
  752. #sidebar-switcher-history>.toolbarbutton-icon, #sidebar-box[sidebarcommand="viewHistorySidebar"]>#sidebar-header>#sidebar-switcher-target>#sidebar-icon {
  753. color: dodgerblue !important;
  754. fill: dodgerblue !important;
  755. opacity: 1 !important;
  756. }
  757. .sidebar-switcher-tabs>.toolbarbutton-icon, .sidebar-box[sidebarcommand="viewTabsSidebar"]>#sidebar-header>#sidebar-switcher-target>#sidebar-icon {
  758. color: dodgerblue !important;
  759. fill: dodgerblue !important;
  760. opacity: 1 !important;
  761. }
  762. /*icones sidebar blancs*/
  763. /*
  764. @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
  765. .bookmark-item[container],
  766. treechildren::-moz-tree-image(container) {
  767. fill: white !important;
  768. opacity: 1 !important;
  769. }*/
  770. treechildren::-moz-tree-image(OrganizerQuery_BookmarksToolbar) {
  771. fill: white !important;
  772. opacity: 1 !important;
  773. }
  774. treechildren::-moz-tree-image(OrganizerQuery_BookmarksMenu) {
  775. fill: white !important;
  776. opacity: 1 !important;
  777. }
  778. treechildren::-moz-tree-image(OrganizerQuery_UnfiledBookmarks) {
  779. fill: white !important;
  780. opacity: 1 !important;
  781. }
  782. /*-----------------------------------------RSS ITEM ----------------------------------*/
  783. [livemark] menuitem {
  784. list-style-image: url('rss3.svg') !important;
  785. }
  786. .bookmark-item[container][livemark] .bookmark-item[visited] {
  787. -moz-image-region: initial !important;
  788. list-style-image: url(rsssvg5.svg) !important;
  789. opacity: 0.45 !important;
  790.  
  791. }
  792. /*----------*/
  793. .bookmark-item[container][query], treechildren::-moz-tree-image(query) {
  794. fill: white !important;
  795. opacity: 1 !important;
  796. }
  797. /*------------------------*/
  798. /*AGENT_SHEET*/
  799. /* Firefox 57+ userChrome.css tweaks ****************************************************/
  800. /* code mostly taken from 'Classic Theme Restorer' & 'Classic Toolbar Buttons' add-ons **/
  801. /* by Aris (aris-addons@gmx.net)*********************************************************/
  802. /* Github: https://github.com/aris-t2/customcssforfx ************************************/
  803. /****************************************************************************************/
  804. /* remove background color */
  805. #urlbar .urlbar-page-action, #urlbar #star-button-animatable-box, #urlbar #pageAction-panel-bookmark, #urlbar #star-button, #urlbar #star-button-animatable-box, #urlbar .urlbar-icon, #searchbar .search-go-button {
  806. opacity: 1 !important;
  807. background: unset !important;
  808. box-shadow: unset !important;
  809. }
  810. /* colorize location bar icons (except star button) */
  811. /*
  812. #urlbar :-moz-any(#reader-mode-button, #pageActionButton,
  813. #pageAction-urlbar-emailLink, #pageAction-urlbar-sendToDevice,
  814. #pageAction-urlbar-screenshots,
  815. #pageAction-urlbar-copyURL),
  816. #urlbar,#urlbar-history-dropmarker {
  817. fill: white !important;
  818. }
  819.  
  820. #urlbar :-moz-any(#reader-mode-button, #pageActionButton,
  821. #pageAction-urlbar-emailLink, #pageAction-urlbar-sendToDevice,
  822. #pageAction-urlbar-screenshots,
  823. #pageAction-urlbar-copyURL):-moz-any(:hover,
  824. :hover:active,
  825. [open]),
  826. #urlbar .urlbar-history-dropmarker:-moz-any(:hover,
  827. :hover:active,
  828. [open]) {
  829. fill: white !important;
  830. }
  831. */
  832. /* colorize star button icon */
  833. /*
  834. #urlbar #pageAction-panel-bookmark:not([starred]),
  835. #urlbar #star-button:not([starred]) {
  836. fill: yellow !important;
  837. opacity: 1.0 !important;
  838. }*/
  839. /*
  840. .urlbar #star-button-box[open] #star-button,
  841. .urlbar #star-button:-moz-any(:hover,:hover, :active),
  842. .urlbar #star-button-animatable-box:-moz-any(:hover,:hover, :active) {
  843. filter: brightness(1.0) !important;
  844. }*/
  845. /*
  846. #urlbar #pageAction-panel-bookmark:not([starred]):-moz-any(:hover,
  847. :hover:active,
  848. [open]),
  849. #urlbar #star-button-box[open] #star-button:not([starred]),
  850. #urlbar #star-button:not([starred]):-moz-any(:hover,
  851. :hover:active) {
  852. opacity: 1 !important;
  853. filter: brightness(1.0) !important;
  854. }
  855. */
  856. /* increase brightness for search bars go button */
  857. /*
  858. #searchbar .search-go-button:-moz-any(:hover,
  859. :hover :active,[open]) {
  860. opacity: 1 !important;
  861. filter: brightness(1.0) !important;
  862. }
  863. */
  864. /* change opacity for WE page action buttons */
  865. /*
  866. #urlbar #page-action-buttons>.urlbar-icon {
  867. opacity: 1 !important;
  868. }
  869.  
  870. #urlbar #page-action-buttons>.urlbar-icon:-moz-any(:hover,
  871. :hover:active,[open]) {
  872. opacity: 1 !important;
  873. }*/
  874. /**/
  875. /* This change the color of the bottombar
  876. to dark, don't use this if you want default color (white) */
  877. #bottom-toolbar-vbox {
  878. background-color: black !important;
  879. }
  880. #bottom-toolbar {
  881. height: 30px !important;
  882. /* The value should be between 24-40px */
  883. direction: rtl !important;
  884. /* This makes the toolbar buttons
  885. positioned from right to left
  886. Should be used with the pseudo Separators below */
  887. }
  888. /* Pseudo Separators
  889. This technically transforms the flexible spaces to separators
  890. whenever they are put to the bottombar.
  891. The down side is that
  892. you cannot use flexible spaces on bottombar anymore */
  893. #bottom-toolbar toolbarspring {
  894. background: transparent !important;
  895. max-width: 0px !important;
  896. min-width: 0px !important;
  897. width: 0px !important;
  898. border-left: 1px solid white !important;
  899. border-right: 1px solid black !important;
  900. margin-top: 4px !important;
  901. margin-bottom: 4px !important;
  902. margin-left: 3px !important;
  903. margin-right: 3px !important;
  904. }
  905. /*------------------------------------------------------------------*/
  906. /*
  907. --------folder-----------------*/
  908. /* Colored folders for bookmark sidebar, toolbar, menu button, classic menu
  909. Updated Dec. 19, 2017 */
  910. /* Standard folder */
  911. #bookmarks-view treechildren::-moz-tree-image(container), #PlacesToolbarItems toolbarbutton[container="true"] .toolbarbutton-icon, #PlacesToolbarItems menu[container="true"] .menu-iconic-left, #BMB_bookmarksPopup menu[container="true"] .menu-iconic-icon, #bookmarksMenu menu[container="true"] .menu-iconic-icon {
  912. list-style-image: url('dossier.svg') !important;
  913. /*
  914. fill: #e8bb00 !important; */
  915. /* slightly muted gold */
  916. }
  917. /* Live Bookmark (RSS Feed) */
  918. #bookmarks-view treechildren::-moz-tree-image(livemark), #PlacesToolbarItems toolbarbutton[container="true"][livemark="true"] .toolbarbutton-icon, #PlacesToolbarItems menu[container="true"][livemark="true"] .menu-iconic-left, #BMB_bookmarksPopup menu[container="true"][livemark="true"] .menu-iconic-icon, #bookmarksMenu menu[container="true"][livemark="true"] .menu-iconic-icon {
  919. list-style-image: url('rss svg4.svg') !important;
  920. opacity: 1 !important;
  921. /*fill: orange !important;*/
  922. }
  923. /* Smart bookmark folder
  924. #bookmarks-view treechildren::-moz-tree-image(query),
  925. #PlacesToolbarItems toolbarbutton[container="true"][query="true"] .toolbarbutton-icon,
  926. #PlacesToolbarItems menu[container="true"][query="true"] .menu-iconic-left,
  927. #BMB_bookmarksPopup menu[container="true"][query="true"] .menu-iconic-icon,
  928. #bookmarksMenu menu[container="true"][query="true"] .menu-iconic-icon {
  929. fill: #69c !important;
  930. }*/
  931. /* These "containers" are SVG in the sidebar, not yet on the menu
  932. #bookmarks-view treechildren::-moz-tree-image(OrganizerQuery_BookmarksMenu) {
  933. fill: olive !important;
  934. }
  935. #bookmarks-view treechildren::-moz-tree-image(OrganizerQuery_BookmarksToolbar) {
  936. fill: olive !important;
  937. }
  938. #bookmarks-view treechildren::-moz-tree-image(OrganizerQuery_UnfiledBookmarks) {
  939. fill: olive !important;
  940. }*/
  941. /* Avoid overriding classic Bookmarks Toolbar and Other Bookmarks icons in menus
  942. #BMB_bookmarksPopup #BMB_bookmarksToolbar.menu-iconic-icon,
  943. #bookmarksMenu #bookmarksToolbarFolderMenu.menu-iconic-icon {
  944. list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png") !important;
  945. }
  946. #BMB_bookmarksPopup #BMB_unsortedBookmarks.menu-iconic-icon,
  947. #bookmarksMenu #menu_unsortedBookmarks.menu-iconic-icon {
  948. list-style-image: url("chrome://browser/skin/places/unsortedBookmarks.png") !important;
  949. }*/
  950. /*-min max close */
  951. #titlebar-min {
  952. list-style-image: url("yellow1.svg") !important;
  953. }
  954. #titlebar-min:hover {
  955. list-style-image: url("yellowmoins.svg") !important;
  956. background-color: transparent !important;
  957. }
  958. #titlebar-max {
  959. list-style-image: url("orange.svg") !important;
  960. /*
  961. filter: invert(100%) !important;*/
  962. }
  963. #titlebar-max:hover {
  964. list-style-image: url("plus.svg") !important;
  965. background-color: transparent !important;
  966. }
  967. #titlebar-close {
  968. list-style-image: url("rouge.svg") !important;
  969. /* filter: invert(100%) !important;*/
  970. }
  971. #titlebar-close:hover {
  972. list-style-image: url("rougeclose.svg") !important;
  973. background-color: transparent !important;
  974. }
  975. .titlebar-button>.toolbarbutton-icon {
  976. height: 14px !important;
  977. min-height: 14px !important;
  978. width: 14px !important;
  979. min-width: 14px !important;
  980. }
  981. .titlebar-button {
  982. padding-left: 6px !important;
  983. padding-right: 6px !important;
  984. padding-top: 6px !important;
  985. }
  986. /*----------------------hamburger menu-----------------------------*/
  987. .panel-arrow {
  988. fill: #1f1f1f !important;
  989. }
  990. .panel-subview-body {
  991. color: white !important;
  992. background: #1f1f1f !important;
  993. border-color: white !important;
  994. }
  995. #appMenu-zoomReset-button {
  996. color: dodgerblue !important;
  997. border-color: dodgerblue !important;
  998. border-radius: 0px !important;
  999. background-color: #1f1f1f !important;
  1000. }
  1001. .subviewbutton.panel-subview-footer {
  1002. background-color: #1f1f1f !important;
  1003. border-top: 0px solid red !important;
  1004. }
  1005. .panel-header {
  1006. border-bottom: 1px solid #1f1f1f !important;
  1007. background: #1f1f1f !important;
  1008. }
  1009. .panel-subview-footer, [class^="PanelUI-"] {
  1010. color: white !important;
  1011. background: #1f1f1f !important;
  1012. }
  1013. .subviewbutton.panel-subview-footer {
  1014. background-color: #1f1f1f !important;
  1015. border-top: 1px solid #1f1f1f !important;
  1016. }
  1017. :root {
  1018. --panel-separator-color: rgb(50, 50, 50) !important;
  1019. }
  1020. .subviewbutton[shortcut]::after {
  1021. color: dodgerblue !important;
  1022. }
  1023. .subviewbutton-nav::after {
  1024. fill: dodgerblue !important;
  1025. }
  1026. #appMenu-popup .subviewbutton .toolbarbutton-text, /* Ctrl+N Ctrl+Shift+P ect. */
  1027. #appMenu-popup .panel-arrowcontent, /* Zoom - Edit Labels */
  1028. panelmultiview .toolbaritem-combined-buttons>label {
  1029. font-family: Fira Sans !important;
  1030. }
  1031. /*
  1032. Name: Firefox Transparent Images
  1033. Version: 1.1.0
  1034. Description: Removes the white background when viewing images with transparency directly.
  1035. Copyright: hyperfekt
  1036. License: CC0 Public Domain Dedication (https://creativecommons.org/publicdomain/zero/1.0/)
  1037. */
  1038. @-moz-document regexp("(data:image/.*|.*\\.(png|gif|webp|bmp|tiff?|jp2|jpx))") {
  1039. img.transparent {
  1040. background: none !important;
  1041. color: rgba(255, 255, 255, 1) !important;
  1042. }
  1043. }
  1044. @-moz-document regexp("data:image/(svg).*|.*\\.(svg)") {
  1045. :root {
  1046. background-image: url("chrome://global/skin/media/imagedoc-darknoise.png") !important;
  1047. color: rgba(255, 255, 255, 1) !important;
  1048. }
  1049. }
  1050. /*-------------*/
  1051. /*== PNG image Panel Star ==
  1052. #editBookmarkPanelStarIcon {
  1053. background-image: none !important;
  1054. background-color: #1f1f1f !important;
  1055. list-style-image: url("star.svg") !important;
  1056. }*/
  1057. /*== SVG image URL Star ==
  1058. #star-button {
  1059. list-style-image: url("star.svg") !important;
  1060. }*/
  1061.  
  1062. panel #editBookmarkPanel, .panel-arrow, .panel-arrowcontent {
  1063. opacity: 1 !important;
  1064. fill: #1f1f1f !important;
  1065. }
  1066.  
  1067.  
  1068.  
  1069.  
  1070. /*------------------------------------------------------------------------*/
  1071. @-moz-document url("chrome://browser/content/places/places.xul") {
  1072. :root {
  1073. --magenta-50: #ff1ad9!important;
  1074. --magenta-60: #ed00b5!important;
  1075. --magenta-70: #b5007f!important;
  1076. --magenta-80: #7d004f!important;
  1077. --magenta-90: #440027!important;
  1078. --purple-50: #9400ff!important;
  1079. --purple-60: #8000d7!important;
  1080. --purple-70: #6200a4!important;
  1081. --purple-80: #440071!important;
  1082. --purple-90: #25003e!important;
  1083. --blue-40: #45a1ff !important;
  1084. --blue-50: #0a84ff!important;
  1085. --blue-60: #0060df!important;
  1086. --blue-70: #003eaa!important;
  1087. --blue-80: #002275!important;
  1088. --blue-90: #000f40!important;
  1089. --teal-50: #00feff;
  1090. --teal-60: #00c8d7;
  1091. --teal-70: #008ea4;
  1092. --teal-80: #005a71;
  1093. --teal-90: #002d3e;
  1094. --green-50: #30e60b;
  1095. --green-60: #12bc00;
  1096. --green-70: #058b00;
  1097. --green-80: #006504;
  1098. --green-90: #003706;
  1099. --yellow-50: #ffe900;
  1100. --yellow-60: #d7b600;
  1101. --yellow-70: #a47f00;
  1102. --yellow-80: #715100;
  1103. --yellow-90: #3e2800;
  1104. --red-50: #ff0039;
  1105. --red-60: #d70022;
  1106. --red-70: #a4000f;
  1107. --red-80: #5a0002;
  1108. --red-90: #3e0200;
  1109. --orange-50: #ff9400;
  1110. --orange-60: #d76e00;
  1111. --orange-70: #a44900;
  1112. --orange-80: #712b00;
  1113. --orange-90: #3e1300;
  1114. --grey-10: #f9f9fa!important;
  1115. --grey-20: #ededf0!important;
  1116. --grey-30: #d7d7db!important;
  1117. --grey-40: #b1b1b3!important;
  1118. --grey-50: #737373!important;
  1119. --grey-60: #4a4a4f!important;
  1120. --grey-70: #38383d!important;
  1121. --grey-80: #2a2a2e!important;
  1122. --grey-90: #0c0c0d!important;
  1123. --code-green: #86de74!important;
  1124. --warning-color: #FCE19F!important;
  1125. --warning-background-color: #44391F!important;
  1126. --theme-highlight-green: #86DE74;
  1127. --theme-highlight-blue: #75BFFF;
  1128. --theme-highlight-purple: #B98EFF;
  1129. --theme-highlight-red: #FF7DE9;
  1130. --theme-highlight-yellow: #FFF89E;
  1131. --theme-highlight-bluegrey: #5e88b0;
  1132. --theme-highlight-lightorange: #d99b28;
  1133. --theme-highlight-orange: #d96629;
  1134. --theme-highlight-pink: #df80ff;
  1135. --tone-1: var(--grey-10)!important;
  1136. --tone-2: var(--grey-20)!important;
  1137. --tone-3: var(--grey-30)!important;
  1138. --tone-4: var(--grey-40)!important;
  1139. --tone-5: var(--grey-50)!important;
  1140. --tone-6: var(--grey-60)!important;
  1141. --tone-7: var(--grey-70)!important;
  1142. --tone-8: var(--grey-80)!important;
  1143. --tone-9: var(--grey-90)!important;
  1144. --accent-1: var(--blue-40)!important;
  1145. --accent-2: var(--blue-50)!important;
  1146. --accent-3: var(--blue-60)!important;
  1147. --in-content-page-color: var(--tone-4)!important;
  1148. --in-content-page-background: var(--tone-7)!important;
  1149. --in-content-text-color: var(--tone-3)!important;
  1150. --in-content-selected-text: var(--accent-1)!important;
  1151. --in-content-box-background: var(--tone-6)!important;
  1152. --in-content-box-background-odd: dodgerblue !important;
  1153. --in-content-box-background-hover: var(--tone-6)!important;
  1154. --in-content-box-background-active: var(--tone-6)!important;
  1155. --in-content-box-border-color: var(--tone-5)!important;
  1156. --in-content-item-hover: rgba(0, 149, 221, 0.25)!important;
  1157. --in-content-item-selected: var(--tone-8)!important;
  1158. --in-content-border-highlight: var(--accent-1)!important;
  1159. --in-content-border-focus: var(--accent-1)!important;
  1160. --in-content-border-color: var(--tone-6)!important;
  1161. --in-content-category-outline-focus: 1px dotted #0a84ff!important;
  1162. --in-content-category-text: var(--tone-4)!important;
  1163. --in-content-category-text-active: #0c0c0d!important;
  1164. --in-content-category-text-selected: var(--accent-1)!important;
  1165. --in-content-category-text-selected-active: #0060df !important;
  1166. --in-content-category-background-hover: rgba(12, 12, 13, 0.1) !important;
  1167. --in-content-category-background-active: rgba(12, 12, 13, 0.15)!important;
  1168. --in-content-category-background-selected-hover: rgba(12, 12, 13, 0.15)!important;
  1169. --in-content-category-background-selected-active: rgba(12, 12, 13, 0.2)!important;
  1170. --in-content-tab-color: #424f5a !important;
  1171. --in-content-link-color: var(--accent-1) !important;
  1172. --in-content-link-color-hover: var(--accent-2)!important;
  1173. --in-content-link-color-active: #003eaa !important;
  1174. --in-content-link-color-visited: #0a8dff !important;
  1175. --in-content-primary-button-background: var(--accent-2)!important;
  1176. --in-content-primary-button-background-hover: var(--accent-3)!important;
  1177. --in-content-primary-button-background-active: var(--accent-3)!important;
  1178. --in-content-table-border-dark-color: var(--tone-7)!important;
  1179. --in-content-table-header-background: var(--accent-2)!important;
  1180. --theme-selection-background: var(--accent-2)!important;
  1181. --theme-selection-background-hover: var(--accent-1)!important;
  1182. --in-content-category-header-background: var(--tone-8)!important;
  1183. --selected-icon-fill-color: var(--tone-2)!important;
  1184. --in-content-dark-header-background: var(--tone-9)!important;
  1185. --secure-connection-color: var(--accent-1) !important;
  1186. --theme-sidebar-background: #1B1B1D!important;
  1187. --cm-background: var(--tone-8)!important;
  1188. --cm-selection: #353b48!important;
  1189. --cm-marker: #555!important;
  1190. --cm-linenumber: #58575c!important;
  1191. --cm-cursor: dodgerblue !important;
  1192. --cm-active-line-background: rgba(185, 215, 253, .15)!important;
  1193. --cm-matching-bracket: rgba(255, 255, 255, .25)!important;
  1194. --cm-search-background: rgba(24, 29, 32, 1)!important;
  1195. --cm-red: #de7474 !important;
  1196. --start-indicator-for-updater-scripts: black!important;
  1197. --end-indicator-for-updater-scripts: black!important;
  1198. --dummy-variable-for-updater-scripts: black !important;
  1199. }
  1200. }
  1201. /*
  1202. toolbar {
  1203. -moz-appearance: none!important;
  1204. background-color: var(--in-content-category-header-background)!important;
  1205. border: 0px!important;
  1206. }*/
  1207. /*
  1208.  
  1209.  
  1210. listbox,
  1211. textbox {
  1212. -moz-appearance: none!important;
  1213. background-color: var(--in-content-box-background) !important;
  1214. color: var(--in-content-page-color)!important;
  1215. min-height: 20px!important;
  1216. padding: 0 0 0 4px!important;
  1217. border: 1px solid!important;
  1218. border-color: var(--in-content-box-border-color)!important;
  1219. border-radius: 3px!important;
  1220. }
  1221. #placesToolbar > toolbarbutton {
  1222. margin: 6px 4px 5px!important;
  1223. -moz-appearance: none!important;
  1224. background-color: var(--tone-4)!important;
  1225. border-radius: 1px!important;
  1226. filter: invert(100%)!important;
  1227. }
  1228. #placesList {
  1229. -moz-appearance: none!important;
  1230. color: var(--in-content-page-color)!important;
  1231. background-color: var(--in-content-page-background)!important;
  1232. }
  1233. #placesView > splitter {
  1234. border-color: var(--in-content-border-color)!important;
  1235. }
  1236. #places #downloadsRichListBox {
  1237. -moz-appearance: none!important;
  1238. color: var(--in-content-page-color)!important;
  1239. background-color: var(--in-content-box-background)!important;
  1240. }
  1241. #detailsDeck {
  1242. border: 0px!important;
  1243. background-color: var(--in-content-page-background)!important;
  1244. color: var(--in-content-page-color)!important;
  1245. }
  1246. .expander-down,
  1247. .expander-up {
  1248. filter: invert(60%)!important;
  1249. }
  1250. #placeContent treechildren:not(.autocomplete-treebody)::-moz-tree-cell-text() {
  1251. color: var(--in-content-text-color)!important;
  1252. }
  1253. #places treechildren:not(.autocomplete-treebody)::-moz-tree-row(selected),
  1254. #placesList > treechildren::-moz-tree-row(selected) {
  1255. -moz-appearance: none!important;
  1256. -moz-font-smoothing-background-color: none!important;
  1257. border-top: none!important;
  1258. background: var(--theme-selection-background)!important;
  1259. color: var(--in-content-text-color)!important;
  1260. }
  1261. #placeContent treechildren:not(.autocomplete-treebody)::-moz-tree-cell-text(selected),
  1262. #placesList > treechildren::-moz-tree-cell-text(selected) {
  1263. color: var(--in-content-text-color)!important;
  1264. }
  1265. #places treechildren::-moz-tree-row {
  1266. background-color: transparent!important;
  1267. }
  1268. #places treechildren::-moz-tree-image {
  1269. fill: var(--in-content-page-color)!important;
  1270. }
  1271. #places treechildren::-moz-tree-image(selected) {
  1272. fill: var(--selected-icon-fill-color)!important;
  1273. }
  1274. #placeContent > treechildren::-moz-tree-cell,
  1275. #placeContent > treechildren::-moz-tree-column {
  1276. border-color: var(--in-content-box-border-color)!important;
  1277. }
  1278. #contentView treecol {
  1279. -moz-appearance: none!important;
  1280. border: 0px!important;
  1281. background: var(--in-content-category-header-background)!important;
  1282. color: var(--in-content-text-color)!important;
  1283. border-right: 1px solid!important;
  1284. border-color: var(--in-content-box-border-color)!important;
  1285. }
  1286. tree {
  1287. background-color: var(--in-content-box-background)!important;
  1288. }
  1289. @media screen and (-moz-windows-theme),
  1290. screen and (-moz-windows-classic),
  1291. screen and (-moz-windows-default-theme),
  1292. screen and (-moz-os-version:windows-win7),
  1293. screen and (-moz-os-version:windows-win8),
  1294. screen and (-moz-os-version:windows-win10) {
  1295. #metaTagsCaption,
  1296. #security-identity,
  1297. #security-identity-groupbox,
  1298. #security-privacy,
  1299. #security-privacy-groupbox,
  1300. #security-technical,
  1301. #security-technical-groupbox {
  1302. -moz-appearance: none!important;
  1303. background-color: var(--in-content-page-background)!important;
  1304. border: 0px!important;
  1305. color: var(--in-content-selected-text)!important;
  1306. }
  1307. #security-identity-groupbox,
  1308. #security-privacy-groupbox,
  1309. #security-technical-groupbox {
  1310. -moz-appearance: none!important;
  1311. background-color: var(--in-content-category-header-background)!important;
  1312. }
  1313. }
  1314. }
  1315. }
  1316. */
  1317. #sidebar-header, #sidebar-search-container, #sidebar-search-container #viewButton, .content-header, .sidebar-header {
  1318. background: black !important; /*var(--in-content-category-header-background)!important;*/
  1319. color: white !important;
  1320. }
  1321. .sidebar-search-container.tabs-container.sync-state.selected .search-box, hbox#sidebar-search-container textbox#search-box {
  1322. -moz-appearance: none !important;
  1323. background-color: black !important; /*var(--in-content-box-background) !important;*/
  1324. color: var(--in-content-page-color) !important;
  1325. min-height: 20px!important;
  1326. padding: 0 0 0 4px!important;
  1327. border: 0px solid!important;
  1328. border-color: black !important;
  1329. border-radius: 0px!important;
  1330. }
  1331. .sidebar-search-container.tabs-container.sync-state.selected .search-box .textbox-input-box {
  1332. background-color: black !important;
  1333. padding: 2px
  1334. }
  1335. #sidebar, #sidebar-box, #template-container, #webext-panels-browser, #webextpanels-window {
  1336. background-color: #1f1f1f !important; /*var(--in-content-page-background)!important;*/
  1337. color: white !important;
  1338. font-family : Fira Sans !important;
  1339. }
  1340. }
  1341. /*---------------------------------library ----------------------------------*/
  1342. :root {
  1343. --magenta-50: #ff1ad9;
  1344. --magenta-60: #ed00b5;
  1345. --magenta-70: #b5007f;
  1346. --magenta-80: #7d004f;
  1347. --magenta-90: #440027;
  1348. --purple-50: #9400ff;
  1349. --purple-60: #8000d7;
  1350. --purple-70: #6200a4;
  1351. --purple-80: #440071;
  1352. --purple-90: #25003e;
  1353. --blue-40: #45a1ff;
  1354. --blue-50: #0a84ff;
  1355. --blue-60: #0060df;
  1356. --blue-70: #003eaa;
  1357. --blue-80: #002275;
  1358. --blue-90: #000f40;
  1359. --teal-50: #00feff;
  1360. --teal-60: #00c8d7;
  1361. --teal-70: #008ea4;
  1362. --teal-80: #005a71;
  1363. --teal-90: #002d3e;
  1364. --green-50: #30e60b;
  1365. --green-60: #12bc00;
  1366. --green-70: #058b00;
  1367. --green-80: #006504;
  1368. --green-90: #003706;
  1369. --yellow-50: #ffe900;
  1370. --yellow-60: #d7b600;
  1371. --yellow-70: #a47f00;
  1372. --yellow-80: #715100;
  1373. --yellow-90: #3e2800;
  1374. --red-50: #ff0039;
  1375. --red-60: #d70022;
  1376. --red-70: #a4000f;
  1377. --red-80: #5a0002;
  1378. --red-90: #3e0200;
  1379. --orange-50: #ff9400;
  1380. --orange-60: #d76e00;
  1381. --orange-70: #a44900;
  1382. --orange-80: #712b00;
  1383. --orange-90: #3e1300;
  1384. --grey-10: #f9f9fa;
  1385. --grey-20: #ededf0;
  1386. --grey-30: #d7d7db;
  1387. --grey-40: #b1b1b3;
  1388. --grey-50: #737373;
  1389. --grey-60: #4a4a4f;
  1390. --grey-70: #38383d;
  1391. --grey-80: #2a2a2e;
  1392. --grey-90: #0c0c0d;
  1393. --code-green: #86de74 !important;
  1394. --warning-color: #FCE19F;
  1395. --warning-background-color: #44391F;
  1396. --theme-highlight-green: #86DE74;
  1397. --theme-highlight-blue: #75BFFF;
  1398. --theme-highlight-purple: #B98EFF;
  1399. --theme-highlight-red: #FF7DE9;
  1400. --theme-highlight-yellow: #FFF89E;
  1401. --theme-highlight-bluegrey: #5e88b0;
  1402. --theme-highlight-lightorange: #d99b28;
  1403. --theme-highlight-orange: #d96629;
  1404. --theme-highlight-pink: #df80ff;
  1405. --tone-1: var(--grey-10);
  1406. --tone-2: var(--grey-20);
  1407. --tone-3: var(--grey-30);
  1408. --tone-4: var(--grey-40);
  1409. --tone-5: var(--grey-50);
  1410. --tone-6: var(--grey-60);
  1411. --tone-7: var(--grey-70);
  1412. --tone-8: var(--grey-80);
  1413. --tone-9: var(--grey-90);
  1414. --accent-1: var(--blue-40);
  1415. --accent-2: var(--blue-50);
  1416. --accent-3: var(--blue-60);
  1417. --in-content-page-color: var(--tone-1) !important;
  1418. --in-content-page-background: var(--tone-7) !important;
  1419. --in-content-text-color: var(--tone-1) !important;
  1420. --in-content-selected-text: var(--tone-1) !important;
  1421. --in-content-box-background: var(--tone-6) !important;
  1422. --in-content-box-background-odd: #f3f6fa;
  1423. --in-content-box-background-hover: var(--tone-6) !important;
  1424. --in-content-box-background-active: var(--tone-6) !important;
  1425. --in-content-box-border-color: var(--tone-5) !important;
  1426. --in-content-item-hover: rgba(0, 149, 221, 0.25);
  1427. --in-content-item-selected: var(--tone-8) !important;
  1428. --in-content-border-highlight: var(--accent-1) !important;
  1429. --in-content-border-focus: var(--accent-1) !important;
  1430. --in-content-border-color: var(--tone-6) !important;
  1431. --in-content-category-outline-focus: 1px dotted #0a84ff;
  1432. --in-content-category-text: var(--tone-4) !important;
  1433. --in-content-category-text-active: #0c0c0d;
  1434. --in-content-category-text-selected: var(--accent-1) !important;
  1435. --in-content-category-text-selected-active: #0060df;
  1436. --in-content-category-background-hover: rgba(12, 12, 13, 0.1);
  1437. --in-content-category-background-active: rgba(12, 12, 13, 0.15);
  1438. --in-content-category-background-selected-hover: rgba(12, 12, 13, 0.15);
  1439. --in-content-category-background-selected-active: rgba(12, 12, 13, 0.2);
  1440. --in-content-tab-color: #424f5a;
  1441. --in-content-link-color: var(--accent-1) !important;
  1442. --in-content-link-color-hover: var(--accent-2) !important;
  1443. --in-content-link-color-active: #003eaa;
  1444. --in-content-link-color-visited: #0a8dff;
  1445. --in-content-primary-button-background: var(--accent-2) !important;
  1446. --in-content-primary-button-background-hover: var(--accent-3) !important;
  1447. --in-content-primary-button-background-active: var(--accent-3) !important;
  1448. --in-content-table-border-dark-color: var(--tone-7) !important;
  1449. --in-content-table-header-background: var(--accent-2) !important;
  1450. --theme-selection-background: var(--accent-2) !important;
  1451. --theme-selection-background-hover: var(--accent-1) !important;
  1452. --in-content-category-header-background: var(--tone-8) !important;
  1453. --selected-icon-fill-color: var(--tone-2) !important;
  1454. --in-content-dark-header-background: var(--tone-9) !important;
  1455. --secure-connection-color: var(--accent-1);
  1456. --theme-sidebar-background: #1B1B1D !important;
  1457. --cm-background: var(--tone-8) !important;
  1458. --cm-selection: #353b48 !important;
  1459. --cm-marker: #555 !important;
  1460. --cm-linenumber: #58575c !important;
  1461. --cm-cursor: #fff !important;
  1462. --cm-active-line-background: rgba(185, 215, 253, .15) !important;
  1463. --cm-matching-bracket: rgba(255, 255, 255, .25) !important;
  1464. --cm-search-background: rgba(24, 29, 32, 1) !important;
  1465. --cm-red: #de7474 !important;
  1466. --start-indicator-for-updater-scripts: black;
  1467. --end-indicator-for-updater-scripts: black;
  1468. --dummy-variable-for-updater-scripts: black;
  1469. }
  1470. @-moz-document url("chrome://global/content/commonDialog.xul") {
  1471.     #commonDialog {
  1472.         -moz-appearance: none !important;
  1473.         background: var(--in-content-page-background) !important;
  1474.         color: var(--in-content-page-color) !important;
  1475.     }
  1476. }
  1477. @-moz-document url(chrome://browser/content/places/places.xul) {
  1478.  
  1479. toolbar {
  1480. -moz-appearance: none !important;
  1481. background-color: var(--in-content-category-header-background) !important;
  1482. border: none !important
  1483. }
  1484. listbox,
  1485. textbox {
  1486. -moz-appearance: none !important;
  1487. background-color: var(--in-content-box-background) !important;
  1488. color: var(--in-content-page-color) !important;
  1489. min-height: 20px !important;
  1490. padding: 0 0 0 4px !important;
  1491. border: 1px solid !important;
  1492. border-color: var(--in-content-box-border-color) !important;
  1493. border-radius: 3px !important
  1494. }
  1495. #editBMPanel_rows>row>hbox>textbox,
  1496. #editBMPanel_rows>row>textbox,
  1497. #editBMPanel_tagsSelector {
  1498. background: var(--in-content-box-background) !important;
  1499. }
  1500. #placesToolbar>toolbarbutton {
  1501. margin: 6px 4px 5px !important;
  1502. -moz-appearance: none !important;
  1503. background-color: var(--tone-4) !important;
  1504. border-radius: 5px !important;
  1505. filter: invert(100%) !important
  1506. }
  1507. #placesList {
  1508. -moz-appearance: none !important;
  1509. color: var(--in-content-page-color) !important;
  1510. background-color: var(--in-content-page-background) !important
  1511. }
  1512. #placesView>splitter {
  1513. border-color: var(--in-content-border-color) !important
  1514. }
  1515. #places #downloadsRichListBox {
  1516. -moz-appearance: none !important;
  1517. color: var(--in-content-page-color) !important;
  1518. background-color: var(--in-content-box-background) !important
  1519. }
  1520. #detailsDeck {
  1521. font-family: Fira Sans !important;
  1522. border: none !important;
  1523. background-color: var(--in-content-page-background) !important;
  1524. color: var(--in-content-page-color) !important
  1525. }
  1526. .expander-down,
  1527. .expander-up {
  1528. filter: invert(77%) !important
  1529. }
  1530. #placeContent treechildren:not(.autocomplete-treebody)::-moz-tree-cell-text() {
  1531. color: var(--in-content-text-color) !important
  1532. }
  1533. #places treechildren:not(.autocomplete-treebody)::-moz-tree-row(selected),
  1534. #placesList>treechildren::-moz-tree-row(selected) {
  1535. -moz-appearance: none !important;
  1536. -moz-font-smoothing-background-color: none !important;
  1537. border-top: none !important;
  1538. background: var(--theme-selection-background) !important;
  1539. color: var(--in-content-text-color) !important
  1540. }
  1541. #placeContent treechildren:not(.autocomplete-treebody)::-moz-tree-cell-text(selected),
  1542. #placesList>treechildren::-moz-tree-cell-text(selected) {
  1543. color: var(--in-content-text-color) !important
  1544. }
  1545. #places treechildren::-moz-tree-row {
  1546. background-color: transparent !important
  1547. }
  1548. #places treechildren::-moz-tree-image {
  1549. fill: var(--in-content-page-color) !important
  1550. }
  1551. #places treechildren::-moz-tree-image(selected) {
  1552. fill: var(--selected-icon-fill-color) !important
  1553. }
  1554. #placeContent>treechildren::-moz-tree-cell,
  1555. #placeContent>treechildren::-moz-tree-column {
  1556. border-color: var(--in-content-box-border-color) !important
  1557. }
  1558. #contentView treecol {
  1559. -moz-appearance: none !important;
  1560. border: none !important;
  1561. background: var(--in-content-category-header-background) !important;
  1562. color: var(--in-content-text-color) !important;
  1563. border-right: 1px solid !important;
  1564. border-color: var(--in-content-box-border-color) !important
  1565. }
  1566. tree {
  1567. background-color: var(--in-content-box-background) !important;
  1568. }
  1569. #editBMPanel_tagsSelectorExpander.expander-down {
  1570. -moz-appearance: -moz-mac-disclosure-button-closed !important;
  1571. filter: invert(79%) !important;
  1572. }
  1573. #editBMPanel_tagsSelectorExpander.expander-up {
  1574. -moz-appearance: -moz-mac-disclosure-button-open !important;
  1575. filter: invert(79%) !important;
  1576. }
  1577. #main-menubar {
  1578. background-color: var(--in-content-category-header-background) !important;
  1579. }
  1580. #main-menubar>* {
  1581. color: var(--in-content-page-color) !important;
  1582. }
  1583. #main-menubar> :hover,
  1584. menubar>menu[_moz-menuactive=true][open=true] {
  1585. -moz-appearance: none !important;
  1586. background: var(--in-content-page-background) !important;
  1587. }
  1588. @media screen and (-moz-windows-theme),
  1589. screen and (-moz-windows-classic),
  1590. screen and (-moz-windows-default-theme),
  1591. screen and (-moz-os-version:windows-win7),
  1592. screen and (-moz-os-version:windows-win8),
  1593. screen and (-moz-os-version:windows-win10) {
  1594. #metaTagsCaption,
  1595. #security-identity,
  1596. #security-identity-groupbox,
  1597. #security-privacy,
  1598. #security-privacy-groupbox,
  1599. #security-technical,
  1600. #security-technical-groupbox {
  1601. -moz-appearance: none !important;
  1602. background-color: var(--in-content-page-background) !important;
  1603. border: none !important;
  1604. color: var(--in-content-selected-text) !important
  1605. }
  1606. #placesMenu>menu {
  1607. color: var(--in-content-page-color) !important
  1608. }
  1609. #security-identity-groupbox,
  1610. #security-privacy-groupbox,
  1611. #security-technical-groupbox {
  1612. -moz-appearance: none !important;
  1613. background-color: var(--in-content-category-header-background) !important
  1614. }
  1615. #places treechildren:not(.autocomplete-treebody)::-moz-tree-row(hover):not(.autocomplete-treebody)::-moz-tree-cell-text(selected) {
  1616. background: 0 0 !important;
  1617. -moz-border-top-colors: transparent !important;
  1618. -moz-border-right-colors: transparent !important;
  1619. -moz-border-left-colors: transparent !important;
  1620. -moz-border-bottom-colors: transparent !important
  1621. }
  1622. }
  1623. @media screen and (-moz-os-version:windows-win7) {
  1624. treechildren {
  1625. --treechildren-outline: none !important;
  1626. }
  1627. }
  1628. }
  1629. /*-------------------------------------------------------------------------------------------------------------------------*/
  1630.  
  1631. #urlbar, .searchbar-textbox {
  1632. font-family: Fira Sans !important;
  1633. border: 0px !important;
  1634. }
  1635.  
  1636. /* MULTI-ROW TABS
  1637. based on https://www.reddit.com/r/FirefoxCSS/comments/7dclp7/multirow_tabs_in_ff57/
  1638. If tabs are too narrow, go into about:config and adjust browser.tabs.tabMinWidth
  1639. */
  1640.  
  1641. /* General Rules
  1642. #tabbrowser-tabs .arrowscrollbox-scrollbox {
  1643. overflow: visible;
  1644. display: block;
  1645. }
  1646. #tabbrowser-tabs .scrollbox-innerbox {
  1647. display: flex;
  1648. flex-wrap: wrap;
  1649. min-height: var(--tab-min-height);
  1650. max-height: calc((5 * 32) + 1px) !important;
  1651. .tabbrowser-tab, .tab-background {
  1652. height: var(--tab-min-height) !important;
  1653. }
  1654. .tab-stack {
  1655. width: 100%;
  1656. }
  1657. #main-window[sizemode="normal"] #TabsToolbar {
  1658. border-left: 0px solid #888 !important;
  1659. }*/
  1660.  
  1661. /* Title bar rules
  1662. #titlebar, #titlebar-buttonbox {
  1663. height: var(--tab-min-height) !important;
  1664. }
  1665. #titlebar {
  1666. margin-bottom: calc(var(--tab-min-height)*-1) !important;
  1667. }
  1668. #main-window[sizemode="maximized"] #titlebar {
  1669. margin-bottom: calc(6px + var(--tab-min-height)*-1) !important;
  1670. }
  1671. #titlebar:active {
  1672. margin-bottom: 0 !important;
  1673. }
  1674. #titlebar:active #titlebar-content {
  1675. margin-bottom: var(--tab-min-height) !important;
  1676. }*/
  1677.  
  1678. /*Remove unnecessary buttons and the blank areas at left and right
  1679. #tabbrowser-tabs .scrollbutton-up, #tabbrowser-tabs .scrollbutton-down,
  1680. #alltabs-button, .tabbrowser-tab:not([fadein]),
  1681. .titlebar-placeholder[type="pre-tabs"],
  1682. .titlebar-placeholder[type="post-tabs"] {
  1683. display: none;
  1684. }*/
  1685.  
  1686. /* Ensure a border between tabs (#aaa is a light gray)
  1687. .tabbrowser-tab:not(:last-of-type) {
  1688. border-right: 0px solid #aaa !important;
  1689. }
  1690.  
  1691.  
  1692. */
  1693.  
  1694. /*
  1695. https://www.reddit.com/r/firefox/comments/726p8u/multirow_tabs_firefox_ignores_mozboxflex/dngb8qf/
  1696.  
  1697.  
  1698. .tabbrowser-tab:not([pinned]) {
  1699. flex-grow: 1;
  1700. min-width: 350px;
  1701. }
  1702.  
  1703. .tabbrowser-tab,
  1704. .tab-background {
  1705. height: var(--tab-min-height);
  1706. }
  1707.  
  1708. #tab-stack {
  1709. width: 100%;
  1710. }
  1711.  
  1712. #tabbrowser-tabs .scrollbox-innerbox {
  1713. display: flex;
  1714. flex-wrap: wrap;
  1715. }
  1716.  
  1717. #tabbrowser-tabs .arrowscrollbox-scrollbox {
  1718. overflow: visible;
  1719. display: block;
  1720. }
  1721.  
  1722. #titlebar,
  1723. #titlebar-buttonbox {
  1724. height: var(--tab-min-height) !important;
  1725. }
  1726.  
  1727. #titlebar {
  1728. margin-bottom: calc(var(--tab-min-height)*-1) !important;
  1729. }
  1730.  
  1731. #main-window[sizemode="maximized"] #titlebar {
  1732. margin-bottom: calc(6px + var(--tab-min-height)*-1) !important;
  1733. }
  1734.  
  1735. #main-window[sizemode="maximized"] #TabsToolbar {
  1736. margin-left: var(--tab-min-height);
  1737. }
  1738.  
  1739. #titlebar:active {
  1740. margin-bottom: 0 !important;
  1741. }
  1742.  
  1743. #titlebar:active #titlebar-content {
  1744. margin-bottom: var(--tab-min-height) !important;
  1745. }
  1746.  
  1747. .tabbrowser-tabs .scrollbutton-up,
  1748. .tabbrowser-tabs .scrollbutton-down,
  1749. #alltabs-button,
  1750. .tabbrowser-tab:not([fadein]) {
  1751. display: none;
  1752. }
  1753. */
  1754.  
  1755. /*==== Thumping Sound icon for tab that has sound playing ====*/
  1756.  
  1757. .tab-icon-sound[soundplaying] {/*
  1758. transform: rotate(-90deg);*/
  1759. animation: thump .40s linear infinite;
  1760. }
  1761.  
  1762. @keyframes thump {
  1763. 10%,
  1764. 90% {
  1765. margin-top: 7px;
  1766. }
  1767. }
  1768.  
  1769. .tab-icon-sound[muted] {
  1770. color: dodgerblue !important;
  1771. transform: rotate(-90deg);
  1772. animation: none;
  1773. }
  1774.  
  1775. .tab-icon-sound[soundplaying] {
  1776. margin-right: 7px;
  1777. }
  1778.  
  1779. .tab-icon-sound[soundplaying] {
  1780. margin-bottom: 6px;
  1781. }
  1782.  
  1783.  
  1784. #nav-bar {
  1785. min-height: 30px !important;
  1786. }
  1787. #urlbar,
  1788. .searchbar-textbox {
  1789. border-radius: 0px !important;
  1790. min-height: 26px !important;
  1791. }
  1792. #urlbar {
  1793.     border-radius: 16px !important;
  1794. }
  1795.  
  1796.  
  1797. /*
  1798. light & Dark🔥- userChrome.
  1799. :root:not([uidensity=compact]) #back-button {
  1800. padding-top: 0 !important;
  1801. padding-bottom: 0 !important;
  1802. }
  1803. :root:not([uidensity=compact]) #back-button > .toolbarbutton-icon {
  1804. background-color: unset !important;
  1805. border: none !important;
  1806. }
  1807.  
  1808. .tabbrowser-tab::after,
  1809. .tabbrowser-tab::before {
  1810. border-left: none !important;
  1811. }
  1812.  
  1813. .titlebar-placeholder[type="pre-tabs"],
  1814. .titlebar-placeholder[type="post-tabs"] {
  1815. width: 25px !important;
  1816. }*/
  1817. /*
  1818. #titlebar:active {
  1819. margin-bottom: 0 !important;
  1820. }
  1821. */
  1822. /* Move the tab toolbar below the content.
  1823.  
  1824. #TabsToolbar {
  1825. position: fixed;
  1826. bottom: -0em;
  1827. width: 100%;
  1828. }
  1829. */
  1830. /* Move the content deck bottom up by the tab height. */
  1831. /* margin-bottom: var(--tab-min-height) !important;
  1832. #content-deck {
  1833.  
  1834. margin-bottom: 33px !important;
  1835. }*/
  1836. /*
  1837. #TabsToolbar:-moz-window-inactive {
  1838. background-color: rgba(30, 143, 255, 0.185) !important;
  1839. transition: .75s ease-in-out !important;
  1840. }*/
  1841.  
  1842.  
  1843.  
  1844.  
  1845. /*hide white flash */
  1846. #browser vbox#appcontent tabbrowser,
  1847. #content,
  1848. #tabbrowser-tabpanels,
  1849. browser[type=content-primary],
  1850. browser[type=content]>html {
  1851. background: var(--in-content-page-background) !important;
  1852. }
  1853.  
  1854. /*-------------------
  1855. #main-window[chromemargin] #titlebar-spacer {
  1856.     -moz-box-ordinal-group: 10;
  1857. }
  1858.  
  1859. #main-window[chromemargin] #toolbar-menubar,
  1860. #main-window[chromemargin] #toolbar-menubar[autohide="true"]~#TabsToolbar {
  1861.     margin-left: 70px !important;
  1862. }
  1863.  
  1864. #main-window[chromemargin] #titlebar-placeholder-on-TabsToolbar-for-captions-buttons {
  1865.     display: none;
  1866. }*/
  1867. /*
  1868. #TabsToolbar {
  1869.     -moz-box-direction: reverse !important;
  1870. }*/
  1871.  
  1872. /* min max close inversé
  1873. #titlebar {
  1874.     direction: rtl !important;
  1875. }
  1876. #main-menubar {
  1877.     margin-left: 85px !important;
  1878. }*/
  1879.  
  1880.  
  1881.  
  1882. /* ---------------TST ------------------*/
  1883.  
  1884.  
  1885. /* Hide main tabs toolbar
  1886.  
  1887. #main-window[tabsintitlebar="true"]:not([extradragspace="true"]) #TabsToolbar {
  1888.     opacity: 0;
  1889.     pointer-events: none;
  1890. }
  1891.  
  1892. #main-window:not([tabsintitlebar="true"]) #TabsToolbar {
  1893.     visibility: collapse !important;
  1894. }
  1895. */
  1896. /* Sidebar min and max width removal
  1897.  
  1898. #sidebar {
  1899.     max-width: none !important;
  1900.     min-width: 0px !important;
  1901. }
  1902. */
  1903. /* Hide splitter, when using Tree Style Tab.
  1904.  
  1905. #sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"]+#sidebar-splitter {
  1906.     display: none !important;
  1907. }*/
  1908.  
  1909. /* Hide sidebar header, when using Tree Style Tab
  1910.  
  1911. #sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar-header {
  1912.     visibility: collapse;
  1913. }*/
  1914.  
  1915. /* Shrink sidebar until hovered, when using Tree Style Tab.
  1916.  
  1917. :root {
  1918.     --thin-tab-width: 30px;
  1919.     --wide-tab-width: 300px;
  1920. }
  1921.  
  1922. #sidebar-box:not([sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"]) {
  1923.     min-width: var(--wide-tab-width) !important;
  1924.     max-width: none !important;
  1925. }
  1926.  
  1927. #sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] {
  1928.     position: relative !important;
  1929.     transition: all 100ms !important;
  1930.     min-width: var(--thin-tab-width) !important;
  1931.     max-width: var(--thin-tab-width) !important;
  1932. }
  1933.  
  1934. #sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"]:hover {
  1935.     transition: all 200ms !important;
  1936.     min-width: var(--wide-tab-width) !important;
  1937.     max-width: var(--wide-tab-width) !important;
  1938.     margin-right: calc((var(--wide-tab-width) - var(--thin-tab-width)) * -1) !important;
  1939. }*/
  1940.  
  1941.  
  1942.  
  1943. /*
  1944.  
  1945. #context-back image,
  1946. #context-forward image,
  1947. #context-reload image,
  1948. #context-stop image,
  1949. #context-bookmarkpage image {
  1950.     display: none !important;
  1951. }
  1952.  
  1953. #context-navigation .menu-iconic-left {
  1954.     -moz-margin-start: 15px !important;
  1955.  
  1956. }
  1957.  
  1958. #context-back:after,
  1959. #context-forward:after,
  1960. #context-reload:after,
  1961. #context-stop:after,
  1962. #context-bookmarkpage:after {
  1963.     content: attr(aria-label) !important;
  1964. }
  1965.  
  1966. #context-navigation {
  1967.     -moz-box-orient: vertical !important;
  1968. }
  1969.  
  1970. #context-navigation>.menuitem-iconic {
  1971.     -moz-box-pack: start !important;
  1972. }*/
  1973.  
  1974.  
  1975. .searchbar-textbox {
  1976.     background-color: rgba(30, 143, 255, 0.493) !important;
  1977.     border-radius: 16px !important;
  1978.     color: white !important;
  1979.     font-familly: Fira Sans !important;
  1980. }
  1981.  
  1982. /* sliding tabs down
  1983. #TabsToolbar {
  1984.     opacity: 0 !important;
  1985.     margin-top: -23px !important;
  1986.     transition: all 0.4s ease 0s !important;
  1987. }
  1988.  
  1989. #navigator-toolbox:hover>#TabsToolbar {
  1990.     visibility: visible !important;
  1991.     margin-top: 0px !important;
  1992.     transition: all 0.4s ease 0s !important;
  1993.     opacity: 1 !important;
  1994.     border-bottom-color:
  1995. }
  1996. */
  1997. statuspanel {
  1998.     background-color: transparent !important;
  1999.     border: none !important;
  2000.     bottom: 4px !important;
  2001.     height: 26px !important;
  2002.     max-width: 30% !important;
  2003.     /* Change the value to suite your needs */
  2004.     transition: none !important;
  2005. }
  2006.  
  2007. /* If you're not on the latest Nightly,
  2008. change the #statuspanel-inner
  2009. to .statuspanel-inner */
  2010.  
  2011. statuspanel .statuspanel-inner {
  2012.     background-color: transparent !important;
  2013.     border: none !important;
  2014.     height: 26px !important;
  2015. }
  2016.  
  2017. /* If you're not on the latest Nightly,
  2018. change the #statuspanel-label
  2019. to .statuspanel-label */
  2020.  
  2021. statuspanel .statuspanel-label {
  2022.     background-color: transparent !important;
  2023.     border: none !important;/*
  2024.     color: black !important;*/
  2025. }
  2026.  
  2027.  
  2028. #urlbar {
  2029.     -moz-binding: url("bindings.xml#urlbar") !important;
  2030. }
  2031.  
  2032. /* Center URL */
  2033.  
  2034. #urlbar .urlbar-input-box {
  2035.     text-align: center;
  2036.     margin-bottom: 1px;
  2037. }
  2038.  
  2039.  
  2040. #nav-bar #urlbar {
  2041.     font-size: 0.85em !important;
  2042.     transition: all 100ms var(--animation-easing-function) !important;
  2043. }
  2044.  
  2045. :root:not([customizing]) :hover>#nav-bar #urlbar,
  2046. :root:not([customizing]) #navigator-toolbox:focus-within #nav-bar #urlbar {
  2047.     font-size: 1.2em !important;
  2048. }
Add Comment
Please, Sign In to add comment