main.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. .form-control-input {
  2. width: 100%;
  3. height: 32px;
  4. line-height: 2;
  5. border: 1px solid #ccc;
  6. background-color: #fff;
  7. font-size: 10pt;
  8. padding-left: 5px;
  9. border-radius: 2px;
  10. }
  11. .no-sold {
  12. height: 84px;
  13. background-image: url(../img/to_be_sold.png);
  14. background-repeat: no-repeat;
  15. background-size: 85%;
  16. background-position: 50% 50%;
  17. }
  18. .expired{
  19. height: 84px;
  20. background-image: url(../img/expired.png);
  21. background-repeat: no-repeat;
  22. background-size: 75%;
  23. background-position: 50% 50%;
  24. }
  25. .button-edit-remove {
  26. cursor: pointer;
  27. width: 100%;
  28. height: auto;
  29. text-align: right;
  30. }
  31. .user-select-none {
  32. -moz-user-select: none;
  33. -webkit-user-select: none;
  34. -ms-user-select: none;
  35. user-select: none;
  36. }
  37. .cursor-pointer {
  38. cursor: pointer;
  39. }
  40. .adsd-wrapper {
  41. width: 100%;
  42. margin: 10px auto;
  43. overflow: hidden;
  44. }
  45. .adsd-wrapper {
  46. background-color: #faf8f2;
  47. }
  48. .ads-right .ads-box > div a {
  49. white-space: nowrap;
  50. text-overflow: ellipsis;
  51. overflow: hidden;
  52. }
  53. @media screen and (max-width:769px) {
  54. .desc-pc {
  55. display: none;
  56. }
  57. .ads-desc {
  58. text-align: left;
  59. }
  60. .ads-desc p {
  61. text-indent: 1rem;
  62. line-height: 2.6rem;
  63. font-size: 1.6rem;
  64. color: #c31a00;
  65. }
  66. .ads-right {
  67. width: 100%;
  68. }
  69. .ads-right .ads-box {
  70. width: 100%;
  71. overflow: hidden;
  72. }
  73. .ads-right .ads-box > div {
  74. width: 50%;
  75. float: left;
  76. text-align: center;
  77. line-height: 35px;
  78. ;
  79. }
  80. .ads-right .ads-box > div a {
  81. font-size: 1.4rem;
  82. display: block;
  83. border: 1px solid #dddddd;
  84. }
  85. .ads-right .ads-box > div:nth-child(odd) a {
  86. border-right: none;
  87. }
  88. .ads-right .ads-box > div:nth-child(1) a, .ads-right .ads-box > div:nth-child(2) a, .ads-right .ads-box > div:nth-child(3) a, .ads-right .ads-box > div:nth-child(4) a, .ads-right .ads-box > div:nth-child(5) a, .ads-right .ads-box > div:nth-child(6) a {
  89. border-bottom: none;
  90. }
  91. }
  92. @media screen and (min-width:769px) {
  93. .desc-mobile {
  94. display: none;
  95. }
  96. .ads-desc {
  97. width: 3%;
  98. float: left;
  99. text-align: center;
  100. }
  101. .ads-desc p {
  102. border: 1px solid #dddddd;
  103. border-right: none;
  104. height: 83px;
  105. font-size: 1.8rem;
  106. padding: 5px 0;
  107. box-sizing: border-box;
  108. }
  109. .ads-right {
  110. width: 97%;
  111. float: left;
  112. }
  113. .ads-right .ads-box {
  114. width: 100%;
  115. overflow: hidden;
  116. }
  117. .ads-right .ads-box > div {
  118. width: 25%;
  119. float: left;
  120. text-align: center;
  121. line-height: 40px;
  122. ;
  123. }
  124. .ads-right .ads-box > div a {
  125. display: block;
  126. border: 1px solid #dddddd;
  127. font-size: 1.8rem;
  128. }
  129. .ads-right .ads-box > div:nth-child(1) a, .ads-right .ads-box > div:nth-child(2) a, .ads-right .ads-box > div:nth-child(3) a, .ads-right .ads-box > div:nth-child(4) a {
  130. border-bottom: none;
  131. }
  132. .ads-right .ads-box > div:nth-child(1) a, .ads-right .ads-box > div:nth-child(2) a, .ads-right .ads-box > div:nth-child(3) a, .ads-right .ads-box > div:nth-child(5) a, .ads-right .ads-box > div:nth-child(6) a, .ads-right .ads-box > div:nth-child(7) a {
  133. border-right: none;
  134. }
  135. .ads-right .ads-box > div a.no-right {
  136. border-right: none;
  137. }
  138. }