difool2nice

uiserchrome2.css

Apr 2nd, 2018
418
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 32.38 KB | None | 0 0
  1. @-moz-document url("chrome://browser/content/aboutDialog.xul") {
  2. #leftBox {
  3. background-image: url("Logo.png") !important;
  4. background-position: left;
  5. background-repeat: no-repeat !important;
  6. }
  7.  
  8. #aboutDialogContainer {
  9. background: #1f1f1f !important;
  10. font-family: Fira Sans !important;
  11. font-size: 14px !important;
  12. color: yellow !important;
  13. }
  14. #bottomBox {
  15. background-color: #1f1f1f !important;
  16. }
  17. }
  18.  
  19. /* Revert tab throbber */
  20.  
  21. .tab-throbber[busy]::before {
  22. background-image: url("chrome://global/skin/icons/loading.png") !important;
  23. animation: unset !important;
  24. }
  25.  
  26. .tab-throbber[busy]:not([progress])::before {
  27. filter: grayscale(100%);
  28. }
  29.  
  30. @media (min-resolution: 2dppx) {
  31. .tab-throbber[busy]::before {
  32. background-image: url("chrome://global/skin/icons/loading@2x.png") !important;
  33. }
  34. }
  35.  
  36. /* New arrows navigation icons */
  37.  
  38. #back-button {
  39. list-style-image: url("left-arrow.png") !important;
  40. }
  41.  
  42. #forward-button {
  43. list-style-image: url("right-arrow.png") !important;
  44. }
  45.  
  46. /* restart button */
  47.  
  48. #alltabs-button {
  49. -moz-binding: url(data:text/xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+DQo8IS0tIENvcHlyaWdodCAoYykgMjAxNyBIYWdnYWkgTnVjaGkNCkF2YWlsYWJsZSBmb3IgdXNlIHVuZGVyIHRoZSBNSVQgTGljZW5zZToNCmh0dHBzOi8vb3BlbnNvdXJjZS5vcmcvbGljZW5zZXMvTUlUDQogLS0+DQoNCjwhLS0gUnVuIHVzZXJDaHJvbWUuanMvdXNlckNocm9tZS54dWwgYW5kIC51Yy5qcy8udWMueHVsLy5jc3MgZmlsZXMgIC0tPg0KPGJpbmRpbmdzIHhtbG5zPSJodHRwOi8vd3d3Lm1vemlsbGEub3JnL3hibCI+DQogICAgPGJpbmRpbmcgaWQ9ImpzIiBleHRlbmRzPSJjaHJvbWU6Ly9nbG9iYWwvY29udGVudC9iaW5kaW5ncy90b29sYmFyYnV0dG9uLnhtbCNtZW51Ij4NCiAgICAgICAgPGltcGxlbWVudGF0aW9uPg0KICAgICAgICAgICAgPGNvbnN0cnVjdG9yPjwhW0NEQVRBWw0KICAgICAgICAgICAgICAgIGlmKHdpbmRvdy51c2VyQ2hyb21lSnNNb2QpIHJldHVybjsNCiAgICAgICAgICAgICAgICB3aW5kb3cudXNlckNocm9tZUpzTW9kID0gdHJ1ZTsNCiAgICAgICAgICAgICAgICANCiAgICAgICAgICAgICAgICB2YXIgY2hyb21lRmlsZXMgPSBGaWxlVXRpbHMuZ2V0RGlyKCJVQ2hybSIsIFtdKS5kaXJlY3RvcnlFbnRyaWVzOw0KICAgICAgICAgICAgICAgIHZhciB4dWxGaWxlcyA9IFtdOw0KICAgICAgICAgICAgICAgIHZhciBzc3MgPSBDY1snQG1vemlsbGEub3JnL2NvbnRlbnQvc3R5bGUtc2hlZXQtc2VydmljZTsxJ10uZ2V0U2VydmljZShDaS5uc0lTdHlsZVNoZWV0U2VydmljZSk7DQogICAgICAgICAgICAgICAgDQogICAgICAgICAgICAgICAgd2hpbGUoY2hyb21lRmlsZXMuaGFzTW9yZUVsZW1lbnRzKCkpIHsNCiAgICAgICAgICAgICAgICAgICAgdmFyIGZpbGUgPSBjaHJvbWVGaWxlcy5nZXROZXh0KCkuUXVlcnlJbnRlcmZhY2UoQ2kubnNJRmlsZSk7DQogICAgICAgICAgICAgICAgICAgIHZhciBmaWxlVVJJID0gU2VydmljZXMuaW8ubmV3RmlsZVVSSShmaWxlKTsNCiAgICAgICAgICAgICAgICAgICAgDQogICAgICAgICAgICAgICAgICAgIGlmKGZpbGUuaXNGaWxlKCkpIHsNCiAgICAgICAgICAgICAgICAgICAgICAgIGlmKC8oXnVzZXJDaHJvbWV8XC51YylcLmpzJC9pLnRlc3QoZmlsZS5sZWFmTmFtZSkpIHsNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICBTZXJ2aWNlcy5zY3JpcHRsb2FkZXIubG9hZFN1YlNjcmlwdFdpdGhPcHRpb25zKGZpbGVVUkkuc3BlYywge3RhcmdldDogd2luZG93LCBpZ25vcmVDYWNoZTogdHJ1ZX0pOw0KICAgICAgICAgICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgICAgICAgICAgZWxzZSBpZigvKF51c2VyQ2hyb21lfFwudWMpXC54dWwkL2kudGVzdChmaWxlLmxlYWZOYW1lKSkgew0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIHh1bEZpbGVzLnB1c2goZmlsZVVSSS5zcGVjKTsNCiAgICAgICAgICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICAgICAgICAgIGVsc2UgaWYoL1wuYXNcLmNzcyQvaS50ZXN0KGZpbGUubGVhZk5hbWUpKSB7DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYoIXNzcy5zaGVldFJlZ2lzdGVyZWQoZmlsZVVSSSwgc3NzLkFHRU5UX1NIRUVUKSkNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3NzLmxvYWRBbmRSZWdpc3RlclNoZWV0KGZpbGVVUkksIHNzcy5BR0VOVF9TSEVFVCk7DQogICAgICAgICAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgICAgICAgICBlbHNlIGlmKC9eKD8hKHVzZXJDaHJvbWV8dXNlckNvbnRlbnQpXC5jc3MkKS4rXC5jc3MkL2kudGVzdChmaWxlLmxlYWZOYW1lKSkgew0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmKCFzc3Muc2hlZXRSZWdpc3RlcmVkKGZpbGVVUkksIHNzcy5VU0VSX1NIRUVUKSkNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3NzLmxvYWRBbmRSZWdpc3RlclNoZWV0KGZpbGVVUkksIHNzcy5VU0VSX1NIRUVUKTsNCiAgICAgICAgICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICANCiAgICAgICAgICAgICAgICBzZXRUaW1lb3V0KGZ1bmN0aW9uIGxvYWRYVUwoKSB7DQogICAgICAgICAgICAgICAgICAgIGlmKHh1bEZpbGVzLmxlbmd0aCA+IDApIHsNCiAgICAgICAgICAgICAgICAgICAgICAgIGRvY3VtZW50LmxvYWRPdmVybGF5KHh1bEZpbGVzLnNoaWZ0KCksIG51bGwpOw0KICAgICAgICAgICAgICAgICAgICAgICAgc2V0VGltZW91dChsb2FkWFVMLCA1KTsNCiAgICAgICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIH0sIDApOw0KICAgICAgICAgICAgXV0+PC9jb25zdHJ1Y3Rvcj4NCiAgICAgICAgPC9pbXBsZW1lbnRhdGlvbj4NCiAgICA8L2JpbmRpbmc+DQo8L2JpbmRpbmdzPg==);
  50. }
  51.  
  52. /*-------------------------------------*/
  53.  
  54. #urlbar html|input.textbox-input::-moz-selection {
  55. font-family: Fira Sans !important;
  56. font-size: 14px !important;
  57. background-color: dodgerblue !important;
  58. }
  59.  
  60. menupopup {
  61. -moz-appearance: none !important;
  62. padding: 8px 2px 8px 2px !important;
  63. background-color: #1f1f1f !important;
  64. border: 0px #A0A0A0 solid !important;
  65. /*width: 280px !important;*/
  66. min-width: 280px !important;
  67. }
  68.  
  69. menuseparator {
  70. -moz-appearance: none !important;
  71. border: none !important;
  72. padding: .5px 0px .5px 0px !important;
  73. margin: 4px 8px 4px 8px !important;
  74. background-color: #80808049 !important;
  75. }
  76.  
  77. menuitem,
  78. menu {
  79. -moz-appearance: none !important;
  80. color: white !important;
  81. padding: 3px 0px 3px 0px !important;
  82. }
  83.  
  84. menuitem[disabled="true"],
  85. menuitem[disabled="true"]>.menu-text {
  86. color: #888888 !important;
  87. }
  88.  
  89.  
  90.  
  91. menuitem:hover,
  92. menu:hover,
  93. menu[open="true"],
  94. menuitem[_moz-menuactive="true"] {
  95. -moz-appearance: none !important;
  96. padding: 3px 0px 3px 0px !important;
  97. background-color: dodgerblue !important;
  98. /*#414141 !important;*/
  99. }
  100.  
  101. menugroup {
  102. padding: 0px !important;
  103. background-color: transparent !important;
  104. }
  105.  
  106. menuitem>.menu-text,
  107. menuitem>.menu-iconic-text {
  108. color: white !important;
  109. }
  110.  
  111. menuitem[type="checkbox"] {
  112. padding-left: 8px !important;
  113. padding-top: 5.5px !important;
  114. padding-bottom: 5.5px !important;
  115. }
  116.  
  117. menuitem[type="radio"] {
  118. padding-left: 8px !important;
  119. padding-top: 5.5px !important;
  120. padding-bottom: 5.5px !important;
  121. }
  122.  
  123. menuitem[type="checkbox"]>.menu-iconic-text,
  124. menuitem[type="radio"]>.menu-iconic-text {
  125. padding-left: 5px !important;
  126. }
  127.  
  128. menuitem[checked="true"][type="checkbox"]>.menu-iconic-left {
  129. padding: 7px 0px 0px 0px !important;
  130. border: solid white !important;
  131. border-width: 0 0 2px 2px !important;
  132. transform: rotate(-45deg) scale(.75);
  133. margin-bottom: 2px !important;
  134. }
  135.  
  136. menuitem[checked="true"][type="radio"]>.menu-iconic-left {
  137. padding: 1px !important;
  138. border: solid white;
  139. height: 17px !important;
  140. border-radius: 100%;
  141. background: white;
  142. transform: scale(.5);
  143. }
  144.  
  145. menucaption {
  146. background-color: transparent !important;
  147. color: white !important;
  148. }
  149.  
  150. #ContentSelectDropdown>menupopup {
  151. background-image: none !important;
  152. }
  153.  
  154. #ContentSelectDropdown {
  155. padding: 0px !important;
  156. }
  157.  
  158. menulist {
  159. -moz-appearance: none !important;
  160. padding: 4px 4px 4px 4px !important;
  161. border: 0px solid #666666 !important;
  162. background-color: #777777 !important;
  163. }
  164.  
  165. menulist:hover {
  166. padding: 4px 4px 4px 4px !important;
  167. border: 0px solid #999999 !important;
  168. background-color: dodgerblue !important;
  169. }
  170.  
  171. menulist[open="true"] {
  172. border: 0px solid #666666 !important;
  173. background-color: #777777 !important;
  174. }
  175.  
  176. #context-back>.menu-iconic-left,
  177. #context-forward>.menu-iconic-left,
  178. #context-reload>.menu-iconic-left,
  179. #context-stop>.menu-iconic-left,
  180. #context-bookmarkpage>.menu-iconic-left {
  181. padding: 2px !important;
  182. }
  183.  
  184. .menu-iconic-left {
  185. -moz-appearance: none !important;
  186. padding: 0px 5px 0px 9px !important;
  187. }
  188.  
  189. .menu-right {
  190. -moz-appearance: none !important;
  191. padding: 7.5px !important;
  192. margin-right: 6px !important;
  193. color: white !important;
  194. border: solid white;
  195. border-width: 0 2px 2px 0px;
  196. transform: rotate(-45deg) scale(.55);
  197. }
  198.  
  199. tooltip {
  200. -moz-appearance: none !important;
  201. color: yellow !important;
  202. background-color: black !important;
  203. border: 0px solid white !important;
  204. padding: 5.5px !important;
  205. font-family: Fira Sans !important;
  206. font-size: 12px !important;
  207. opacity: 1 !important;
  208. }
  209.  
  210. /*------coloring shortcuts in menus     */
  211. menuitem .menu-iconic-accel{
  212. font-size: 13px !important;
  213. color: dodgerblue !important;
  214.  
  215. }
  216. menuitem .menu-accel{
  217. font-size: 13px !important;
  218. color: dodgerblue !important;
  219. }
  220. #PopupAutoCompleteRichResult .ac-url:not([selected="true"]) {
  221. color: dodgerblue !important;
  222. }
  223. /*----------------*/
  224. #TabsToolbar {
  225. --toolbarbutton-inner-padding: 2px;
  226. }
  227. /*-------------------------*/
  228.  
  229. #urlbar:hover {
  230. background: #1f1f1f !important;
  231. color: white !important;
  232. }
  233. /*---------ombre onglets ------------*/
  234. /*.tabbrowser-tab[visuallyselected="true"] {
  235. box-shadow: 0 0 26px yellow !important;
  236. }*/
  237. /*----------------------------*/
  238.  
  239. /*
  240. #TabsToolbar {
  241. background: #0C0C0D!important;
  242. }*/
  243.  
  244. icons folders,
  245. favicons,
  246. default document icons treechildren::-moz-tree-image {
  247. width: 22px !important;
  248. height: auto !important;
  249. min-height: 25px !important;
  250. margin-top: 0px !important;
  251. margin-bottom: 2px !important;
  252. }
  253.  
  254. /*--------------------------------------------*/
  255.  
  256. toolbarbutton.subviewbutton.subviewbutton-iconic .toolbarbutton-text {
  257. display: -moz-box !important;
  258. }
  259.  
  260. toolbarbutton.bookmark-item[type="menu"] {
  261. margin-right: .5em !important;
  262. }
  263.  
  264. toolbarbutton.bookmark-item[type="menu"] .toolbarbutton-text {
  265. display: -moz-box !important;
  266. }
  267.  
  268. /*-----------*/
  269.  
  270. menubar,
  271. menubutton,
  272. menulist,
  273. menu,
  274. menuitem {
  275. background-color: none !important;
  276. font-family: Fira Sans !important;
  277. font-size: 14px !important;
  278. }
  279.  
  280. #PanelUI-menu-button:before {
  281. content: '';
  282. width: 1px;
  283. height: 20px;
  284. /*background: white;*/
  285. display: flex;
  286. }
  287.  
  288. #sidebar-header {
  289. padding: 2px !important;
  290. }
  291.  
  292. #file-menu {
  293. font-family: Fira Sans !important;
  294. font-size: 14px !important;
  295. }
  296.  
  297. #edit-menu {
  298. font-family: Fira Sans !important;
  299. font-size: 14px !important;
  300. }
  301.  
  302. #toolbar-menubar {
  303. font-family: Fira Sans !important;
  304. font-size: 14px !important;
  305. }
  306.  
  307. #history-menu {
  308. font-family: Fira Sans !important;
  309. font-size: 14px !important;
  310. }
  311.  
  312. #bookmarksMenu {
  313. font-family: Fira Sans !important;
  314. font-size: 14px !important;
  315. }
  316.  
  317. #view-menu {
  318. font-family: Fira Sans !important;
  319. font-size: 14px !important;
  320. }
  321.  
  322. #tools-menu {
  323. font-family: Fira Sans !important;
  324. font-size: 14px !important;
  325. }
  326.  
  327. #help-menu {
  328. font-family: Fira Sans !important;
  329. text-decoration: none !important;
  330. font-weight: normal !important;
  331. font-style: normal !important;
  332. font-size: 14px !important;
  333. }
  334.  
  335. #personal-bookmarks .menu-iconic-text,
  336. #personal-bookmarks .toolbarbutton-text {
  337. font-family: Fira Sans !important;
  338. font-size: 14px !important;
  339. }
  340.  
  341. .tab-text {
  342. font-family: Fira Sans !important;
  343. font-size: 14px !important;
  344. }
  345.  
  346. .autocomplete-richlistitem {
  347. font-family: Fira Sans !important;
  348. font-size: 14px !important;
  349. }
  350.  
  351. /*----------------------*/
  352.  
  353. #urlbar,
  354. .searchbar-textbox {
  355. font-family: Fira Sans !important;
  356. border: 0px !important;
  357. }
  358.  
  359. #TabsToolbar:not([collapsed="true"])+#nav-bar {
  360. border: 0px !important;
  361. }
  362.  
  363. #navigator-toolbox::after {
  364. border: 0px !important;
  365. }
  366.  
  367. /*-----------------------*/
  368.  
  369. #sidebar-search-container,
  370. #sidebar-search-container *|input::placeholder {
  371. color: white !important;
  372. opacity: 1 !important;
  373. border: 0px !important;
  374. background-color: transparent !important;
  375. }
  376.  
  377. /* -------------------------------- */
  378.  
  379. /* tabs --- rotate close button */
  380.  
  381. #tabbrowser-tabs .tabbrowser-tab:hover .tab-close-button {
  382. transform: rotate(1440deg) !important;
  383. transition: transform ease-in-out 2s !important;
  384. }
  385. /*rotate close end */
  386.  
  387.  
  388. /* icones   gauche barre d'adresse*/
  389.  
  390. #page-action-buttons {
  391. -moz-box-ordinal-group: 0 !important;
  392. /* Move the PageActions to the left */
  393. }
  394. /* Move the three dots to the end (rightmost) of the PageActions*/
  395. /*#pageActionButton {
  396. -moz-box-ordinal-group: 2 !important;
  397.  
  398. }*/
  399. /*
  400. #tabbrowser-tabs {
  401. --tab-line-color: none !important;
  402. }
  403. */
  404. /*------------------------*/
  405.  
  406. #tab-line[selected="true"] {
  407. background: dodgerblue !important;
  408. /*-moz-win-accentcolor !important;*/
  409. }
  410.  
  411. .tab-background[selected="true"] {
  412. background-attachment: none !important;
  413. background-color: #323234 !important;
  414. /* !important;*/
  415. background-image: none !important;
  416. }
  417.  
  418. /*--------------------------------------------*/
  419.  
  420. /* Border between background tabs */
  421.  
  422. .tabbrowser-tab::after,
  423. .tabbrowser-tab::before {
  424. display: none !important;
  425. }
  426.  
  427. /*---------------------------------------------------------------------------------------------------*/
  428.  
  429. /*
  430. Firefox 57 users: https://www.jeffersonscher.com/gm/url-bar-tweaks.html
  431. You can copy/paste into a userChrome.css file, see https://www.userchrome.org/
  432. Firefox 52-56 users: roll back your Stylish to version 2.1.1 or 2.0.7 here:
  433. https://addons.mozilla.org/firefox/addon/stylish/versions/
  434. Then find Stylish on the Add-ons page, click its More link, and turn off updates
  435. */
  436. /*
  437. @-moz-document url("chrome://browser/content/browser.xul") {*/
  438. /* " - Visit" or " - Search with" bar NOT HIDDEN */
  439.  
  440.  
  441. @-moz-document url("chrome://browser/content/browser.xul") {
  442. /* " - Visit" or " - Search with" bar NOT HIDDEN */
  443. /*
  444. :root {
  445. --panel-separator-color: white !important;
  446. }*/
  447. /* Restore persistent display of drop-marker */
  448. #urlbar:not(:hover)>.urlbar-textbox-container>.urlbar-history-dropmarker {
  449. opacity: 1 !important;
  450. }
  451. /* Set max-height for items visible without scrolling */
  452. #PopupAutoCompleteRichResult .autocomplete-richlistbox {
  453. /* height:auto doesn't work in photon */
  454. max-height: calc(40px * 10) !important;
  455. }
  456. /* Constrain drop-down width */
  457. /*#PopupAutoCompleteRichResult {
  458. max-width: 1200px !important;
  459. }*/
  460. /* Font-sizes */
  461. #PopupAutoCompleteRichResult .autocomplete-richlistitem:not([actiontype="searchengine"]) .ac-title {
  462. font-size: 14px !important;
  463. }
  464. #PopupAutoCompleteRichResult .autocomplete-richlistitem:not([actiontype="searchengine"]) .ac-url,
  465. #PopupAutoCompleteRichResult .autocomplete-richlistitem:not([actiontype="searchengine"]) .ac-action {
  466. font-family: Fira Sans !important;
  467. font-size: 12px !important;
  468. }
  469. /* Dark Themed Drop-down */
  470. /* Dark Theme - Firefox 48+ */
  471. #PopupAutoCompleteRichResult .autocomplete-richlistbox {
  472. background-color: #1f1f1f !important;
  473. }
  474. #PopupAutoCompleteRichResult .autocomplete-richlistitem {
  475. border-bottom-color: #333 !important;
  476. }
  477. .autocomplete-richlistitem .ac-title,
  478. .autocomplete-richlistitem .ac-action,
  479. .autocomplete-richlistitem .ac-separator {
  480. color: white !important;
  481. }
  482. #PopupAutoCompleteRichResult .ac-url:not([selected="true"]) {
  483. color: var(--theme-highlight-bluegrey) !important;
  484. }
  485. .autocomplete-richlistitem[selected=true] {
  486. background-color: dodgerblue !important;
  487. }
  488.  
  489. .autocomplete-richlistitem[selected=true] .ac-title,
  490. .ac-title[selected],
  491. .autocomplete-richlistitem[selected=true] .ac-action,
  492. .ac-action[selected],
  493. .autocomplete-richlistitem[selected=true] .ac-separator,
  494. .ac-separator[selected] {
  495. color: #eee !important;
  496. }
  497. .autocomplete-richlistitem[selected=true] .ac-url,
  498. .ac-url[selected] {
  499. color: dodgerblue !important;
  500. }
  501. #PopupAutoCompleteRichResult .autocomplete-richlistitem:hover {
  502. background-color: dodgerblue !important;
  503. }
  504. #PopupAutoCompleteRichResult .autocomplete-richlistitem[selected] {
  505. background-color: dodgerblue !important;
  506. }
  507. /* Ability to scroll in Fx57 */
  508. #PopupAutoCompleteRichResult .autocomplete-richlistbox>scrollbox {
  509. overflow-y: auto !important;
  510. padding-right: 3px !important;
  511. }
  512. #PopupAutoCompleteRichResult .autocomplete-richlistbox {
  513. padding-right: 0 !important;
  514. }
  515. }
  516. /*----------Hamburger icon -----------*/
  517.  
  518. #PanelUI-menu-button {
  519. list-style-image: url("hamburger.png") !important;
  520. filter: invert(100%) !important;
  521. }
  522.  
  523. @media (min-resolution: 4dppx) {
  524. #PanelUI-menu-button {
  525. list-style-image: url("hamburger.png") !important;
  526. filter: invert(100%) !important;
  527. }
  528. }
  529.  
  530. /*-----------------------------------------------------------------------------*/
  531.  
  532. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  533. #TabsToolbar {
  534. height: 32px !important;
  535. }
  536.  
  537. .bookmark-item {
  538. margin-left: 0 !important;
  539. margin-right: 0 !important;
  540. padding-right: 0 !important;
  541. padding-left: 0 !important;
  542. }
  543.  
  544. toolbarbutton.bookmark-item .toolbarbutton-text {
  545. display: none !important;
  546. }
  547.  
  548. toolbarbutton.bookmark-item .toolbarbutton-icon {
  549. margin-left: 2px !important;
  550. }
  551.  
  552. #PlacesToolbarItems>.bookmark-item>.toolbarbutton-icon[label]:not([label=""]) {
  553. margin-inline-end: 2px !important;
  554. }
  555.  
  556. toolbarbutton.subviewbutton.subviewbutton-iconic .toolbarbutton-text {
  557. display: -moz-box !important;
  558. }
  559.  
  560. /* --- [2] --- */
  561.  
  562. toolbarbutton.bookmark-item[type="menu"] {
  563. margin-right: .5em !important;
  564. }
  565.  
  566. toolbarbutton.bookmark-item[type="menu"] .toolbarbutton-text {
  567. display: -moz-box !important;
  568. }
  569.  
  570. /*-------------------*/
  571.  
  572. @-moz-document url("chrome://browser/content/browser.xul"),
  573. url("chrome://browser/content/bookmarks/bookmarksPanel.xul"),
  574. url("chrome://browser/content/history/history-panel.xul") {
  575.  
  576. #sidebar {
  577. max-width: none !important;
  578. min-width: 0px !important;
  579. }
  580. #sidebar,
  581. #sidebar-header {
  582. border-right: 0px solid !important;
  583. }
  584. #sidebar,
  585. #sidebar-header,
  586. #bookmarksPanel,
  587. #bookmarks-view,
  588. #history-panel,
  589. #historyTree {
  590. background-color: #1f1f1f !important;
  591. font-family: Fira Sans !important;
  592. color: white !important;
  593. }
  594. /* Sidebar items */
  595. .sidebar-placesTreechildren::-moz-tree-row {
  596. border: 0px !important;
  597. }
  598. .sidebar-placesTreechildren::-moz-tree-cell(hover) {
  599. background: dodgerblue !important;
  600. }
  601. .sidebar-placesTreechildren::-moz-tree-row(selected) {
  602. background: dodgerblue !important;
  603. }
  604. .sidebar-placesTreechildren::-moz-tree-cell-text(selected) {
  605. color: white !important;
  606. }
  607. #sidebar-splitter {
  608. opacity: 0 !important;
  609. }
  610. /* ******** OPTIONAL ********  */
  611. /* Hide scrollbar (but you can still scroll)
  612. scrollbar,
  613. scrollbar * {
  614. -moz-appearance: none !important;
  615. background: none !important;
  616. margin-left: -9px !important;
  617. }*/
  618. /* Hide white bar. Not necessary, but helpful. */
  619. #sidebar-splitter {
  620. opacity: 0 !important;
  621. }
  622. /* ****** END OPTIONAL ******  */
  623.  
  624. /* Sidebar items */
  625. /*
  626. .sidebar-placesTreechildren::-moz-tree-row {
  627. border: 0px !important;
  628. color:dodgerblue !important;
  629. opacity: 1.0 !important;
  630.  
  631. }*/
  632. }
  633.  
  634. /*-------------library----------------*/
  635.  
  636.  
  637.  
  638. /*---------#1f1f1f*************#45A1FF-*/
  639.  
  640. /*
  641. * Sliding Bookmarks Bar
  642. * Makes the bookmarks bar slide down on hover or when menubar is enabled.
  643. *
  644. * Contributor(s): zvuc (https://userstyles.org/styles/57368/firefox-sliding-bookmarks-bar-windows)
  645. * License: CC BY-NC-SA (https://creativecommons.org/licenses/by-nc-sa/4.0/)
  646. */
  647.  
  648. /*
  649. #nav-bar~#PersonalToolbar:not([customizing]) {
  650. position: fixed !important;
  651. padding: 3px 2px 2px !important;
  652. height: auto !important;
  653. border-top: 0px solid transparent!important;
  654. border-right: 1px solid transparent !important;
  655. border-bottom: 1px solid rgba(0, 0, 0, 0.3) !important;
  656. border-left: 1px solid transparent !important;
  657. box-shadow: 0 0px 2px rgba(0, 0, 0, 0);
  658. width: 100%;
  659. transform: translateY(-100%);
  660. transition: transform 0.2s !important;
  661. }
  662.  
  663. #navigator-toolbox:hover>#nav-bar~#PersonalToolbar:not([customizing]) {
  664. transform: translateY(0);
  665. }
  666.  
  667. #toolbar-menubar:not([inactive="true"])~#nav-bar~#PersonalToolbar:not([customizing]) {
  668. transform: translateY(0);
  669. }*/
  670.  
  671. #sidebar-switcher-bookmarks>.toolbarbutton-icon,
  672. #sidebar-box[sidebarcommand="viewBookmarksSidebar"]>#sidebar-header>#sidebar-switcher-target>#sidebar-icon {
  673. color: #336699 !important;
  674. fill: #336699 !important;
  675. opacity: 1.0 !important;
  676. }
  677.  
  678. #sidebar-switcher-history>.toolbarbutton-icon,
  679. #sidebar-box[sidebarcommand="viewHistorySidebar"]>#sidebar-header>#sidebar-switcher-target>#sidebar-icon {
  680. color: #800080 !important;
  681. fill: #800080 !important;
  682. opacity: 1.0 !important;
  683. }
  684.  
  685. .sidebar-switcher-tabs>.toolbarbutton-icon,
  686. .sidebar-box[sidebarcommand="viewTabsSidebar"]>#sidebar-header>#sidebar-switcher-target>#sidebar-icon {
  687. color: #4169e1 !important;
  688. fill: #4169e1 !important;
  689. opacity: 1.0 !important;
  690. }
  691. /*icones sidebar blancs*//*
  692. @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);*/
  693. .bookmark-item[container],
  694. treechildren::-moz-tree-image(container) {
  695. fill: white !important;
  696. opacity: 1.0 !important;
  697. }
  698.  
  699. treechildren::-moz-tree-image(OrganizerQuery_BookmarksToolbar) {
  700. fill: white !important;
  701. opacity: 1.0 !important;
  702. }
  703.  
  704. treechildren::-moz-tree-image(OrganizerQuery_BookmarksMenu) {
  705. fill: white !important;
  706. }
  707.  
  708. treechildren::-moz-tree-image(OrganizerQuery_UnfiledBookmarks) {
  709. fill: white !important;
  710. }
  711.  
  712. treechildren::-moz-tree-image(livemark) {
  713. fill: white !important;
  714. }
  715. /*----------*/
  716. .bookmark-item[container][query],
  717. treechildren::-moz-tree-image(query) {
  718. fill: white !important;
  719. opacity: 1.0 !important;
  720. }
  721. /*------------------------*/
  722. /*AGENT_SHEET*/
  723.  
  724. /* Firefox 57+ userChrome.css tweaks ****************************************************/
  725.  
  726. /* code mostly taken from 'Classic Theme Restorer' & 'Classic Toolbar Buttons' add-ons **/
  727.  
  728. /* by Aris (aris-addons@gmx.net)*********************************************************/
  729.  
  730. /* Github: https://github.com/aris-t2/customcssforfx ************************************/
  731.  
  732. /****************************************************************************************/
  733.  
  734. /* remove background color */
  735.  
  736. #urlbar .urlbar-page-action,
  737. #urlbar #star-button-animatable-box,
  738. #urlbar #pageAction-panel-bookmark,
  739. #urlbar #star-button,
  740. #urlbar #star-button-animatable-box,
  741. #urlbar .urlbar-icon,
  742. #searchbar .search-go-button {
  743. background: unset !important;
  744. box-shadow: unset !important;
  745. }
  746.  
  747. /* colorize location bar icons (except star button) */
  748. /*
  749. #urlbar :-moz-any(#reader-mode-button, #pageActionButton,
  750. #pageAction-urlbar-emailLink, #pageAction-urlbar-sendToDevice,
  751. #pageAction-urlbar-screenshots,
  752. #pageAction-urlbar-copyURL),
  753. #urlbar,#urlbar-history-dropmarker {
  754. fill: white !important;
  755. }
  756.  
  757. #urlbar :-moz-any(#reader-mode-button, #pageActionButton,
  758. #pageAction-urlbar-emailLink, #pageAction-urlbar-sendToDevice,
  759. #pageAction-urlbar-screenshots,
  760. #pageAction-urlbar-copyURL):-moz-any(:hover,
  761. :hover:active,
  762. [open]),
  763. #urlbar .urlbar-history-dropmarker:-moz-any(:hover,
  764. :hover:active,
  765. [open]) {
  766. fill: white !important;
  767. }
  768. */
  769. /* colorize star button icon */
  770. /*
  771. #urlbar #pageAction-panel-bookmark:not([starred]),
  772. #urlbar #star-button:not([starred]) {
  773. fill: yellow !important;
  774. opacity: 1.0 !important;
  775. }*/
  776. /*
  777. .urlbar #star-button-box[open] #star-button,
  778. .urlbar #star-button:-moz-any(:hover,:hover, :active),
  779. .urlbar #star-button-animatable-box:-moz-any(:hover,:hover, :active) {
  780. filter: brightness(1.0) !important;
  781. }*/
  782. /*
  783. #urlbar #pageAction-panel-bookmark:not([starred]):-moz-any(:hover,
  784. :hover:active,
  785. [open]),
  786. #urlbar #star-button-box[open] #star-button:not([starred]),
  787. #urlbar #star-button:not([starred]):-moz-any(:hover,
  788. :hover:active) {
  789. opacity: 1 !important;
  790. filter: brightness(1.0) !important;
  791. }
  792. */
  793. /* increase brightness for search bars go button */
  794. /*
  795. #searchbar .search-go-button:-moz-any(:hover,
  796. :hover :active,[open]) {
  797. opacity: 1 !important;
  798. filter: brightness(1.0) !important;
  799. }
  800. */
  801. /* change opacity for WE page action buttons */
  802. /*
  803. #urlbar #page-action-buttons>.urlbar-icon {
  804. opacity: 1 !important;
  805. }
  806.  
  807. #urlbar #page-action-buttons>.urlbar-icon:-moz-any(:hover,
  808. :hover:active,[open]) {
  809. opacity: 1 !important;
  810. }*/
  811.  
  812. /**/
  813.  
  814. :root {
  815. --magenta-50: #ff1ad9;
  816. --magenta-60: #ed00b5;
  817. --magenta-70: #b5007f;
  818. --magenta-80: #7d004f;
  819. --magenta-90: #440027;
  820. --purple-50: #9400ff;
  821. --purple-60: #8000d7;
  822. --purple-70: #6200a4;
  823. --purple-80: #440071;
  824. --purple-90: #25003e;
  825. --blue-40: #45a1ff;
  826. --blue-50: #0a84ff;
  827. --blue-60: #0060df;
  828. --blue-70: #003eaa;
  829. --blue-80: #002275;
  830. --blue-90: #000f40;
  831. --teal-50: #00feff;
  832. --teal-60: #00c8d7;
  833. --teal-70: #008ea4;
  834. --teal-80: #005a71;
  835. --teal-90: #002d3e;
  836. --green-50: #30e60b;
  837. --green-60: #12bc00;
  838. --green-70: #058b00;
  839. --green-80: #006504;
  840. --green-90: #003706;
  841. --yellow-50: #ffe900;
  842. --yellow-60: #d7b600;
  843. --yellow-70: #a47f00;
  844. --yellow-80: #715100;
  845. --yellow-90: #3e2800;
  846. --red-50: #ff0039;
  847. --red-60: #d70022;
  848. --red-70: #a4000f;
  849. --red-80: #5a0002;
  850. --red-90: #3e0200;
  851. --orange-50: #ff9400;
  852. --orange-60: #d76e00;
  853. --orange-70: #a44900;
  854. --orange-80: #712b00;
  855. --orange-90: #3e1300;
  856. --grey-10: #f9f9fa;
  857. --grey-20: #ededf0;
  858. --grey-30: #d7d7db;
  859. --grey-40: #b1b1b3;
  860. --grey-50: #737373;
  861. --grey-60: #4a4a4f;
  862. --grey-70: #38383d;
  863. --grey-80: #2a2a2e;
  864. --grey-90: #0c0c0d;
  865. --code-green: #86de74!important;
  866. --warning-color: #FCE19F;
  867. --warning-background-color: #44391F;
  868. --theme-highlight-green: #86DE74;
  869. --theme-highlight-blue: #75BFFF;
  870. --theme-highlight-purple: #B98EFF;
  871. --theme-highlight-red: #FF7DE9;
  872. --theme-highlight-yellow: #FFF89E;
  873. --theme-highlight-bluegrey: #5e88b0;
  874. --theme-highlight-lightorange: #d99b28;
  875. --theme-highlight-orange: #d96629;
  876. --theme-highlight-pink: #FF7DE9;
  877. --tone-1: var(--grey-10);
  878. --tone-2: var(--grey-20);
  879. --tone-3: var(--grey-30);
  880. --tone-4: var(--grey-40);
  881. --tone-5: var(--grey-50);
  882. --tone-6: var(--grey-60);
  883. --tone-7: var(--grey-70);
  884. --tone-8: var(--grey-80);
  885. --tone-9: var(--grey-90);
  886. --accent-1: var(--blue-40);
  887. --accent-2: var(--blue-50);
  888. --accent-3: var(--blue-60);
  889. --in-content-page-color: var(--tone-4)!important;
  890. --in-content-page-background: var(--tone-7)!important;
  891. --in-content-text-color: var(--tone-3)!important;
  892. --in-content-selected-text: var(--tone-1)!important;
  893. --in-content-box-background: var(--tone-6)!important;
  894. --in-content-box-background-odd: #f3f6fa;
  895. --in-content-box-background-hover: var(--tone-6)!important;
  896. --in-content-box-background-active: var(--tone-6)!important;
  897. --in-content-box-border-color: var(--tone-5)!important;
  898. --in-content-item-hover: rgba(0, 149, 221, 0.25);
  899. --in-content-item-selected: var(--tone-8)!important;
  900. --in-content-border-highlight: var(--accent-1)!important;
  901. --in-content-border-focus: var(--accent-1)!important;
  902. --in-content-border-color: var(--tone-6)!important;
  903. --in-content-category-outline-focus: 1px dotted #0a84ff;
  904. --in-content-category-text: var(--tone-4)!important;
  905. --in-content-category-text-active: #0c0c0d;
  906. --in-content-category-text-selected: var(--accent-1)!important;
  907. --in-content-category-text-selected-active: #0060df;
  908. --in-content-category-background-hover: rgba(12, 12, 13, 0.1);
  909. --in-content-category-background-active: rgba(12, 12, 13, 0.15);
  910. --in-content-category-background-selected-hover: rgba(12, 12, 13, 0.15);
  911. --in-content-category-background-selected-active: rgba(12, 12, 13, 0.2);
  912. --in-content-tab-color: #424f5a;
  913. --in-content-link-color: var(--accent-1)!important;
  914. --in-content-link-color-hover: var(--accent-2)!important;
  915. --in-content-link-color-active: #003eaa;
  916. --in-content-link-color-visited: #0a8dff;
  917. --in-content-primary-button-background: var(--accent-2)!important;
  918. --in-content-primary-button-background-hover: var(--accent-3)!important;
  919. --in-content-primary-button-background-active: var(--accent-3)!important;
  920. --in-content-table-border-dark-color: var(--tone-7)!important;
  921. --in-content-table-header-background: var(--accent-2)!important;
  922. --theme-selection-background: var(--accent-2)!important;
  923. --theme-selection-background-hover: var(--accent-1)!important;
  924. --in-content-category-header-background: var(--tone-8)!important;
  925. --selected-icon-fill-color: var(--tone-2)!important;
  926. --in-content-dark-header-background: var(--tone-9)!important;
  927. --secure-connection-color: var(--accent-1);
  928. --start-indicator-for-updater-scripts: black;
  929. --end-indicator-for-updater-scripts: black;
  930. --dummy-variable-for-updater-scripts: black;
  931. }
  932.  
  933. /*------------------------------------------------------------------*/
  934.  
  935. @-moz-document url(chrome://browser/content/places/places.xul) {
  936. toolbar {
  937. -moz-appearance: none!important;
  938. background-color: var(--in-content-category-header-background)!important;
  939. border: none!important
  940. }
  941. listbox,
  942. textbox {
  943. -moz-appearance: none!important;
  944. background-color: var(--in-content-box-background)!important;
  945. color: var(--in-content-page-color)!important;
  946. min-height: 20px!important;
  947. padding: 0 0 0 4px!important;
  948. border: 1px solid!important;
  949. border-color: var(--in-content-box-border-color)!important;
  950. border-radius: 1px!important;
  951. }
  952. #placesToolbar>toolbarbutton {
  953. margin: 6px 4px 5px!important;
  954. -moz-appearance: none!important;
  955. background-color: var(--tone-4)!important;
  956. border-radius: 5px!important;
  957. filter: invert(100%)!important;
  958. }
  959. #placesList {
  960. -moz-appearance: none!important;
  961. color: var(--in-content-page-color)!important;
  962. background-color: var(--in-content-page-background)!important;
  963. }
  964. #placesView>splitter {
  965. border-color: var(--in-content-border-color)!important;
  966. }
  967. #places #downloadsRichListBox {
  968. -moz-appearance: none!important;
  969. color: var(--in-content-page-color)!important;
  970. background-color: var(--in-content-box-background)!important;
  971. }
  972. #detailsDeck {
  973. border: none!important;
  974. background-color: var(--in-content-page-background)!important;
  975. color: var(--in-content-page-color)!important;
  976. }
  977. .expander-down,
  978. .expander-up {
  979. filter: invert(60%)!important;
  980. }
  981. #placeContent treechildren:not(.autocomplete-treebody)::-moz-tree-cell-text() {
  982. color: var(--in-content-text-color)!important;
  983. }
  984. #places treechildren:not(.autocomplete-treebody)::-moz-tree-row(selected),
  985. #placesList>treechildren::-moz-tree-row(selected) {
  986. -moz-appearance: none!important;
  987. -moz-font-smoothing-background-color: none!important;
  988. border-top: none!important;
  989. background: var(--theme-selection-background)!important;
  990. color: white !important; /*var(--in-content-text-color)!important;*/
  991. }
  992. #placeContent treechildren:not(.autocomplete-treebody)::-moz-tree-cell-text(selected),
  993. #placesList>treechildren::-moz-tree-cell-text(selected) {
  994. color: white !important; /*var(--in-content-text-color)!important;*/
  995. }
  996. #places treechildren::-moz-tree-row {
  997. background-color: transparent!important;
  998. }
  999. #places treechildren::-moz-tree-image {
  1000. fill: var(--in-content-page-color)!important;
  1001. }
  1002. #places treechildren::-moz-tree-image(selected) {
  1003. fill: white !important; /*var(--selected-icon-fill-color)!important;*/
  1004. }
  1005. #placeContent>treechildren::-moz-tree-cell,
  1006. #placeContent>treechildren::-moz-tree-column {
  1007. border-color: var(--in-content-box-border-color)!important;
  1008. }
  1009. #contentView treecol {
  1010. -moz-appearance: none!important;
  1011. border: none!important;
  1012. background: var(--in-content-category-header-background)!important;
  1013. color: white !important; /*var(--in-content-text-color)!important;*/
  1014. border-right: 1px solid!important;
  1015. border-color: var(--in-content-box-border-color)!important;
  1016. }
  1017. tree {
  1018. background-color: var(--in-content-box-background)!important;
  1019. }
  1020. @media screen and (-moz-windows-theme),
  1021. screen and (-moz-windows-classic),
  1022. screen and (-moz-windows-default-theme),
  1023. screen and (-moz-os-version:windows-win7),
  1024. screen and (-moz-os-version:windows-win8),
  1025. screen and (-moz-os-version:windows-win10) {
  1026. #metaTagsCaption,
  1027. #security-identity,
  1028. #security-identity-groupbox,
  1029. #security-privacy,
  1030. #security-privacy-groupbox,
  1031. #security-technical,
  1032. #security-technical-groupbox {
  1033. -moz-appearance: none!important;
  1034. background-color: var(--in-content-page-background)!important;
  1035. border: none!important;
  1036. color: var(--in-content-selected-text)!important;
  1037. }
  1038. #security-identity-groupbox,
  1039. #security-privacy-groupbox,
  1040. #security-technical-groupbox {
  1041. -moz-appearance: none!important;
  1042. background-color: var(--in-content-category-header-background)!important;
  1043. }
  1044. }
  1045. }
  1046.  
  1047. #sidebar-header,
  1048. #sidebar-search-container,
  1049. #sidebar-search-container #viewButton,
  1050. .sidebar-header {
  1051. background: var(--in-content-category-header-background)!important;
  1052. color: var(--in-content-page-color)!important
  1053. }
  1054.  
  1055. hbox#sidebar-search-container textbox#search-box {
  1056. -moz-appearance: none!important;
  1057. background-color: black !important; /*var(--in-content-box-background)!important;*/
  1058. color: var(--in-content-page-color)!important;
  1059. min-height: 30px!important;
  1060. padding: 0 0 0 4px!important;
  1061. border: 1px solid!important;
  1062. border-color: var(--in-content-box-border-color) !important;
  1063. border-radius: 1px !important;
  1064. }
  1065.  
  1066. #sidebar,
  1067. #sidebar-box,
  1068. #template-container,
  1069. #webext-panels-browser,
  1070. #webextpanels-window {
  1071. background: var(--in-content-page-background) !important;
  1072. }
  1073.  
  1074. .sidebar-placesTree {
  1075. -moz-appearance: none !important;
  1076. color: var(--in-content-page-color)!important;
  1077. background-color: var(--in-content-page-background) !important;
  1078. opacity: 1 !important;
  1079. }
  1080.  
  1081. #sidebar-box[sidebarcommand=treestyletab_piro_sakura_ne_jp-sidebar-action] #sidebar-icon {
  1082. filter: invert(60%);
  1083. }
  1084.  
  1085. #button_treestyletab_piro_sakura_ne_jp-sidebar-action .toolbarbutton-icon {
  1086. filter: invert(87%);
  1087. }
  1088.  
  1089. .button-menu-dropmarker,
  1090. .button-menubutton-dropmarker {
  1091. filter: invert(65%);
  1092. }
  1093.  
  1094. .sidebar-placesTree::-moz-tree-image,
  1095. .sidebar-placesTreechildren::-moz-tree-image {
  1096. fill: var(--in-content-page-color) !important;
  1097. }
  1098.  
  1099.  
  1100. /*
  1101. @-moz-document url(chrome://browser/content/browser.xul) {
  1102. browser[type="content-primary"],
  1103. tabbrowser tabpanels,
  1104. #appcontent>#content {
  1105. background: #323234 !important;
  1106. }*/
Add Comment
Please, Sign In to add comment