-686

userChrome.CSS for Safari Ventura Theme

Feb 24th, 2023
481
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.87 KB | None | 0 0
  1. /********** Close Tab on Left Side **********/
  2.  
  3. .tabbrowser-tab .tab-close-button {
  4. -moz-box-ordinal-group: 0 !important;
  5. margin-inline: -2px 2px !important;
  6. width: unset !important;
  7. padding-inline: 5px !important;
  8. }
  9.  
  10. .tab-content {
  11. Padding: 0 2px !important;
  12. }
  13.  
  14.  
  15.  
  16.  
  17.  
  18. /********** ENABLE FOR WINDOWS **********/
  19.  
  20. /*
  21.  
  22. #nav-bar-customization-target {
  23. margin-right: 60px !important;
  24. }
  25.  
  26. #toolbar{
  27. margin: 0 0 -3px !important;
  28. }
  29.  
  30. .titlebar-spacer[type="pre-tabs"], .titlebar-spacer[type="post-tabs"] {
  31. width: 2px !important;
  32. }
  33.  
  34.  
  35. :root[sessionrestored] #nav-bar:-moz-lwtheme {
  36. margin-top: -4px !important;
  37. }
  38.  
  39. #TabsToolbar {
  40. padding: 0 0 2px !important;
  41. }
  42.  
  43. #tabbrowser-tabs {
  44. margin-left: 116px !important;
  45. }
  46.  
  47.  
  48. scrollbox, .scrollbox-clip {
  49. margin-top: 1px !important;
  50. }
  51.  
  52. #nav-bar-customization-target > :is(toolbarbutton, toolbaritem):first-child, #nav-bar-customization-target > toolbarpaletteitem:first-child > :is(toolbarbutton, toolbaritem) {
  53. padding-inline-start: 1px;
  54. }
  55.  
  56. #browser {
  57. margin-top: -4px !important;
  58. }
  59.  
  60. */
  61.  
  62.  
  63.  
  64.  
  65.  
  66. /********** ENABLE FOR MAC **********/
  67.  
  68.  
  69.  
  70.  
  71. toolbar{
  72. margin: 2px 0 -4px !important;
  73. }
  74.  
  75. .titlebar-spacer[type="pre-tabs"], .titlebar-spacer[type="post-tabs"] {
  76. width: 51px !important;
  77. }
  78.  
  79.  
  80. .titlebar-spacer[type="post-tabs"] {
  81. margin-right:30px;
  82. }
  83.  
  84. :root:not([privatebrowsingmode="temporary"], [firefoxviewhidden]) :is(toolbarbutton, toolbarpaletteitem) + #tabbrowser-tabs, :root[privatebrowsingmode="temporary"]:not([firefoxviewhidden]) :is(toolbarbutton:not(#firefox-view-button), toolbarpaletteitem:not(#wrapper-firefox-view-button)) + #tabbrowser-tabs{
  85. border-inline-start: unset !important;
  86. padding-inline-start: unset !important;
  87. margin-inline-start: unset !important;
  88. }
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95. /********** STYLES FOR BOTH MAC AND WINDOWS **********/
  96.  
  97.  
  98. /*Tab Padding & Height of Search Bar*/
  99.  
  100. .tab-content {
  101. padding:0 2px !important;
  102. }
  103.  
  104. .tabbrowser-tab {
  105. min-height: 20px !important;
  106. }
  107.  
  108. #TabsToolbar {
  109. --toolbarbutton-inner-padding: 0 !important;
  110. }
  111.  
  112. .tab-close-button{
  113. height: 27px !important;
  114. }
  115.  
  116. *|*:root {
  117. --tab-min-height: 34px !important;
  118. --urlbar-height: 18px !important;
  119. --urlbar-toolbar-height: 26x !important;
  120. }
  121.  
  122.  
  123. /* Remove Search Icon*/
  124.  
  125. #TabsToolbar .toolbarbutton-1, #identity-icon-box {
  126. display:none;
  127. }
  128.  
  129.  
  130. /*Remove URL Outline*/
  131.  
  132. #urlbar-background {
  133. outline: none !important;
  134. }
  135.  
  136.  
  137. /* Remove Text From Address / Search Bar */
  138.  
  139. #urlbar[pageproxystate="invalid"]:not([usertyping],[searchmode]) #urlbar-input::placeholder { color: transparent }
  140. #urlbar[pageproxystate="invalid"]:not([usertyping],[searchmode]) .urlbar-input-box::before {
  141. content: "";
  142. }
  143.  
  144. /* REMOVE BOX SHADOW */
  145.  
  146. :root:not([inFullscreen], [tabsintitlebar]) #nav-bar:not([tabs-hidden="true"]), #nav-bar:not([tabs-hidden="true"]):-moz-lwtheme {
  147. box-shadow: none !important;
  148. }
  149.  
  150.  
Advertisement
Add Comment
Please, Sign In to add comment