Advertisement
Guest User

Untitled

a guest
Sep 11th, 2019
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.84 KB | None | 0 0
  1. /* Longueur min et max des onglets */
  2. :root {
  3. --tab_min_width: 162px;
  4. --tab_max_width: 162px;
  5. /* use 'about:config > browser.tabs.tabMinWidth' for tab min-width */
  6. }/* use 'about:config > browser.tabs.tabMinWidth' for tab min-width */
  7. /*
  8. .tabbrowser-tab:not([pinned]) {
  9. min-width: var(--tab_min_width) !important;
  10. clip-width: var(--tab_min_width) !important;
  11. }
  12. */
  13. /* tab max-width */
  14. #tabbrowser-tabs:not([overflow="true"]) .tabbrowser-tab[fadein]:not([pinned]) {
  15. max-width: var(--tab_max_width) !important;
  16. overflow: hidden !important;
  17. }
  18.  
  19.  
  20.  
  21. /* Barre d'onglets sur plusieurs lignes */
  22. :root{
  23. --multirow-n-rows: 2;
  24. --multirow-tab-min-width: 162px;
  25. --multirow-tab-dynamic-width: 1; /* Change to 0 for fixed-width tabs using the above width. */
  26. }
  27. #tabbrowser-tabs{
  28. min-height: unset !important;
  29. padding-inline-start: 0px !important;
  30. }
  31. /* Test for Firefox > 66 */
  32. @supports (inset-block:auto){
  33. #tabbrowser-tabs > .tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox{
  34. display: flex;
  35. flex-wrap: wrap;
  36. overflow-y: auto;
  37. max-height: calc(var(--tab-min-height) * var(--multirow-n-rows));
  38. scrollbar-color: var(--toolbar-bgcolor) var(--lwt-accent-color);
  39. scrollbar-width: none;
  40. }
  41. #tabbrowser-tabs > .tabbrowser-arrowscrollbox {
  42. overflow: -moz-hidden-unscrollable;
  43. display: block;
  44. }
  45. }
  46. /* Test for Firefox < 66 */
  47. @supports not (inset-block:auto){
  48. #tabbrowser-tabs > .tabbrowser-arrowscrollbox{
  49. min-height: unset !important;
  50. }
  51. #tabbrowser-tabs .scrollbox-innerbox{
  52. display: flex;
  53. flex-wrap: wrap;
  54. }
  55. #tabbrowser-tabs .arrowscrollbox-scrollbox {
  56. overflow: -moz-hidden-unscrollable;
  57. display: block;
  58. }
  59. }
  60. .tabbrowser-tab{ height: var(--tab-min-height); }
  61. #tabbrowser-tabs .tabbrowser-tab[pinned]{
  62. position: static !important;
  63. margin-inline-start: 0px !important;
  64. }
  65. .tabbrowser-tab[fadein]:not([pinned]){
  66. min-width: var(--multirow-tab-min-width) !important;
  67. flex-grow: var(--multirow-tab-dynamic-width);
  68. /* Uncomment to enable full-width tabs, also makes tab dragging a tiny bit more sensible
  69. Don't set to none or you'll see errors in console when closing tabs */
  70. /*max-width: 100vw !important;*/
  71. }
  72. .tabbrowser-tab > stack{ width: 100%; height: 100% }
  73. #tabbrowser-tabs .scrollbutton-up,
  74. #tabbrowser-tabs .scrollbutton-down,
  75. #alltabs-button,
  76. :root:not([customizing]) #TabsToolbar #new-tab-button,
  77. #tabbrowser-tabs spacer,
  78. .tabbrowser-tab::after{ display: none !important
  79. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement