Advertisement
dfghgfhplkjbv

src/components/Jobs/Jobs.module.scss

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