|
488 | 488 | } |
489 | 489 | } |
490 | 490 |
|
491 | | -.tabs-chrome > .tabs-header { |
| 491 | +.tabs-chrome > .tabs-header, |
| 492 | +.tabs-capsule > .tabs-header { |
492 | 493 | --bb-tabs-header-bg-color: var(--bs-border-color); |
493 | 494 | --bb-tabs-item-hover-bg-color: rgba(var(--bs-body-color-rgb), 0.1); |
494 | 495 | --bb-tabs-item-active-bg-color: var(--bs-body-bg); |
495 | 496 | --bb-tabs-item-active-color: var(--bs-body-color); |
496 | 497 | --bb-tabs-item-hover-color: var(--bs-body-color); |
| 498 | + --bb-tabs-item-bg-color: rgba(var(--bs-body-color-rgb), 0.08); |
497 | 499 |
|
498 | 500 | .tabs-nav { |
499 | 501 | background-color: var(--bb-tabs-header-bg-color); |
500 | 502 | } |
501 | 503 |
|
| 504 | + .tabs-item-fix { |
| 505 | + border: none; |
| 506 | + } |
| 507 | + |
| 508 | + .tabs-item-wrap { |
| 509 | + &:not(.active) { |
| 510 | + .tabs-item:not(.disabled) .tabs-item-body { |
| 511 | + &:hover { |
| 512 | + background-color: var(--bb-tabs-item-hover-bg-color); |
| 513 | + } |
| 514 | + } |
| 515 | + } |
| 516 | + |
| 517 | + .btn-fs { |
| 518 | + padding: 0; |
| 519 | + } |
| 520 | + |
| 521 | + .tabs-item { |
| 522 | + .tabs-item-body { |
| 523 | + padding: 4px 10px; |
| 524 | + display: flex; |
| 525 | + align-items: center; |
| 526 | + flex-wrap: nowrap; |
| 527 | + border-radius: 14.5px; |
| 528 | + |
| 529 | + .tabs-item-text { |
| 530 | + padding: 0 .5rem; |
| 531 | + } |
| 532 | + |
| 533 | + .tabs-item-close { |
| 534 | + display: flex; |
| 535 | + position: unset; |
| 536 | + width: 21px; |
| 537 | + height: 21px; |
| 538 | + border-radius: 50%; |
| 539 | + } |
| 540 | + } |
| 541 | + } |
| 542 | + } |
| 543 | +} |
| 544 | + |
| 545 | +.tabs-chrome > .tabs-header { |
502 | 546 | .tabs-item-wrap { |
503 | 547 | overflow: hidden; |
504 | 548 | position: relative; |
|
520 | 564 | } |
521 | 565 | } |
522 | 566 |
|
523 | | - &:not(.active) { |
524 | | - .tabs-item:not(.disabled) .tabs-item-body { |
525 | | - &:hover { |
526 | | - border-radius: 20px; |
527 | | - background-color: var(--bb-tabs-item-hover-bg-color); |
528 | | - } |
529 | | - } |
530 | | - } |
531 | | - |
532 | 567 | &:not(:first-child) { |
533 | 568 | margin-left: -2rem; |
534 | 569 | } |
|
540 | 575 | height: 36px !important; |
541 | 576 |
|
542 | 577 | .tabs-item-body { |
543 | | - padding: 4px 10px; |
544 | | - display: flex; |
545 | | - align-items: center; |
546 | | - flex-wrap: nowrap; |
547 | 578 | margin-bottom: 4px; |
548 | | - |
549 | | - .tabs-item-text { |
550 | | - padding: 0 .5rem; |
551 | | - } |
552 | | - |
553 | | - .tabs-item-close { |
554 | | - display: flex; |
555 | | - position: unset; |
556 | | - width: 21px; |
557 | | - height: 21px; |
558 | | - border-radius: 50%; |
559 | | - } |
560 | 579 | } |
561 | 580 | } |
562 | 581 |
|
|
594 | 613 | border-bottom-left-radius: 50%; |
595 | 614 | } |
596 | 615 | } |
597 | | - |
598 | | - .btn-fs { |
599 | | - padding: 0; |
600 | | - } |
601 | | - } |
602 | | - |
603 | | - .tabs-item-fix { |
604 | | - border: none; |
605 | 616 | } |
606 | 617 | } |
607 | 618 |
|
608 | 619 | .tabs-capsule > .tabs-header { |
609 | | - --bb-tabs-header-bg-color: var(--bs-border-color); |
610 | | - --bb-tabs-item-bg-color: rgba(var(--bs-body-color-rgb), 0.08); |
611 | | - --bb-tabs-item-hover-bg-color: rgba(var(--bs-body-color-rgb), 0.1); |
612 | | - --bb-tabs-item-active-bg-color: var(--bs-body-bg); |
613 | | - --bb-tabs-item-active-color: var(--bs-body-color); |
614 | | - --bb-tabs-item-hover-color: var(--bs-body-color); |
615 | | - |
616 | | - .tabs-nav { |
617 | | - background-color: var(--bb-tabs-header-bg-color); |
618 | | - } |
619 | | - |
620 | 620 | .tabs-item-wrap { |
621 | 621 | margin-left: .5rem; |
622 | 622 |
|
|
628 | 628 | } |
629 | 629 | } |
630 | 630 |
|
631 | | - &:not(.active) { |
632 | | - .tabs-item:not(.disabled) .tabs-item-body { |
633 | | - &:hover { |
634 | | - background-color: var(--bb-tabs-item-hover-bg-color); |
635 | | - } |
636 | | - } |
637 | | - } |
638 | | - |
639 | 631 | .tabs-item { |
640 | 632 | padding: 0; |
641 | 633 |
|
642 | 634 | .tabs-item-body { |
643 | | - padding: 4px 10px; |
644 | | - display: flex; |
645 | | - align-items: center; |
646 | | - flex-wrap: nowrap; |
647 | | - border-radius: 14.5px; |
648 | 635 | background-color: var(--bb-tabs-item-bg-color); |
649 | | - |
650 | | - .tabs-item-text { |
651 | | - padding: 0 .5rem; |
652 | | - } |
653 | | - |
654 | | - .tabs-item-close { |
655 | | - display: flex; |
656 | | - position: unset; |
657 | | - width: 21px; |
658 | | - height: 21px; |
659 | | - border-radius: 50%; |
660 | | - } |
661 | | - } |
662 | | - |
663 | | - .tabs-item-close { |
664 | | - display: flex; |
665 | | - position: unset; |
666 | | - width: 21px; |
667 | | - height: 21px; |
668 | | - border-radius: 50%; |
669 | 636 | } |
670 | 637 | } |
671 | 638 | } |
672 | | - |
673 | | - .tabs-item-fix { |
674 | | - border: none; |
675 | | - } |
676 | 639 | } |
0 commit comments