_override-rbt.scss 913 B

12345678910111213141516171819202122232425262728293031323334353637
  1. // TODO: .form-group dropped in bootstrap v5
  2. // https://redmine.weseek.co.jp/issues/129103
  3. // override react-bootstrap-typeahead styles
  4. // see: https://github.com/ericgio/react-bootstrap-typeahead
  5. .form-group:not(.has-error) {
  6. .rbt-input.form-control {
  7. // focus
  8. &.focus {
  9. border-color: inherit;
  10. }
  11. }
  12. }
  13. // TODO: check padding when upgrade react-bootstrap-typeahead v6
  14. // .close to .btn-close in bootstrap v5
  15. // https://redmine.weseek.co.jp/issues/129103
  16. .rbt-input-wrapper {
  17. .close.rbt-close {
  18. // default bootstrap .close has padding 0
  19. padding: 3px 7px;
  20. }
  21. }
  22. // hide loading icon
  23. .rbt-aux {
  24. display: none;
  25. }
  26. // TODO: .input-group-prepend dropped in bootstrap v5
  27. // https://redmine.weseek.co.jp/issues/129103
  28. // seamless border for .input-group-prepend
  29. .input-group-prepend + div {
  30. .rbt .rbt-input-main {
  31. border-top-left-radius: 0;
  32. border-bottom-left-radius: 0;
  33. }
  34. }