recurit.scss 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457
  1. @import 'global.scss';
  2. .banner{
  3. position: relative;
  4. a{
  5. display: block;
  6. position: absolute;
  7. left: 0;
  8. right: 0;
  9. margin: 0 auto;
  10. bottom: 15%;
  11. width: 150px;
  12. height: 38px;
  13. line-height: 38px;
  14. font-size: 14px;
  15. text-align: center;
  16. color: #fff;
  17. background: $color;
  18. z-index: 1;
  19. overflow: hidden;
  20. @media(min-width:768px){
  21. width: 180px;
  22. height: 48px;
  23. line-height: 48px;
  24. font-size: 18px;
  25. }
  26. &:after {
  27. content: '';
  28. position: absolute;
  29. z-index: -1;
  30. transition: width 0.3s, opacity 0.3s;
  31. width: 0;
  32. height: 530px;
  33. top: 50%;
  34. left: 50%;
  35. opacity: 0;
  36. background: #f13232;
  37. transform: translate3d(-50%, -50%, 0) rotate(45deg);
  38. backface-visibility: hidden;
  39. }
  40. &:hover,&:active {
  41. &:after {
  42. width: 100%;
  43. opacity: 1;
  44. }
  45. }
  46. }
  47. img{
  48. width:100%;
  49. }
  50. }
  51. .entrance{
  52. margin: 40px auto 60px;
  53. @media(min-width:768px){
  54. margin: 60px auto 100px;
  55. }
  56. @media(min-width:1200px){
  57. margin: 100px auto 120px;
  58. }
  59. .item{
  60. margin-bottom: 20px;
  61. .img{
  62. img{
  63. height: px2vw(200);
  64. @media(min-width:768px){
  65. height: auto;
  66. }
  67. width:100%;
  68. }
  69. }
  70. .txt{
  71. position: absolute;
  72. top: 0;
  73. left: 0;
  74. right: 0;
  75. bottom: 0;
  76. background: rgba(0, 0, 0, .2);
  77. padding: 20px;
  78. @media(min-width:768px){
  79. padding: 20px;
  80. }
  81. @media(min-width:1200px){
  82. padding: 40px;
  83. }
  84. span{
  85. color: $color;
  86. font-weight: bold;
  87. font-size: 16px;
  88. display: inline-block;
  89. margin-top: 10px;
  90. @media(min-width:768px){
  91. font-size: 20px;
  92. margin-top: 30px;
  93. }
  94. }
  95. h2{
  96. color: #fff;
  97. margin: 12px 0;
  98. font-size: 22px;
  99. em {
  100. color: $color;
  101. }
  102. @media(min-width:768px){
  103. margin: 25px 0;
  104. font-size: 28px;
  105. }
  106. @media(min-width:1200px){
  107. font-size: 44px;
  108. }
  109. }
  110. p{
  111. color: #fff;
  112. font-size: 14px;
  113. @media(min-width:768px){
  114. font-size: 20px;
  115. }
  116. @media(min-width:1200px){
  117. font-size: 24px;
  118. }
  119. }
  120. i{
  121. font-weight: bold;
  122. padding-right: 30px;
  123. color: $color;
  124. position: absolute;
  125. bottom: 25px;
  126. font-size: 16px;
  127. @media(min-width:768px){
  128. font-size: 20px;
  129. }
  130. &:after{
  131. content: "";
  132. display: inline-block;
  133. width: 30px;
  134. height: 10px;
  135. transition: all .5s ease;
  136. background: url("/assets/image/arrow-color.png") no-repeat center;
  137. }
  138. }
  139. }
  140. a{
  141. display: block;
  142. position: relative;
  143. transition: all .5s ease;
  144. &:hover,&:active{
  145. transform: translateY(-10px);
  146. box-shadow: 0px 8px 40px 0px rgba(0, 0, 0, 0.2);
  147. }
  148. }
  149. }
  150. }
  151. .salary{
  152. background: #f5f5f5;
  153. padding: 40px 0;
  154. @media(min-width:768px){
  155. padding: 60px 0;
  156. }
  157. @media(min-width:1200px){
  158. padding: 110px 0;
  159. }
  160. .container{
  161. position: relative;
  162. text-align: center;
  163. &>h2{
  164. color: #111;
  165. font-size: 24px;
  166. margin-bottom: 15px;
  167. @media(min-width:768px){
  168. font-size: 36px;
  169. margin-bottom: 20px;
  170. }
  171. @media(min-width:1200px){
  172. font-size: 46px;
  173. margin-bottom: 30px;
  174. }
  175. }
  176. &>p{
  177. color: #333;
  178. font-size: 14px;
  179. margin-bottom: 30px;
  180. @media(min-width:768px){
  181. margin-bottom: 40px;
  182. font-size: 18px;
  183. }
  184. @media(min-width:1200px){
  185. margin-bottom: 60px;
  186. }
  187. }
  188. }
  189. .arrow{
  190. cursor: pointer;
  191. position: absolute;
  192. top:54%;
  193. display: inline-block;
  194. width:80px;
  195. height:80px;
  196. background: #fff;
  197. border-radius: 50%;
  198. background-repeat: no-repeat;
  199. background-position: center;
  200. &.arrow-left{
  201. background-image: url("/assets/image/arrow-left.png");
  202. left: -80px;
  203. &:hover,&:active{
  204. background-image: url("/assets/image/arrow-left-on.png");
  205. }
  206. }
  207. &.arrow-right{
  208. background-image: url("/assets/image/arrow-right.png");
  209. right: -80px;
  210. &:hover,&:active{
  211. background-image: url("/assets/image/arrow-right-on.png");
  212. }
  213. }
  214. &.disabled{
  215. pointer-events: none;
  216. opacity: .8;
  217. cursor: default;
  218. }
  219. }
  220. }
  221. #salary{
  222. margin: 0 auto;
  223. position: relative;
  224. padding-bottom: 30px;
  225. .swiper-wrapper{
  226. height: px2vw(220) !important;
  227. @media(min-width:768px){
  228. height:230px !important;
  229. }
  230. @media(min-width:992px){
  231. height:300px !important;
  232. }
  233. @media(min-width:1200px){
  234. height: 380px !important;
  235. }
  236. }
  237. .swiper-slide{
  238. height: px2vw(220) !important;
  239. @media(min-width:768px){
  240. height:230px !important;
  241. }
  242. @media(min-width:992px){
  243. height:300px !important;
  244. }
  245. @media(min-width:1200px){
  246. height: 380px !important;
  247. }
  248. a{
  249. display: block;
  250. position: relative;
  251. width: 94%;
  252. margin:0 auto;
  253. cursor: default;
  254. .img{
  255. height: px2vw(220);
  256. @media(min-width:768px){
  257. height: 230px;
  258. }
  259. @media(min-width:992px){
  260. height: 300px;
  261. }
  262. @media(min-width:1200px){
  263. height: 364px;
  264. }
  265. img{
  266. width:100%;
  267. height: 100%;
  268. }
  269. }
  270. .txt{
  271. position: absolute;
  272. left: 0;
  273. right: 0;
  274. top: 0;
  275. bottom: 0;
  276. text-align: center;
  277. padding: 25px;
  278. color: #fff;
  279. transition: all .5s ease;
  280. background: rgba(0, 0, 0, .4);
  281. font-size: 0;
  282. &:hover,&:active{
  283. background: rgba($color,.8);
  284. .con{
  285. p{
  286. height: 50px;
  287. opacity: 1;
  288. }
  289. }
  290. }
  291. .con{
  292. display: inline-block;
  293. vertical-align: middle;
  294. line-height: 1.6;
  295. transition: all .5s ease;
  296. .s-icon{
  297. img{
  298. width:40px;
  299. height: 40px;
  300. @media(min-width:768px){
  301. width:50px;
  302. height: 50px;
  303. }
  304. @media(min-width:1200px){
  305. width:70px;
  306. height: 70px;
  307. }
  308. }
  309. }
  310. span{
  311. display: inline-block;
  312. width: 34px;
  313. height:3px;
  314. background: #fff;
  315. margin: 10px 0 5px;
  316. }
  317. h2{
  318. margin: 10px 0;
  319. font-size: 18px;
  320. @media(min-width:768px){
  321. margin: 15px 0;
  322. font-size: 20px;
  323. }
  324. @media(min-width:1200px){
  325. font-size: 26px;
  326. }
  327. }
  328. p{
  329. transition: all .5s ease;
  330. font-size: 12px;
  331. @media(min-width:768px){
  332. font-size: 14px;
  333. }
  334. @media(min-width:1200px){
  335. font-size: 16px;
  336. }
  337. height: 0;
  338. opacity: 0;
  339. }
  340. }
  341. &:after{
  342. content:"";
  343. display: inline-block;
  344. vertical-align: middle;
  345. height: 100%;
  346. }
  347. }
  348. }
  349. }
  350. .swiper-pagination{
  351. display:block;
  352. position: absolute;
  353. bottom: 0;
  354. left: 0;
  355. right: 0;
  356. text-align: center;
  357. span{
  358. display: inline-block;
  359. width:8px;
  360. height: 8px;
  361. background: rgba(0, 0, 0, .3);
  362. border-radius: 50%;
  363. margin: 0 6px;
  364. &.swiper-visible-switch{
  365. background: rgba($color,.5);
  366. }
  367. &.swiper-active-switch{
  368. background: rgba($color,1);
  369. }
  370. }
  371. }
  372. }
  373. .pic{
  374. margin: 40px 0 60px;
  375. text-align: center;
  376. @media(min-width:768px){
  377. margin: 50px 0 100px;
  378. }
  379. @media(min-width:1200px){
  380. margin: 100px 0 150px;
  381. }
  382. h2{
  383. color: #111;
  384. font-size: 24px;
  385. margin-bottom: 15px;
  386. @media(min-width:768px){
  387. font-size: 36px;
  388. margin-bottom: 20px;
  389. }
  390. @media(min-width:1200px){
  391. font-size: 46px;
  392. margin-bottom: 30px;
  393. }
  394. }
  395. p{
  396. color: #333;
  397. font-size: 14px;
  398. margin-bottom: 30px;
  399. @media(min-width:768px){
  400. margin-bottom: 40px;
  401. font-size: 18px;
  402. }
  403. @media(min-width:1200px){
  404. margin-bottom: 60px;
  405. }
  406. }
  407. .img{
  408. overflow: hidden;
  409. img{
  410. width: 100%;
  411. height: 100%;
  412. transition: all .5s ease;
  413. }
  414. &:hover{
  415. img{
  416. transform: scale(1.05);
  417. }
  418. }
  419. }
  420. .row>div{
  421. margin-bottom: 20px;
  422. }
  423. .row>div.col-sm-4{
  424. .img{
  425. height:auto;
  426. @media(min-width:768px){
  427. height: 220px;
  428. }
  429. @media(min-width:992px){
  430. height: 293px;
  431. }
  432. @media(min-width:1200px){
  433. height: 360px;
  434. }
  435. }
  436. @media(min-width:768px){
  437. margin-bottom: 30px;
  438. }
  439. }
  440. .row>div.col-sm-6{
  441. .img{
  442. height:auto;
  443. @media(min-width:768px){
  444. height: 256px;
  445. }
  446. @media(min-width:992px){
  447. height: 337px;
  448. }
  449. @media(min-width:1200px){
  450. height: 411px;
  451. }
  452. }
  453. }
  454. }