Advertisement
RozFrenkman

ccs ute

Mar 16th, 2025 (edited)
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. /*** Proton Tabs Tweaks ***/
  2.  
  3. /* Adjust tab corner shape, optionally remove space below tabs */
  4.  
  5. #tabbrowser-tabs {
  6. --user-tab-rounding: 0px;
  7. }
  8.  
  9. .tab-background {
  10. border-radius: var(--user-tab-rounding) var(--user-tab-rounding) 0px 0px !important;
  11. margin-block: 1px 0 !important;
  12. }
  13. #scrollbutton-up, #scrollbutton-down { /* 6/10/2021 */
  14. border-top-width: 1px !important;
  15. border-bottom-width: 0 !important;
  16. }
  17. /* Container color bar visibility */
  18. .tabbrowser-tab[usercontextid] > .tab-stack > .tab-background > .tab-context-line {
  19. margin: 0px max(calc(var(--user-tab-rounding) - 3px), 0px) !important;
  20. }
  21.  
  22. menupopup > menuitem, menupopup > menu {
  23. padding-block: 2px !important;
  24. }
  25.  
  26. /* ---Tabs/Tab Bar height--- */
  27. :root {
  28. --tab-min-height: 27px !important;
  29. }
  30.  
  31. /*** Tighten up drop-down/context/popup menu spacing ***/
  32.  
  33. menupopup > menuitem, menupopup > menu {
  34. padding-block: 2px !important;
  35. }
  36. :root {
  37. --arrowpanel-menuitem-padding: 4px 8px !important;
  38. }
  39.  
  40. #tabbrowser-tabs{ --lwt-tab-line-color: transparant !important; }
  41.  
  42. #statuspanel {
  43. display: none !important;
  44. }
  45. .tabbrowser-tab[selected="true"] { z-index: 2 !important; }
  46.  
  47. #nav-bar:-moz-lwtheme { box-shadow: none !important; }
  48. #nav-bar { border-top: 0px !important }
  49.  
  50. :root { --lwt-tab-line-color: transparent !important; }
  51.  
  52. .tab-secondary-label {
  53. display: none;
  54. }
  55.  
  56. .tab-icon-overlay {
  57. &:is([soundplaying], [muted], [activemedia-blocked], [crashed]) {
  58. display: none;
  59. }
  60.  
  61. .tabbrowser-tab:hover .tab-icon-stack[indicator-replaces-favicon] > :not(&) {
  62. opacity: 1 !important;
  63. }
  64.  
  65. .tabbrowser-tab {
  66. &:is([muted], [soundplaying], [activemedia-blocked]) {
  67. #tabbrowser-tabs[orient="horizontal"] &:not([pinned]) {
  68. min-width: max(var(--tab-min-width-pref, var(--tab-min-width))) !important;
  69. }
  70.  
  71. .tab-audio-button { display: none !important; }
  72.  
  73.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement