Guest User

Better Firefox Tabs

a guest
Jul 20th, 2021
44
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* Reduce left spacer on non-maximized windows */
  2. .titlebar-spacer[type="pre-tabs"] {
  3.   display: none !important;
  4.   /* width: 0 !important;
  5.   margin-left: -2px !important; */
  6. }
  7.  
  8. /*** Proton Tabs Tweaks ***/
  9.  
  10. /* Adjust tab corner shape, optionally remove space below tabs */
  11.  
  12. #tabbrowser-tabs {
  13.   --user-tab-rounding: 0px;
  14. }
  15.  
  16. .tab-background {
  17.   border-radius: var(--user-tab-rounding) var(--user-tab-rounding) 0px 0px !important;
  18.   margin-block: 0 !important;
  19.   margin-left: -2px !important;
  20. }
  21. #scrollbutton-up, #scrollbutton-down { /* 6/10/2021 */
  22.   border-top-width: 1px !important;
  23.   border-bottom-width: 0 !important;
  24. }
  25. /* Container color bar visibility */
  26. .tabbrowser-tab[usercontextid] > .tab-stack > .tab-background > .tab-context-line {
  27.   margin: 0px max(calc(var(--user-tab-rounding) - 3px), 0px) !important;
  28. }
  29.  
  30. /* Override Normal Density height to Compact Density height only for tabs */
  31.  
  32. #tabbrowser-tabs {
  33.   --tab-min-height: 29px !important;
  34. }
  35. #scrollbutton-up,
  36. #scrollbutton-down {
  37.   border-top-width: 0 !important;
  38.   border-bottom-width: 0 !important;
  39. }
  40.  
  41. /* [Connected Tabs] Set a max height based on min-height plus margin-block: 1px 0 */
  42. #TabsToolbar > hbox, #TabsToolbar-customization-target, #tabbrowser-arrowscrollbox  {
  43.   max-height: 30px !important;
  44. }
  45. /* [Connected Tabs] Adjust padding around icons on buttons to avoid crushed images */
  46. #TabsToolbar-customization-target toolbarbutton > .toolbarbutton-icon,
  47. #TabsToolbar-customization-target .toolbarbutton-text,
  48. #TabsToolbar-customization-target .toolbarbutton-badge-stack,
  49. #scrollbutton-up,#scrollbutton-down {
  50.   padding-top: 7px !important;
  51.   padding-bottom: 6px !important;
  52. }
RAW Paste Data