Advertisement
dfghgfhplkjbv

src/components/Jobs/Jobs.module.scss

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