index.less 902 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. @import "~@less/variables.less";
  2. .search {
  3. width: 316px;
  4. padding: 8px;
  5. box-sizing: border-box;
  6. position: absolute;
  7. top: 40px;
  8. z-index: 20;
  9. background-color: #fff;
  10. box-shadow: 0 6px 20px 0 #989DA3;
  11. margin-bottom: 80px;
  12. .autoList {
  13. max-height: 266px;
  14. min-height: 80px;
  15. overflow-y: auto;
  16. }
  17. input {
  18. width: 100%;
  19. height: 34px;
  20. line-height: 34px;
  21. padding: 0 32px;
  22. box-sizing: border-box;
  23. border: 1px solid #979797;
  24. }
  25. .border {
  26. border: 1px solid @blue;
  27. }
  28. .borderNone {
  29. border: 1px solid #979797;
  30. }
  31. img {
  32. position: absolute;
  33. top: 15px;
  34. }
  35. .searchVal {
  36. left: 18px;
  37. }
  38. .clearVal{
  39. cursor: pointer;
  40. right: 18px;
  41. z-index: 200;
  42. }
  43. }
  44. .show {
  45. display:block;
  46. }
  47. .hide {
  48. display: none;
  49. }