Guest User

userChrome.css

a guest
Jun 4th, 2021
249
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/tabs_on_bottom.css made available under Mozilla Public License v. 2.0
  2. See the above repository for updates as well as full license text. */
  3.  
  4. /* Modify to change window drag space width */
  5. /*
  6. Use tabs_on_bottom_menubar_on_top_patch.css if you
  7. have menubar permanently enabled and want it on top
  8. */
  9.  
  10. /* IMPORTANT */
  11. /*
  12. Get window_control_placeholder_support.css
  13. Window controls will be all wrong without it.
  14. Additionally on Linux, you may need to get:
  15. linux_gtk_window_control_patch.css
  16. */
  17.  
  18. :root{ --uc-titlebar-padding: 0px; }
  19. @media (-moz-os-version: windows-win10){
  20. :root[sizemode="maximized"][tabsintitlebar]{ --uc-titlebar-padding: 8px }
  21. }
  22. #toolbar-menubar[autohide="true"] > .titlebar-buttonbox-container,
  23. #TabsToolbar > .titlebar-buttonbox-container{
  24. position: fixed;
  25. display: block;
  26. top: var(--uc-titlebar-padding,0px);
  27. right:0;
  28. height: 140px;
  29. }
  30. /* Mac specific. You should set that font-smoothing pref to true if you are on any platform where window controls are on left */
  31. @supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled"){
  32. :root{ --uc-titlebar-padding: 0px !important }
  33. .titlebar-buttonbox-container{ left:0; right: unset !important; }
  34. }
  35.  
  36. :root[uidensity="compact"] #TabsToolbar > .titlebar-buttonbox-container{ height: 32px }
  37.  
  38. #toolbar-menubar[inactive] > .titlebar-buttonbox-container{ opacity: 0 }
  39.  
  40. #navigator-toolbox{ padding-top: var(--uc-titlebar-padding,0px) !important; }
  41.  
  42. .titlebar-buttonbox-container > .titlebar-buttonbox{ height: 100%; }
  43.  
  44. #titlebar{
  45. -moz-box-ordinal-group: 2;
  46. -moz-appearance: none !important;
  47. --tabs-navbar-shadow-size: 0px;
  48. }
  49.  
  50. .titlebar-placeholder,
  51. #TabsToolbar .titlebar-spacer{ display: none; }
  52. /* Also hide the toolbox bottom border which isn't at bottom with this setup */
  53. #navigator-toolbox::after{ display: none !important; }
  54.  
  55. @media (-moz-gtk-csd-close-button){ .titlebar-button{ -moz-box-orient: vertical } }
  56.  
  57. /* These exist only for compatibility with autohide-tabstoolbar.css */
  58. toolbox#navigator-toolbox > toolbar#nav-bar.browser-toolbar{ animation: none; }
  59. #navigator-toolbox:hover #TabsToolbar{ animation: slidein ease-out 48ms 1 }
  60.  
  61. /* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/tabs_on_bottom_menubar_on_top_patch.css made available under Mozilla Public License v. 2.0
  62. See the above repository for updates as well as full license text. */
  63.  
  64. /* TABS: height */*|*:root { --tab-toolbar-navbar-overlap: 0px !important; --tab-min-height: 25px !important;
  65. --tab-min-width: 80px !important;
  66.  
  67. #tabbrowser-tabs {
  68. width: 100vw !important;
  69. }
  70. #main-window:not([chromehidden*="toolbar"]) #navigator-toolbox {padding-bottom: var(--tab-min-height) !important;}
  71.  
  72. .tab-background {
  73. border-radius: 8px 8px 0px 0px !important; border-image: none !important;
  74. }
  75. .tab-line {
  76. display: none;
  77. }
  78.  
  79. .tab-close-button {
  80. color: red!important;
  81. }
  82.  
RAW Paste Data