Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

userChrome.css 3.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. /* Remove fullscreen transition */
  2. #navigator-toolbox[fullscreenShouldAnimate] { transition: none !important; }
  3. /* Enable page action button */
  4. #urlbar #page-action-buttons #pageActionButton { visibility: unset !important; }
  5. /* Set favorites icon color to default */
  6. #urlbar #page-action-buttons #star-button[starred] { fill: currentColor !important; }
  7. /* Set reader view button color to default */
  8. #urlbar #page-action-buttons #reader-mode-button[readeractive] > .urlbar-icon { fill: currentColor !important; }
  9. /* Set multifoxContainer button color to default */
  10. #urlbar #page-action-buttons #userContext-label[value="Default"] + #userContext-indicator,
  11. #mainPopupSet menuitem.identity-icon-fingerprint[label="Default"] .menu-iconic-icon { fill: currentColor; }
  12. /* Set User Scripts icon to grayscale */
  13. #appMenu-popup #appMenu-multiView #appMenu-userChromeJS-button .toolbarbutton-icon { filter: contrast(10) grayscale(1) invert(); }
  14. /* Set Firefox View icon to grayscale */
  15. #TabsToolbar #firefox-view-button { filter: grayscale(1); }
  16. /* Set private browsing icon to grayscale */
  17. #private-browsing-indicator-with-label > image.private-browsing-indicator-icon { filter: grayscale(1) invert(); }
  18. /* Hide private browsing label */
  19. #private-browsing-indicator-with-label > label { display: none; }
  20. /* Hide tab bar spacer */
  21. #TabsToolbar .titlebar-spacer[type="post-tabs"] { display: none; }
  22. /* Hide reader view button when not active */
  23. #urlbar #page-action-buttons #reader-mode-button:not([readeractive="true"]) { display: none; }
  24. /* Hide Hover Zoom+ button */
  25. #urlbar #page-action-buttons #pageAction-urlbar-_92e6fe1c-6e1d-44e1-8bc6-d309e59406af_ { display: none; }
  26. /* Hide Multi-Account Containers button */
  27. #urlbar #page-action-buttons #pageAction-urlbar-_testpilot-containers { display: none; }
  28. /* Hide RES button */
  29. #urlbar #page-action-buttons #pageAction-urlbar-jid1-xufzosoflzsoxg_jetpack { display: none; }
  30. /* Hide default multifoxContainer label */
  31. #urlbar #page-action-buttons #userContext-label[value="Default"] { display: none; }
  32. /* Hide second bookmarks separator */
  33. #BMB_bookmarksPopup > menuseparator:nth-of-type(2) { display: none; }
  34. /* Hide extra manage bookmarks button */
  35. #BMB_bookmarksPopup #BMB_bookmarksShowAll { display: none; }
  36. /* Hide first separator in new tab context menu */
  37. #new-tab-button-popup > menuseparator:nth-of-type(1) { display: none; }
  38. /* Shrink bookmark separators */
  39. #PlacesToolbarItems > toolbarseparator::before {
  40. filter: opacity(0.3);
  41. height: 80%;
  42. margin: auto;
  43. }
  44. /* Remove bookmark bar text */
  45. #personal-bookmarks .bookmark-item > .toolbarbutton-text {
  46. max-width: 0;
  47. }
  48. #personal-bookmarks .bookmark-item > .toolbarbutton-icon:not([label=""], [type="menu"]) {
  49. margin-inline-end: revert !important;
  50. }
  51. /* Always show bookbar bar text for folders */
  52. #personal-bookmarks .bookmark-item > .toolbarbutton-icon[type="menu"] + .toolbarbutton-text {
  53. max-width: none;
  54. }
  55. /* Animate bookmark bar text on hover */
  56. #personal-bookmarks .bookmark-item:is(:hover, :focus, :active) > .toolbarbutton-text {
  57. max-width: inherit;
  58. transition: max-width 0.5s ease-out 0.2s;
  59. }
  60. #personal-bookmarks .bookmark-item:is(:hover, :focus, :active) > .toolbarbutton-icon:not([label=""], [type="menu"]) {
  61. margin-inline-end: inherit !important;
  62. transition: margin-inline-end 0.1s linear 0.2s;
  63. }