Advertisement
dfghgfhplkjbv

src/components/AllJobs/AllJobs.module.scss

Feb 27th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.01 KB | None | 0 0
  1. @import 'src/styles/utility';
  2.  
  3. .root {
  4. margin-left: auto;
  5. margin-right: auto;
  6. max-width: $container;
  7. width: auto;
  8. @media (max-width: $xl) {
  9. padding-left: 20px;
  10. padding-right: 20px;
  11. }
  12. @media (max-width: $sm) {
  13. padding-left: 20px;
  14. padding-right: 20px;
  15. }
  16. }
  17.  
  18. .cover {
  19. background-image: url('src/img/duotone.png');
  20. background-size: cover;
  21. background-position: center center;
  22. height: 30vh;
  23. background-repeat: no-repeat;
  24. z-index: -100;
  25. }
  26.  
  27. .inner {
  28. margin-top: -300px;
  29. @media (max-width: $xl) {
  30. margin-top: -450px;
  31. }
  32. @media (max-width: $md) {
  33. margin-top: -350px;
  34. }
  35. @media (max-width: $sm) {
  36. margin-top: -300px;
  37. }
  38. }
  39.  
  40. .categoriesInnerContainer {
  41. padding: 40px;
  42. font-weight: bold;
  43. background-color: #fff;
  44. border-radius: 3px;
  45. margin-top: 150px;
  46. }
  47.  
  48. .tags {
  49. display: flex;
  50. flex-direction: row;
  51. flex-wrap: wrap;
  52. margin-left: -20px;
  53. }
  54.  
  55. .tag {
  56. @include base-font();
  57.  
  58. background-color: #9143fd;
  59. padding: 16px 32px;
  60. color: white;
  61. text-align: center;
  62. border: none;
  63. font-weight: bold;
  64. font-size: 1.125rem;
  65. margin-top: 20px;
  66. margin-left: 20px;
  67.  
  68. &:hover {
  69. background-color: #c536a4;
  70. cursor: pointer;
  71. }
  72. }
  73.  
  74. .filtersForm {
  75. display: flex;
  76. flex-direction: row;
  77. justify-content: space-between;
  78. flex-wrap: wrap;
  79. @media (max-width: $sm) {
  80. margin-top: -10px;
  81. }
  82. }
  83.  
  84. .level {
  85. display: flex;
  86. flex-direction: row;
  87. justify-content: space-around;
  88. height: 56px;
  89. width: 240px;
  90. margin-right: 16px;
  91. box-sizing: border-box;
  92. border-radius: 3px;
  93. background-color: #fff;
  94. border: 2px solid #b7bac7;
  95. color: #b7bac7;
  96. padding-left: 14px;
  97. font-size: 1.125rem;
  98. img {
  99. padding-right: 20px;
  100. padding-top: 6px;
  101. }
  102. @media (max-width: $xl) {
  103. width: 85%;
  104. padding-left: 8px;
  105. }
  106. @media (max-width: $md) {
  107. width: 80%;
  108. }
  109. @media (max-width: $sm) {
  110. width: 100%;
  111. }
  112. }
  113.  
  114. .clear {
  115. padding: 16px 32px;
  116. background-color: #fff;
  117. border: 2px solid #c9353d;
  118. box-sizing: border-box;
  119. border-radius: 3px;
  120. color: #c9353d;
  121. font-size: 1.125rem;
  122. line-height: normal;
  123. transition: all 0.3s;
  124. white-space: nowrap;
  125.  
  126. &:hover {
  127. background-color: #c9353d;
  128. color: #fff;
  129. cursor: pointer;
  130. }
  131.  
  132. @media (max-width: $xl) {
  133. margin-left: 300px;
  134. }
  135. @media (max-width: $md) {
  136. margin-left: 0px;
  137. }
  138. @media (max-width: $sm) {
  139. margin-left: 0px;
  140. margin-top: 20px;
  141. }
  142.  
  143. @media (max-width: $sm) {
  144. width: 100%;
  145. }
  146. }
  147.  
  148. .jobsContainer {
  149. display: flex;
  150. justify-content: center;
  151. margin-top: 100px;
  152. max-width: $container;
  153. margin-left: auto;
  154. margin-right: auto;
  155. @media (min-width: $lg) {
  156. margin-left: 20px;
  157. margin-right: 20px;
  158. }
  159. @media (min-width: $container) {
  160. margin-left: auto;
  161. margin-right: auto;
  162. }
  163. }
  164.  
  165. .listContainer {
  166. padding: 24px 32px 24px 32px;
  167. height: auto;
  168. background-color: #fff;
  169. z-index: 10px;
  170. }
  171.  
  172. .oneJob {
  173. padding: 24px;
  174. background-color: #f0f2f9;
  175. height: auto;
  176. width: 100%;
  177. z-index: 20;
  178. margin-top: 20px;
  179. border-radius: 3px;
  180. text-decoration: none;
  181. color: black;
  182. display: flex;
  183. align-items: center;
  184. @media (max-width: $sm) {
  185. display: flex;
  186. flex-direction: column;
  187. }
  188. }
  189.  
  190. .title {
  191. font-size: 1.875rem;
  192. text-decoration: none;
  193. @media (max-width: $sm) {
  194. text-align: center;
  195. margin-top: 10px;
  196. }
  197. }
  198.  
  199. .location {
  200. margin-top: 10px;
  201. text-decoration: none;
  202. }
  203.  
  204. .description {
  205. margin-top: 10px;
  206. text-decoration: none;
  207. }
  208.  
  209. .search {
  210. height: 56px;
  211. width: 240px;
  212. border-radius: 3px;
  213. background-color: #fff;
  214. border: 2px solid #b7bac7;
  215. color: #b7bac7;
  216. padding-left: 14px;
  217. font-size: 1.125rem;
  218. background: url('src/img/search.svg') no-repeat center right;
  219. background-size: 21% 40%;
  220.  
  221. &::placeholder {
  222. color: #bdc0cb;
  223. }
  224. @media (max-width: $xl) {
  225. width: 100%;
  226. padding-left: 10px;
  227. }
  228. @media (max-width: $md) {
  229. width: 100%;
  230. padding-left: 20px;
  231. }
  232. @media (max-width: $sm) {
  233. margin-top: 20px;
  234. padding-left: 22px;
  235. }
  236. }
  237.  
  238. .total {
  239. display: flex;
  240. justify-content: space-between;
  241. align-items: center;
  242. span {
  243. display: inline-block;
  244. background-color: #161616;
  245. color: #fff;
  246. padding: 8px 16px;
  247. border-radius: 3px;
  248. font-weight: bold;
  249. text-align: right;
  250. }
  251. }
  252.  
  253. .companyLogo {
  254. margin-right: 24px;
  255. img {
  256. width: 64px;
  257. height: 64px;
  258. object-fit: cover;
  259. }
  260. @media (max-width: $sm) {
  261. margin-right: 0;
  262. }
  263. }
  264.  
  265. .jobLink {
  266. text-decoration: none;
  267. }
  268.  
  269. .filters {
  270. display: flex;
  271. justify-content: space-between;
  272. margin-top: 56px;
  273. padding-top: 56px;
  274. border-top: 2px solid #b7bac6;
  275. @media (max-width: $sm) {
  276. display: block;
  277. }
  278. }
  279.  
  280. .filtersContainer {
  281. display: flex;
  282. @media (max-width: $sm) {
  283. display: block;
  284. }
  285. }
  286.  
  287. .sectionTitle {
  288. @media (max-width: $sm) {
  289. font-size: 1.5rem;
  290. }
  291. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement