index.less 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. @import "~@less/variables.less";
  2. .search {
  3. .contentZIndex1;
  4. width: 430px;
  5. min-height: 160px;
  6. padding: 8px;
  7. box-sizing: border-box;
  8. position: absolute;
  9. top: 40px;
  10. background-color: #fff;
  11. // margin-bottom: 80px;
  12. &.isSym{
  13. left: 230px;
  14. }
  15. .llStyle;
  16. .autoList {
  17. // max-height: 225px;
  18. // min-height: 80px;
  19. // overflow-y: auto;
  20. }
  21. input {
  22. width: 100%;
  23. height: 34px;
  24. line-height: 34px;
  25. padding: 0 32px;
  26. box-sizing: border-box;
  27. border: 1px solid #979797;
  28. float: right;
  29. border-radius: 4px;
  30. }
  31. .border {
  32. border: 1px solid @blue;
  33. }
  34. .borderNone {
  35. border: 1px solid #979797;
  36. }
  37. img {
  38. position: absolute;
  39. top: 15px;
  40. }
  41. .searchVal {
  42. left: 18px;
  43. }
  44. .clearVal{
  45. cursor: pointer;
  46. right: 18px;
  47. }
  48. }
  49. .searchSpecial {
  50. min-height: 160px;
  51. .seleImg {
  52. left: 86px;
  53. top:21px;
  54. cursor: pointer;
  55. }
  56. .searchInsp {
  57. left: 124px;
  58. }
  59. input {
  60. width: 302px;
  61. }
  62. .selectLis {
  63. line-height: 34px;
  64. width: 100px;
  65. float: left;
  66. background-color: @hoverBg;
  67. cursor: pointer;
  68. padding :0 15px 0 10px;
  69. border-radius: 4px;
  70. span {
  71. color: @bannerBg;
  72. }
  73. }
  74. .lisul {
  75. border: 1px solid @bannerBg;
  76. border-radius: 4px;
  77. background-color: #fff;
  78. width: 100px;
  79. position: absolute;
  80. left: 8px;
  81. top: 42px;
  82. display: none;
  83. z-index: 100;
  84. li {
  85. padding: 0 10px;
  86. color: #1E1E1E;
  87. }
  88. li:hover {
  89. background-color: @hoverBg;
  90. }
  91. }
  92. }
  93. .show {
  94. display:block;
  95. }
  96. .hide {
  97. display: none;
  98. }