Guest User

userchrome

a guest
Jun 12th, 2021
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.58 KB | None | 0 0
  1.  
  2. @import url("./non_floating_sharp_tabs.css");
  3. @import url("./compact_proton");
  4. @import url("./simpleMenuWizard.css");
  5.  
  6. menupopup.textbox-contextmenu:nth-child(4) > menuseparator:nth-child(3),
  7. menupopup.textbox-contextmenu:nth-child(4) > menuseparator:nth-child(10),
  8. .searchbar-clear-history,
  9. menuitem[cmd="cmd_redo"],
  10. menuitem[cmd="cmd_cut"],
  11. menuitem[cmd="cmd_undo"],
  12. menuitem[cmd="cmd_paste"],
  13. menuitem[cmd="cmd_delete"],
  14. menuitem[cmd="cmd_selectAll"],
  15. menuitem[cmd="cmd_clearhistory"],
  16. menuitem[cmd="cmd_togglesuggest"] {
  17. display: none !important;
  18. }
  19.  
  20.  
  21. /* REMOVE MEGABAR START
  22. * VERSION 1.0.4
  23. * CODE AT: http://userchrome.wesleybranton.com/megabar
  24. * RELEASE NOTES: http://userchrome.wesleybranton.com/notes/megabar */
  25. @-moz-document url(chrome://browser/content/browser.xhtml) {
  26. /* DISABLE EXPANDING START */
  27. #urlbar[breakout][breakout-extend] {
  28. top: calc((var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2) !important;
  29. left: 0 !important;
  30. width: 100% !important;
  31. }
  32.  
  33. #urlbar[breakout][breakout-extend] > #urlbar-input-container {
  34. height: var(--urlbar-height) !important;
  35. padding-block: 0 !important;
  36. padding-inline: 0 !important;
  37. }
  38.  
  39. #urlbar[breakout][breakout-extend] > #urlbar-background {
  40. animation-name: none !important;
  41. box-shadow: 0 1px 4px rgba(0, 0, 0, .05) !important;
  42. }
  43. /* DISABLE EXPANDING END */
  44.  
  45. /* REMOVE URL RESULT PADDING START */
  46. .urlbarView {
  47. margin-inline: 0 !important;
  48. width: 100% !important;
  49. }
  50.  
  51. .urlbarView-row {
  52. padding-block: 0 !important;
  53. }
  54. /* REMOVE URL RESULT PADDING END */
  55.  
  56. /* MOVE URL RESULT TYPE ICON TO LEFT START */
  57. .urlbarView-type-icon {
  58. min-width: 16px !important;
  59. height: 16px !important;
  60. margin-bottom: 0 !important;
  61. margin-inline-start: 0 !important;
  62. }
  63.  
  64. .urlbarView-favicon {
  65. margin-inline-start: 20px !important;
  66. }
  67. /* MOVE URL RESULT TYPE ICON TO LEFT END */
  68.  
  69. /* DISPLAY GO BUTTON WHEN TYPING START */
  70. #urlbar-input-container[pageproxystate="invalid"] #urlbar-go-button {
  71. display: block !important;
  72. }
  73. /* DISPLAY GO BUTTON WHEN TYPING END */
  74.  
  75. /* ALWAYS SHOW PAGE ACTIONS START */
  76. /* DISABLED BY DEFAULT - UNCOMMENT TO ENABLE */
  77. /*#pageActionButton {
  78. display: block !important;
  79. }*/
  80. /* ALWAYS SHOW PAGE ACTIONS END */
  81. }
  82. /* REMOVE MEGABAR END */
  83.  
  84. #urlbar menupopup menuitem:hover{
  85. -moz-appearance:none!important;
  86. background: #a39c92 !important;
  87. color: white !important;
  88. height: 22px !important;
  89. }
  90.  
  91. #urlbar[focused=true] { border-color: transparent !important; border-width: 0px !important; }
  92. #urlbar {
  93. --toolbar-field-focus-border-color: transparent !important;
  94. }
  95.  
  96.  
  97. .urlbarView-row {
  98. color: black !important;
  99. background: #d1cdc8 !important;
  100. }
  101. .urlbarView-row:hover {
  102. background: #f2f2f2 !important;
  103. }
  104. .urlbarView-row[selected] {
  105. background: #f2f2f2 !important;
  106. }
  107. .urlbarView-url {
  108. color: black !important;
  109. }
  110. .urlbarView-url:hover {
  111. color: black !important;
  112. }
  113.  
  114. .urlbarView-row[selected] .urlbarView-row-inner {
  115. background-color: #f2f2f2 !important;
  116. color: black !important;
  117. }
  118.  
  119. .urlbarView-row span.urlbarView-row-inner:hover{
  120. background-color: #f2f2f2 !important;
  121. color: black !important;
  122. }
  123.  
  124.  
  125. .urlbarView:not(.megabar) .urlbarView-results {
  126. padding-inline: 0px !important;
  127. padding-block: 0px !important;
  128. background-color: #d1cdc8 !important;
  129. }
  130.  
  131.  
  132. #PopupAutoCompleteRichResult .autocomplete-richlistitem,
  133. #urlbarView-results,
  134. #PopupAutoCompleteRichResult .scrollbox-innerbox,
  135. #urlbarView-results,
  136. #PopupAutoCompleteRichResult > richlistbox,
  137. #urlbarView-results{
  138. margin-left:0!important;
  139. padding:0 0 0 0!important;
  140. }
  141.  
  142. .urlbarView-body-inner {
  143. border-top: 1px solid var(--urlbar-separator-color);
  144. }
  145.  
  146. #urlbar[open] > #urlbar-background{ border-color: transparent !important; }
  147.  
  148.  
  149. @-moz-document url("chrome://browser/content/places/bookmarksSidebar.xhtml"),
  150. url("chrome://browser/content/browser.xhtml") {
  151.  
  152. #bookmarks-view,sidebarheader,#sidebar-box,.sidebar-placesTreechildren,#sidebar-search-label,#sidebar-search-container,#placesList > treechildren{
  153. -moz-appearance: none!important;
  154. background:#d1cdc8!important}
  155.  
  156. #menu_bookmarksSidebar {
  157. display: -moz-box !important;
  158. }
  159.  
  160. #bookmarks-view-children {
  161. margin-top: -120px !important;
  162. margin-left: -15px !important;
  163. }
  164.  
  165. #sidebar-header {
  166. display: none !important;
  167. }
  168.  
  169. #sidebar-search-container {
  170. display: none !important;
  171. }
  172.  
  173. #sidebar-box {
  174. display: block !important;
  175. position: fixed!important;
  176. top: 116px;
  177. bottom: -35px;
  178. width: 0px !important;
  179. overflow-x: hidden !important;
  180. -moz-appearance: none !important;
  181. border: 1px solid transparent !important;
  182. border-left: 0 !important;
  183. opacity: 0 !important;
  184. transition: width .2s ease-out .2s, opacity .2s ease-out .2s !important;
  185. z-index: 2 !important;
  186. }
  187.  
  188. #sidebar-box:hover {
  189. width: 230px !important;
  190. opacity: 1 !important;
  191. transition: width .2s ease-out .2s, opacity .2s ease-out .2s !important;
  192. }
  193.  
  194. #sidebar-splitter {
  195. display: none !important;
  196. }
  197.  
  198. #sidebar {
  199. display: block !important;
  200. width: 100% !important;
  201. height: 95%;
  202. }
  203. }
  204.  
  205.  
  206. /*Franks Urlbar Selected Text Fix...*/
  207. ::-moz-selection {
  208. -moz-appearance:none !important;
  209. background:#a39c92;
  210. color: white;}
  211.  
  212. .autocomplete-richlistitem {
  213. height: 30px;
  214. min-height: 30px;
  215. font: message-box;
  216. border-radius: 2px;
  217. border: 1px solid transparent;
  218. }
  219.  
  220. .autocomplete-richlistitem:hover,
  221. treechildren.searchbar-treebody::-moz-tree-row(hover) {
  222. background-color: #a39c92;
  223. border-color: hsla(0, 0%, 0%, 0.1);
  224. }
  225.  
  226. .autocomplete-richlistitem[selected],
  227. treechildren.searchbar-treebody::-moz-tree-row(selected) {
  228. background-color: #a39c92 !important;
  229. }
  230.  
  231.  
  232. #PopupAutoCompleteRichResult .autocomplete-richlistitem[selected=true] {
  233. color: #eee !important;
  234. background-color: #a39c92 !important;
  235. }
  236.  
  237. .autocomplete-richlistitem:hover,
  238. .autocomplete-richlistitem[selected] {
  239. background-color: #d1cdc8 !important;
  240. }
  241.  
  242. .ac-type-icon[type="bookmark"] {
  243. fill: #a39c92 !important;
  244. }
  245.  
  246. #searchbar menupopup menuitem:hover{
  247. -moz-appearance:none!important;
  248. background: #a39c92 !important;
  249. color: white !important;
  250. height: 22px !important;
  251. }
  252.  
  253.  
  254. menupopup menuitem:hover{
  255. -moz-appearance:none!important;
  256. background: #a39c92 !important;
  257. color: white !important;
  258. height: 22px !important;
  259. }
  260.  
  261. #context-reload{
  262. height: 32px !important;
  263. }
  264.  
  265.  
  266. .titlebar-spacer[type="pre-tabs"] {display: none !important}
  267.  
  268.  
  269. #downloads-button[attention="success"] #downloads-indicator-icon {
  270. display: visible !important;
  271. }
  272.  
  273. /* During a download, force display of progress bar */
  274. #downloads-button[attention="success"] #downloads-indicator-progress-area
  275. {
  276. display: -moz-box !important;
  277. visibility: visible !important;
  278. }
  279.  
  280. /* After something have successfully completed downloading, set the color of the download icon*/
  281. #downloads-button[attention="success"] > #downloads-indicator-anchor > #downloads-indicator-icon,
  282. #downloads-button[attention="success"] > #downloads-indicator-anchor > #downloads-indicator-progress-outer
  283. {
  284. --toolbarbutton-icon-fill-attention: #000000;
  285. fill: #000000 !important;
  286. }
  287.  
  288. /* Sets the color of the animated arrow that appears when a download is starting*/
  289. #downloads-button[notification="start"] > #downloads-indicator-anchor > #downloads-indicator-icon,
  290. #downloads-notification-anchor[notification="start"] > #downloads-indicator-notification {
  291. --toolbarbutton-icon-fill-attention: #000000;
  292. fill: #000000 !important;
  293. }
  294.  
  295. /*Set the color of the download icon as something is downloading*/
  296. #downloads-button[progress] > #downloads-indicator-anchor > #downloads-indicator-icon,
  297. #downloads-button[progress] > #downloads-indicator-anchor > #downloads-indicator-progress-outer {
  298. --toolbarbutton-icon-fill-attention: #000000;
  299. fill: #000000 !important;
  300. }
  301.  
  302. /* Set the color for the progress bar as something is downloading */
  303. #downloads-button > #downloads-indicator-anchor > #downloads-indicator-progress-outer > #downloads-indicator-progress-inner {
  304. --toolbarbutton-icon-fill-attention: #000000;
  305. fill: #000000 !important;
  306. }
  307.  
  308. /* The default color of the download button */
  309. #downloads-button,
  310. #downloads-button[indicator="true"]:not([attention="success"]) #downloads-indicator-icon
  311. {
  312. display: -moz-box !important;
  313. visibility: visible !important;
  314. --toolbarbutton-icon-fill-attention: #000000;
  315. fill: #000000 !important;
  316. }
  317.  
  318. /* Tab Close Button only on Mouseover */
  319. /* .tabbrowser-tab:not(:hover) .tab-close-button{ display:none; }*/
  320. /*.tabbrowser-tab:not([pinned]):hover .tab-close-button{ display:-moz-box !important; }*/
  321.  
  322.  
  323. /*
  324. * Underlines and dims unloaded tabs
  325. *
  326. * Contributor(s): josemam
  327. */
  328. .tabbrowser-tab[pending] {
  329. opacity: .5;
  330. }
  331.  
  332. *
  333. * Prevent tab overflow as long as possible without making them hard to click
  334. *
  335. * Contributor(s): Madis0
  336. *
  337. * Original by Jeremy Sturdivant (https://superuser.com/a/238435) -- CC BY-SA
  338. */
  339.  
  340. .tabbrowser-tab {
  341. min-width: 1em !important;
  342. clip-width: 1em !important;
  343. }
  344.  
  345. .tab-line[selected] {
  346. display:none!important;
  347. }
  348.  
  349.  
  350. .autocomplete-richlistitem {
  351. background-color: #d1cdc8 !important;
  352. color: black !important;
  353. padding: 5px 2px !important;
  354. }
  355.  
  356. .autocomplete-richlistitem[selected="true"] {
  357. background: #f2f2f2 !important;
  358. color: black !important;
  359. }
  360.  
  361. .ac-url-text {
  362. color: black ! important;
  363. }
  364.  
  365. .ac-url-text[selected="true"] {
  366. color: black !important;
  367. }
  368.  
  369. .autocomplete-richlistitem:hover,
  370. .autocomplete-richlistitem[selected] {
  371. background-color: #f2f2f2 !important;
  372. }
  373.  
  374.  
  375. :root {
  376. --toolbar-field-focus-border-color: black !important;
  377. }
  378.  
  379. menuseparator{
  380. -moz-appearance: none !important;
  381. padding-top: 0px !important;
  382. padding-bottom: 0px !important;
  383. margin-top: 0px !important;
  384. margin-bottom: 0px !important;
  385. }
  386.  
  387. .sidebar-placesTree treechildren::-moz-tree-cell-text(container, queryFolder_unfiled_____)
  388. { color: transparent !important;
  389. font-size: 0 !important; }
  390.  
  391. .sidebar-placesTree treechildren::-moz-tree-image(container, queryFolder_unfiled_____) {
  392. list-style-image: none !important;
  393. }
  394.  
  395. #ublock0_raymondhill_net-browser-action {
  396. -webkit-filter: grayscale(100%);
  397. filter: grayscale(100%);
  398. }
  399.  
  400. :root:-moz-lwtheme-brighttext #ublock0_raymondhill_net-browser-action {
  401. -webkit-filter: grayscale(100%) invert(100%);
  402. filter: grayscale(100%) invert(100%);
  403. }
  404.  
  405.  
  406. tree[selstyle="primary"] > treechildren::-moz-tree-row {
  407. border: none !important;
  408. background-color: #d1cdc8 !important;
  409. }
  410.  
  411. treechildren::-moz-tree-row(selected) {
  412. border: none !important;
  413. background-color: #d1cdc8 !important;
  414. }
  415.  
  416. treechildren::-moz-tree-row(hover) {
  417. background-color: #f2f2f2 !important;
  418. color: black !important;
  419. }
  420.  
  421. treechildren::-moz-tree-row(selected, focus) {
  422. border: none !important;
  423. background-color: none !important;
  424. }
  425.  
  426. treechildren::-moz-tree-cell-text(selected) {
  427. color: black !important;
  428. }
  429.  
  430.  
  431. treechildren:-moz-tree-cell(even, hover),
  432. treechildren:-moz-tree-cell(odd, hover),
  433. treechildren:-moz-tree-cell-text(hover){
  434. color: black !important;
  435. }
  436.  
  437.  
  438. /* Always hide the tracking protection icon */
  439. #tracking-protection-icon-box {
  440. display: none;
  441. }
  442.  
  443. #tracking-protection-icon-container {
  444. display: none;
  445. }
  446.  
  447.  
  448.  
Advertisement
Add Comment
Please, Sign In to add comment