_toggle_button_group.scss 733 B

12345678910111213141516171819202122232425262728293031323334353637
  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. .btn {
  15. background-color: $typeahead-selected-bg;
  16. border-radius: 0;
  17. color: $text-color;
  18. &.active {
  19. background-color: $input-bg;
  20. &:hover {
  21. cursor: default;
  22. }
  23. }
  24. &:first-child {
  25. border-radius: $border-radius 0 0 $border-radius;
  26. margin: 0;
  27. }
  28. &:last-child {
  29. border-radius: 0 $border-radius $border-radius 0;
  30. margin-left: 0;
  31. }
  32. }
  33. }