Advertisement
Guest User

anon

a guest
Apr 24th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1. /*Make tabs and navbar appear side-by-side tabs on right */
  2.  
  3. /* IMPORTANT */
  4. /*
  5. Get window_control_placeholder_support.css
  6. Window controls will be all wrong without it
  7. */
  8.  
  9.  
  10. /* Modify these to change relative widths or default height */
  11. #navigator-toolbox{
  12. --uc-navigationbar-width: 40vw;
  13. --uc-toolbar-height: 40px;
  14. }
  15. /* Override for other densities */
  16. :root[uidensity="compact"] > #navigator-toolbox{ --uc-toolbar-height: 32px; }
  17. :root[uidensity="touch"] > #navigator-toolbox{ --uc-toolbar-height: 40px; }
  18.  
  19. /* prevent urlbar overflow on narrow windows */
  20. /* Dependent on how many items are in navigation toolbar ADJUST AS NEEDED */
  21. @media screen and (max-width: 1100px){
  22. #urlbar-container{ min-width:unset !important }
  23. }
  24.  
  25. #TabsToolbar{ margin-left: var(--uc-navigationbar-width); }
  26. #tabbrowser-tabs{ --tab-min-height: var(--uc-toolbar-height) !important; }
  27. /* This isn't useful when tabs start in the middle of the window */
  28. .titlebar-placeholder[type="pre-tabs"],
  29. .titlebar-spacer[type="pre-tabs"]{ display: none }
  30. #nav-bar{
  31. margin-right:calc(100vw - var(--uc-navigationbar-width));
  32. margin-top: calc(0px - var(--uc-toolbar-height));
  33. padding-right: 0px !important;
  34. }
  35.  
  36. @supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled"){
  37. .titlebar-buttonbox-container{ position: fixed; left: 0px; z-index: 3; }
  38. }
  39.  
  40. /* 1px margin on touch density causes tabs to be too high */
  41. .tab-close-button{ margin-top: 0 !important }
  42.  
  43. /* Hide dropdown placeholder */
  44. #urlbar-container:not(:hover) .urlbar-history-dropmarker{ margin-inline-start: -28px; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement