Advertisement
Guest User

window button bar

a guest
Feb 18th, 2025
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1.  
  2. :root{
  3. /* height if native titlebar is enabled, assumes empty menubar */
  4. --uc-menubar-height: 40px;
  5. }
  6. :root[tabsintitlebar]{
  7. /* height when native titlebar is disabled, more roomy so can fit buttons etc. */
  8. --uc-menubar-height: 229px;
  9. }
  10. :root:is([sizemode="fullscreen"],[chromehidden~="menubar"]){
  11. --uc-menubar-height: 0px;
  12. }
  13.  
  14. :root:not([sizemode="fullscreen"]) #nav-bar{ border-inline-width: 0 }
  15.  
  16. #navigator-toolbox{
  17. -moz-window-dragging: drag;
  18. padding-top: var(--uc-menubar-height) !important;
  19. }
  20.  
  21. :root:not([chromehidden~="menubar"]) #toolbar-menubar{
  22. position: fixed;
  23. display: flex;
  24. top: 0px;
  25. height: var(--uc-menubar-height);
  26. width: 100%;
  27. overflow: hidden;
  28. }
  29. :root:not([sizemode="fullscreen"]) #toolbar-menubar.browser-toolbar > .titlebar-buttonbox-container{
  30. visibility: visible;
  31. }
  32. :root:not([chromehidden~="menubar"], [sizemode="fullscreen"]) #TabsToolbar#TabsToolbar#TabsToolbar > .titlebar-buttonbox-container {
  33. display: none !important;
  34. }
  35.  
  36. /*---------------------------------*/
  37. /* 1. Force Tabs to Bottom */
  38. #TabsToolbar {
  39. order: 100 !important;
  40. }
  41.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement