forked from axa-ch-webhub-cloud/pattern-library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.scss
118 lines (100 loc) · 1.87 KB
/
index.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
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
:host {
display: block;
}
.m-stepper {
display: block;
&__wrapper {
display: flex;
background: $color-prim-white;
box-shadow: 0px 1px 3px $color-silver;
}
&__step {
display: flex;
height: 27px;
flex: 1;
justify-content: center;
align-items: center;
border: 1px solid $color-mercury;
svg {
color: $color-malachite;
}
&--done {
.m-stepper__text {
font-weight: bold;
color: $color-grey;
}
}
&--active {
.m-stepper__circle {
font-weight: bold;
border: 1px solid $color-axa-blue;
background: $color-axa-blue;
color: $color-prim-white;
}
.m-stepper__text {
font-weight: bold;
color: $color-axa-blue;
}
}
&--inactive {
.m-stepper__circle {
border: 1px solid $color-silver;
background: $color-prim-white;
color: $color-grey;
}
.m-stepper__text {
color: $color-grey;
}
}
}
&__circle {
@include text(t4);
width: 17px;
height: 17px;
line-height: 16px;
letter-spacing: 0;
text-align: center;
border-radius: 50%;
}
&__text {
@include text(t3);
display: none;
max-width: 8rem;
letter-spacing: 0.2px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
&__progressbar {
background: $color-mercury;
}
&__progress {
height: 2px;
max-width: 100%;
background: $color-axa-blue;
}
}
@media (min-width: $breakpoint-sm) {
.m-stepper {
&__step {
height: 53px;
svg {
margin-right: 8px;
}
}
&__circle {
@include text(t3);
width: 22px;
height: 22px;
line-height: 21px;
letter-spacing: 0;
margin-right: 10px;
}
&__text {
display: block;
}
&__progress {
height: 4px;
}
}
}