patch.less 692 B

123456789101112131415161718192021222324252627282930
  1. .@{mention-prefix-cls} {
  2. &-dropdown {
  3. position: relative;
  4. top: 100%;
  5. left: 12px;
  6. width: 100%;
  7. margin-top: 8px;
  8. margin-bottom: 4px;
  9. }
  10. &:focus-within {
  11. .active();
  12. }
  13. &&-status-error {
  14. &:not(.@{mention-prefix-cls}-disabled):not(.@{mention-prefix-cls}-borderless).@{mention-prefix-cls} {
  15. &:focus-within {
  16. .active(@error-color, @error-color-hover, @error-color-outline);
  17. }
  18. }
  19. }
  20. &&-status-warning {
  21. &:not(.@{mention-prefix-cls}-disabled):not(.@{mention-prefix-cls}-borderless).@{mention-prefix-cls} {
  22. &:focus-within {
  23. .active(@warning-color, @warning-color-hover, @warning-color-outline);
  24. }
  25. }
  26. }
  27. }