kerlser

Oneliner Test 2

Oct 10th, 2022
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.31 KB | None | 0 0
  1.  
  2.  
  3. /***  OneLiner Test Buttons right ***/
  4.  
  5. :root {
  6.     --tabs-navbar-shadow-size: 0px !important;
  7. }
  8.  
  9.  
  10. #navigator-toolbox {
  11.     --uc-tabbar-width: 68vw;
  12.     --uc-toolbar-height: 36px;
  13.     --uc-spacer-width: 4vw;
  14. }
  15.  
  16. #urlbar-container {
  17.     min-width: unset !important;
  18. }
  19.  
  20. /***   Heights   ***/
  21.  
  22. #nav-bar {
  23.     margin-top: calc(0px - var(--uc-toolbar-height)) !important;
  24.     height: var(--uc-toolbar-height) !important;
  25. }
  26.  
  27. #TabsToolbar, #tabbrowser-tabs {
  28.   --tab-min-height: calc(var(--uc-toolbar-height) - 2px) !important;
  29. }
  30.  
  31. /***   URL bar height   ***/
  32.  
  33. #navigator-toolbox {
  34.     --urlbar-height: 23px !important;
  35. }
  36.  
  37. #urlbar-container, #search-container {
  38.     height: var(--urlbar-height) !important;
  39. }
  40.  
  41. #urlbar, #searchbar {    
  42.     min-height: calc(var(--urlbar-height) -7px) !important;
  43. }
  44.  
  45. #urlbar-input-container {
  46.     max-height: calc(var(--urlbar-height) -7px) !important;
  47. }
  48.  
  49.  
  50. /***   Widths   ***/
  51.  
  52. /* Right margin ,  tabbar margin - tabs right margin + toolbar start/end padding  */
  53.  
  54. #nav-bar-customization-target {
  55.     margin-right: calc(var(--uc-tabbar-width) - 72px) !important;
  56.     margin-left : var(--uc-spacer-width) !important;
  57. }
  58.  
  59. /*  Right margin , UI + Overflow buttons width inkl. padding  */
  60.  
  61. #TabsToolbar {
  62.     margin-left : calc(100vw - var(--uc-tabbar-width)) !important;
  63.     margin-right: 90px !important;
  64.     --tabs-navbar-shadow-size: 0px !important;
  65. }
  66.  
  67.  
  68. /**  Tabs visible  **/    
  69.  
  70. :root[sizemode="fullscreen"] #TabsToolbar > .titlebar-buttonbox-container,
  71. #TabsToolbar > .toolbar-items {
  72.     position: relative !important;
  73.     z-index: 2;
  74. }
  75.  
  76.  
  77. /***   Buttons   ***/
  78.  
  79. #nav-bar .toolbarbutton-1 {
  80.     --toolbarbutton-inner-padding: calc((var(--tab-min-height) - 16px) / 2) !important;
  81.     --toolbarbutton-outer-padding: 0px !important;
  82.     --toolbar-start-end-padding: 18px !important;
  83. }
  84.  
  85. #TabsToolbar .toolbarbutton-1 {
  86.     --toolbarbutton-outer-padding: 0px !important;
  87. }
  88.  
  89.  
  90. /**  Spacer / Spring  **/    
  91.  
  92. toolbarspring {
  93.      min-width: 28px !important;
  94.      max-width: 112px !important;*/
  95. }
  96.  
  97.  
  98. /**  Stuff Off  **/    
  99.  
  100. .titlebar-spacer[type="pre-tabs"] {
  101.     display: none !important;
  102. }
  103.  
  104. .titlebar-spacer[type="post-tabs"] {
  105.     display: none !important;
  106. }
  107.  
  108. .titlebar-buttonbox-container {
  109.     display: none !important;
  110. }
  111.  
  112.  
  113.  
  114.  
  115.  
Advertisement
Add Comment
Please, Sign In to add comment