Advertisement
dfghgfhplkjbv

src/components/Jobs/Jobs.module.scss

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