Guest User

userchrome

a guest
Jun 13th, 2025
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.21 KB | None | 0 0
  1. @import url("sidebar.css");
  2.  
  3. /* Hide the tabs toolbar */
  4. #TabsToolbar {
  5. visibility: collapse; /* Completely hides the tabs toolbar */
  6. }
  7.  
  8. /* Main Settings for colors */
  9. :root {
  10. --toolbar-field-focus-border-color: transparent !important; /* Makes the toolbar field focus border color transparent */
  11. --urlbar-background-color: #201929; /* Sets the background color of the URL bar to a dark shade */
  12. }
  13.  
  14. /* Change background color for private browsing mode */
  15. :root[privatebrowsingmode="temporary"] {
  16. --urlbar-background-color: #25003E; /* Sets a different background color for the URL bar in private browsing mode */
  17. }
  18.  
  19. /* Clean up the appearance of the URL bar and search bar */
  20. #urlbar,
  21. #searchbar {
  22. font-size: 13px !important; /* Sets the font size of both the URL bar and search bar */
  23. }
  24.  
  25. #urlbar-background,
  26. #searchbar {
  27. border: none !important; /* Removes the border from the URL bar and search bar */
  28. animation-name: none !important; /* Disables any animations on the URL bar and search bar */
  29. box-shadow: none !important; /* Removes any shadow around the URL bar and search bar */
  30. }
  31.  
  32. /* Changes for the extended URL bar */
  33. #urlbar[breakout][breakout-extend] > #urlbar-background {
  34. background-image: var(--lwt-additional-images) !important; /* Allows for background images in the URL bar */
  35. background-repeat: var(--lwt-background-tiling) !important; /* Defines if the background image repeats */
  36. background-position: var(--lwt-background-alignment) !important; /* Sets the background image position */
  37. }
  38.  
  39. /* Removes borders on URL bar when open */
  40. #urlbar[open] > .urlbarView > .urlbarView-body-outer > .urlbarView-body-inner {
  41. border: none !important; /* Removes borders when the URL bar is open */
  42. }
  43.  
  44. /* Change background of selected rows in the URL bar */
  45. .urlbarView-row[selected] > .urlbarView-row-inner,
  46. .urlbarView-row-inner[selected] {
  47. background: #3A3941 !important; /* Darkens the background of selected rows in the URL bar */
  48. }
  49.  
  50. /* Remove shadow from the navigation bar */
  51. #nav-bar:not([tabs-hidden="true"]) {
  52. box-shadow: none !important; /* Removes any box shadow from the navigation bar */
  53. }
  54.  
  55. /* Remove the bottom border from the navigator toolbox */
  56. #navigator-toolbox {
  57. border-bottom: none !important; /* Removes the bottom border from the navigator toolbox */
  58. }
  59.  
  60. /* Adds a smooth background transition to toolbar buttons */
  61. toolbar .toolbarbutton-1:not([disabled="true"], [checked], [open], :active) > .toolbarbutton-icon {
  62. transition: background linear 0.5s; /* Smooth transition for background color on toolbar buttons */
  63. }
  64.  
  65. /* Make the title bar very small so it can be dragged by the mouse */
  66. #titlebar {
  67. appearance: none !important; /* Removes any default appearance from the title bar */
  68. height: 1px; /* Makes the title bar height very small */
  69. }
  70.  
  71. /* Adjust the findbar (search bar) position */
  72. .browserContainer > findbar {
  73. position: absolute; /* Positions the findbar absolutely */
  74. top: -1px; /* Moves it up slightly */
  75. right: 0px; /* Aligns it to the right */
  76. contain: content; /* Ensures that the findbar content is contained */
  77. border-radius: 0 0 var(--toolbarbutton-border-radius) var(--toolbarbutton-border-radius); /* Rounded corners for the findbar */
  78. }
  79.  
  80. /* Hide the status message in the findbar */
  81. findbar .findbar-find-status {
  82. display: none; /* Hides the find status message */
  83. }
  84.  
  85. /* Replace checkboxes with buttons in the findbar */
  86. findbar .checkbox-check {
  87. display: none !important; /* Hides checkboxes in the findbar */
  88. }
  89.  
  90. findbar checkbox {
  91. border: 1px solid var(--input-border-color); /* Adds a border around checkboxes */
  92. border-radius: var(--toolbarbutton-border-radius); /* Makes the checkbox corners round */
  93. padding: 2px 4px; /* Adds padding inside the checkbox */
  94. margin: -2px 4px !important; /* Adjusts the margin around the checkbox */
  95. transition: 0.1s ease-in-out; /* Smooth transition for changes */
  96. }
  97.  
  98. findbar checkbox[checked="true"] {
  99. background: var(--button-active-bgcolor); /* Changes the background color when the checkbox is checked */
  100. transition: 0.1s ease-in-out; /* Smooth transition when the checkbox is checked */
  101. }
  102.  
  103. /* Center the text in the URL bar */
  104. #urlbar-input {
  105. text-align: center !important; /* Centers the text inside the URL bar */
  106. }
  107.  
  108. /* Make the placeholder text in the URL bar transparent */
  109. #urlbar-input::placeholder {
  110. color: transparent; /* Makes the placeholder text invisible */
  111. }
  112.  
  113. /* Hide the URL bar completely */
  114. .urlbarView {
  115. display: none !important; /* Completely hides the URL bar */
  116. }
  117.  
  118. /* Disable the back and forward buttons when they are disabled */
  119. #back-button[disabled="true"] {
  120. display: none !important; /* Hides the back button when it's disabled */
  121. }
  122.  
  123. #forward-button[disabled="true"] {
  124. display: none !important; /* Hides the forward button when it's disabled */
  125. }
  126.  
  127. /* Hide the user context icons (like profile icon) */
  128. #userContext-icons {
  129. display: none; /* Hides the user context icons */
  130. }
  131.  
  132. /* Hide the page action buttons */
  133. #pageAction-urlbar-_testpilot-containers {
  134. display: none !important; /* Hides the page action buttons in the URL bar */
  135. }
Advertisement
Add Comment
Please, Sign In to add comment