kerlser

flexa 3 no grid

Dec 16th, 2023
1,159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.15 KB | None | 0 0
  1.  
  2.  
  3. :root:not([customizing]) #navigator-toolbox {
  4.     display: flex !important;
  5.     position: relative !important;
  6.     flex-direction: row !important;
  7.     flex-wrap: wrap !important;
  8.     --toolbarbutton-outer-padding: 0px !important;
  9. }
  10.  
  11. #PersonalToolbar {
  12.     width: 100vw !important;
  13. }
  14.  
  15. :root:not([customizing]) #nav-bar {
  16.     flex-grow: 1 !important;
  17.     flex-basis: 0px !important;
  18.     --toolbar-start-end-padding: 2px !important;
  19.     /*--urlbar-margin-inline: 2px !important;*/
  20. }
  21.  
  22. :root:not([customizing]) #urlbar-container {
  23.     /*flex-grow: 1 !important;*/
  24.     flex-shrink: 1 !important;
  25.     min-width: 20px !important;
  26. }
  27.  
  28. #TabsToolbar {
  29.     --ug-max_width: 60vw;
  30.     --ug-button_width: calc(2 * var(--toolbarbutton-inner-padding) + 16px + 2 * var(--toolbarbutton-outer-padding));
  31.     --ug_contain: initial;
  32.     padding-inline: 12px 2px !important;
  33.     --toolbarbutton-inner-padding: 8px !important;
  34. }
  35.  
  36. :root[uidensity="compact"] #TabsToolbar {
  37.     --toolbarbutton-inner-padding: 6px !important;
  38. }
  39.  
  40. @media screen and (max-width: 1300px) {
  41.     #TabsToolbar {
  42.         --ug-max_width: 40vw;
  43.     }
  44. }
  45.  
  46. .tabbrowser-tab:not([pinned]) {
  47.     width: 205px;
  48. }
  49.  
  50. #tabbrowser-tabs {
  51.     max-width: var(--ug-max_width) !important;
  52. }
  53.  
  54. #tabbrowser-tabs[overflow][hasadjacentnewtabbutton] {
  55.     max-width: calc(var(--ug-max_width) - 2 * var(--ug-button_width)) !important;
  56. }
  57.  
  58. @supports -moz-bool-pref("browser.tabs.tabmanager.enabled") {
  59. #tabbrowser-tabs[overflow][hasadjacentnewtabbutton] {
  60.     max-width: calc(var(--ug-max_width) - 1 * var(--ug-button_width)) !important;
  61. }
  62. }
  63.  
  64. .scrollbox-clip[orient="horizontal"] {
  65.     contain: var(--ug_contain, initial) !important;
  66. }
  67.  
  68. #tabs-newtab-button {
  69.     padding-inline: 2px !important;
  70. }
  71.  
  72. .titlebar-spacer {
  73.     display: none !important;
  74. }
  75.  
  76.  
  77. /**   window control buttons right Mac !!!  **/
  78.  
  79. :root:not([sizemode="fullscreen"]) .titlebar-buttonbox-container {
  80.     position: absolute !important;
  81.     display: flex !important;
  82.     top: 0 !important;
  83.     right: 0 !important;
  84.     height: calc(var(--tab-min-height) + 2 * var(--tab-block-margin)) !important;
  85.     z-index: 3 !important;
  86. }
  87.  
  88. #TabsToolbar .titlebar-buttonbox {
  89.     margin-inline: 12px !important;
  90.     direction: rtl !important;
  91.     transform: scaleX(-1);
  92.     outline: 1px solid orange !important;
  93.     outline-offset: -1px !important;*/
  94. }
  95.  
  96. :root:not([sizemode="fullscreen"]) #nav-bar {
  97.     border-right: 72px solid transparent !important;
  98. }
  99.  
  100.  
  101. /*  test colors  */
  102.  
  103. #PersonalToolbar {
  104.     background-color: hsla(200, 45%, 85%, 1) !important;
  105. }
  106. #nav-bar {
  107.     background-color: hsla(120, 50%, 80%, 1) !important;
  108. }
  109. #TabsToolbar {
  110.     background-color: hsla(35, 60%, 82%, 1) !important;
  111. }
  112. .tabbrowser-tab .tab-background  {
  113.     background-color: hsla(0, 0%, 90%, 1) !important;
  114.     background-image: none !important;
  115.     outline: 1px solid hsla(0, 0%, 70%, 1) !important;
  116.     outline-offset: -0px !important;
  117.     box-shadow: none !important;
  118. }
  119.  
  120. .tabbrowser-tab:not([visuallyselected], [multiselected], :hover) .tab-background  {
  121.     background-color: hsla(0, 0%, 80%, 1) !important;
  122.     outline-offset: -1px !important;
  123. }
  124.  
Advertisement
Add Comment
Please, Sign In to add comment