Guest User

Untitled

a guest
Jan 30th, 2020
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.54 KB | None | 0 0
  1. /*
  2. * Hides the weird empty space at the beginning of the tabs bar in windowed mode.
  3. * https://www.reddit.com/r/firefox/comments/a3f1gp/
  4. */
  5.  
  6. .titlebar-spacer[type="pre-tabs"] {
  7. display: none !important;
  8. }
  9.  
  10. /**********************************************************************************************************************************/
  11.  
  12. /*
  13. * Makes urlbar and many other things sharper on the edges
  14. * https://github.com/Timvde/UserChrome-Tweaks/blob/master/navbar/sharpen-edges.css
  15. */
  16.  
  17. :root {
  18. --toolbarbutton-border-radius: 0px !important;
  19. }
  20.  
  21. /**********************************************************************************************************************************/
  22.  
  23. /*
  24. * Auto-hide the URL-bar and bookmarks bar, show on hover or focus
  25. * https://github.com/Timvde/UserChrome-Tweaks/issues/162#issuecomment-573770089
  26. */
  27.  
  28. #PersonalToolbar:not([customizing]),
  29. #nav-bar:not([customizing="true"]):not([inFullscreen]) {
  30. min-height: 1px !important;
  31. max-height: 0px !important;
  32. margin-top: 1px !important;
  33. margin-bottom: -1px !important;
  34. transition: 0s !important;
  35. z-index: 5 !important;
  36. }
  37.  
  38. #navigator-toolbox:hover:not([inFullscreen]) :-moz-any(#nav-bar),
  39. #navigator-toolbox:focus-within :-moz-any(#nav-bar) {
  40. min-height: 30px !important;
  41. max-height: 30px !important;
  42. margin-top: 1px !important;
  43. margin-bottom: -30px !important;
  44. transition: 0s !important;
  45. z-index: 5 !important;
  46. }
  47.  
  48. #navigator-toolbox:hover:not([inFullscreen]) :-moz-any(#PersonalToolbar),
  49. #navigator-toolbox:focus-within :-moz-any(#PersonalToolbar) {
  50. min-height: 21px !important;
  51. max-height: 21px !important;
  52. margin-top: 30px !important;
  53. transition: 0s !important;
  54. z-index: 5 !important;
  55. }
  56.  
  57. /**********************************************************************************************************************************/
  58.  
  59. /*
  60. * More Compact Tabs
  61. * https://github.com/Timvde/UserChrome-Tweaks/blob/master/tabs/more-compact-tabs.css
  62. */
  63.  
  64. [uidensity="compact"]:root {
  65. --tab-min-height: 24px !important;
  66. --newtab-margin: -3px 0 -3px -3px !important;
  67. }
  68.  
  69. :root[uidensity="compact"] #tabbrowser-tabs {
  70. --tab-min-height: var(--tab-min-height) !important;
  71. }
  72.  
  73. .tabbrowser-tab {
  74. max-height: var(--tab-min-height) !important;
  75. }
  76.  
  77. .tabs-newtab-button{
  78. margin: var(--newtab-margin) !important;
  79. }
  80.  
  81. /**********************************************************************************************************************************/
  82.  
  83. /*
  84. * Hide Active Tab Highlighting/Blue Line
  85. * https://www.reddit.com/r/firefox/comments/bkzkzp/how_to_remove_this_blue_line_on_the_tab/emki0jx/
  86. */
  87.  
  88. .tab-line {
  89. display: none !important;
  90. }
  91.  
  92. /**********************************************************************************************************************************/
  93.  
  94. /*
  95. * Makes urlbar and many other things sharper on the edges
  96. * https://github.com/Timvde/UserChrome-Tweaks/blob/master/navbar/sharpen-edges.css
  97. */
  98.  
  99. :root {
  100. --toolbarbutton-border-radius: 0px !important;
  101. }
  102.  
  103. /**********************************************************************************************************************************/
  104.  
  105.  
  106.  
  107. /**********************************************************************************************************************************/
  108.  
  109.  
  110.  
  111. /**********************************************************************************************************************************/
  112.  
  113.  
  114.  
  115. /**********************************************************************************************************************************/
Add Comment
Please, Sign In to add comment