Advertisement
dfghgfhplkjbv

src/components/AllJobs/AllJobs.module.scss

Feb 28th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.24 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: 88px;
  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 17px;
  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. @media (max-width: $sm) {
  73. font-size: 1rem;
  74. }
  75. }
  76.  
  77. .filtersForm {
  78. display: flex;
  79. flex-direction: row;
  80. justify-content: space-between;
  81. flex-wrap: wrap;
  82. @media (max-width: $sm) {
  83. margin-top: -10px;
  84. }
  85. }
  86.  
  87. .level {
  88. display: flex;
  89. flex-direction: row;
  90. justify-content: space-around;
  91. height: 56px;
  92. width: 240px;
  93. margin-right: 16px;
  94. box-sizing: border-box;
  95. border-radius: 3px;
  96. background-color: #fff;
  97. border: 2px solid #b7bac7;
  98. color: #b7bac7;
  99. padding-left: 14px;
  100. font-size: 1.125rem;
  101. text-indent: 0px;
  102. img {
  103. padding-right: 20px;
  104. padding-top: 6px;
  105. }
  106. @media (max-width: $xl) {
  107. width: 85%;
  108. padding-left: 8px;
  109. }
  110. @media (max-width: $md) {
  111. width: 80%;
  112. }
  113. @media (max-width: $sm) {
  114. width: 100%;
  115. }
  116. }
  117.  
  118. .clear {
  119. padding: 16px 32px;
  120. background-color: #fff;
  121. border: 2px solid #c9353d;
  122. box-sizing: border-box;
  123. border-radius: 3px;
  124. color: #c9353d;
  125. font-size: 1.125rem;
  126. line-height: normal;
  127. transition: all 0.3s;
  128. white-space: nowrap;
  129.  
  130. &:hover {
  131. background-color: #c9353d;
  132. color: #fff;
  133. cursor: pointer;
  134. }
  135.  
  136. @media (max-width: $xl) {
  137. margin-left: 300px;
  138. }
  139. @media (max-width: $md) {
  140. margin-left: 15px;
  141. }
  142. @media (max-width: $sm) {
  143. margin-left: 0px;
  144. margin-top: 20px;
  145. }
  146.  
  147. @media (max-width: $sm) {
  148. width: 100%;
  149. }
  150. }
  151.  
  152. .jobsContainer {
  153. display: flex;
  154. justify-content: center;
  155. margin-top: 100px;
  156. max-width: $container;
  157. margin-left: auto;
  158. margin-right: auto;
  159. @media (min-width: $lg) {
  160. margin-left: 20px;
  161. margin-right: 20px;
  162. }
  163. @media (min-width: $container) {
  164. margin-left: auto;
  165. margin-right: auto;
  166. }
  167. }
  168.  
  169. .listContainer {
  170. padding: 24px 32px 24px 32px;
  171. height: auto;
  172. background-color: #fff;
  173. z-index: 10px;
  174. }
  175.  
  176. .oneJob {
  177. padding: 24px;
  178. background-color: #f0f2f9;
  179. height: auto;
  180. width: 100%;
  181. z-index: 20;
  182. margin-top: 20px;
  183. border-radius: 3px;
  184. text-decoration: none;
  185. color: black;
  186. display: flex;
  187. align-items: center;
  188. @media (max-width: $sm) {
  189. display: flex;
  190. flex-direction: column;
  191. }
  192. }
  193.  
  194. .title {
  195. font-size: 1.875rem;
  196. text-decoration: none;
  197. @media (max-width: $sm) {
  198. margin-top: 10px;
  199. }
  200. }
  201.  
  202. .location {
  203. margin-top: 10px;
  204. margin-bottom: 10px;
  205. color: rgba(22, 22, 22, 0.6);
  206. text-decoration: none;
  207.  
  208. @media (max-width: $sm) {
  209. margin-top: 18px;
  210. margin-bottom: 24px;
  211. }
  212. }
  213.  
  214. .description {
  215. margin-top: 10px;
  216. line-height: 1.6;
  217. text-decoration: none;
  218. }
  219.  
  220. .search {
  221. height: 56px;
  222. width: 240px;
  223. border-radius: 3px;
  224. background-color: #fff;
  225. border: 2px solid #b7bac7;
  226. color: #b7bac7;
  227. padding-left: 14px;
  228. font-size: 1.125rem;
  229. background: url('src/img/search.svg') no-repeat center right;
  230. background-size: 21% 40%;
  231.  
  232. &::placeholder {
  233. color: #bdc0cb;
  234. }
  235. @media (max-width: $xl) {
  236. width: 100%;
  237. padding-left: 10px;
  238. }
  239. @media (max-width: $md) {
  240. width: 100%;
  241. padding-left: 10px;
  242. }
  243. @media (max-width: $sm) {
  244. margin-top: 20px;
  245. padding-left: 10px;
  246. }
  247. }
  248.  
  249. .total {
  250. display: flex;
  251. justify-content: space-between;
  252. align-items: center;
  253. span {
  254. display: inline-block;
  255. background-color: #161616;
  256. color: #fff;
  257. padding: 8px 16px;
  258. border-radius: 3px;
  259. font-weight: bold;
  260. text-align: right;
  261. }
  262. }
  263.  
  264. .companyLogo {
  265. margin-right: 24px;
  266. img {
  267. width: 64px;
  268. height: 64px;
  269. object-fit: cover;
  270. }
  271. @media (max-width: $sm) {
  272. margin-right: 0;
  273. }
  274. }
  275.  
  276. .jobLink {
  277. text-decoration: none;
  278. }
  279.  
  280. .filters {
  281. display: flex;
  282. justify-content: space-between;
  283. margin-top: 56px;
  284. padding-top: 56px;
  285. border-top: 2px solid #b7bac62e;
  286. @media (max-width: $sm) {
  287. display: block;
  288. }
  289. }
  290.  
  291. .filtersContainer {
  292. display: flex;
  293. @media (max-width: $sm) {
  294. display: block;
  295. width: 100%;
  296. }
  297. }
  298.  
  299. .sectionTitle {
  300. @media (max-width: $sm) {
  301. font-size: 1.5rem;
  302. }
  303. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement