/
steppers.scss
46 lines (39 loc) · 1.02 KB
/
steppers.scss
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
// STEPPERS
// ==============================
$step-text-color: $color-white !default;
$step-bg-color: $color-light-green-500 !default;
.stepper {
margin: 30px 15px;
.step {
position: relative;
padding: 0 30px;
margin-bottom: 30px;
border-left: 1px solid $color-gray-400;
&:last-of-type {
border: none;
}
.step-number {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
position: absolute;
top: 0;
left: -18px;
height: 36px;
width: 36px;
z-index: 1;
font-weight: 600;
color: $step-text-color;
background: $step-bg-color;
border-radius: 50%;
box-shadow: 0 2px 4px $color-gray-300;
}
.step-title {
margin: 0;
font-weight: 600;
font-size: 20px;
line-height: 36px;
}
}
}