kerlser

urlbar

Sep 18th, 2022
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.97 KB | None | 0 0
  1.  
  2. /*** Navbar size ***/
  3.  
  4. /* navbar size , 1. Groesse UNgerade, 2. gerade --> zentriert */
  5.  
  6. /* Gesamt */
  7. #urlbar-container, #search-container {
  8. min-height: 37px !important;
  9. }
  10. #nav-bar {
  11. height: var(--uc-toolbar-height) !important;
  12. }
  13.  
  14. /* Textfeld , gleiche Grösse */
  15. #urlbar, #searchbar {
  16. min-height: 22px !important;
  17. }
  18. #urlbar-input-container {
  19. max-height: 22px !important;
  20. }
  21.  
  22.  
  23. /* Textfeld HG , border */
  24.  
  25. #urlbar-background {
  26. border-radius: 0 !important;
  27. border: 1px solid !important;
  28. border-color: rgba(0, 0, 0, 0.3) !important;
  29. background-color: #f6f6f6 !important;
  30. }
  31.  
  32. /* URL dropdown background color */
  33. #urlbar[breakout][breakout-extend][open] > #urlbar-background {
  34. background-color: #f6f6f6 !important;
  35. }
  36.  
  37. /* Highlight color URL bar */
  38.  
  39. #urlbar-input::selection {
  40. background-color: rgba(87, 80, 68, 0.2) !important;
  41. }
  42. /* URL color URL bar dropdown */
  43.  
  44. :root {
  45. --urlbar-popup-url-color: rgba(87, 80, 68, 1.0) !important;
  46. }
  47.  
  48. /* Selected URL hover color */
  49. .urlbarView-row[selected] .urlbarView-row-inner {
  50. background-color: rgba(87, 80, 68, 0.3) !important;
  51. color: inherit !important;
  52. }
  53.  
  54. /* Font URL bar */
  55. #urlbar-input {
  56. font-size: 13px !important;
  57. }
  58.  
  59. /* Font results, not URL text */
  60. .urlbarView-row {
  61. font-size: 13px !important;
  62. }
  63.  
  64. /* Thin border URL popup / outline color */
  65.  
  66. #urlbar:focus-within > #urlbar-background {
  67. border: none !important;
  68. outline-color: rgba(195, 195, 195, 1.0) !important;
  69. }
  70.  
  71.  
  72. /*** Disable Urlbar expansion ***/
  73.  
  74. #urlbar[breakout][breakout-extend] > #urlbar-input-container,
  75. #urlbar-input-container {
  76. height: var(--urlbar-height) !important;
  77. padding-block: 0 !important;
  78. padding-inline: 0 !important;
  79. }
  80.  
  81. #urlbar[breakout][breakout-extend] {
  82. top: calc((var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2) !important;
  83. left: 0 !important;
  84. width: 100% !important;
  85. }
  86.  
  87. #urlbar[breakout][breakout-extend][breakout-extend-animate]
  88. > #urlbar-background {
  89. animation-name: none !important;
  90. }
  91.  
  92. /** One row results **/
  93.  
  94. .urlbarView-results[wrap] > .urlbarView-row >
  95. .urlbarView-row-inner > .urlbarView-no-wrap {
  96. max-width: 100% !important;
  97. flex-basis: inherit !important;
  98. }
  99.  
  100. .urlbarView-results[wrap] > .urlbarView-row > .urlbarView-row-inner {
  101. flex-wrap: nowrap !important;
  102. }
  103.  
  104. /*** Url bar results more compact ***/
  105.  
  106. .urlbarView {
  107. margin-inline: 0 !important;
  108. width: auto !important;
  109. }
  110.  
  111. #urlbar-background {
  112. animation: none !important;
  113. }
  114.  
  115. /* Results padding all / left */
  116.  
  117. .urlbarView-row-inner, .urlbarView-row {
  118. padding-block: 2px !important;
  119. min-height: 18px !important;
  120. padding-left: 6px !important;
  121. }
  122.  
  123. /* Results padding top bottom all */
  124.  
  125. .urlbarView-results {
  126. /*padding-top: 6px !important;*/
  127. padding-bottom: 26px !important;
  128. }
  129.  
  130. /* top "blue bar" display off */
  131.  
  132. .urlbarView-row:first-of-type {
  133. display: none !important;
  134. }
  135.  
  136. /* URL bar separator transparent */
  137.  
  138. #urlbar {
  139. --autocomplete-popup-separator-color: rgba(87, 80, 68, 0.0) !important;
  140. }
  141.  
  142. /* Gaps Suggest top + bottom */
  143.  
  144. .urlbarView-row[label="Firefox-Vorschläge"]::before {
  145. padding-top: 10px !important;
  146. }
  147. .urlbarView-row[label="Firefox-Vorschläge"] {
  148. padding-top: 20px !important;
  149. }
  150. .urlbarView-row[label="Google-Vorschläge"]::before {
  151. padding-top: 10px !important;
  152. }
  153. .urlbarView-row[label="Google-Vorschläge"] {
  154. padding-top: 20px !important;
  155. }
  156.  
  157.  
  158. .urlbarView-title-separator, .urlbarView-action {
  159. display:none !important;
  160. }
  161.  
  162. /* URL arrow hidden */
  163.  
  164. #urlbar-go-button,
  165. .search-go-button {
  166. visibility: hidden !important;
  167. }
  168.  
  169.  
  170. /* Dropdown icons size */
  171.  
  172. :root {
  173. --urlbarView-favicon-width: 14px !important;
  174. }
  175.  
  176.  
  177. /* Search bar no Plain Text */
  178.  
  179. #urlbar-input::placeholder {
  180. color: transparent !important;
  181. }
  182.  
  183. /* Url bar results no fat text */
  184.  
  185. .urlbarView strong {
  186. font-weight: normal !important;
  187. }
  188.  
  189. /* Hide Url bar icons , Input gap left */
  190.  
  191. /* Buttons right , ohne Firefox Logo grau */
  192. :is(#identity-box, #tracking-protection-icon-container):not(#identity-box.chromeUI) {
  193. -moz-box-ordinal-group: 2 !important;
  194. margin-inline: 0px !important;
  195. opacity: 0.0 !important;
  196. }
  197.  
  198. :is(#identity-box, #tracking-protection-icon-container):not(#identity-box.chromeUI):hover {
  199. opacity: 1.0 !important;
  200. fill: rgba(80, 80, 80, 1.0) !important;
  201. }
  202.  
  203. /* Star button right */
  204.  
  205. #page-action-buttons {
  206. -moz-box-ordinal-group: 3 !important;
  207. }
  208.  
  209. /* Buttons smaller width */
  210.  
  211. #tracking-protection-icon-container, #identity-box.verifiedDomain > #identity-icon-box {
  212. padding-inline: 4px !important;
  213. }
  214.  
  215. /* Icons smaller */
  216.  
  217. .sharing-icon, #identity-icon,
  218. #permissions-granted-icon,
  219. #tracking-protection-icon,
  220. #blocked-permissions-container > .blocked-permission-icon {
  221. padding: 2px !important;
  222. }
  223.  
  224. /* Notifications box Off */
  225.  
  226. #identity-permission-box {
  227. display: none !important;
  228. }
  229.  
  230. /* Firefox Icon Graues Label Off */
  231.  
  232. #identity-box.chromeUI #identity-icon {
  233. display: none !important;
  234. }
  235.  
  236. /* Graues Firefox Logo */
  237.  
  238. #identity-box.chromeUI #identity-icon-label {
  239. padding-inline: 0px !important;
  240. font-size: 12px !important;
  241. }
  242.  
  243. #reader-mode-button {
  244. display: none !important;
  245. }
  246. #urlbar-input {
  247. padding-left: 12px !important;
  248. }
  249.  
  250. /* Zoom button center */
  251.  
  252. #urlbar-zoom-button {
  253. margin: 0px !important;
  254. }
  255.  
  256. /* Star button size etc. */
  257.  
  258. #star-button-box {
  259. /*margin: 1px !important;*/
  260. padding-block: 4px !important;
  261. }
  262. #star-button-box:not(:hover) {
  263. opacity: 0.0 !important;
  264. }
  265. #star-button-box:hover {
  266. background-color: rgba(87, 80, 68, 0.2) !important;
  267. opacity: 1.0 !important;
  268. }
  269. #star-button {
  270. fill: rgba(80, 80, 80, 1.0) !important;
  271. }
  272. #star-button[starred] {
  273. list-style-image: url("chrome://browser/skin/bookmark-hollow.svg") !important;
  274. }
  275.  
  276.  
Advertisement
Add Comment
Please, Sign In to add comment