_toggle_button_group.scss 840 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. .toggle-button-group {
  2. display: flex;
  3. .gf-form-label {
  4. background-color: $input-label-bg;
  5. &:first-child {
  6. border-radius: $border-radius 0 0 $border-radius;
  7. margin: 0;
  8. }
  9. &.small {
  10. padding: ($input-padding-y / 2) ($input-padding-x / 2);
  11. font-size: $font-size-xs;
  12. }
  13. }
  14. &.stacked {
  15. flex-direction: column;
  16. }
  17. .btn {
  18. background-color: $typeahead-selected-bg;
  19. border-radius: 0;
  20. color: $text-color;
  21. &.active {
  22. background-color: $input-bg;
  23. &:hover {
  24. cursor: default;
  25. }
  26. }
  27. &:first-child {
  28. border-radius: $border-radius 0 0 $border-radius;
  29. margin: 0;
  30. }
  31. &:last-child {
  32. border-radius: 0 $border-radius $border-radius 0;
  33. margin-left: 0;
  34. }
  35. &.stacked {
  36. border-radius: $border-radius;
  37. }
  38. }
  39. }