Advertisement
Guest User

Firefox 89 - userChrome.css

a guest
Jun 8th, 2021
686
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.93 KB | None | 0 0
  1. #main-window .tab-background[multiselected="true"],
  2. #main-window .tab-background[selected="true"]{
  3.     /* Make active tab background match address bar color */
  4.     background-color: var(--toolbar-bgcolor) !important;
  5.     background-image: var(--toolbar-bgimage) !important;
  6.     color: var(--toolbar-color) !important;
  7. }
  8. #main-window:not([lwtheme="true"]) .tab-background[multiselected="true"],
  9. #main-window:not([lwtheme="true"]) .tab-background[selected="true"]{
  10.     /* Used with system theme - May not look good on every system theme */
  11.     border: 1px solid var(--tabs-border-color) !important;
  12.     border-bottom: none !important;
  13. }
  14.  
  15. .tab-background {
  16.     /* Make tabs not look like buttons */
  17.     margin: 1px 0 0 !important;
  18.     --tab-border-radius: 8px 8px 0 0 !important;
  19. }
  20. toolbarbutton#scrollbutton-up[part="scrollbutton-up"],
  21. toolbarbutton#scrollbutton-down[part="scrollbutton-down"] {
  22.     /* Prevent needing to alter tab height
  23.      * This is for the tab scrolling buttons
  24.      * The change to the tab-brackground margin
  25.      * causes the border size a issue here */
  26.     border: none !important;
  27. }
  28.  
  29. :root[uidensity="compact"] .tab-close-button{
  30.     /* Adjust size of close tab button in compact mode */
  31.     padding: 3px !important;
  32.     margin: 0 !important;
  33.     height: 20px !important;
  34.     width: 20px !important;
  35. }
  36.  
  37. #tabbrowser-tabs .tabbrowser-tab:not([pinned]){
  38.     /* Tab minimum width */
  39.     min-width: 110px !important;
  40. }
  41. #tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]):not([pinned]):hover .close-icon{
  42.     /* Show close button even when tabs are low on width */
  43.     display: -moz-box !important;
  44. }
  45.  
  46. #tabbrowser-tabs .tabbrowser-tab[pending]:not([selected="true"]):not(:hover){
  47.     /* Distinguish between loaded and unloaded tabs */
  48.     opacity: 0.5;
  49. }
  50.  
  51. #toolbar-menubar > spacer{
  52.     /* Remove spacer in menu bar */
  53.     display: none;
  54. }
  55. #toolbar-menubar toolbarspring{
  56.     /* Make flexable spaces max length in menu bar */
  57.     max-width: none !important;
  58. }
  59.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement