Advertisement
dfghgfhplkjbv

src/components/Jobs/Jobs.module.scss

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