Advertisement
Guest User

Untitled

a guest
Jan 13th, 2022
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.08 KB | None | 0 0
  1.  
  2.  
  3. /*** Change right-click tab -> reload tab to be first context menu entry (for both single tab and multiple tab selections) ***/
  4. #tabContextMenu #context_reloadTab, #tabContextMenu #context_reloadSelectedTabs {
  5. -moz-box-ordinal-group: 0 !important;
  6. }
  7.  
  8.  
  9.  
  10. /*** Remove print selection (right-click context) ***/
  11. #context-print-selection { display:none!important;}
  12.  
  13.  
  14.  
  15.  
  16. /*** Tighten up vertical drop-down(bookmark)/context/popup menu spacing ***/
  17. menupopup > menuitem, menupopup > menu {
  18. padding-block: 1px !important;
  19. }
  20. :root {
  21. --arrowpanel-menuitem-padding: 1px 2px !important;
  22. }
  23.  
  24. /*** Added to remove extra bookmark spacing after sept 2021 update: https://www.reddit.com/r/FirefoxCSS/comments/pmrp83/latest_update_has_messed_up_bookmark_spacing/ ***/
  25. #PlacesToolbar menuitem {
  26. min-height: 0px !important;
  27. }
  28.  
  29.  
  30.  
  31. /*
  32. FF96 UPDATE
  33. references: https://gist.github.com/tung/439935f55cc83af20defd7867ec89c82; , https://www.reddit.com/r/FirefoxCSS/comments/s1jdr5/firefox_tabbar_completely_messed_up_after_v96/
  34. */
  35. /* remove radius from buttons and tabs */
  36. *|*:root {
  37. --toolbarbutton-border-radius: 0 !important;
  38. --tab-border-radius: 0px !important;
  39. --toolbarbutton-outer-padding: 0 !important;
  40. --toolbarbutton-inner-padding: 8px !important;
  41. --toolbar-start-end-padding: 0 !important;
  42. }
  43.  
  44. /* remove margin from tabs */
  45. .tab-background {
  46. margin-block: 0 !important;
  47. }
  48.  
  49. /* remove padding between tabs */
  50. .tabbrowser-tab {
  51. padding-inline: 0 !important;
  52. }
  53.  
  54. /* add vertical line between tabs */
  55. .tabbrowser-tab:not([selected=true]):not([multiselected=true]):not([beforeselected-visible="true"]) .tab-background {
  56. border-right: 1px solid var(--lwt-background-tab-separator-color, rgba(0, 0, 0, 0.2)) !important;
  57. }
  58.  
  59. /* fix for when titlebar gets taller when there are many tabs */
  60. #tabbrowser-arrowscrollbox {
  61. height: var(--tab-min-height);
  62. }
  63.  
  64. /* force tabs to 30px height (added this because they're bit too short when the above fix is applied by itself) */
  65. #tabbrowser-tabs {
  66. height: 30px !important;
  67. }
  68. /*
  69. END OF FF96 UPDATE
  70. */
  71.  
  72.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement