_toggle_button_group.scss 854 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. .toggle-button-group {
  2. display: flex;
  3. .btn {
  4. @include buttonBackground($btn-inverse-bg, $btn-inverse-bg-hl, $btn-inverse-text-color, $btn-inverse-text-shadow);
  5. height: $input-height;
  6. padding: 7px 10px;
  7. font-weight: $font-weight-semi-bold;
  8. font-size: $font-size-sm;
  9. border-radius: 0;
  10. border-right: $button-toggle-group-btn-separator-border;
  11. &.active {
  12. background: $button-toggle-group-btn-active-bg;
  13. box-shadow: $button-toggle-group-btn-active-shadow;
  14. border-right: 0;
  15. color: $white;
  16. &:hover {
  17. cursor: default;
  18. }
  19. }
  20. &:first-child {
  21. border-radius: $border-radius 0 0 $border-radius;
  22. margin: 0;
  23. }
  24. &:last-child {
  25. border-radius: 0 $border-radius $border-radius 0;
  26. margin-left: 0;
  27. }
  28. }
  29. &--padded {
  30. padding-left: 2px;
  31. }
  32. }