Advertisement
Guest User

Untitled

a guest
Feb 8th, 2025
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.44 KB | None | 0 0
  1. /* oneliner (no tabs on top) and sidebar (no header) */
  2. #main-window:not([tabsintitlebar="true"]) #TabsToolbar {
  3. visibility: collapse !important;
  4. }
  5. #sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar-header {
  6. display: none;
  7. }
  8. }
  9. /* no header for all sidebars */
  10. #sidebar-header {
  11. visibility: collapse;
  12. }
  13. /* moving bookmarks pannel on botomm */
  14. #PersonalToolbar {
  15. bottom:0;
  16. position:fixed;
  17. bottom: 0 !important;
  18. display: flex;
  19. width:100%;
  20. }
  21.  
  22. /* bookmarks pannel height */
  23. #personal-bookmarks {
  24. height:28px !important;
  25. }
  26. /* space for the pannel on bottom */
  27. #main-window:not([inFullscreen="true"]) > body::after{
  28. display: -moz-box;
  29. content: "";
  30. height: 28px;
  31. border-top: solid 0px #505050;
  32. }
  33.  
  34.  
  35. /* Move address bar to titlebar with tabs up,right,down,left*/
  36. #nav-bar {
  37. margin: -38px 66px -1px 0px !important;
  38. height: 37px !important;
  39. border-bottom: none !important;
  40. }
  41. #nav-bar {
  42. border-color: transparent !important;
  43. border-width: 0px !important;
  44. }
  45. /* URL bar color */
  46. #urlbar #urlbar-background{
  47. background-color: var(--toolbar-bgcolor, currentColor) !important;
  48. border: none !important;
  49. }
  50.  
  51. /* URL bar width adjustments */
  52.  
  53. #searchbar-container {
  54. border: none !important;
  55. }
  56.  
  57. /*position window controls*/
  58. .titlebar-buttonbox-container {
  59. min-height: var(--tab-min-height);
  60. background: #2b2a33 !important
  61. }
  62. .titlebar-min {
  63. padding: 0px !important;
  64. padding-left: 4px !important;
  65. padding-right: 3px !important;
  66. margin-left: 1px !important;
  67. margin-right: 1px !important;
  68. margin-top: -5px !important;
  69. margin-bottom: 1px !important;
  70. }
  71. .titlebar-restore {
  72. padding: 0px !important;
  73. padding-left: 4px !important;
  74. padding-right: 3px !important;
  75. margin-left: 1px !important;
  76. margin-right: 1px !important;
  77. margin-top: -5px !important;
  78. margin-bottom: 1px !important;
  79. }
  80. .titlebar-close {
  81. padding: 0px !important;
  82. padding-left: 4px !important;
  83. padding-right: 3px !important;
  84. margin-left: 1px !important;
  85. margin-right: 5px !important;
  86. margin-top: -5px !important;
  87. margin-bottom: 1px !important;
  88. }
  89.  
  90.  
  91. /* Constrain drop-down width */
  92.  
  93.  
  94. }
  95. #PopupAutoCompleteRichResult .autocomplete-richlistbox {
  96. padding-right: 0px !important;
  97.  
  98. }
  99.  
  100. /* Constrains urlbar popup to urlbar width */
  101. /* Firefox 70+ */
  102.  
  103. #urlbar-container {
  104. transform: translateY(0);
  105. position: relative;
  106. z-index: 10;
  107. padding-block: 3px !important;
  108. padding-inline: 0px !important;
  109. margin-inline: 5px !important;
  110. }
  111.  
  112. #nav-bar-customization-target {
  113. overflow: visible !important;
  114. }
  115.  
  116.  
  117.  
  118.  
  119. #urlbar[open] {
  120. border-bottom-right-radius: 0px !important;
  121. border-bottom-left-radius: 0px !important;
  122. }
  123.  
  124. .urlbarView-row {
  125. padding: 6px 0px !important;
  126. }
  127. #urlbar-results>.autocomplete-richlistbox{
  128. --item-padding-start: 0px !important;
  129. --item-padding-end: 0px !important;
  130. .urlbarView:not(.megabar){
  131. left: unset !important;
  132. right: unset !important;
  133. }
  134. }
  135. /*интервал между строчками*/
  136. panel#urlbar-results .autocomplete-richlistitem {
  137. min-height: 24px !important;
  138. }
  139. /*скругление*/
  140. #urlbar,#searchbar, .searchbar-textbox {
  141. border:none !important;
  142. border-radius: 50px !important;
  143. }
  144.  
  145.  
  146. #urlbar-results .search-one-offs,
  147. #PopupSearchAutoComplete #searchbar-anon-search-settings-compact,
  148. #PopupSearchAutoComplete .search-panel-current-engine,
  149. #PopupSearchAutoComplete .search-panel-current-input,
  150. #PopupSearchAutoComplete .search-panel-one-offs .dummy {
  151. display: none !important;
  152. }
  153.  
  154. /* hide native tabs and sidebar header */
  155. #TabsToolbar-customization-target {
  156. visibility: collapse;
  157. }
  158.  
  159. #navigator-toolbox[inFullscreen="true"] #titlebar {
  160. visibility: collapse;
  161.  
  162.  
  163. /* realign elements */
  164. #nav-bar {
  165. margin-top: calc(-1 * var(--tab-min-height));
  166. margin-right: 144px;
  167. box-shadow: none !important;
  168. }
  169.  
  170. #nav-bar[inFullscreen="true"] {
  171. margin-top: unset;
  172. margin-right: unset;
  173. }
  174.  
  175.  
  176. #PopupAutoCompleteRichResult richlistitem:first-of-type[actiontype="visiturl"] +
  177. richlistitem[actiontype="searchengine"] {
  178. display:none !important;
  179. }
  180. /* recolor elements and enable window dragging */
  181. #navigator-toolbox {
  182. background-color: var(--toolbar-bgcolor);
  183. background-image: var(--toolbar-bgimage);
  184. background-clip: padding-box;
  185. color: var(--toolbar-color);
  186.  
  187. -moz-window-dragging: drag;
  188. }
  189. /* realign elements end*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement