index.less 474B

12345678910111213141516171819202122232425
  1. @import (reference) '~antd/es/style/themes/index';
  2. .headerSearch {
  3. display: inline-flex;
  4. align-items: center;
  5. .input {
  6. width: 0;
  7. min-width: 0;
  8. overflow: hidden;
  9. background: transparent;
  10. border-radius: 0;
  11. transition: width 0.3s, margin-left 0.3s;
  12. :global(.ant-select-selection) {
  13. background: transparent;
  14. }
  15. input {
  16. box-shadow: none !important;
  17. }
  18. &.show {
  19. width: 210px;
  20. margin-left: 8px;
  21. }
  22. }
  23. }