@egovernments/digit-ui-components-css 0.0.2-beta.7 → 0.2.0
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/CHANGELOG.md +154 -0
- package/README.md +11 -2
- package/dist/index.css +10295 -3600
- package/dist/index.min.css +3 -3
- package/package.json +8 -8
- package/src/digitv2/components/accordionV2.scss +214 -0
- package/src/digitv2/components/{infoCardV2.scss → alertCardV2.scss} +1 -4
- package/src/digitv2/components/backLinkV2.scss +1 -1
- package/src/digitv2/components/bottomSheetV2.scss +121 -0
- package/src/digitv2/components/breadcrumbV2.scss +38 -0
- package/src/digitv2/components/buttonsV2.scss +82 -31
- package/src/digitv2/components/cardV2.scss +498 -0
- package/src/digitv2/components/cardbasedoptionsV2.scss +47 -0
- package/src/digitv2/components/cardlabelV2.scss +8 -0
- package/src/digitv2/components/checkboxV2.scss +54 -6
- package/src/digitv2/components/chipV2.scss +39 -0
- package/src/digitv2/components/dividerV2.scss +13 -0
- package/src/digitv2/components/errorMessageV2.scss +29 -8
- package/src/digitv2/components/fieldV1.scss +47 -2
- package/src/digitv2/components/{uploaderV2.scss → fileUploadV2.scss} +209 -22
- package/src/digitv2/components/filterCardV2.scss +417 -0
- package/src/digitv2/components/footerV2.scss +208 -0
- package/src/digitv2/components/formCardV2.scss +234 -0
- package/src/digitv2/components/hamburgerV2.scss +555 -0
- package/src/digitv2/components/headerV2.scss +426 -0
- package/src/digitv2/components/headerdropdownV2.scss +233 -0
- package/src/digitv2/components/labelFieldPairV2.scss +37 -11
- package/src/digitv2/components/landingpagecardV2.scss +278 -0
- package/src/digitv2/components/loaderV2.scss +47 -0
- package/src/digitv2/components/menuCardV2.scss +116 -0
- package/src/digitv2/components/metricCardV2.scss +151 -0
- package/src/digitv2/components/mobileNumberV2.scss +1 -1
- package/src/digitv2/components/multiSelectDropdownV2.scss +219 -8
- package/src/digitv2/components/otpInputV2.scss +99 -0
- package/src/digitv2/components/panelCardV2.scss +19 -0
- package/src/digitv2/components/panelV2.scss +19 -0
- package/src/digitv2/components/popUpV2.scss +86 -2
- package/src/digitv2/components/radiobtnV2.scss +35 -6
- package/src/digitv2/components/selectDropdownV2.scss +257 -13
- package/src/digitv2/components/selectionTagV2.scss +102 -0
- package/src/digitv2/components/sidePanelV2.scss +222 -0
- package/src/digitv2/components/sidenavV2.scss +516 -0
- package/src/digitv2/components/stepperV2.scss +106 -6
- package/src/digitv2/components/summaryCardFieldPairV2.scss +83 -0
- package/src/digitv2/components/summaryCardV2.scss +100 -0
- package/src/digitv2/components/switchV2.scss +112 -0
- package/src/digitv2/components/tabV2.scss +126 -0
- package/src/digitv2/components/tableV2.scss +697 -0
- package/src/digitv2/components/tagV2.scss +108 -0
- package/src/digitv2/components/textInputV2.scss +5 -3
- package/src/digitv2/components/textareaV2.scss +1 -1
- package/src/digitv2/components/textblockV2.scss +38 -0
- package/src/digitv2/components/timelineV2.scss +144 -14
- package/src/digitv2/components/toastV2.scss +79 -1
- package/src/digitv2/components/toggleV2.scss +38 -0
- package/src/digitv2/components/tooltipwrapperV2.scss +365 -0
- package/src/digitv2/components/treeSelectV2.scss +58 -1
- package/src/digitv2/index.scss +171 -5
- package/src/digitv2/pages/employee/workbench.scss +9 -9
- package/src/digitv2/typography.scss +24 -9
- package/src/index.scss +0 -4
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
.digit-tag-wrapper {
|
|
2
|
+
|
|
3
|
+
border-radius: theme(digitv2.spacers.spacer1);
|
|
4
|
+
padding: theme(digitv2.spacers.spacer1) theme(digitv2.spacers.spacer3);
|
|
5
|
+
gap: 0.625rem;
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
width: fit-content;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
|
|
11
|
+
&.left {
|
|
12
|
+
justify-content: flex-start;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&.right {
|
|
16
|
+
justify-content: flex-end;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
svg {
|
|
20
|
+
flex-shrink: 0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&.success {
|
|
24
|
+
background-color: theme(digitv2.lightTheme.alert-successbg);
|
|
25
|
+
|
|
26
|
+
.digit-tag-text {
|
|
27
|
+
color: theme(digitv2.lightTheme.alert-success);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&.error {
|
|
32
|
+
background-color: theme(digitv2.lightTheme.alert-errorbg);
|
|
33
|
+
|
|
34
|
+
.digit-tag-text {
|
|
35
|
+
color: theme(digitv2.lightTheme.alert-error);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&.warning {
|
|
40
|
+
background-color: theme(digitv2.lightTheme.alert-warning-bg);
|
|
41
|
+
|
|
42
|
+
.digit-tag-text {
|
|
43
|
+
color: theme(digitv2.lightTheme.alert-warning);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&.monochrome {
|
|
48
|
+
background-color: theme(digitv2.lightTheme.paper-secondary);
|
|
49
|
+
|
|
50
|
+
.digit-tag-text {
|
|
51
|
+
color: theme(digitv2.lightTheme.primary-2);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
&.stroke {
|
|
57
|
+
&.success {
|
|
58
|
+
border: 0.031rem solid theme(digitv2.lightTheme.alert-success);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&.error {
|
|
62
|
+
border: 0.031rem solid theme(digitv2.lightTheme.alert-error);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&.warning {
|
|
66
|
+
border: 0.031rem solid theme(digitv2.lightTheme.alert-warning);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&.monochrome {
|
|
70
|
+
border: 0.031rem solid theme(digitv2.lightTheme.primary-2);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.digit-tag-customIcon {
|
|
75
|
+
width: theme(digitv2.spacers.spacer4);
|
|
76
|
+
height: theme(digitv2.spacers.spacer4);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.digit-tag-text {
|
|
80
|
+
@extend .typography.body-s;
|
|
81
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
82
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
83
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
84
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
85
|
+
|
|
86
|
+
@media (max-aspect-ratio: 9/16) {
|
|
87
|
+
/* Media query for mobile */
|
|
88
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
92
|
+
/* Media query for tablets */
|
|
93
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
@media (min-aspect-ratio: 3/4) {
|
|
97
|
+
/* Media query for desktop */
|
|
98
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&.cp {
|
|
103
|
+
&:hover {
|
|
104
|
+
box-shadow: 0rem 0.063rem 0.188rem 0.063rem #00000026;
|
|
105
|
+
box-shadow: 0rem 0.063rem 0.125rem 0rem #0000004D;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
@@ -102,6 +102,8 @@
|
|
|
102
102
|
input[type="time"]:disabled::-webkit-calendar-picker-indicator {
|
|
103
103
|
@apply absolute cursor-pointer w-6 h-6;
|
|
104
104
|
right: theme(digitv2.spacers.spacer3);
|
|
105
|
+
top: 50%;
|
|
106
|
+
transform: translateY(-50%);
|
|
105
107
|
}
|
|
106
108
|
|
|
107
109
|
input[type="date"]:disabled::-webkit-calendar-picker-indicator,
|
|
@@ -139,13 +141,13 @@
|
|
|
139
141
|
pointer-events: none !important;
|
|
140
142
|
border: 0.063rem solid theme(digitv2.lightTheme.generic-inputborder);
|
|
141
143
|
background: theme(digitv2.lightTheme.generic-background);
|
|
142
|
-
color: theme(digitv2.lightTheme.text-
|
|
144
|
+
color: theme(digitv2.lightTheme.text-secondary);
|
|
143
145
|
}
|
|
144
146
|
|
|
145
147
|
input {
|
|
146
148
|
border: 0.063rem solid theme(digitv2.lightTheme.generic-inputborder);
|
|
147
149
|
background: theme(digitv2.lightTheme.generic-background);
|
|
148
|
-
color: theme(digitv2.lightTheme.text-
|
|
150
|
+
color: theme(digitv2.lightTheme.text-secondary);
|
|
149
151
|
}
|
|
150
152
|
|
|
151
153
|
.digit-numeric-button-prefix,
|
|
@@ -380,7 +382,7 @@
|
|
|
380
382
|
|
|
381
383
|
@media (max-aspect-ratio: 9/16) {
|
|
382
384
|
/* Media query for mobile */
|
|
383
|
-
max-width:
|
|
385
|
+
max-width: 100%;
|
|
384
386
|
width: 100%;
|
|
385
387
|
}
|
|
386
388
|
|
|
@@ -35,6 +35,25 @@
|
|
|
35
35
|
|
|
36
36
|
.digit-text-block-subheader {
|
|
37
37
|
@extend .typography.heading-m;
|
|
38
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
39
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
40
|
+
font-weight: theme(digitv2.fontWeight.bold);
|
|
41
|
+
line-height: theme(digitv2.lineHeight.lineheight1);
|
|
42
|
+
|
|
43
|
+
@media (max-aspect-ratio: 9/16) {
|
|
44
|
+
/* Media query for mobile */
|
|
45
|
+
font-size: theme(digitv2.fontSize.heading-m.mobile);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
49
|
+
/* Media query for tablets */
|
|
50
|
+
font-size: theme(digitv2.fontSize.heading-m.tablet);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@media (min-aspect-ratio: 3/4) {
|
|
54
|
+
/* Media query for desktop */
|
|
55
|
+
font-size: theme(digitv2.fontSize.heading-m.desktop);
|
|
56
|
+
}
|
|
38
57
|
color: theme(digitv2.lightTheme.text-secondary);
|
|
39
58
|
line-height: normal;
|
|
40
59
|
}
|
|
@@ -42,6 +61,25 @@
|
|
|
42
61
|
|
|
43
62
|
.digit-text-block-body {
|
|
44
63
|
@extend .typography.body-s;
|
|
64
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
65
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
66
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
67
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
68
|
+
|
|
69
|
+
@media (max-aspect-ratio: 9/16) {
|
|
70
|
+
/* Media query for mobile */
|
|
71
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
75
|
+
/* Media query for tablets */
|
|
76
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@media (min-aspect-ratio: 3/4) {
|
|
80
|
+
/* Media query for desktop */
|
|
81
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
82
|
+
}
|
|
45
83
|
color: theme(digitv2.lightTheme.generic-inputborder);
|
|
46
84
|
}
|
|
47
85
|
}
|
|
@@ -56,6 +56,25 @@
|
|
|
56
56
|
|
|
57
57
|
.timeline-label {
|
|
58
58
|
@extend .typography.heading-s;
|
|
59
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
60
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
61
|
+
font-weight: theme(digitv2.fontWeight.bold);
|
|
62
|
+
line-height: theme(digitv2.lineHeight.lineheight1);
|
|
63
|
+
|
|
64
|
+
@media (max-aspect-ratio: 9/16) {
|
|
65
|
+
/* Media query for mobile */
|
|
66
|
+
font-size: theme(digitv2.fontSize.heading-s.mobile);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
70
|
+
/* Media query for tablets */
|
|
71
|
+
font-size: theme(digitv2.fontSize.heading-s.tablet);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@media (min-aspect-ratio: 3/4) {
|
|
75
|
+
/* Media query for desktop */
|
|
76
|
+
font-size: theme(digitv2.fontSize.heading-s.desktop);
|
|
77
|
+
}
|
|
59
78
|
@apply whitespace-normal h-auto text-left;
|
|
60
79
|
color: theme(digitv2.lightTheme.text-primary);
|
|
61
80
|
word-break: break-word;
|
|
@@ -65,10 +84,33 @@
|
|
|
65
84
|
/* Media query for mobile */
|
|
66
85
|
padding-top: 0.164rem;
|
|
67
86
|
}
|
|
87
|
+
|
|
88
|
+
&.upcoming{
|
|
89
|
+
color:theme(digitv2.lightTheme.text-secondary);
|
|
90
|
+
}
|
|
68
91
|
}
|
|
69
92
|
|
|
70
93
|
.timeline-date {
|
|
71
94
|
@extend .typography.body-s;
|
|
95
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
96
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
97
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
98
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
99
|
+
|
|
100
|
+
@media (max-aspect-ratio: 9/16) {
|
|
101
|
+
/* Media query for mobile */
|
|
102
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
106
|
+
/* Media query for tablets */
|
|
107
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
@media (min-aspect-ratio: 3/4) {
|
|
111
|
+
/* Media query for desktop */
|
|
112
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
113
|
+
}
|
|
72
114
|
@apply text-left;
|
|
73
115
|
color: theme(digitv2.lightTheme.text-secondary);
|
|
74
116
|
}
|
|
@@ -82,15 +124,59 @@
|
|
|
82
124
|
.timeline-additional-elements-inline {
|
|
83
125
|
@apply flex flex-wrap items-start;
|
|
84
126
|
gap: theme(digitv2.spacers.spacer4);
|
|
127
|
+
@extend .typography.body-s;
|
|
128
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
129
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
130
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
131
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
132
|
+
|
|
133
|
+
@media (max-aspect-ratio: 9/16) {
|
|
134
|
+
/* Media query for mobile */
|
|
135
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
139
|
+
/* Media query for tablets */
|
|
140
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
@media (min-aspect-ratio: 3/4) {
|
|
144
|
+
/* Media query for desktop */
|
|
145
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
146
|
+
}
|
|
85
147
|
}
|
|
86
148
|
|
|
87
149
|
.timeline-additional-elements-column {
|
|
88
150
|
@apply flex flex-col items-start;
|
|
151
|
+
@extend .typography.body-s;
|
|
152
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
153
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
154
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
155
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
156
|
+
|
|
157
|
+
@media (max-aspect-ratio: 9/16) {
|
|
158
|
+
/* Media query for mobile */
|
|
159
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
163
|
+
/* Media query for tablets */
|
|
164
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
@media (min-aspect-ratio: 3/4) {
|
|
168
|
+
/* Media query for desktop */
|
|
169
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
170
|
+
}
|
|
89
171
|
gap: theme(digitv2.spacers.spacer4);
|
|
90
172
|
|
|
91
173
|
.timeline-individual-element {
|
|
92
174
|
@apply w-full max-w-full;
|
|
93
175
|
|
|
176
|
+
&.hidden{
|
|
177
|
+
display: none;
|
|
178
|
+
}
|
|
179
|
+
|
|
94
180
|
}
|
|
95
181
|
}
|
|
96
182
|
|
|
@@ -98,15 +184,6 @@ img {
|
|
|
98
184
|
@apply max-w-full;
|
|
99
185
|
}
|
|
100
186
|
|
|
101
|
-
.details-btn {
|
|
102
|
-
@extend .typography.link;
|
|
103
|
-
@apply text-left;
|
|
104
|
-
background-color: transparent;
|
|
105
|
-
border: none;
|
|
106
|
-
color: theme(digitv2.lightTheme.primary-1);
|
|
107
|
-
padding: theme(digitv2.spacers.spacer0);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
187
|
/* Circle Variants */
|
|
111
188
|
.timeline-circle,
|
|
112
189
|
.timeline-circle.upcoming {
|
|
@@ -118,7 +195,7 @@ img {
|
|
|
118
195
|
border: 0.125rem solid theme(digitv2.lightTheme.primary-1);
|
|
119
196
|
}
|
|
120
197
|
|
|
121
|
-
.timeline-circle.inprogress::after {
|
|
198
|
+
.timeline-circle.inprogress:not(.error)::after {
|
|
122
199
|
@apply absolute w-4 h-4;
|
|
123
200
|
content: '';
|
|
124
201
|
top: 50%;
|
|
@@ -133,9 +210,7 @@ img {
|
|
|
133
210
|
}
|
|
134
211
|
}
|
|
135
212
|
|
|
136
|
-
.timeline-circle
|
|
137
|
-
background-color: theme(digitv2.lightTheme.primary-1);
|
|
138
|
-
|
|
213
|
+
.timeline-circle{
|
|
139
214
|
.check-icon {
|
|
140
215
|
@apply w-6 h-6 absolute;
|
|
141
216
|
top: 50%;
|
|
@@ -150,10 +225,65 @@ img {
|
|
|
150
225
|
}
|
|
151
226
|
}
|
|
152
227
|
|
|
228
|
+
.timeline-circle.completed {
|
|
229
|
+
background-color: theme(digitv2.lightTheme.primary-1);
|
|
230
|
+
}
|
|
231
|
+
|
|
153
232
|
.digit-timeline-molecule{
|
|
154
233
|
@apply max-h-full;
|
|
234
|
+
|
|
235
|
+
.timeline-content:not(.lastTimeline){
|
|
236
|
+
|
|
237
|
+
@media (min-aspect-ratio: 3/4) {
|
|
238
|
+
/* Media query for desktop */
|
|
239
|
+
margin-bottom: theme(digitv2.spacers.spacer6);
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
243
|
+
/* Media query for tablets */
|
|
244
|
+
margin-bottom: theme(digitv2.spacers.spacer5);
|
|
245
|
+
}
|
|
246
|
+
@media (max-aspect-ratio: 9/16) {
|
|
247
|
+
/* Media query for mobile */
|
|
248
|
+
margin-bottom: theme(digitv2.spacers.spacer4);
|
|
249
|
+
}
|
|
250
|
+
}
|
|
155
251
|
}
|
|
156
252
|
|
|
157
|
-
.view-more-container {
|
|
253
|
+
.view-more-past-container {
|
|
158
254
|
margin-top: theme(digitv2.spacers.spacer4);
|
|
159
255
|
}
|
|
256
|
+
|
|
257
|
+
.view-more-future-container {
|
|
258
|
+
margin-bottom: theme(digitv2.spacers.spacer4);
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.digit-timeline-item {
|
|
262
|
+
&.error{
|
|
263
|
+
|
|
264
|
+
.timeline-circle{
|
|
265
|
+
background-color: theme(digitv2.lightTheme.alert-error);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.timeline-content{
|
|
269
|
+
background-color: theme(digitv2.lightTheme.alert-errorbg);
|
|
270
|
+
border-radius: theme(digitv2.spacers.spacer1);
|
|
271
|
+
padding: theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer3);
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
.timeline-info{
|
|
275
|
+
.timeline-label{
|
|
276
|
+
color: theme(digitv2.lightTheme.alert-error);
|
|
277
|
+
padding-top: 0rem;
|
|
278
|
+
}
|
|
279
|
+
.timeline-date{
|
|
280
|
+
color: theme(digitv2.lightTheme.alert-error);
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.timeline-divider {
|
|
284
|
+
border: 0.063rem solid theme(digitv2.lightTheme.alert-error);
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/*.digit-toast-success {
|
|
2
2
|
@apply fixed flex z-20 w-full max-w-full left-0 items-center;
|
|
3
3
|
bottom: -(theme(digitv2.spacers.spacer12));
|
|
4
4
|
gap: theme(digitv2.spacers.spacer2);
|
|
@@ -76,6 +76,84 @@
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
+
.digit-toast-success.animate {
|
|
80
|
+
animation: slideInFromBottom 0.5s ease forwards;
|
|
81
|
+
}*/
|
|
82
|
+
|
|
83
|
+
.digit-toast-success {
|
|
84
|
+
max-width: 100%;
|
|
85
|
+
width: auto;
|
|
86
|
+
gap: theme(digitv2.spacers.spacer2);
|
|
87
|
+
height: theme(digitv2.spacers.spacer12);
|
|
88
|
+
padding: theme(digitv2.spacers.spacer3) theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer3) theme(digitv2.spacers.spacer3) !important;
|
|
89
|
+
@apply fixed flex z-20 items-center;
|
|
90
|
+
background-color: theme(digitv2.lightTheme.alert-success);
|
|
91
|
+
transition: bottom 0.5s ease;
|
|
92
|
+
left: 0;
|
|
93
|
+
|
|
94
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
95
|
+
min-width: 30rem;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
@media (max-aspect-ratio: 9/16) {
|
|
99
|
+
@apply w-full min-w-full;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
@media (min-aspect-ratio: 3/4){
|
|
103
|
+
min-width: 50rem;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&.digit-info {
|
|
107
|
+
background-color: theme(digitv2.lightTheme.alert-info);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
&.digit-error {
|
|
111
|
+
background-color: theme(digitv2.lightTheme.alert-error);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&.digit-warning {
|
|
115
|
+
background-color: theme(digitv2.lightTheme.alert-warning);
|
|
116
|
+
|
|
117
|
+
&.digit-warning-buttons {
|
|
118
|
+
@apply block;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.digit-warning-button-container {
|
|
123
|
+
@apply w-full flex justify-end;
|
|
124
|
+
|
|
125
|
+
button {
|
|
126
|
+
margin-left: 0.625rem;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.digit-toast-sub-container {
|
|
131
|
+
@apply flex;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
svg {
|
|
135
|
+
@apply flex-shrink-0;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.toast-label {
|
|
139
|
+
@extend .typography.caption-s;
|
|
140
|
+
@apply text-left overflow-hidden whitespace-no-wrap flex-grow flex items-center h-6;
|
|
141
|
+
letter-spacing: theme(digitv2.spacers.spacer0);
|
|
142
|
+
color: theme(digitv2.lightTheme.paper-primary);
|
|
143
|
+
margin: theme(digitv2.spacers.spacer0);
|
|
144
|
+
text-overflow: ellipsis;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
@keyframes slideInFromBottom {
|
|
149
|
+
from {
|
|
150
|
+
bottom: -100%;
|
|
151
|
+
}
|
|
152
|
+
to {
|
|
153
|
+
bottom: 4rem;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
79
157
|
.digit-toast-success.animate {
|
|
80
158
|
animation: slideInFromBottom 0.5s ease forwards;
|
|
81
159
|
}
|
|
@@ -46,6 +46,25 @@
|
|
|
46
46
|
|
|
47
47
|
input:checked+.digit-toggle-label {
|
|
48
48
|
@extend .typography.heading-s;
|
|
49
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
50
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
51
|
+
font-weight: theme(digitv2.fontWeight.bold);
|
|
52
|
+
line-height: theme(digitv2.lineHeight.lineheight1);
|
|
53
|
+
|
|
54
|
+
@media (max-aspect-ratio: 9/16) {
|
|
55
|
+
/* Media query for mobile */
|
|
56
|
+
font-size: theme(digitv2.fontSize.heading-s.mobile);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
60
|
+
/* Media query for tablets */
|
|
61
|
+
font-size: theme(digitv2.fontSize.heading-s.tablet);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@media (min-aspect-ratio: 3/4) {
|
|
65
|
+
/* Media query for desktop */
|
|
66
|
+
font-size: theme(digitv2.fontSize.heading-s.desktop);
|
|
67
|
+
}
|
|
49
68
|
background-color: theme(digitv2.lightTheme.primary-1);
|
|
50
69
|
color: theme(digitv2.lightTheme.paper-primary) !important;
|
|
51
70
|
}
|
|
@@ -57,6 +76,25 @@
|
|
|
57
76
|
|
|
58
77
|
.digit-toggle-label {
|
|
59
78
|
@extend .typography.heading-s;
|
|
79
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
80
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
81
|
+
font-weight: theme(digitv2.fontWeight.bold);
|
|
82
|
+
line-height: theme(digitv2.lineHeight.lineheight1);
|
|
83
|
+
|
|
84
|
+
@media (max-aspect-ratio: 9/16) {
|
|
85
|
+
/* Media query for mobile */
|
|
86
|
+
font-size: theme(digitv2.fontSize.heading-s.mobile);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
90
|
+
/* Media query for tablets */
|
|
91
|
+
font-size: theme(digitv2.fontSize.heading-s.tablet);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
@media (min-aspect-ratio: 3/4) {
|
|
95
|
+
/* Media query for desktop */
|
|
96
|
+
font-size: theme(digitv2.fontSize.heading-s.desktop);
|
|
97
|
+
}
|
|
60
98
|
color: theme(digitv2.lightTheme.paper-primary);
|
|
61
99
|
}
|
|
62
100
|
}
|