Advertisement
dfghgfhplkjbv

src/components/Jobs/Jobs.module.scss

Feb 26th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.90 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: $sm) {
  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. @media (max-width: $lg) {
  52. overflow-x: hidden;
  53. }
  54. }
  55.  
  56. .header {
  57. align-items: center;
  58. display: flex;
  59. margin-bottom: 3rem;
  60. padding: 0.625rem 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: -1rem;
  76. }
  77.  
  78. &:after {
  79. background-color: $green;
  80. bottom: -1.7rem;
  81. content: '';
  82. height: 0.5rem;
  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: 0.8rem 2rem 2rem 2rem;
  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: 0rem;
  119. }
  120. @media (max-width: $sm) {
  121. width: 100%;
  122. }
  123. }
  124.  
  125. .buttonsContainer {
  126. display: flex;
  127. flex-direction: row;
  128. flex-wrap: wrap;
  129. // justify-content: space-between;
  130. height: 18.75rem;
  131. width: 100%;
  132. padding-bottom: 1.25rem;
  133. margin-top: -1.25rem;
  134. margin-left: -1.25rem;
  135. @media (max-width: $xl) {
  136. margin-top: -0.625rem;
  137. margin-left: -0.625rem;
  138. }
  139. @media (max-width: $sm) {
  140. height: 12.5rem;
  141. }
  142. }
  143.  
  144. .button {
  145. background-color: #9143fd;
  146. transition: all 0.4s;
  147. height: 3rem;
  148. padding-left: 1.5rem;
  149. padding-right: 1.5rem;
  150. @include base-font();
  151. color: white;
  152. text-align: center;
  153. border: none;
  154. font-weight: bold;
  155. font-size: 1.125rem;
  156. margin-top: 1.25rem;
  157. margin-left: 1.25rem;
  158. cursor: pointer;
  159. &:hover {
  160. background-color: #c536a4;
  161. }
  162. @media (max-width: $sm) {
  163. padding-left: 0.3125rem;
  164. padding-right: 0.3125rem;
  165. }
  166. @media (max-width: $xl) {
  167. margin-top: 0.4375rem;
  168. margin-left: 0.625rem;
  169. margin-right: 0.625rem;
  170. padding-left: 0.9375rem;
  171. padding-right: 0.9375rem;
  172. }
  173.  
  174. @media (max-width: $md) {
  175. padding-left: 1.875rem;
  176. padding-right: 1.875rem;
  177. }
  178. @media (max-width: $sm) {
  179. padding-left: 1.25rem;
  180. padding-right: 1.25rem;
  181. }
  182. }
  183.  
  184. .gemsContainer {
  185. background-color: #161616;
  186. width: 100%;
  187. @media (max-width: $sm) {
  188. height: 25%;
  189. font-size: 0.875rem;
  190. background-color: #fff;
  191. }
  192. }
  193.  
  194. .innerContainer {
  195. display: flex;
  196. flex-direction: row;
  197. align-items: center;
  198. justify-content: space-between;
  199. padding: 1rem 1rem;
  200. font-size: 1.125rem;
  201. p {
  202. font-family: RF Tone;
  203. color: white;
  204. margin-top: 1.125rem;
  205. }
  206. @media (max-width: $sm) {
  207. font-size: 0.8rem;
  208. background-color: black;
  209. }
  210. }
  211.  
  212. .gems {
  213. font-size: 1.125rem;
  214. width: 50%;
  215. margin-left: 1.2rem;
  216. @media (max-width: $sm) {
  217. visibility: hidden;
  218. }
  219. }
  220.  
  221. .allJobs {
  222. background-color: #00d280;
  223. font-weight: bold;
  224. font-size: 1.125rem;
  225. font-family: RF Tone;
  226. color: white;
  227. height: 3rem;
  228. width: 43%;
  229. text-decoration: none;
  230. align-items: center;
  231. justify-content: center;
  232. display: flex;
  233. margin-right: 1.2rem;
  234. @media (max-width: $lg) {
  235. margin-right: 1rem;
  236. }
  237. @media (max-width: $sm) {
  238. width: 31.25rem;
  239. margin-left: -3.4375rem;
  240. }
  241. }
  242.  
  243. .vacanciesContainer {
  244. position: relative;
  245. flex-wrap: wrap;
  246. z-index: 50;
  247. width: 51.5%;
  248. max-width: 37rem;
  249. display: flex;
  250. flex-direction: row;
  251. justify-content: space-between;
  252. margin-top: -10rem;
  253. font-size: 1.5rem;
  254. @media (max-width: $lg) {
  255. width: 100%;
  256. margin-top: 0rem;
  257. align-items: center;
  258. }
  259. @media (max-width: $md) {
  260. width: 100%;
  261. margin-top: 0rem;
  262. align-items: center;
  263. }
  264. @media (max-width: $sm) {
  265. width: 100%;
  266. margin-top: 1rem;
  267. }
  268. }
  269.  
  270. .jobOffer {
  271. display: flex;
  272. background-color: #fff;
  273. height: 17rem;
  274. width: 17rem;
  275. margin-top: 2.5rem;
  276. text-decoration: none;
  277. cursor: pointer;
  278. @media (max-width: $xl) {
  279. width: 15.625rem;
  280. }
  281.  
  282. @media (max-width: $sm) {
  283. width: 100%;
  284. }
  285. @media (max-width: $md) {
  286. width: 100%;
  287. }
  288. }
  289.  
  290. .top {
  291. display: flex;
  292. flex-direction: column;
  293. justify-content: space-between;
  294. }
  295.  
  296. .bottom {
  297. display: flex;
  298. flex-direction: column;
  299. justify-content: space-between;
  300. }
  301.  
  302. .headerVacancy {
  303. z-index: 51;
  304. background-color: #3a3b41;
  305. height: 3.5rem;
  306. width: 17rem;
  307. p {
  308. z-index: 53;
  309. font-size: 1.125rem;
  310. color: #ffffff;
  311. padding-left: 1.5rem;
  312. padding-right: 1.5rem;
  313. }
  314. @media (max-width: $sm) {
  315. font-size: 0.875rem;
  316. width: 100%;
  317. }
  318. @media (max-width: $xl) {
  319. width: 100%;
  320. }
  321. @media (max-width: $md) {
  322. width: 100%;
  323. }
  324. }
  325.  
  326. .box {
  327. z-index: 53;
  328. background-color: #f0f2fa;
  329. height: 4rem;
  330. width: 4rem;
  331. margin-top: -1.75rem;
  332. margin-left: 11.5rem;
  333. @media (max-width: $xl) {
  334. margin-left: 10rem;
  335. }
  336. @media (max-width: $md) {
  337. margin-left: 31.25rem;
  338. }
  339. @media (max-width: $sm) {
  340. margin-left: 15.625rem;
  341. }
  342.  
  343. img {
  344. height: 4rem;
  345. object-fit: cover;
  346. }
  347. }
  348.  
  349. .description p {
  350. height: 5.5rem;
  351. font-weight: normal;
  352. color: black;
  353. font-size: 1.125rem;
  354. @media (max-width: $xl) {
  355. padding-left: 1.25rem;
  356. padding-right: 1.25rem;
  357. }
  358. }
  359.  
  360. .bottomLine {
  361. img {
  362. margin-right: 1.5rem;
  363. width: 1.3125rem;
  364. height: 0.875rem;
  365. margin-top: 1.25rem;
  366. }
  367. }
  368.  
  369. .bottomLine p {
  370. z-index: 55;
  371. color: #c4c4c4;
  372. font-size: 1.125rem;
  373. font-weight: normal;
  374. &:hover {
  375. color: #00d280;
  376. }
  377. }
  378.  
  379. .blocksContainer {
  380. display: flex;
  381. justify-content: space-between;
  382. flex-wrap: wrap;
  383. @media (max-width: $md) {
  384. justify-content: space-around;
  385. }
  386. }
  387.  
  388. .vacanciesItem {
  389. @media (max-width: $md) {
  390. width: 100%;
  391. }
  392. @media (max-width: $sm) {
  393. width: 100%;
  394. }
  395. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement