Advertisement
dfghgfhplkjbv

src/components/Jobs/Jobs.module.scss

Feb 28th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.11 KB | None | 0 0
  1. @import 'src/styles/utility';
  2.  
  3. .root {
  4. margin-left: calc(-50vw + 50%);
  5. margin-bottom: 100px;
  6. padding-bottom: 20px;
  7. position: relative;
  8. width: 100vw;
  9.  
  10. &:before {
  11. @include base-transition();
  12.  
  13. background-color: $black;
  14.  
  15. content: '';
  16. display: block;
  17. height: 370px;
  18. left: 0;
  19. position: absolute;
  20. top: 133px;
  21. width: 100%;
  22. z-index: 0;
  23.  
  24. @media (max-width: $xl) {
  25. height: 370px;
  26. }
  27.  
  28. @media (max-width: $md) {
  29. height: 450px;
  30. top: 102px;
  31. margin-top: 32px;
  32. }
  33.  
  34. @media (max-width: $sm) {
  35. height: 468px;
  36. margin-top: 0;
  37. }
  38. }
  39.  
  40. @media (max-width: $sm) {
  41. margin-bottom: 48px;
  42. }
  43. }
  44.  
  45. img {
  46. width: 100%;
  47. height: auto;
  48. }
  49.  
  50. .container {
  51. @include container();
  52.  
  53. @media (max-width: $lg) {
  54. overflow-x: hidden;
  55. }
  56. }
  57.  
  58. .header {
  59. align-items: center;
  60. display: flex;
  61. margin-bottom: 48px;
  62. padding: 10px 0;
  63. position: relative;
  64. margin-top: 0;
  65.  
  66. h1 {
  67. @include reset-webkit-margin();
  68. @include base-transition();
  69. color: $black;
  70.  
  71. display: inline-block;
  72. font-size: 5.6875rem;
  73. font-weight: 700;
  74. position: relative;
  75. text-transform: uppercase;
  76. margin-top: 0;
  77. @media (max-width: $md) {
  78. padding: -16px;
  79. }
  80.  
  81. &:after {
  82. background-color: $green;
  83. bottom: -26px;
  84. content: '';
  85. height: 8px;
  86. left: 0;
  87. position: absolute;
  88. width: 100%;
  89. }
  90.  
  91. @media (max-width: $sm) {
  92. font-size: 4rem;
  93. }
  94. }
  95. @media (max-width: 768px) {
  96. margin-top: 0px;
  97. }
  98. @media (max-width: 375px) {
  99. margin-top: 0;
  100. }
  101. }
  102.  
  103. .tagsContainer {
  104. position: relative;
  105. z-index: 50;
  106. width: 43%;
  107. height: 29rem;
  108. background-color: #fff;
  109. margin-top: 4px;
  110. display: flex;
  111. flex-direction: column;
  112. justify-content: space-between;
  113. padding: 12.8px 32px 32px 32px;
  114. p {
  115. font-weight: bold;
  116. font-size: 1.5rem;
  117. @include base-font();
  118. @media (max-width: $xl) {
  119. font-size: 1.2rem;
  120. }
  121. @media (max-width: $sm) {
  122. font-size: 1.1rem;
  123. }
  124. }
  125. @media (max-width: $md) {
  126. width: 100%;
  127. }
  128.  
  129. @media (max-width: $lg) {
  130. width: 100%;
  131. margin-top: 0px;
  132. }
  133. @media (max-width: $sm) {
  134. width: 100%;
  135. height: auto;
  136. margin-top: -4px;
  137. }
  138. }
  139.  
  140. .buttonsContainer {
  141. display: flex;
  142. flex-direction: row;
  143. flex-wrap: wrap;
  144. // justify-content: space-between;
  145. height: auto;
  146. width: 100%;
  147. padding-bottom: 20px;
  148. margin-top: -120px;
  149. margin-left: -20px;
  150. @media (max-width: $xl) {
  151. margin-top: -120px;
  152. margin-left: -10px;
  153. }
  154. @media (max-width: $sm) {
  155. height: auto;
  156. margin-top: 0px;
  157. }
  158. }
  159.  
  160. .button {
  161. background-color: #9143fd;
  162. transition: all 0.4s;
  163. height: 48px;
  164. padding-left: 24px;
  165. padding-right: 24px;
  166. @include base-font();
  167. color: white;
  168. text-align: center;
  169. border: none;
  170. font-weight: bold;
  171. font-size: 1.125rem;
  172. margin-top: 20px;
  173. margin-left: 20px;
  174. cursor: pointer;
  175. &:hover {
  176. background-color: #c536a4;
  177. }
  178. @media (max-width: $sm) {
  179. padding-left: 5px;
  180. padding-right: 5px;
  181. margin: 10px;
  182. }
  183. @media (max-width: $xl) {
  184. margin-top: 13px;
  185. margin-left: 10px;
  186. margin-right: 10px;
  187. padding-left: 15px;
  188. padding-right: 15px;
  189. }
  190.  
  191. @media (max-width: $md) {
  192. padding-left: 30px;
  193. padding-right: 30px;
  194. }
  195. @media (max-width: $sm) {
  196. padding-left: 20px;
  197. padding-right: 20px;
  198. }
  199. }
  200.  
  201. .gemsContainer {
  202. background-color: #161616;
  203. width: 100%;
  204. @media (max-width: $sm) {
  205. height: 25%;
  206. font-size: 0.875rem;
  207. background-color: #fff;
  208. }
  209. }
  210.  
  211. .innerContainer {
  212. display: flex;
  213. flex-direction: row;
  214. align-items: center;
  215. justify-content: space-between;
  216. padding: 16px 16px;
  217. font-size: 1.125rem;
  218. p {
  219. font-family: RF Tone;
  220. color: white;
  221. margin-top: 18px;
  222. }
  223. @media (max-width: $sm) {
  224. font-size: 0.8rem;
  225. padding: 0;
  226. }
  227. }
  228.  
  229. .gems {
  230. font-size: 1.125rem;
  231. width: 50%;
  232. margin-left: 19.2px;
  233. @media (max-width: $sm) {
  234. display: none;
  235. }
  236. }
  237.  
  238. .allJobs {
  239. background-color: #00d280;
  240. font-weight: bold;
  241. font-size: 1.125rem;
  242. font-family: RF Tone;
  243. color: white;
  244. height: 48px;
  245. width: 43%;
  246. text-decoration: none;
  247. align-items: center;
  248. justify-content: center;
  249. display: flex;
  250. margin-right: 19.2px;
  251. @media (max-width: $lg) {
  252. margin-right: 16px;
  253. }
  254. @media (max-width: $sm) {
  255. width: 100%;
  256. margin: 0px;
  257. margin-top: 10px;
  258. }
  259. }
  260.  
  261. .vacanciesContainer {
  262. position: relative;
  263. flex-wrap: wrap;
  264. z-index: 50;
  265. width: 51.5%;
  266. max-width: 592px;
  267. display: flex;
  268. flex-direction: row;
  269. justify-content: space-between;
  270. margin-top: -160px;
  271. font-size: 1.5rem;
  272. @media (max-width: $lg) {
  273. width: 100%;
  274. margin-top: 0px;
  275. align-items: center;
  276. }
  277. @media (max-width: $md) {
  278. width: 100%;
  279. margin-top: 0px;
  280. align-items: center;
  281. }
  282. @media (max-width: $sm) {
  283. width: 100%;
  284. margin-top: 1rem;
  285. }
  286. }
  287.  
  288. .jobOffer {
  289. display: flex;
  290. background-color: #fff;
  291. height: 272px;
  292. width: 272px;
  293. margin-top: 40px;
  294. text-decoration: none;
  295. cursor: pointer;
  296. @media (max-width: $xl) {
  297. width: 250px;
  298. }
  299.  
  300. @media (max-width: $sm) {
  301. width: 100%;
  302. }
  303. @media (max-width: $md) {
  304. width: 100%;
  305. }
  306. }
  307.  
  308. .top {
  309. display: flex;
  310. flex-direction: column;
  311. justify-content: space-between;
  312. }
  313.  
  314. .bottom {
  315. display: flex;
  316. flex-direction: column;
  317. justify-content: space-between;
  318. }
  319.  
  320. .headerVacancy {
  321. z-index: 51;
  322. background-color: #3a3b41;
  323. height: 56px;
  324. width: 272px;
  325. p {
  326. z-index: 53;
  327. font-size: 1.125rem;
  328. color: #ffffff;
  329. padding-left: 24px;
  330. padding-right: 24px;
  331. }
  332. @media (max-width: $sm) {
  333. font-size: 0.875rem;
  334. width: 100%;
  335. }
  336. @media (max-width: $xl) {
  337. width: 100%;
  338. }
  339. @media (max-width: $md) {
  340. width: 100%;
  341. }
  342. }
  343.  
  344. .box {
  345. z-index: 53;
  346. background-color: #f0f2fa;
  347. height: 64px;
  348. width: 64px;
  349. margin-top: -28px;
  350. margin-left: 184px;
  351. @media (max-width: $xl) {
  352. margin-left: 160px;
  353. }
  354. @media (max-width: $md) {
  355. margin-left: 500px;
  356. }
  357. @media (max-width: $sm) {
  358. margin-left: 283px;
  359. }
  360. @media (max-width: 400px) {
  361. margin-left: 250px;
  362. }
  363.  
  364. img {
  365. height: 64px;
  366. object-fit: cover;
  367. }
  368. }
  369.  
  370. .description p {
  371. height: 88px;
  372. font-weight: normal;
  373. color: black;
  374. font-size: 1.125rem;
  375. word-wrap: break-word;
  376. @media (max-width: $xl) {
  377. padding-left: 20px;
  378. padding-right: 20px;
  379. }
  380. }
  381.  
  382. .bottomLine {
  383. img {
  384. margin-right: 24px;
  385. width: 21px;
  386. height: 14px;
  387. margin-top: 20px;
  388. }
  389. }
  390.  
  391. .bottomLine p {
  392. z-index: 55;
  393. color: #c4c4c4;
  394. font-size: 1.125rem;
  395. font-weight: normal;
  396. }
  397.  
  398. .blocksContainer {
  399. display: flex;
  400. justify-content: space-between;
  401. flex-wrap: wrap;
  402. @media (max-width: $md) {
  403. justify-content: space-around;
  404. }
  405. }
  406.  
  407. .vacanciesItem {
  408. @media (max-width: $md) {
  409. width: 100%;
  410. }
  411. @media (max-width: $sm) {
  412. width: 100%;
  413. }
  414. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement