@egovernments/digit-ui-components-css 2.0.0-dev-11 → 2.0.0-dev-12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +2 -2
- package/package.json +1 -1
- package/src/digitv2/components/FormComposerV2.scss +1 -1
- package/src/digitv2/components/alertCardV2.scss +41 -41
- package/src/digitv2/components/backLinkV2.scss +7 -7
- package/src/digitv2/components/bottomSheetV2.scss +19 -19
- package/src/digitv2/components/breadcrumbV2.scss +21 -21
- package/src/digitv2/components/cardV2.scss +14 -14
- package/src/digitv2/components/cardlabelV2.scss +2 -2
- package/src/digitv2/components/checkboxV2.scss +41 -31
- package/src/digitv2/components/chipV2.scss +40 -40
- package/src/digitv2/components/dividerV2.scss +4 -4
- package/src/digitv2/components/errorMessageV2.scss +12 -12
- package/src/digitv2/components/fieldV1.scss +55 -55
- package/src/digitv2/components/fileUploadV2.scss +115 -115
- package/src/digitv2/components/filterCardV2.scss +50 -50
- package/src/digitv2/components/footerV2.scss +12 -12
- package/src/digitv2/components/formCardV2.scss +48 -48
- package/src/digitv2/components/hamburgerV2.scss +138 -138
- package/src/digitv2/components/headerV2.scss +48 -48
- package/src/digitv2/components/headerdropdownV2.scss +64 -64
- package/src/digitv2/components/infobuttonV2.scss +12 -12
- package/src/digitv2/components/labelFieldPairV2.scss +7 -7
- package/src/digitv2/components/landingpagecardV2.scss +66 -66
- package/src/digitv2/components/loaderV2.scss +3 -3
- package/src/digitv2/components/menuCardV2.scss +29 -29
- package/src/digitv2/components/metricCardV2.scss +49 -49
- package/src/digitv2/components/mobileNumberV2.scss +93 -3
- package/src/digitv2/components/multiSelectDropdownV2.scss +152 -152
- package/src/digitv2/components/otpInputV2.scss +23 -23
- package/src/digitv2/components/panelCardV2.scss +42 -42
- package/src/digitv2/components/panelV2.scss +28 -28
- package/src/digitv2/components/popUpV2.scss +85 -85
- package/src/digitv2/components/radiobtnV2.scss +21 -21
- package/src/digitv2/components/selectDropdownV2.scss +181 -181
- package/src/digitv2/components/selectionTagV2.scss +27 -27
- package/src/digitv2/components/sidePanelV2.scss +46 -46
- package/src/digitv2/components/sidenavV2.scss +114 -114
- package/src/digitv2/components/stepperV2.scss +54 -54
- package/src/digitv2/components/summaryCardFieldPairV2.scss +20 -20
- package/src/digitv2/components/summaryCardV2.scss +25 -25
- package/src/digitv2/components/switchV2.scss +30 -30
- package/src/digitv2/components/tabV2.scss +24 -24
- package/src/digitv2/components/tableV2.scss +138 -138
- package/src/digitv2/components/tagV2.scss +23 -23
- package/src/digitv2/components/textInputV2.scss +90 -89
- package/src/digitv2/components/textareaV2.scss +20 -20
- package/src/digitv2/components/textblockV2.scss +24 -24
- package/src/digitv2/components/timelineV2.scss +57 -57
- package/src/digitv2/components/toastV2.scss +21 -21
- package/src/digitv2/components/toggleV2.scss +45 -45
- package/src/digitv2/components/tooltipwrapperV2.scss +88 -88
- package/src/digitv2/components/treeSelectV2.scss +52 -52
- package/src/digitv2/index.scss +78 -78
- package/src/digitv2/pages/employee/boundaryFilter.scss +7 -7
- package/src/digitv2/pages/employee/inboxsearchcomposer.scss +41 -41
- package/src/digitv2/pages/employee/reactdatatable.scss +13 -13
- package/src/digitv2/pages/employee/workbench.scss +24 -24
- package/src/index.scss +3 -3
|
@@ -30,65 +30,65 @@
|
|
|
30
30
|
.digit-stepper-content {
|
|
31
31
|
@apply flex flex-col items-center font-sans font-regular;
|
|
32
32
|
min-height: 4rem;
|
|
33
|
-
gap:
|
|
34
|
-
color:
|
|
35
|
-
font-size:
|
|
36
|
-
line-height:
|
|
33
|
+
gap: var(--digitv2-spacers-spacer2);
|
|
34
|
+
color: var(--digitv2-lightTheme-text-secondary);
|
|
35
|
+
font-size: var(--digitv2-spacers-spacer4);
|
|
36
|
+
line-height: var(--digitv2-spacers-spacer6);
|
|
37
37
|
text-align: center;
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
.stepper-label {
|
|
41
41
|
@include typography-body-s;
|
|
42
|
-
font-family:
|
|
43
|
-
font-style:
|
|
44
|
-
font-weight:
|
|
45
|
-
line-height:
|
|
42
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
43
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
44
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
45
|
+
line-height: var(--digitv2-lineHeight-lineheight2);
|
|
46
46
|
|
|
47
47
|
@media (max-aspect-ratio: 9/16) {
|
|
48
48
|
/* Media query for mobile */
|
|
49
|
-
font-size:
|
|
49
|
+
font-size: var( --digitv2-fontSize-body-s-mobile);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
53
53
|
/* Media query for tablets */
|
|
54
|
-
font-size:
|
|
54
|
+
font-size: var( --digitv2-fontSize-body-s-tablet);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
@media (min-aspect-ratio: 3/4) {
|
|
58
58
|
/* Media query for desktop */
|
|
59
|
-
font-size:
|
|
59
|
+
font-size: var( --digitv2-fontSize-body-s-desktop);
|
|
60
60
|
}
|
|
61
61
|
@apply text-center;
|
|
62
|
-
color:
|
|
63
|
-
letter-spacing:
|
|
62
|
+
color: var(--digitv2-lightTheme-text-secondary);
|
|
63
|
+
letter-spacing: var(--digitv2-spacers-spacer0);
|
|
64
64
|
|
|
65
65
|
&.completed {
|
|
66
|
-
color:
|
|
66
|
+
color: var(--digitv2-lightTheme-text-primary);
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
&.current {
|
|
70
70
|
@include typography-heading-s;
|
|
71
|
-
font-family:
|
|
72
|
-
font-style:
|
|
73
|
-
font-weight:
|
|
74
|
-
line-height:
|
|
71
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
72
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
73
|
+
font-weight: var(--digitv2-fontWeight-bold);
|
|
74
|
+
line-height: var(--digitv2-lineHeight-lineheight1);
|
|
75
75
|
|
|
76
76
|
@media (max-aspect-ratio: 9/16) {
|
|
77
77
|
/* Media query for mobile */
|
|
78
|
-
font-size:
|
|
78
|
+
font-size: var(--digitv2-fontSize-heading-s-mobile);
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
82
82
|
/* Media query for tablets */
|
|
83
|
-
font-size:
|
|
83
|
+
font-size: var(--digitv2-fontSize-heading-s-tablet);
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
@media (min-aspect-ratio: 3/4) {
|
|
87
87
|
/* Media query for desktop */
|
|
88
|
-
font-size:
|
|
88
|
+
font-size: var(--digitv2-fontSize-heading-s-desktop);
|
|
89
89
|
}
|
|
90
90
|
line-height: 1.37rem;
|
|
91
|
-
color:
|
|
91
|
+
color: var(--digitv2-lightTheme-text-primary);
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
&.vertical {
|
|
@@ -104,10 +104,10 @@
|
|
|
104
104
|
|
|
105
105
|
.stepper-circle {
|
|
106
106
|
@apply flex text-center justify-center items-center font-regular w-8 h-8;
|
|
107
|
-
background-color:
|
|
107
|
+
background-color: var(--digitv2-lightTheme-paper-primary);
|
|
108
108
|
border-radius: 50%;
|
|
109
|
-
margin-top:
|
|
110
|
-
border: 0.125rem solid
|
|
109
|
+
margin-top: var(--digitv2-spacers-spacer1);
|
|
110
|
+
border: 0.125rem solid var(--digitv2-lightTheme-generic-divider);
|
|
111
111
|
color: #787878;
|
|
112
112
|
|
|
113
113
|
@media (max-aspect-ratio: 9/16) {
|
|
@@ -117,16 +117,16 @@
|
|
|
117
117
|
|
|
118
118
|
.active {
|
|
119
119
|
@apply font-bold;
|
|
120
|
-
background-color:
|
|
121
|
-
border-color:
|
|
122
|
-
color:
|
|
120
|
+
background-color: var(--digitv2-lightTheme-primary-1);
|
|
121
|
+
border-color: var(--digitv2-lightTheme-primary-1);
|
|
122
|
+
color: var(--digitv2-lightTheme-paper-primary);
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
.stepper-connect {
|
|
126
126
|
@apply absolute;
|
|
127
|
-
top:
|
|
128
|
-
left: calc(50% + (
|
|
129
|
-
right: calc(-50% + (
|
|
127
|
+
top: var(--digitv2-spacers-spacer5);
|
|
128
|
+
left: calc(50% + (var(--digitv2-spacers-spacer2)));
|
|
129
|
+
right: calc(-50% + (var(--digitv2-spacers-spacer2)));
|
|
130
130
|
border-top: 0.125rem solid theme("colors.border");
|
|
131
131
|
z-index: -1;
|
|
132
132
|
height: 0.125rem;
|
|
@@ -157,15 +157,15 @@
|
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
&.active {
|
|
160
|
-
background-color:
|
|
161
|
-
border-color:
|
|
162
|
-
height:
|
|
163
|
-
border-top:
|
|
160
|
+
background-color: var(--digitv2-lightTheme-primary-1);
|
|
161
|
+
border-color: var(--digitv2-lightTheme-primary-1);
|
|
162
|
+
height: var(--digitv2-spacers-spacer1);
|
|
163
|
+
border-top: var(--digitv2-spacers-spacer1) solid var(--digitv2-lightTheme-primary-1);
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
&.vertical {
|
|
167
|
-
top: calc(50% + (
|
|
168
|
-
bottom: calc(-50% + (
|
|
167
|
+
top: calc(50% + (var(--digitv2-spacers-spacer2)));
|
|
168
|
+
bottom: calc(-50% + (var(--digitv2-spacers-spacer2)));
|
|
169
169
|
left: -3.1rem;
|
|
170
170
|
width: 0.125rem;
|
|
171
171
|
height: auto;
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
|
|
174
174
|
&.active {
|
|
175
175
|
background-color: transparent;
|
|
176
|
-
border-color:
|
|
176
|
+
border-color: var(--digitv2-lightTheme-primary-1);
|
|
177
177
|
}
|
|
178
178
|
@media (max-aspect-ratio: 9/16) {
|
|
179
179
|
left: -3.65rem;
|
|
@@ -196,56 +196,56 @@
|
|
|
196
196
|
|
|
197
197
|
.digit-stepper-content:hover {
|
|
198
198
|
.stepper-circle.active {
|
|
199
|
-
outline:
|
|
199
|
+
outline: var(--digitv2-spacers-spacer1) solid #F477381F;
|
|
200
200
|
}
|
|
201
201
|
|
|
202
202
|
.stepper-label {
|
|
203
203
|
&.completed {
|
|
204
204
|
@include typography-heading-s;
|
|
205
|
-
font-family:
|
|
206
|
-
font-style:
|
|
207
|
-
font-weight:
|
|
208
|
-
line-height:
|
|
205
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
206
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
207
|
+
font-weight: var(--digitv2-fontWeight-bold);
|
|
208
|
+
line-height: var(--digitv2-lineHeight-lineheight1);
|
|
209
209
|
|
|
210
210
|
@media (max-aspect-ratio: 9/16) {
|
|
211
211
|
/* Media query for mobile */
|
|
212
|
-
font-size:
|
|
212
|
+
font-size: var(--digitv2-fontSize-heading-s-mobile);
|
|
213
213
|
}
|
|
214
214
|
|
|
215
215
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
216
216
|
/* Media query for tablets */
|
|
217
|
-
font-size:
|
|
217
|
+
font-size: var(--digitv2-fontSize-heading-s-tablet);
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
@media (min-aspect-ratio: 3/4) {
|
|
221
221
|
/* Media query for desktop */
|
|
222
|
-
font-size:
|
|
222
|
+
font-size: var(--digitv2-fontSize-heading-s-desktop);
|
|
223
223
|
}
|
|
224
224
|
line-height: 1.37rem;
|
|
225
|
-
color:
|
|
225
|
+
color: var(--digitv2-lightTheme-text-primary);
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
.digit-stepper-container::-webkit-scrollbar {
|
|
232
|
-
width:
|
|
233
|
-
height:
|
|
234
|
-
background-color:
|
|
232
|
+
width: var(--digitv2-spacers-spacer0);
|
|
233
|
+
height: var(--digitv2-spacers-spacer0);
|
|
234
|
+
background-color: var(--digitv2-lightTheme-generic-background);
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
.digit-stepper-container::-webkit-scrollbar-track {
|
|
238
|
-
background-color:
|
|
238
|
+
background-color: var(--digitv2-lightTheme-generic-background);
|
|
239
239
|
border-radius: 0.563rem;
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
.digit-stepper-container::-webkit-scrollbar-thumb {
|
|
243
|
-
background-color:
|
|
243
|
+
background-color: var(--digitv2-lightTheme-generic-divider);
|
|
244
244
|
border-radius: 0.563rem;
|
|
245
245
|
}
|
|
246
246
|
|
|
247
247
|
.stepper-vertical-divider{
|
|
248
248
|
position: absolute;
|
|
249
|
-
left:
|
|
250
|
-
margin:
|
|
249
|
+
left: var(--digitv2-spacers-spacer10);
|
|
250
|
+
margin: var(--digitv2-spacers-spacer0);
|
|
251
251
|
}
|
|
@@ -6,72 +6,72 @@
|
|
|
6
6
|
display: flex;
|
|
7
7
|
height: fit-content;
|
|
8
8
|
background-color: transparent;
|
|
9
|
-
gap:
|
|
9
|
+
gap: var(--digitv2-spacers-spacer1);
|
|
10
10
|
|
|
11
11
|
.digit-viewcard-label{
|
|
12
12
|
@include typography-heading-s;
|
|
13
|
-
font-family:
|
|
14
|
-
font-style:
|
|
15
|
-
font-weight:
|
|
16
|
-
line-height:
|
|
13
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
14
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
15
|
+
font-weight: var(--digitv2-fontWeight-bold);
|
|
16
|
+
line-height: var(--digitv2-lineHeight-lineheight1);
|
|
17
17
|
|
|
18
18
|
@media (max-aspect-ratio: 9/16) {
|
|
19
19
|
/* Media query for mobile */
|
|
20
|
-
font-size:
|
|
20
|
+
font-size: var(--digitv2-fontSize-heading-s-mobile);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
24
24
|
/* Media query for tablets */
|
|
25
|
-
font-size:
|
|
25
|
+
font-size: var(--digitv2-fontSize-heading-s-tablet);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
@media (min-aspect-ratio: 3/4) {
|
|
29
29
|
/* Media query for desktop */
|
|
30
|
-
font-size:
|
|
30
|
+
font-size: var(--digitv2-fontSize-heading-s-desktop);
|
|
31
31
|
}
|
|
32
32
|
@apply whitespace-pre-wrap break-words w-full;
|
|
33
33
|
word-break: break-word;
|
|
34
|
-
color:
|
|
34
|
+
color: var(--digitv2-lightTheme-text-primary);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
.digit-viewcard-value{
|
|
38
38
|
@include typography-body-s;
|
|
39
|
-
font-family:
|
|
40
|
-
font-style:
|
|
41
|
-
font-weight:
|
|
42
|
-
line-height:
|
|
39
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
40
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
41
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
42
|
+
line-height: var(--digitv2-lineHeight-lineheight2);
|
|
43
43
|
|
|
44
44
|
@media (max-aspect-ratio: 9/16) {
|
|
45
45
|
/* Media query for mobile */
|
|
46
|
-
font-size:
|
|
46
|
+
font-size: var( --digitv2-fontSize-body-s-mobile);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
50
50
|
/* Media query for tablets */
|
|
51
|
-
font-size:
|
|
51
|
+
font-size: var( --digitv2-fontSize-body-s-tablet);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
@media (min-aspect-ratio: 3/4) {
|
|
55
55
|
/* Media query for desktop */
|
|
56
|
-
font-size:
|
|
56
|
+
font-size: var( --digitv2-fontSize-body-s-desktop);
|
|
57
57
|
}
|
|
58
58
|
@apply whitespace-pre-wrap break-words w-full;
|
|
59
|
-
color:
|
|
59
|
+
color: var(--digitv2-lightTheme-text-primary);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
&.inline{
|
|
63
63
|
flex-direction: row;
|
|
64
64
|
|
|
65
65
|
@media (min-width: 48rem) {
|
|
66
|
-
gap:
|
|
66
|
+
gap: var(--digitv2-spacers-spacer6);
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
@media (min-width: 30.063rem) and (max-width: 47.938rem) {
|
|
70
|
-
gap:
|
|
70
|
+
gap: var(--digitv2-spacers-spacer5);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
@media (max-width: 30rem) {
|
|
74
|
-
gap:
|
|
74
|
+
gap: var(--digitv2-spacers-spacer4);
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
.digit-viewcard-label{
|
|
@@ -4,81 +4,81 @@
|
|
|
4
4
|
.digit-view-card {
|
|
5
5
|
.digit-view-card-header {
|
|
6
6
|
@include typography-heading-l;
|
|
7
|
-
font-family:
|
|
8
|
-
font-style:
|
|
9
|
-
font-weight:
|
|
10
|
-
line-height:
|
|
7
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
8
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
9
|
+
font-weight: var(--digitv2-fontWeight-bold);
|
|
10
|
+
line-height: var(--digitv2-lineHeight-lineheight1);
|
|
11
11
|
|
|
12
12
|
@media (max-aspect-ratio: 9/16) {
|
|
13
13
|
/* Media query for mobile */
|
|
14
|
-
font-size:
|
|
14
|
+
font-size: var(--digitv2-fontSize-heading-l-mobile);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
18
18
|
/* Media query for tablets */
|
|
19
|
-
font-size:
|
|
19
|
+
font-size: var(--digitv2-fontSize-heading-l-tablet);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
@media (min-aspect-ratio: 3/4) {
|
|
23
23
|
/* Media query for desktop */
|
|
24
|
-
font-size:
|
|
24
|
+
font-size: var(--digitv2-fontSize-heading-l-desktop);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
padding-bottom:
|
|
28
|
-
color:
|
|
27
|
+
padding-bottom: var(--digitv2-spacers-spacer2);
|
|
28
|
+
color: var(--digitv2-lightTheme-text-primary);
|
|
29
29
|
line-height: normal;
|
|
30
30
|
|
|
31
31
|
@media (max-width: 30rem) {
|
|
32
|
-
padding-bottom:
|
|
32
|
+
padding-bottom: var(--digitv2-spacers-spacer1);
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.digit-view-card-subheader {
|
|
37
37
|
@include typography-heading-m;
|
|
38
|
-
font-family:
|
|
39
|
-
font-style:
|
|
40
|
-
font-weight:
|
|
41
|
-
line-height:
|
|
38
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
39
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
40
|
+
font-weight: var(--digitv2-fontWeight-bold);
|
|
41
|
+
line-height: var(--digitv2-lineHeight-lineheight1);
|
|
42
42
|
|
|
43
43
|
@media (max-aspect-ratio: 9/16) {
|
|
44
44
|
/* Media query for mobile */
|
|
45
|
-
font-size:
|
|
45
|
+
font-size: var(--digitv2-fontSize-heading-m-mobile);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
49
49
|
/* Media query for tablets */
|
|
50
|
-
font-size:
|
|
50
|
+
font-size: var(--digitv2-fontSize-heading-m-tablet);
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
@media (min-aspect-ratio: 3/4) {
|
|
54
54
|
/* Media query for desktop */
|
|
55
|
-
font-size:
|
|
55
|
+
font-size: var(--digitv2-fontSize-heading-m-desktop);
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
color:
|
|
58
|
+
color: var(--digitv2-lightTheme-primary-2);
|
|
59
59
|
line-height: normal;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.view-card-field-pairs {
|
|
63
63
|
display: flex;
|
|
64
64
|
flex-direction: column;
|
|
65
|
-
gap:
|
|
65
|
+
gap: var(--digitv2-spacers-spacer4);
|
|
66
66
|
position: relative;
|
|
67
67
|
|
|
68
68
|
&.two-column-layout {
|
|
69
69
|
display: grid;
|
|
70
70
|
grid-template-columns: repeat(2, 1fr);
|
|
71
|
-
gap:
|
|
71
|
+
gap: var(--digitv2-spacers-spacer4);
|
|
72
72
|
|
|
73
73
|
&.with-divider{
|
|
74
|
-
grid-column-gap:
|
|
74
|
+
grid-column-gap:var(--digitv2-spacers-spacer8);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
.vertical-summarycard-divider {
|
|
79
79
|
position: absolute;
|
|
80
80
|
height: 100%;
|
|
81
|
-
border: 0.063rem solid
|
|
81
|
+
border: 0.063rem solid var(--digitv2-lightTheme-generic-divider);
|
|
82
82
|
z-index: 1;
|
|
83
83
|
}
|
|
84
84
|
}
|
|
@@ -89,15 +89,15 @@
|
|
|
89
89
|
flex-direction: column;
|
|
90
90
|
|
|
91
91
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
92
|
-
gap:
|
|
92
|
+
gap: var(--digitv2-spacers-spacer5);
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
@media (min-aspect-ratio: 3/4) {
|
|
96
|
-
gap:
|
|
96
|
+
gap: var(--digitv2-spacers-spacer6);
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
@media (max-aspect-ratio: 9/16) {
|
|
100
|
-
gap:
|
|
100
|
+
gap: var(--digitv2-spacers-spacer4);
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
}
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.digit-switch {
|
|
10
|
-
width:
|
|
11
|
-
height:
|
|
10
|
+
width: var(--digitv2-spacers-spacer11);
|
|
11
|
+
height: var(--digitv2-spacers-spacer6);
|
|
12
12
|
background-color: #BFBFBF;
|
|
13
|
-
border-radius:
|
|
13
|
+
border-radius: var(--digitv2-spacers-spacer4);
|
|
14
14
|
position: relative;
|
|
15
15
|
cursor: pointer;
|
|
16
16
|
transition: background-color 0.2s ease;
|
|
@@ -26,81 +26,81 @@
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
&.switch-disabled{
|
|
29
|
-
background-color:
|
|
29
|
+
background-color: var(--digitv2-lightTheme-text-disabled);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.digit-switch.checked {
|
|
34
|
-
background-color:
|
|
34
|
+
background-color: var(--digitv2-lightTheme-primary-1);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
.digit-switch-toggle {
|
|
38
38
|
width: 1.125rem;
|
|
39
39
|
height: 1.125rem;
|
|
40
|
-
background-color:
|
|
40
|
+
background-color: var(--digitv2-lightTheme-paper-primary);
|
|
41
41
|
border-radius: 50%;
|
|
42
42
|
position: absolute;
|
|
43
43
|
left: 0.125rem;
|
|
44
44
|
transition: left 0.2s ease;
|
|
45
|
-
box-shadow:
|
|
45
|
+
box-shadow: var(--digitv2-spacers-spacer0) 0.125rem var(--digitv2-spacers-spacer1) var(--digitv2-spacers-spacer0) #00230B33;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
.digit-switch.checked .digit-switch-toggle {
|
|
49
|
-
left:
|
|
50
|
-
background-color:
|
|
49
|
+
left: var(--digitv2-spacers-spacer6);
|
|
50
|
+
background-color: var(--digitv2-lightTheme-paper-primary);
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
.digit-switch-label {
|
|
54
54
|
@include typography-body-s;
|
|
55
|
-
margin-left:
|
|
56
|
-
font-family:
|
|
57
|
-
font-style:
|
|
58
|
-
font-weight:
|
|
59
|
-
line-height:
|
|
55
|
+
margin-left: var(--digitv2-spacers-spacer2);
|
|
56
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
57
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
58
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
59
|
+
line-height: var(--digitv2-lineHeight-lineheight2);
|
|
60
60
|
|
|
61
61
|
@media (max-aspect-ratio: 9/16) {
|
|
62
|
-
font-size:
|
|
62
|
+
font-size: var( --digitv2-fontSize-body-s-mobile);
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
66
|
-
font-size:
|
|
66
|
+
font-size: var( --digitv2-fontSize-body-s-tablet);
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
@media (min-aspect-ratio: 3/4) {
|
|
70
|
-
font-size:
|
|
70
|
+
font-size: var( --digitv2-fontSize-body-s-desktop);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
@apply text-left;
|
|
74
74
|
word-break: break-word;
|
|
75
|
-
letter-spacing:
|
|
76
|
-
color:
|
|
75
|
+
letter-spacing: var(--digitv2-spacers-spacer0);
|
|
76
|
+
color: var(--digitv2-lightTheme-text-primary);
|
|
77
77
|
|
|
78
78
|
&.labelFirst{
|
|
79
|
-
margin:
|
|
80
|
-
margin-right:
|
|
79
|
+
margin:var(--digitv2-spacers-spacer0);
|
|
80
|
+
margin-right:var(--digitv2-spacers-spacer2);
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
|
|
85
85
|
.digit-switch-shape-on {
|
|
86
86
|
position: absolute;
|
|
87
|
-
top:
|
|
87
|
+
top: var(--digitv2-spacers-spacer2);
|
|
88
88
|
width: 0.125rem;
|
|
89
|
-
height:
|
|
89
|
+
height: var(--digitv2-spacers-spacer2);
|
|
90
90
|
border-radius: 0.063rem;
|
|
91
91
|
left: 0.625rem;
|
|
92
|
-
background-color:
|
|
92
|
+
background-color: var(--digitv2-lightTheme-primary-bg);
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
.digit-switch-shape-off {
|
|
96
96
|
position: absolute;
|
|
97
|
-
top:
|
|
98
|
-
width:
|
|
99
|
-
height:
|
|
100
|
-
right:
|
|
97
|
+
top: var(--digitv2-spacers-spacer2);
|
|
98
|
+
width: var(--digitv2-spacers-spacer2);
|
|
99
|
+
height: var(--digitv2-spacers-spacer2);
|
|
100
|
+
right: var(--digitv2-spacers-spacer2);
|
|
101
101
|
background-color: transparent;
|
|
102
102
|
border-radius: 50%;
|
|
103
|
-
border: 0.063rem solid
|
|
103
|
+
border: 0.063rem solid var(--digitv2-lightTheme-generic-background);
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
.digit-switch-container.switch-disabled {
|
|
@@ -110,6 +110,6 @@
|
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
.digit-switch-label {
|
|
113
|
-
color:
|
|
113
|
+
color: var(--digitv2-lightTheme-text-disabled);
|
|
114
114
|
}
|
|
115
115
|
}
|