Advertisement
dfghgfhplkjbv

src/components/AllJobs/AllJobs.module.scss

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