index.less 611 B

1234567891011121314151617181920212223242526272829303132
  1. @import '~antd/es/style/themes/default.less';
  2. .headerSearch {
  3. :global(.anticon-search) {
  4. font-size: 16px;
  5. cursor: pointer;
  6. }
  7. .input {
  8. width: 0;
  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. padding-right: 0;
  17. padding-left: 0;
  18. border: 0;
  19. box-shadow: none !important;
  20. }
  21. &,
  22. &:hover,
  23. &:focus {
  24. border-bottom: 1px solid @border-color-base;
  25. }
  26. &.show {
  27. width: 210px;
  28. margin-left: 8px;
  29. }
  30. }
  31. }