Guest User

Untitled

a guest
Nov 15th, 2025
13
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.85 KB | None | 0 0
  1. /* Get rid of space between pinned and non-pinned tabs */
  2. #pinned-tabs-container {
  3. margin-right: 0 !important;
  4. }
  5.  
  6. /* Bring back old style tabs */
  7. :root[id] {
  8. --proton-tab-block-margin: 0px !important;
  9. --tab-block-margin: 0px !important;
  10. --tabs-shadow-size: 1px !important;
  11. --lwt-selected-tab-background-color: var(--toolbar-bgcolor) !important;
  12. }
  13.  
  14. #nav-bar {
  15. box-shadow: 0 -1px 0 0 color-mix(in srgb, currentcolor 30%, transparent) !important;
  16. }
  17.  
  18. #TabsToolbar {
  19. --toolbarbutton-inner-padding: 7px !important;
  20. }
  21.  
  22. #TabsToolbar .toolbarbutton-1 > .toolbarbutton-badge-stack,
  23. #TabsToolbar .toolbarbutton-1 > .toolbarbutton-icon {
  24. border-radius: 2px !important;
  25. }
  26.  
  27. /* Fix padding of scrollbox arrows & tab content */
  28. #scrollbutton-up,
  29. #scrollbutton-down {
  30. border-width: 0 !important;
  31. padding-inline: 2px !important;
  32. background: transparent !important;
  33. }
  34.  
  35. .tabbrowser-tab {
  36. padding-inline: 0 !important;
  37. }
  38.  
  39. .tab-content {
  40. padding-inline: 13px !important;
  41. }
  42.  
  43. .tab-content[pinned] {
  44. padding-inline: 13px !important;
  45. }
  46.  
  47. .tab-background {
  48. border-radius: 0 !important;
  49. box-shadow: none !important;
  50. border-top: 0 !important;
  51. border-inline: none !important;
  52. }
  53.  
  54. /* Create top border of selected tab */
  55. .tab-background[selected]::before,
  56. .tabbrowser-tab:hover > stack > .tab-background::before {
  57. display: flex;
  58. height: 1px;
  59. content: "";
  60. }
  61.  
  62. .tab-stack > .tab-background[selected]::before {
  63. background-color: highlight;
  64. background-image: linear-gradient(var(--tab-line-color),var(--tab-line-color));
  65. }
  66.  
  67. /* Move line on container tabs to bottom of tab */
  68. .tab-context-line {
  69. order: 2;
  70. margin-inline: 10px !important;
  71. height: 2px !important;
  72. margin-bottom: 2px !important;
  73. }
  74.  
  75. /* Bring back tab separators */
  76. .tabbrowser-tab {
  77. padding: 0 !important;
  78. border-right: 1px solid #DBC2B5 !important;
  79. }
  80.  
  81. #tabbrowser-tabs {
  82. --tab-line-color: #DBC2B5 !important;
  83. }
  84.  
  85. #tabbrowser-tabs[movingtab] > #tabbrowser-arrowscrollbox > .tabbrowser-tab[selected],
  86. #tabbrowser-tabs[overflow="true"] > #tabbrowser-arrowscrollbox > .tabbrowser-tab[first-visible-unpinned-tab] {
  87. padding: 0 !important;
  88. border-left: 1px solid #DBC2B5 !important;
  89. }
  90.  
  91. /* Put tabs back on bottom/menu bar on top */
  92. @media -moz-pref("userchrome.force-window-controls-on-left.enabled") {
  93. #nav-bar > .titlebar-buttonbox-container {
  94. order: -1 !important;
  95. > .titlebar-buttonbox {
  96. flex-direction: row-reverse;
  97. }
  98. }
  99. }
  100.  
  101. @media not -moz-pref("sidebar.verticalTabs") {
  102. .global-notificationbox, #tab-notification-deck, #TabsToolbar {
  103. order: 1;
  104. }
  105.  
  106. #TabsToolbar > :is(.titlebar-spacer,.titlebar-buttonbox-container) {
  107. display: none;
  108. }
  109.  
  110. :root[sizemode="fullscreen"] #nav-bar > .titlebar-buttonbox-container {
  111. display: flex !important;
  112. }
  113.  
  114. :root[tabsintitlebar] #toolbar-menubar:not([autohide="false"]) ~ #nav-bar {
  115. > .titlebar-buttonbox-container {
  116. display: flex !important;
  117. }
  118.  
  119. :root[sizemode="normal"] & {
  120. > .titlebar-spacer {
  121. display: flex !important;
  122. }
  123. }
  124.  
  125. :root[sizemode="maximized"] & {
  126. > .titlebar-spacer[type="post-tabs"] {
  127. display: flex !important;
  128. }
  129.  
  130. @media -moz-pref("userchrome.force-window-controls-on-left.enabled"),
  131. (-moz-gtk-csd-reversed-placement), (-moz-platform: macos) {
  132. > .titlebar-spacer[type="post-tabs"] {
  133. display: none !important;
  134. }
  135. > .titlebar-spacer[type="pre-tabs"] {
  136. display: flex !important;
  137. }
  138. }
  139. }
  140. }
  141. }
  142.  
  143. /* Get rid of shadow in url dropdown from tab bar overflow arrow */
  144. #scrollbutton-up~spacer {
  145. display: none !important;
  146. }
  147.  
  148. /* Remove line above navigation bar */
  149. #nav-bar {
  150. box-shadow: none !important;
  151. border-top: none !important;
  152. }
  153.  
  154. /* Remove line under tabs */
  155. #navigator-toolbox {
  156. border: none !important;
  157. }
  158.  
  159. /* Disable expanding address bar */
  160. #urlbar[breakout][breakout-extend] {
  161. margin-left: 0 !important;
  162. width: var(--urlbar-width) !important;
  163. margin-top: calc((var(--urlbar-container-height) - var(--urlbar-height)) / 2) !important;
  164.  
  165. > .urlbar-input-container {
  166. height: var(--urlbar-height) !important;
  167. padding-block: var(--urlbar-container-padding) !important;
  168. padding-inline: var(--urlbar-container-padding) !important;
  169. }
  170. }
  171.  
  172. #urlbar[breakout][breakout-extend] > #urlbar-background {
  173. animation-name: unset !important;
  174. }
  175.  
  176. #urlbar[breakout][breakout-extend] > :is(#urlbar-input-container,.urlbar-input-container) {
  177. height: var(--urlbar-height) !important;
  178. padding-block: 1px !important;
  179. padding-inline: 1px !important;
  180. border-bottom-left-radius: 0px !important;
  181. border-bottom-right-radius: 0px !important;
  182. }
  183.  
  184. #urlbar[breakout] .urlbarView-row-inner {
  185. border-radius: 0px !important;
  186. }
  187.  
  188. #urlbar[breakout], #urlbar[breakout] * {
  189. animation: unset !important;
  190. duration: 0s !important;
  191. animation-duration: 0s !important;
  192. }
  193.  
  194. .urlbarView-body-inner {
  195. border-top: 0px !important;
  196. }
Advertisement
Add Comment
Please, Sign In to add comment