search.wxss 751 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. .diy-search-bar {
  2. background-color: transparent;
  3. width: 94%;
  4. box-sizing: border-box;
  5. display: flex;
  6. align-items: center;
  7. margin:0 auto;
  8. border-radius: 10rpx;
  9. }
  10. .diy-search-bar .search-box {
  11. position: relative;
  12. background-color: #f0f0f0;
  13. height: 76rpx;
  14. line-height: 76rpx;
  15. border-radius: 76rpx;
  16. color: #acacac;
  17. display: flex;
  18. align-content: center;
  19. flex: 1;
  20. }
  21. .diy-search-bar .search-box .ipt {
  22. padding: 0 30rpx;
  23. line-height: 76rpx;
  24. height: 76rpx;
  25. width: 100%;
  26. box-sizing: border-box;
  27. }
  28. .diy-search-bar .search-box .ipt.radius {
  29. border-radius: 76rpx;
  30. }
  31. .diy-search-bar .diy-search-icon {
  32. position: absolute;
  33. right: 12px;
  34. top: 50%;
  35. margin-top: -30rpx;
  36. text-align: center;
  37. line-height: 60rpx;
  38. }