forked from th3cyb3rhub/TheCyberHub
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJobsElements.jsx
More file actions
188 lines (159 loc) · 3.33 KB
/
JobsElements.jsx
File metadata and controls
188 lines (159 loc) · 3.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
import styled from "styled-components";
import { Button, Header } from "../../Community/CommunityElements";
import { FaChevronDown } from "react-icons/fa";
export const ScrollButton = styled(Button)`
outline: 2px solid #363636;
transition: 260ms all;
&:hover {
background: #20c20e;
outline-color: #545454;
outline-offset: 2px;
}
`;
export const JobIntroHeader = styled(Header)`
height: 100vh;
`;
export const JobsDropdownIcon = styled(FaChevronDown)`
margin: 2px 0 0 5px;
font-size: 11px;
`;
export const JobSection = styled.section`
margin: 100px 20px;
color: #cecac3;
& div.grid {
padding: 0.2rem;
margin: 2rem auto;
max-width : 100rem;
display : flex;
flex-wrap : wrap;
justify-content : center;
align-items : center;
}
`;
export const JobContainer = styled.div`
background-color: rgba(32, 194, 14, 0.04);
width: 400px;
min-height: 500px;
margin : 10px;
outline: 1px solid #2a2a2a;
border-radius: 0.5rem;
display: flex;
flex-direction: column;
padding: 1.2rem;
row-gap: 0.8rem;
transition: 260ms all;
&:hover {
outline-color: #545454;
outline-offset: 2px;
}
`;
export const JobHero = styled.div`
display: flex;
justify-content: space-between;
align-items: start;
`;
export const JobHeader = styled.div`
display: flex;
flex-direction: column;
justify-content: start;
align-items: start;
& span.status {
color: orange;
}
`;
export const JobTitle = styled.h2`
background: linear-gradient(to right, #b1faa9, #f6dbaa);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-size: 1.3rem;
font-weight: bolder;
letter-spacing: 0.1rem;
`;
export const JobRole = styled.div`
display: flex;
column-gap: 0.5rem;
`;
export const JobRoleTitle = styled.span`
font-weight: 500;
letter-spacing: 0.1rem;
`;
export const JobRating = styled.span`
display: inline-flex;
column-gap: 0.2rem;
align-items: center;
font-weight: bold;
`;
export const JobLocation = styled.div`
& > span {
font-weight: 300;
}
`;
export const JobDetails = styled.div`
display: flex;
flex-wrap: wrap;
gap: 0.9rem;
justify-content: start;
& > div {
background: #1a1c1d;
outline: 1px solid #2a2a2a;
border-radius: 3px;
padding: 0.1rem 0.3rem;
position: relative;
}
& span {
display: inline-flex;
column-gap: 0.3rem;
align-items: center;
font-weight: 300;
letter-spacing: 0.1rem;
}
& div.badge {
background: #20c20e;
color: white;
display: inline-flex;
justify-content: center;
align-items: center;
border-radius: 50%;
outline: 2px solid #363636;
outline-offset: 1px;
padding: 8px;
position: absolute;
top: -0.5rem;
right: -0.5rem;
height: 0.8rem;
width: 0.8rem;
z-index: 1;
}
& div.badge span {
font-size: smaller;
font-weight: bolder;
}
`;
export const JobReq = styled.div`
padding: 0 1rem;
& > ul {
font-weight: 400;
letter-spacing: 0.08rem;
/* list-style-position: inside; */
}
& li::marker {
color: #20c20e;
}
`;
export const JobTimeline = styled(JobDetails)`
color: #20c20e;
column-gap: 0.4rem;
font-size: 0.89rem;
margin-top: auto;
& span {
letter-spacing: 0.08rem;
}
& span.dot {
color: #fff;
font-size: 0.2rem;
}
& span.remote {
font-weight: 600;
}
`;