-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtimeline.css
215 lines (183 loc) · 3.75 KB
/
timeline.css
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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
/*
body {
margin:0;
font-family: 'Roboto Condensed', sans-serif;
}
h1 {
color:#333;
font-weight:700;
margin-top:125px;
text-align:center;
text-transform:uppercase;
letter-spacing:4px;
line-height:23px;
}*/
/* --- Start progress bar --- */
@font-face {
font-family: "headingfont";
src: url("./assets/fonts/Bruno\ Ace\ SC\ Regular.ttf");
}
.process-wrapper {
margin:auto;
max-width:1080px;
height: 600px;
}
.process-wrapper h1{
color: white;
font-size: 2.5rem;
position: relative;
font-family: "headingfont";
margin-left: 40%;
}
#progress-bar-container {
position:relative;
width:90%;
margin:auto;
height:100px;
margin-top:65px;
}
#progress-bar-container ul {
padding:0;
margin:0;
padding-top:15px;
z-index:9999;
position:absolute;
width:100%;
margin-top:-40px
}
#progress-bar-container li:before {
content:" ";
display:block;
margin:auto;
width:30px;
height:30px;
border-radius:50%;
border:solid 2px #aaa;
transition:all ease 0.3s;
}
#progress-bar-container li.active:before, #progress-bar-container li:hover:before {
border:solid 2px #fff;
background: linear-gradient(to right, #6d116a 0%,#fff 100%);
}
#progress-bar-container li {
list-style:none;
float:left;
width:20%;
text-align:center;
color:#aaa;
text-transform:uppercase;
font-size:11px;
cursor:pointer;
font-weight:700;
transition:all ease 0.2s;
vertical-align:bottom;
height:60px;
position:relative;
}
#progress-bar-container li .step-inner {
position:absolute;
width:100%;
bottom:0;
font-size: 14px;
}
#progress-bar-container li.active, #progress-bar-container li:hover {
color:#444;
}
#progress-bar-container li:after {
content:" ";
display:block;
width:6px;
height:6px;
background:#777;
margin:auto;
border:solid 7px #fff;
border-radius:50%;
margin-top:40px;
box-shadow:0 2px 13px -1px rgba(0,0,0,0.3);
transition:all ease 0.2s;
}
#progress-bar-container li:hover:after {
background:#555;
}
#progress-bar-container li.active:after {
background:#207893;
}
#progress-bar-container #line {
width:80%;
margin:auto;
background: #eee;
height:6px;
position:absolute;
left:10%;
top:57px;
z-index:1;
border-radius:50px;
transition:all ease 0.9s;
}
/*
#progress-bar-container #line-progress {
content:" ";
width:100%;
height:100%;
background: #207893;
background: linear-gradient(to right, #207893 0%,#2ea3b7 100%);
position:absolute;
z-index:2;
border-radius:50px;
transition:all ease 0.9s;
}*/
#progress-content-section {
width:90%;
margin: auto;
background: #f3f3f3;
border-radius: 4px;
}
#progress-content-section .section-content {
padding:30px 40px;
text-align:center;
}
#progress-content-section .section-content h2 {
font-size:17px;
text-transform:uppercase;
color:#333;
letter-spacing:1px;
}
#progress-content-section .section-content p {
font-size:16px;
line-height:1.8em;
color:#777;
}
#progress-content-section .section-content p ul{
list-style-type: none;
}
#progress-content-section .section-content {
display:none;
animation: FadeInUp 700ms ease 1;
animation-fill-mode:forwards;
transform:translateY(30px);
opacity:0;
}
#progress-content-section .section-content.active {
display:block;
}
#progress-content-section .section-content.active ul{
list-style: none;
}
@keyframes FadeInUp {
0% {
transform:translateY(35px);
opacity:0;
}
100% {
transform:translateY(0px);
opacity:1;
}
}
@media only screen and (max-width: 400px){
#progress-bar-container li .step-inner{
bottom: -10px;
position:absolute;
width:100%;
font-size: 10px;
}
}