recuritList.scss 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. @import 'global.scss';
  2. .banner{
  3. img{
  4. width:100%;
  5. }
  6. }
  7. .recurit-list{
  8. position:relative;
  9. padding: 40px 15px 60px;
  10. @media(min-width:768px){
  11. padding: 50px 90px 100px;
  12. margin-top: -90px;
  13. }
  14. @media(min-width:1200px){
  15. padding: 70px 90px 150px;
  16. margin-top: -90px;
  17. }
  18. background: #fff;
  19. h2.title{
  20. color: #111;
  21. text-align: center;
  22. font-size:24px;
  23. margin-bottom: 20px;
  24. @media(min-width:768px){
  25. font-size:36px;
  26. margin-bottom: 20px;
  27. }
  28. @media(min-width:1200px){
  29. font-size:46px;
  30. margin-bottom: 40px;
  31. }
  32. }
  33. .open-mask{
  34. margin: 10px 0 10px;
  35. }
  36. }
  37. .filter{
  38. position: fixed;
  39. top: 0;
  40. left: 0;
  41. bottom: 0;
  42. width: 100%;
  43. z-index: 1010;
  44. padding: 30px;
  45. overflow: auto;
  46. background: #eee;
  47. transition: all .5s ease;
  48. transform: translateX(100%);
  49. -webkit-overflow-scrolling: touch;
  50. &.showIn{
  51. transform: translateX(0);
  52. }
  53. @media(min-width:768px){
  54. z-index: 10;
  55. clear: fix;
  56. position: relative;
  57. width: 80%;
  58. margin: 0 auto;
  59. transform: translateX(0);
  60. background: #fff;
  61. overflow: inherit;
  62. }
  63. @media(min-width:992px){
  64. width:65%;
  65. }
  66. @media(min-width:1200px){
  67. width:50%;
  68. }
  69. .close-mask{
  70. margin-bottom: 20px;
  71. }
  72. .item{
  73. text-align: left;
  74. width: 100%;
  75. @media(min-width:768px){
  76. text-align: center;
  77. width: auto;
  78. max-width:200px;
  79. }
  80. span{
  81. cursor: pointer;
  82. display: block;
  83. height: 54px;
  84. line-height: 54px;
  85. color: #666;
  86. border-bottom: 2px solid #e0e0e0;
  87. font-size: 16px;
  88. padding: 0 30px 0 20px;
  89. width: 100%;
  90. position: relative;
  91. @include ellipsis(auto);
  92. i{
  93. position: absolute;
  94. margin-left: 5px;
  95. top: 20px;
  96. right: 8px;
  97. @include setArrow(8px,#999,1px,bottom);
  98. }
  99. &.cur{
  100. border-color: $color;
  101. color: $color;
  102. i{
  103. border-color: $color;
  104. }
  105. }
  106. }
  107. .panel-box{
  108. background: #fff;
  109. position: relative;
  110. z-index: 1;
  111. left: 0;
  112. right: 0;
  113. text-align: left;
  114. border: 1px solid #e0e0e0;
  115. padding: 30px;
  116. border-radius: 4px;
  117. display: none;
  118. @media(min-width:768px){
  119. position: absolute;
  120. }
  121. a{
  122. display: inline-block;
  123. color: #666;
  124. margin: 10px;
  125. padding: 0 10px;
  126. font-size: 16px;
  127. cursor: pointer;
  128. &:hover,&.cur,&:active{
  129. color: $color;
  130. }
  131. }
  132. .close-icon{
  133. position: absolute;
  134. right: 10px;
  135. top: 5px;
  136. font-size: 24px;
  137. line-height: 1;
  138. color: #999;
  139. cursor: pointer;
  140. &:hover{
  141. color: $color;
  142. }
  143. }
  144. &.showIn{
  145. display: block;
  146. }
  147. }
  148. }
  149. }
  150. .filter-con{
  151. padding: 10px 0;
  152. span{
  153. display: inline-block;
  154. background: #f0f0f0;
  155. padding:5px 10px;
  156. margin-right: 10px;
  157. border-radius: 10px;
  158. font-size: 12px;
  159. img{
  160. display: inline-block;
  161. vertical-align: baseline;
  162. padding-left: 5px;
  163. }
  164. }
  165. }
  166. .recurit-list ul{
  167. li{
  168. margin-top: 20px;
  169. background: #f0f0f0;
  170. padding: 20px 40px 20px 20px;
  171. transition: transform .5s ease;
  172. @media(min-width:768px){
  173. padding: 20px 60px 20px 25px;
  174. }
  175. h2{
  176. color: $color;
  177. line-height: 1.4;
  178. margin-bottom: 10px;
  179. font-size: 16px;
  180. @media(min-width:768px){
  181. font-size: 20px;
  182. }
  183. }
  184. p{
  185. color: #666;
  186. margin-top: 5px;
  187. font-size: 14px;
  188. }
  189. i{
  190. position: absolute;
  191. right: -30px;
  192. top: 50%;
  193. margin-top: -14px;
  194. width:28px;
  195. height: 28px;
  196. background: url("/assets/image/arrow-circle.png") no-repeat center;
  197. transition: all .5s ease;
  198. @media(min-width:768px){
  199. right: 0;
  200. }
  201. }
  202. &:hover{
  203. transform: translateX(10px);
  204. }
  205. a{
  206. position: relative;
  207. display: block;
  208. }
  209. }
  210. }