@egovernments/digit-ui-components-css 2.0.0-dev-10 → 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 +166 -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 +191 -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 +93 -90
- 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 +22 -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
|
@@ -6,83 +6,83 @@
|
|
|
6
6
|
@apply flex flex-col;
|
|
7
7
|
|
|
8
8
|
@media (min-width: 48rem) {
|
|
9
|
-
gap:
|
|
9
|
+
gap: var(--digitv2-spacers-spacer6);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
@media (min-width: 30.063rem) and (max-width: 47.938rem) {
|
|
13
|
-
gap:
|
|
13
|
+
gap: var(--digitv2-spacers-spacer5);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
@media (max-width: 30rem) {
|
|
17
|
-
gap:
|
|
17
|
+
gap: var(--digitv2-spacers-spacer4);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
.digit-text-block-header-content {
|
|
22
22
|
.digit-text-block-caption {
|
|
23
23
|
@include typography-caption-s;
|
|
24
|
-
padding-bottom:
|
|
25
|
-
color:
|
|
24
|
+
padding-bottom: var(--digitv2-spacers-spacer1);
|
|
25
|
+
color: var(--digitv2-lightTheme-text-secondary);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.digit-text-block-header {
|
|
29
29
|
@include typography-heading-xl;
|
|
30
|
-
padding-bottom:
|
|
31
|
-
color:
|
|
30
|
+
padding-bottom: var(--digitv2-spacers-spacer2);
|
|
31
|
+
color: var(--digitv2-lightTheme-text-primary);
|
|
32
32
|
line-height: normal;
|
|
33
33
|
|
|
34
34
|
@media (max-width: 30rem) {
|
|
35
|
-
padding-bottom:
|
|
35
|
+
padding-bottom: var(--digitv2-spacers-spacer1);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.digit-text-block-subheader {
|
|
40
40
|
@include typography-heading-m;
|
|
41
|
-
font-family:
|
|
42
|
-
font-style:
|
|
43
|
-
font-weight:
|
|
44
|
-
line-height:
|
|
41
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
42
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
43
|
+
font-weight: var(--digitv2-fontWeight-bold);
|
|
44
|
+
line-height: var(--digitv2-lineHeight-lineheight1);
|
|
45
45
|
|
|
46
46
|
@media (max-aspect-ratio: 9/16) {
|
|
47
47
|
/* Media query for mobile */
|
|
48
|
-
font-size:
|
|
48
|
+
font-size: var(--digitv2-fontSize-heading-m-mobile);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
52
52
|
/* Media query for tablets */
|
|
53
|
-
font-size:
|
|
53
|
+
font-size: var(--digitv2-fontSize-heading-m-tablet);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
@media (min-aspect-ratio: 3/4) {
|
|
57
57
|
/* Media query for desktop */
|
|
58
|
-
font-size:
|
|
58
|
+
font-size: var(--digitv2-fontSize-heading-m-desktop);
|
|
59
59
|
}
|
|
60
|
-
color:
|
|
60
|
+
color: var(--digitv2-lightTheme-text-secondary);
|
|
61
61
|
line-height: normal;
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
.digit-text-block-body {
|
|
66
66
|
@include typography-body-s;
|
|
67
|
-
font-family:
|
|
68
|
-
font-style:
|
|
69
|
-
font-weight:
|
|
70
|
-
line-height:
|
|
67
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
68
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
69
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
70
|
+
line-height: var(--digitv2-lineHeight-lineheight2);
|
|
71
71
|
|
|
72
72
|
@media (max-aspect-ratio: 9/16) {
|
|
73
73
|
/* Media query for mobile */
|
|
74
|
-
font-size:
|
|
74
|
+
font-size: var( --digitv2-fontSize-body-s-mobile);
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
78
78
|
/* Media query for tablets */
|
|
79
|
-
font-size:
|
|
79
|
+
font-size: var( --digitv2-fontSize-body-s-tablet);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
@media (min-aspect-ratio: 3/4) {
|
|
83
83
|
/* Media query for desktop */
|
|
84
|
-
font-size:
|
|
84
|
+
font-size: var( --digitv2-fontSize-body-s-desktop);
|
|
85
85
|
}
|
|
86
|
-
color:
|
|
86
|
+
color: var(--digitv2-lightTheme-generic-inputborder);
|
|
87
87
|
}
|
|
88
88
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
.digit-timeline-item {
|
|
5
5
|
@apply flex items-start relative ;
|
|
6
|
-
gap:
|
|
6
|
+
gap: var(--digitv2-spacers-spacer4);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.timeline-circle {
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
@apply absolute bottom-0 border-solid border-border;
|
|
21
21
|
border-left-width: 0.125rem;
|
|
22
22
|
margin-left: 0.938rem;
|
|
23
|
-
top:
|
|
23
|
+
top: var(--digitv2-spacers-spacer8);
|
|
24
24
|
|
|
25
25
|
&.completed,
|
|
26
26
|
&.inprogress,
|
|
27
27
|
&.nextActiveStep{
|
|
28
|
-
border-color:
|
|
28
|
+
border-color: var(--digitv2-lightTheme-primary-1);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
&.nextActiveStep{
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
@media (max-aspect-ratio: 9/16) {
|
|
36
36
|
/* Media query for mobile */
|
|
37
37
|
margin-left: 0.688rem;
|
|
38
|
-
top:
|
|
38
|
+
top: var(--digitv2-spacers-spacer6);
|
|
39
39
|
border-left-width: 0.063rem;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -43,43 +43,43 @@
|
|
|
43
43
|
.timeline-content,
|
|
44
44
|
.timeline-info {
|
|
45
45
|
@apply flex flex-col w-full;
|
|
46
|
-
gap:
|
|
46
|
+
gap: var(--digitv2-spacers-spacer2);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
.timeline-info{
|
|
50
50
|
@media (max-aspect-ratio: 9/16) {
|
|
51
51
|
/* Media query for mobile */
|
|
52
|
-
gap:
|
|
52
|
+
gap: var(--digitv2-spacers-spacer1);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.timeline-divider {
|
|
57
|
-
border: 0.063rem solid
|
|
57
|
+
border: 0.063rem solid var(--digitv2-lightTheme-generic-divider);
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
.timeline-label {
|
|
61
61
|
@include typography-heading-s;
|
|
62
|
-
font-family:
|
|
63
|
-
font-style:
|
|
64
|
-
font-weight:
|
|
65
|
-
line-height:
|
|
62
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
63
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
64
|
+
font-weight: var(--digitv2-fontWeight-bold);
|
|
65
|
+
line-height: var(--digitv2-lineHeight-lineheight1);
|
|
66
66
|
|
|
67
67
|
@media (max-aspect-ratio: 9/16) {
|
|
68
68
|
/* Media query for mobile */
|
|
69
|
-
font-size:
|
|
69
|
+
font-size: var(--digitv2-fontSize-heading-s-mobile);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
73
73
|
/* Media query for tablets */
|
|
74
|
-
font-size:
|
|
74
|
+
font-size: var(--digitv2-fontSize-heading-s-tablet);
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
@media (min-aspect-ratio: 3/4) {
|
|
78
78
|
/* Media query for desktop */
|
|
79
|
-
font-size:
|
|
79
|
+
font-size: var(--digitv2-fontSize-heading-s-desktop);
|
|
80
80
|
}
|
|
81
81
|
@apply whitespace-normal h-auto text-left;
|
|
82
|
-
color:
|
|
82
|
+
color: var(--digitv2-lightTheme-text-primary);
|
|
83
83
|
word-break: break-word;
|
|
84
84
|
padding-top: 0.414rem;
|
|
85
85
|
|
|
@@ -89,89 +89,89 @@
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
&.upcoming{
|
|
92
|
-
color:
|
|
92
|
+
color:var(--digitv2-lightTheme-text-secondary);
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
.timeline-date {
|
|
97
97
|
@include typography-body-s;
|
|
98
|
-
font-family:
|
|
99
|
-
font-style:
|
|
100
|
-
font-weight:
|
|
101
|
-
line-height:
|
|
98
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
99
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
100
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
101
|
+
line-height: var(--digitv2-lineHeight-lineheight2);
|
|
102
102
|
|
|
103
103
|
@media (max-aspect-ratio: 9/16) {
|
|
104
104
|
/* Media query for mobile */
|
|
105
|
-
font-size:
|
|
105
|
+
font-size: var( --digitv2-fontSize-body-s-mobile);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
109
109
|
/* Media query for tablets */
|
|
110
|
-
font-size:
|
|
110
|
+
font-size: var( --digitv2-fontSize-body-s-tablet);
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
@media (min-aspect-ratio: 3/4) {
|
|
114
114
|
/* Media query for desktop */
|
|
115
|
-
font-size:
|
|
115
|
+
font-size: var( --digitv2-fontSize-body-s-desktop);
|
|
116
116
|
}
|
|
117
117
|
@apply text-left;
|
|
118
|
-
color:
|
|
118
|
+
color: var(--digitv2-lightTheme-text-secondary);
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
.timeline-toggle-details {
|
|
122
122
|
@apply flex items-center cursor-pointer;
|
|
123
|
-
gap:
|
|
123
|
+
gap: var(--digitv2-spacers-spacer1);
|
|
124
124
|
width: fit-content;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
.timeline-additional-elements-inline {
|
|
128
128
|
@apply flex flex-wrap items-start;
|
|
129
|
-
gap:
|
|
129
|
+
gap: var(--digitv2-spacers-spacer4);
|
|
130
130
|
@include typography-body-s;
|
|
131
|
-
font-family:
|
|
132
|
-
font-style:
|
|
133
|
-
font-weight:
|
|
134
|
-
line-height:
|
|
131
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
132
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
133
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
134
|
+
line-height: var(--digitv2-lineHeight-lineheight2);
|
|
135
135
|
|
|
136
136
|
@media (max-aspect-ratio: 9/16) {
|
|
137
137
|
/* Media query for mobile */
|
|
138
|
-
font-size:
|
|
138
|
+
font-size: var( --digitv2-fontSize-body-s-mobile);
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
142
142
|
/* Media query for tablets */
|
|
143
|
-
font-size:
|
|
143
|
+
font-size: var( --digitv2-fontSize-body-s-tablet);
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
@media (min-aspect-ratio: 3/4) {
|
|
147
147
|
/* Media query for desktop */
|
|
148
|
-
font-size:
|
|
148
|
+
font-size: var( --digitv2-fontSize-body-s-desktop);
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
.timeline-additional-elements-column {
|
|
153
153
|
@apply flex flex-col items-start;
|
|
154
154
|
@include typography-body-s;
|
|
155
|
-
font-family:
|
|
156
|
-
font-style:
|
|
157
|
-
font-weight:
|
|
158
|
-
line-height:
|
|
155
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
156
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
157
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
158
|
+
line-height: var(--digitv2-lineHeight-lineheight2);
|
|
159
159
|
|
|
160
160
|
@media (max-aspect-ratio: 9/16) {
|
|
161
161
|
/* Media query for mobile */
|
|
162
|
-
font-size:
|
|
162
|
+
font-size: var( --digitv2-fontSize-body-s-mobile);
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
166
166
|
/* Media query for tablets */
|
|
167
|
-
font-size:
|
|
167
|
+
font-size: var( --digitv2-fontSize-body-s-tablet);
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
@media (min-aspect-ratio: 3/4) {
|
|
171
171
|
/* Media query for desktop */
|
|
172
|
-
font-size:
|
|
172
|
+
font-size: var( --digitv2-fontSize-body-s-desktop);
|
|
173
173
|
}
|
|
174
|
-
gap:
|
|
174
|
+
gap: var(--digitv2-spacers-spacer4);
|
|
175
175
|
|
|
176
176
|
.timeline-individual-element {
|
|
177
177
|
@apply w-full max-w-full;
|
|
@@ -190,12 +190,12 @@ img {
|
|
|
190
190
|
/* Circle Variants */
|
|
191
191
|
.timeline-circle,
|
|
192
192
|
.timeline-circle.upcoming {
|
|
193
|
-
background-color:
|
|
193
|
+
background-color: var(--digitv2-lightTheme-text-disabled);
|
|
194
194
|
}
|
|
195
195
|
|
|
196
196
|
.timeline-circle.inprogress {
|
|
197
197
|
background-color: transparent;
|
|
198
|
-
border: 0.125rem solid
|
|
198
|
+
border: 0.125rem solid var(--digitv2-lightTheme-primary-1);
|
|
199
199
|
}
|
|
200
200
|
|
|
201
201
|
.timeline-circle.inprogress:not(.error)::after {
|
|
@@ -205,7 +205,7 @@ img {
|
|
|
205
205
|
left: 50%;
|
|
206
206
|
transform: translate(-50%, -50%);
|
|
207
207
|
border-radius: 50%;
|
|
208
|
-
background-color:
|
|
208
|
+
background-color: var(--digitv2-lightTheme-primary-1);
|
|
209
209
|
|
|
210
210
|
@media (max-aspect-ratio: 9/16) {
|
|
211
211
|
/* Media query for mobile */
|
|
@@ -229,7 +229,7 @@ img {
|
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
.timeline-circle.completed {
|
|
232
|
-
background-color:
|
|
232
|
+
background-color: var(--digitv2-lightTheme-primary-1);
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
.digit-timeline-molecule{
|
|
@@ -239,52 +239,52 @@ img {
|
|
|
239
239
|
|
|
240
240
|
@media (min-aspect-ratio: 3/4) {
|
|
241
241
|
/* Media query for desktop */
|
|
242
|
-
margin-bottom:
|
|
242
|
+
margin-bottom: var(--digitv2-spacers-spacer6);
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
246
246
|
/* Media query for tablets */
|
|
247
|
-
margin-bottom:
|
|
247
|
+
margin-bottom: var(--digitv2-spacers-spacer5);
|
|
248
248
|
}
|
|
249
249
|
@media (max-aspect-ratio: 9/16) {
|
|
250
250
|
/* Media query for mobile */
|
|
251
|
-
margin-bottom:
|
|
251
|
+
margin-bottom: var(--digitv2-spacers-spacer4);
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
254
|
}
|
|
255
255
|
|
|
256
256
|
.view-more-past-container {
|
|
257
|
-
margin-top:
|
|
257
|
+
margin-top: var(--digitv2-spacers-spacer4);
|
|
258
258
|
}
|
|
259
259
|
|
|
260
260
|
.view-more-future-container {
|
|
261
|
-
margin-bottom:
|
|
261
|
+
margin-bottom: var(--digitv2-spacers-spacer4);
|
|
262
262
|
}
|
|
263
263
|
|
|
264
264
|
.digit-timeline-item {
|
|
265
265
|
&.error{
|
|
266
266
|
|
|
267
267
|
.timeline-circle{
|
|
268
|
-
background-color:
|
|
268
|
+
background-color: var(--digitv2-lightTheme-alert-error);
|
|
269
269
|
}
|
|
270
270
|
|
|
271
271
|
.timeline-content{
|
|
272
|
-
background-color:
|
|
273
|
-
border-radius:
|
|
274
|
-
padding:
|
|
272
|
+
background-color: var(--digitv2-lightTheme-alert-errorbg);
|
|
273
|
+
border-radius: var(--digitv2-spacers-spacer1);
|
|
274
|
+
padding: var(--digitv2-spacers-spacer2) var(--digitv2-spacers-spacer3);
|
|
275
275
|
|
|
276
276
|
|
|
277
277
|
.timeline-info{
|
|
278
278
|
.timeline-label{
|
|
279
|
-
color:
|
|
279
|
+
color: var(--digitv2-lightTheme-alert-error);
|
|
280
280
|
padding-top: 0rem;
|
|
281
281
|
}
|
|
282
282
|
.timeline-date{
|
|
283
|
-
color:
|
|
283
|
+
color: var(--digitv2-lightTheme-alert-error);
|
|
284
284
|
}
|
|
285
285
|
|
|
286
286
|
.timeline-divider {
|
|
287
|
-
border: 0.063rem solid
|
|
287
|
+
border: 0.063rem solid var(--digitv2-lightTheme-alert-error);
|
|
288
288
|
}
|
|
289
289
|
}
|
|
290
290
|
}
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
|
|
4
4
|
/*.digit-toast-success {
|
|
5
5
|
@apply fixed flex z-20 w-full max-w-full left-0 items-center;
|
|
6
|
-
bottom: -(
|
|
7
|
-
gap:
|
|
8
|
-
height:
|
|
9
|
-
padding:
|
|
10
|
-
background-color:
|
|
6
|
+
bottom: -(var(--digitv2-spacers-spacer12));
|
|
7
|
+
gap: var(--digitv2-spacers-spacer2);
|
|
8
|
+
height: var(--digitv2-spacers-spacer12);
|
|
9
|
+
padding: var(--digitv2-spacers-spacer3) var(--digitv2-spacers-spacer2) var(--digitv2-spacers-spacer3) var(--digitv2-spacers-spacer3) !important;
|
|
10
|
+
background-color: var(--digitv2-lightTheme-alert-success);
|
|
11
11
|
transition: bottom 0.5s ease;
|
|
12
12
|
|
|
13
13
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
&.digit-error {
|
|
32
|
-
background-color:
|
|
32
|
+
background-color: var(--digitv2-lightTheme-alert-error);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
&.digit-warning {
|
|
@@ -43,14 +43,14 @@
|
|
|
43
43
|
.toast-label {
|
|
44
44
|
@include typography-caption-s;
|
|
45
45
|
@apply text-left overflow-hidden whitespace-nowrap flex-grow flex items-center h-6;
|
|
46
|
-
letter-spacing:
|
|
47
|
-
color:
|
|
48
|
-
margin:
|
|
46
|
+
letter-spacing: var(--digitv2-spacers-spacer0);
|
|
47
|
+
color: var(--digitv2-lightTheme-paper-primary);
|
|
48
|
+
margin: var(--digitv2-spacers-spacer0);
|
|
49
49
|
text-overflow: ellipsis;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
&.digit-info {
|
|
53
|
-
background-color:
|
|
53
|
+
background-color: var(--digitv2-lightTheme-alert-info);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.digit-warning-button-container {
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
|
|
73
73
|
@keyframes slideInFromBottom {
|
|
74
74
|
from {
|
|
75
|
-
bottom: -(
|
|
75
|
+
bottom: -(var(--digitv2-spacers-spacer12));
|
|
76
76
|
}
|
|
77
77
|
to {
|
|
78
78
|
bottom: 4rem;
|
|
@@ -86,13 +86,14 @@
|
|
|
86
86
|
.digit-toast-success {
|
|
87
87
|
max-width: 100%;
|
|
88
88
|
width: auto;
|
|
89
|
-
gap:
|
|
90
|
-
height:
|
|
91
|
-
padding:
|
|
89
|
+
gap: var(--digitv2-spacers-spacer2);
|
|
90
|
+
height: var(--digitv2-spacers-spacer12);
|
|
91
|
+
padding: var(--digitv2-spacers-spacer3) var(--digitv2-spacers-spacer2) var(--digitv2-spacers-spacer3) var(--digitv2-spacers-spacer3) !important;
|
|
92
92
|
@apply fixed flex z-20 items-center;
|
|
93
|
-
background-color:
|
|
93
|
+
background-color: var(--digitv2-lightTheme-alert-success);
|
|
94
94
|
transition: bottom 0.5s ease;
|
|
95
95
|
left: 0;
|
|
96
|
+
border-radius: var(--digitv2-borderRadius-radius2);
|
|
96
97
|
|
|
97
98
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
98
99
|
min-width: 30rem;
|
|
@@ -107,15 +108,15 @@
|
|
|
107
108
|
}
|
|
108
109
|
|
|
109
110
|
&.digit-info {
|
|
110
|
-
background-color:
|
|
111
|
+
background-color: var(--digitv2-lightTheme-alert-info);
|
|
111
112
|
}
|
|
112
113
|
|
|
113
114
|
&.digit-error {
|
|
114
|
-
background-color:
|
|
115
|
+
background-color: var(--digitv2-lightTheme-alert-error);
|
|
115
116
|
}
|
|
116
117
|
|
|
117
118
|
&.digit-warning {
|
|
118
|
-
background-color:
|
|
119
|
+
background-color: var(--digitv2-lightTheme-alert-warning);
|
|
119
120
|
|
|
120
121
|
&.digit-warning-buttons {
|
|
121
122
|
@apply block;
|
|
@@ -141,9 +142,9 @@
|
|
|
141
142
|
.toast-label {
|
|
142
143
|
@include typography-caption-s;
|
|
143
144
|
@apply text-left overflow-hidden whitespace-nowrap flex-grow flex items-center h-6;
|
|
144
|
-
letter-spacing:
|
|
145
|
-
color:
|
|
146
|
-
margin:
|
|
145
|
+
letter-spacing: var(--digitv2-spacers-spacer0);
|
|
146
|
+
color: var(--digitv2-lightTheme-paper-primary);
|
|
147
|
+
margin: var(--digitv2-spacers-spacer0);
|
|
147
148
|
text-overflow: ellipsis;
|
|
148
149
|
}
|
|
149
150
|
}
|