Advertisement
notepad987

My Firefox userChrome.css file

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