Advertisement
dfghgfhplkjbv

src/components/Jobs/Jobs.module.scss

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