Advertisement
notepad987

My userChrome.css file

Mar 7th, 2025 (edited)
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.89 KB | Help | 0 0
  1.  
  2.  
  3. @-moz-document url(chrome://browser/content/places/places.xhtml) {
  4. #placeContent treechildren {
  5. font-size: 1.7em !important;
  6. }
  7. }
  8.  
  9.  
  10. /* Multi Rows in Firefox. This is the fix. Copy into userChrome.css) */
  11. scrollbox[part][orient="horizontal"] > * { flex-wrap: wrap; }
  12.  
  13. /* the order of the toolbars. Change to what you want */
  14. #nav-bar {order: 1 !important}
  15. #PersonalToolbar {order: 2 !important}
  16. #TabsToolbar {order: 3 !important}
  17.  
  18. /* URL field text size */
  19. #nav-bar{
  20. font-size: 9pt !important;}
  21.  
  22. /* Sidebar Color / Font Size Formatting */
  23. .sidebar-placesTree treechildren::-moz-tree-cell-text { font-size: 16px !important; color: #000 !important;
  24. font-family: 'Verdana' !important;
  25. }
  26.  
  27. /* MediumAquamarine background on hover on sidebar or selected */
  28. .sidebar-placesTree treechildren::-moz-tree-row(hover),
  29. .sidebar-placesTree treechildren::-moz-tree-row(selected) {background-color: #66CDAA !important; }
  30.  
  31.  
  32. /* code below from sifferedd */
  33. #navigator-toolbox {
  34. font-family: "Verdana" !important;
  35. color: #000000 !important;
  36. }
  37.  
  38. .bookmark-item > .toolbarbutton-text {
  39. font-size: 14px !important;
  40. font-family: 'Verdana' !important;
  41. }
  42.  
  43. #personal-bookmarks {
  44. font-size: 14px !important;
  45. font-family: 'Verdana' !important;
  46. }
  47.  
  48. #bookmarksMenuPopup,
  49. .bookmark-item {
  50. font-size: 14px !important;
  51. font-family: 'Verdana' !important;
  52. }
  53.  
  54. /* file, edit, view etc font size */
  55. #main-menubar {
  56. font-size: 15px !important;
  57. font-weight: bold;}
  58.  
  59. :root {
  60. --tab-border-radius: 8px !important;
  61. }
  62.  
  63. /* box-shadow: horizontal offset, vertical offset, blur radius, optional spread radius, color & transparency; */
  64.  
  65. /* White background color */
  66. .tabbrowser-tab:not([selected="true"]):not(:hover) .tab-content {
  67. background-color: #ffffff !important;
  68. border-radius: 8px 8px 0px 0px; !important;
  69. box-shadow: 1px 0px 1px 0px rgba(0, 0, 0, 0.4);
  70. }
  71.  
  72. /* orange hover color */
  73. .tabbrowser-tab:hover:not([selected]) .tab-content {
  74. background-color: #FF7F50 !important;
  75. border-radius: 8px 8px 0px 0px; !important;
  76. box-shadow: 1px 0px 1px 0px rgba(0, 0, 0, 0.4);}
  77.  
  78.  
  79. /* MediumAquamarine selected color */
  80. .tabbrowser-tab:is([visuallyselected],[multiselected]) .tab-content {
  81. background-color: #66CDAA !important;
  82. border-radius: 8px 8px 0px 0px; !important;
  83. box-shadow: 1px 0px 1px 0px rgba(0, 0, 0, 0.4);}
  84.  
  85.  
  86. /* font size on tabs */
  87. .tab-label {
  88. font-size: 12px !important;
  89. }
  90.  
  91.  
  92. /* code from qaz69wsx */
  93. /* font size for right click menu */
  94. menupopup {font-size: 13px !important;}
  95.  
  96. /* font size for dropdown menu lines before bookmarks */
  97. menubar {font-size: 14px !important;}
  98.  
  99.  
  100. /* code from qaz69wsx with some changes in colors for right click menu */
  101. menupopup:not(.in-menulist, .toolbar-menupopup, .toolbar-menupopup menupopup) {
  102. --panel-background: #f9f9fb !important;
  103. --panel-color: #000000 !important;
  104. --panel-padding: 6px !important;
  105. --panel-border-radius: 12px !important;
  106. --panel-border-color: transparent !important;
  107.  
  108. menu, menuitem {
  109. &[disabled="true"] {
  110. /* color of text of non clickable options: example: color: blue - Default is light grey */ !important;
  111. }
  112.  
  113.  
  114. [_moz-menuactive]:not([disabled="true"]) {
  115. color: #000000 !important; /* text color */
  116. font-weight: bold;
  117. /* also makes dropdown menu text bold when highlighted */
  118. }
  119.  
  120. [_moz-menuactive="true"][disabled="true"] {
  121. background-color: #ffffff !important;
  122. }
  123.  
  124.  
  125. /* changes the right click menu hover color */
  126. menu:where([_moz-menuactive="true"]:not([disabled="true"])), menuitem:where([_moz-menuactive="true"]:not([disabled="true"])) {
  127. background-color: #66CDAA !important; /* green hover color */
  128. color: #000000 !important; /* text color */
  129. /* if font-weight: bold; is added here instead of above code, the File, Edit, View etc will also be bold when highlighted and will make menu expand */
  130. }
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement