index.less 1005 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. @import "~@less/variables.less";
  2. .search {
  3. .contentZIndex1;
  4. width: 316px;
  5. height: 50px;
  6. padding: 8px;
  7. box-sizing: border-box;
  8. position: relative;
  9. background-color: #fff;
  10. margin-left: 78px;
  11. .autoList {
  12. position: absolute;
  13. width: 300px;
  14. background: #fff;
  15. border: 1px solid #ccc;
  16. ul{
  17. li:hover{
  18. border: 1px solid #3B9ED0;
  19. }
  20. }
  21. }
  22. input {
  23. width: 100%;
  24. height: 34px;
  25. line-height: 34px;
  26. padding: 0 32px;
  27. box-sizing: border-box;
  28. }
  29. input::ms-clear{
  30. display: none;
  31. }
  32. .border {
  33. border: 1px solid @blue !important;
  34. }
  35. .borderNone {
  36. border: 1px solid #979797;
  37. }
  38. img {
  39. position: absolute;
  40. top: 15px;
  41. }
  42. .searchVal {
  43. left: 14px;
  44. cursor: pointer;
  45. }
  46. .clearVal{
  47. cursor: pointer;
  48. right: 18px;
  49. }
  50. }
  51. .show {
  52. display:block;
  53. }
  54. .hide {
  55. display: none;
  56. }