Advertisement
dfghgfhplkjbv

src/components/Jobs/Jobs.module.scss

Feb 25th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.69 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. @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: 0px;
  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: 300px;
  131. width: 100%;
  132. padding-bottom: 20px;
  133. margin-top: -20px;
  134. margin-left: -20px;
  135. @media (max-width: 1024px) {
  136. margin-top: -10px;
  137. margin-left: -10px;
  138. }
  139. @media (max-width: $sm) {
  140. height: 200px;
  141. }
  142. }
  143.  
  144. .button {
  145. background-color: #9143fd;
  146. transition: all 0.4s;
  147. height: 3rem;
  148. padding-left: 24px;
  149. padding-right: 24px;
  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: 20px;
  157. margin-left: 20px;
  158. cursor: pointer;
  159. &:hover {
  160. background-color: #c536a4;
  161. }
  162. @media (max-width: $sm) {
  163. padding-left: 5px;
  164. padding-right: 5px;
  165. }
  166. @media (max-width: 1024px) {
  167. margin-top: 7px;
  168. margin-left: 10px;
  169. margin-right: 10px;
  170. padding-left: 15px;
  171. padding-right: 15px;
  172. }
  173.  
  174. @media (max-width: 768px) {
  175. padding-left: 30px;
  176. padding-right: 30px;
  177. }
  178. @media (max-width: 375px) {
  179. padding-left: 20px;
  180. padding-right: 20px;
  181. }
  182. }
  183.  
  184. .gemsContainer {
  185. background-color: #161616;
  186. width: 100%;
  187. height: 6.5rem;
  188. @media (max-width: $sm) {
  189. height: 25%;
  190. font-size: 0.875rem;
  191. background-color: #fff;
  192. }
  193. }
  194.  
  195. .innerContainer {
  196. display: flex;
  197. flex-direction: row;
  198. align-items: center;
  199. justify-content: space-between;
  200. padding-left: 2rem;
  201. padding-right: 2rem;
  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. background-color: black;
  211. }
  212. }
  213.  
  214. .gems {
  215. font-size: 1.125rem;
  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.  
  234. @media (max-width: $sm) {
  235. width: 500px;
  236. margin-left: -55px;
  237. }
  238. }
  239.  
  240. .vacanciesContainer {
  241. position: relative;
  242. flex-wrap: wrap;
  243. z-index: 50;
  244. width: 51.5%;
  245. max-width: 37rem;
  246. display: flex;
  247. flex-direction: row;
  248. justify-content: space-between;
  249. margin-top: -10rem;
  250. font-size: 1.5rem;
  251. @media (max-width: $lg) {
  252. width: 100%;
  253. margin-top: 0px;
  254. align-items: center;
  255. }
  256. @media (max-width: $md) {
  257. width: 100%;
  258. margin-top: 0rem;
  259. align-items: center;
  260. }
  261. @media (max-width: 375px) {
  262. width: 100%;
  263. margin-top: 1rem;
  264. }
  265. }
  266.  
  267. .jobOffer {
  268. display: flex;
  269. background-color: #fff;
  270. height: 17rem;
  271. width: 17rem;
  272. margin-top: 40px;
  273. text-decoration: none;
  274. cursor: pointer;
  275. @media (max-width: 1024px) {
  276. width: 250px;
  277. }
  278. @media (max-width: $sm) {
  279. width: 100%;
  280. }
  281. @media (max-width: $md) {
  282. width: 100%;
  283. }
  284. }
  285.  
  286. .top {
  287. display: flex;
  288. flex-direction: column;
  289. justify-content: space-between;
  290. }
  291.  
  292. .bottom {
  293. display: flex;
  294. flex-direction: column;
  295. justify-content: space-between;
  296. }
  297.  
  298. .headerVacancy {
  299. z-index: 51;
  300. background-color: #3a3b41;
  301. height: 3.5rem;
  302. width: 17rem;
  303. p {
  304. z-index: 53;
  305. font-size: 1.125rem;
  306. color: #ffffff;
  307. padding-left: 1.5rem;
  308. padding-right: 1.5rem;
  309. }
  310. @media (max-width: $sm) {
  311. font-size: 0.875rem;
  312. width: 100%;
  313. }
  314. @media (max-width: 1024px) {
  315. width: 100%;
  316. }
  317. @media (max-width: $md) {
  318. width: 100%;
  319. }
  320. }
  321.  
  322. .box {
  323. z-index: 53;
  324. background-color: #f0f2fa;
  325. height: 4rem;
  326. width: 4rem;
  327. margin-top: -1.75rem;
  328. margin-left: 11.5rem;
  329. @media (max-width: 1024px) {
  330. margin-left: 160px;
  331. }
  332. @media (max-width: $md) {
  333. margin-left: 500px;
  334. }
  335. @media (max-width: $sm) {
  336. margin-left: 250px;
  337. }
  338.  
  339. img {
  340. height: 4rem;
  341. object-fit: cover;
  342. }
  343. }
  344.  
  345. .description p {
  346. height: 5.5rem;
  347. font-weight: normal;
  348. color: black;
  349. font-size: 1.125rem;
  350. @media (max-width: 1024px) {
  351. padding-left: 20px;
  352. padding-right: 20px;
  353. }
  354. }
  355.  
  356. .bottomLine {
  357. img {
  358. margin-right: 1.5rem;
  359. width: 1.3125rem;
  360. height: 0.875rem;
  361. margin-top: 1.25rem;
  362. }
  363. }
  364.  
  365. .bottomLine p {
  366. z-index: 55;
  367. color: #c4c4c4;
  368. font-size: 1.125rem;
  369. font-weight: normal;
  370. &:hover {
  371. color: #00d280;
  372. }
  373. }
  374.  
  375. .blocksContainer {
  376. display: flex;
  377. justify-content: space-between;
  378. flex-wrap: wrap;
  379. @media (max-width: $md) {
  380. justify-content: space-around;
  381. }
  382. }
  383.  
  384. .vacanciesItem {
  385. @media (max-width: $sm) {
  386. width: 100%;
  387. }
  388. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement