detail.scss 8.9 KB

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