|
309 | 309 | .private-browsing-indicator { |
310 | 310 | display: none !important; |
311 | 311 | } |
312 | | - |
| 312 | +/* Tasb groups */ |
| 313 | +#tabbrowser-arrowscrollbox { |
| 314 | + margin-inline-start: 14px !important; |
| 315 | + margin-inline-end: 6px !important; |
| 316 | +} |
| 317 | +.tab-group-label { |
| 318 | + tab-group[collapsed] > .tab-group-label-container > & { |
| 319 | + filter: grayscale(0.2); |
| 320 | + opacity: 0.8 !important; |
| 321 | + } |
| 322 | + } |
| 323 | + |
| 324 | +.tab-group-label-container { |
| 325 | + @media not (-moz-bool-pref: "sidebar.verticalTabs") { |
| 326 | + tab-group:not([collapsed]) > &::after { |
| 327 | + display: none !important; |
| 328 | + } |
| 329 | + } |
| 330 | + } |
| 331 | + .tab-group-label { |
| 332 | + tab-group[collapsed] > .tab-group-label-container > & { |
| 333 | + outline: none !important; |
| 334 | + } |
| 335 | + } |
| 336 | + .tab-group-label { |
| 337 | + margin-top: 14px !important; |
| 338 | + border-radius: 4px !important; |
| 339 | + padding-inline: 4px !important |
| 340 | + } |
| 341 | +/* END:Tasb groups */ |
313 | 342 | toolbarbutton[part="scrollbutton-up"], |
314 | 343 | toolbarbutton[part="scrollbutton-down"] { |
315 | 344 | border-width: 2px !important; |
316 | 345 | border-radius: calc(var(--toolbarbutton-border-radius) + 2px) !important; |
317 | 346 | margin-inline: 2px !important; |
318 | 347 | } |
319 | | - |
320 | | -.tabbrowser-tab:not([pinned], [style*="max-width"])[fadein] { |
| 348 | +:not(tab-group) > .tabbrowser-tab:not([pinned], [style*="max-width"])[fadein] { |
321 | 349 | max-width: 240px !important; |
322 | 350 | } |
323 | | - |
324 | 351 | .tabbrowser-tab .tab-stack { |
325 | 352 | &::before, |
326 | 353 | &::after { |
@@ -394,15 +421,18 @@ toolbarbutton[part="scrollbutton-down"] { |
394 | 421 | margin-top: var(--tab-block-margin) !important; |
395 | 422 | } |
396 | 423 |
|
397 | | -#tabbrowser-arrowscrollbox:not([overflowing]) .tabbrowser-tab { |
398 | | - &:first-of-type { |
399 | | - margin-inline-start: 14px !important; |
400 | | - } |
401 | | - |
402 | | - &:last-of-type { |
403 | | - margin-inline-end: 6px !important; |
404 | | - } |
| 424 | +/* #tabbrowser-arrowscrollbox:not([overflowing]) .tabbrowser-tab:first-of-type { |
| 425 | + margin-inline-start: 14px !important; |
| 426 | +} |
| 427 | +#tabbrowser-arrowscrollbox:not([overflowing]) .tabbrowser-tab:last-of-type { |
| 428 | + margin-inline-end: 6px !important; |
405 | 429 | } |
| 430 | +#tabbrowser-arrowscrollbox:not([overflowing]) tab-group .tabbrowser-tab:first-of-type { |
| 431 | + margin-inline-start: 0px !important; |
| 432 | +} |
| 433 | +#tabbrowser-arrowscrollbox:not([overflowing]) tab-group .tabbrowser-tab:last-of-type { |
| 434 | + margin-inline-end: 0px !important; |
| 435 | +} */ |
406 | 436 |
|
407 | 437 | #tabbrowser-tabs[haspinnedtabs]:not([positionpinnedtabs]) |
408 | 438 | > #tabbrowser-arrowscrollbox |
|
0 commit comments