You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

102 lines
2.5 KiB

4 years ago
4 years ago
  1. /* enable in about:config
  2. toolkit.legacyUserProfileCustomizations.stylesheets
  3. */
  4. @import "userColors.css";
  5. /*@namespace html url(http://www.w3.org/1999/xhtml);
  6. @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
  7. */
  8. /* it might be necessary to change theme to dark */
  9. /*doesnt work*/
  10. *|*:root {
  11. --Context-menu-highlight: red;
  12. --Context-menu-background: blue:
  13. --Context-menu-text-color: yellow;
  14. }
  15. /* hides the native tabs */
  16. #TabsToolbar {
  17. visibility: collapse;
  18. }
  19. #urlbar {
  20. background: var(--color-bg) !important;
  21. color: var(--color-fg) !important;
  22. caret-color: red !important;
  23. }
  24. /* changes in main menu bar (File etc)*/
  25. #toolbar-menubar {
  26. background: var(--color-bg) !important;
  27. color: var(--color-fg) !important;
  28. }
  29. /* changes in top bar */
  30. #navigator-toolbox {
  31. --toolbar-bgcolor: var(--color-bg);
  32. }
  33. .toolbarbutton-1 {
  34. fill: var(--color-fg) !important;
  35. --toolbarbutton-hover-background: var(--color-acc1) !important;
  36. --toolbarbutton-active-background: var(--color-acc3) !important;
  37. }
  38. .toolbarbutton-1:hover{ /*cant change fill in toolbarbutton-1*/
  39. fill: var(--color-bg) !important;
  40. }
  41. .toolbarbutton-1:active {
  42. fill: var(--color-bg) !important;
  43. }
  44. /* changes in menus */
  45. .popup-internal-box {
  46. background: var(--color-bg) !important;
  47. color: var(--color-fg) !important;
  48. margin: -.2em -.1em -.1em -.1em; /*removes borders*/
  49. }
  50. /* dont know if necessarz if popup-internal-box color is set */
  51. .menu-text,
  52. .menu-iconic-text,
  53. .menu-iconic-left,
  54. .menu-right {
  55. color: var(--color-fg) !important;
  56. }
  57. /*colors of hotkeys in nmenubar*/LL
  58. .menu-accel,
  59. .menu-iconic-accel {
  60. color: var(--color-acc2) !important;
  61. }
  62. /* context menu */
  63. /* This changes the color on hover of the context-menu items */
  64. menubar > menu[_moz-menuactive="true"],
  65. menupopup > menu[_moz-menuactive="true"],
  66. popup > menu[_moz-menuactive="true"],
  67. menuitem[_moz-menuactive="true"]
  68. {background-color: var(--color-acc1) !important}
  69. /* window "more tools"*/
  70. #widget-overflow-mainView {
  71. background: var(--color-bg) !important;
  72. color: var(--color-fg) !important;
  73. }
  74. /* hides sidebar header for tst */
  75. #sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar-header {
  76. display:none;
  77. }
  78. #sidebar,
  79. #sidebar-header,
  80. #sidebar-search-container,
  81. #bookmarks-view-children,
  82. #historyTree {
  83. color: var(--color-fg) !important;
  84. background: var(--color-bg) !important;
  85. }
  86. #sidebar-splitter {
  87. border: none !important;
  88. background-color: var(--color-bg) !important;
  89. }