@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
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@egovernments/digit-ui-components-css",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.css",
|
|
6
|
-
"author": "Jagankumar <jagan.kumar@
|
|
6
|
+
"author": "Jagankumar <jagan.kumar@egovernments.org>",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=14"
|
|
9
9
|
},
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
},
|
|
13
13
|
"scripts": {
|
|
14
14
|
"start": "gulp build",
|
|
15
|
+
"build": "cross-env NODE_ENV=production gulp build",
|
|
15
16
|
"build:prod": "NODE_ENV=production gulp build",
|
|
16
17
|
"prepublish": "yarn build:prod",
|
|
17
18
|
"publish:css-develop": "npm publish --tag core-v0.1",
|
|
@@ -23,13 +24,11 @@
|
|
|
23
24
|
"last 2 versions"
|
|
24
25
|
],
|
|
25
26
|
"style": "./dist/index.css",
|
|
26
|
-
"dependencies": {
|
|
27
|
+
"dependencies": {},
|
|
28
|
+
"devDependencies": {
|
|
27
29
|
"node-sass": "^4.14.1",
|
|
28
30
|
"normalize.css": "^8.0.1",
|
|
29
|
-
"
|
|
30
|
-
"tailwindcss": "^1.8.10"
|
|
31
|
-
},
|
|
32
|
-
"devDependencies": {
|
|
31
|
+
"tailwindcss": "^1.8.10",
|
|
33
32
|
"autoprefixer": "^10.0.0",
|
|
34
33
|
"cssnano": "^4.1.10",
|
|
35
34
|
"gh-pages": "3.1.0",
|
|
@@ -62,6 +61,7 @@
|
|
|
62
61
|
"egov",
|
|
63
62
|
"dpg",
|
|
64
63
|
"digit-ui",
|
|
65
|
-
"css"
|
|
64
|
+
"css",
|
|
65
|
+
"digit-ui-components"
|
|
66
66
|
]
|
|
67
67
|
}
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
.digit-accordion-title {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: flex-start;
|
|
4
|
+
cursor: pointer;
|
|
5
|
+
background-color: transparent;
|
|
6
|
+
gap: theme(digitv2.spacers.spacer3);
|
|
7
|
+
|
|
8
|
+
@media (max-aspect-ratio: 9/16) {
|
|
9
|
+
padding: theme(digitv2.spacers.spacer4);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
13
|
+
padding: theme(digitv2.spacers.spacer5);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@media (min-aspect-ratio: 3/4) {
|
|
17
|
+
padding: theme(digitv2.spacers.spacer6);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.digit-accordion-icon {
|
|
22
|
+
width: theme(digitv2.spacers.spacer6);
|
|
23
|
+
height: theme(digitv2.spacers.spacer6);
|
|
24
|
+
flex-shrink: 0;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.digit-accordion-number {
|
|
28
|
+
@extend .typography.heading-s;
|
|
29
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
30
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
31
|
+
font-weight: theme(digitv2.fontWeight.bold);
|
|
32
|
+
line-height: theme(digitv2.lineHeight.lineheight1);
|
|
33
|
+
|
|
34
|
+
@media (max-aspect-ratio: 9/16) {
|
|
35
|
+
/* Media query for mobile */
|
|
36
|
+
font-size: theme(digitv2.fontSize.heading-s.mobile);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
40
|
+
/* Media query for tablets */
|
|
41
|
+
font-size: theme(digitv2.fontSize.heading-s.tablet);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@media (min-aspect-ratio: 3/4) {
|
|
45
|
+
/* Media query for desktop */
|
|
46
|
+
font-size: theme(digitv2.fontSize.heading-s.desktop);
|
|
47
|
+
}
|
|
48
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
49
|
+
min-width: theme(digitv2.spacers.spacer6);
|
|
50
|
+
height: theme(digitv2.spacers.spacer6);
|
|
51
|
+
display: flex;
|
|
52
|
+
align-items: center;
|
|
53
|
+
justify-content: center
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.digit-accordion-header-title {
|
|
57
|
+
@extend .typography.heading-s;
|
|
58
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
59
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
60
|
+
font-weight: theme(digitv2.fontWeight.bold);
|
|
61
|
+
line-height: theme(digitv2.lineHeight.lineheight1);
|
|
62
|
+
|
|
63
|
+
@media (max-aspect-ratio: 9/16) {
|
|
64
|
+
/* Media query for mobile */
|
|
65
|
+
font-size: theme(digitv2.fontSize.heading-s.mobile);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
69
|
+
/* Media query for tablets */
|
|
70
|
+
font-size: theme(digitv2.fontSize.heading-s.tablet);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
@media (min-aspect-ratio: 3/4) {
|
|
74
|
+
/* Media query for desktop */
|
|
75
|
+
font-size: theme(digitv2.fontSize.heading-s.desktop);
|
|
76
|
+
}
|
|
77
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
78
|
+
margin-top: 0.18rem;
|
|
79
|
+
flex-grow: 1;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.digit-accordion-content {
|
|
83
|
+
max-height: 0;
|
|
84
|
+
overflow: hidden;
|
|
85
|
+
transition: max-height 0.3s ease, padding 0.3s ease;
|
|
86
|
+
background-color: transparent;
|
|
87
|
+
display: flex;
|
|
88
|
+
gap: 0.625rem;
|
|
89
|
+
flex-direction: column;
|
|
90
|
+
@extend .typography.body-s;
|
|
91
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
92
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
93
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
94
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
95
|
+
|
|
96
|
+
@media (max-aspect-ratio: 9/16) {
|
|
97
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
98
|
+
padding: 0rem theme(digitv2.spacers.spacer4);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
102
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
103
|
+
padding: 0rem theme(digitv2.spacers.spacer5);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
@media (min-aspect-ratio: 3/4) {
|
|
107
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
108
|
+
padding: 0rem theme(digitv2.spacers.spacer6);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.digit-accordion-content.open {
|
|
115
|
+
max-height: fit-content;
|
|
116
|
+
|
|
117
|
+
@media (max-aspect-ratio: 9/16) {
|
|
118
|
+
padding: theme(digitv2.spacers.spacer4);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
122
|
+
padding: theme(digitv2.spacers.spacer5);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
@media (min-aspect-ratio: 3/4) {
|
|
126
|
+
padding: theme(digitv2.spacers.spacer6);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.digit-accordion {
|
|
131
|
+
&.border {
|
|
132
|
+
border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&.borderRadius {
|
|
136
|
+
border-radius: theme(digitv2.spacers.spacer1);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
&.withDivider {
|
|
140
|
+
.digit-accordion-content.open{
|
|
141
|
+
border-top: 1px solid theme(digitv2.lightTheme.generic-divider);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
&.no-divider {
|
|
146
|
+
.digit-accordion-title {
|
|
147
|
+
padding-bottom: theme(digitv2.spacers.spacer0);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
&.cardBg {
|
|
152
|
+
background-color: theme(digitv2.lightTheme.paper-primary);
|
|
153
|
+
|
|
154
|
+
&.nested {
|
|
155
|
+
background-color: theme(digitv2.lightTheme.paper-secondary);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
@keyframes rotateOpen {
|
|
161
|
+
from {
|
|
162
|
+
transform: rotate(-180deg);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
to {
|
|
166
|
+
transform: rotate(-90deg);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
@keyframes rotateClose {
|
|
171
|
+
from {
|
|
172
|
+
transform: rotate(-90deg);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
to {
|
|
176
|
+
transform: rotate(-180deg);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.digit-accordion-toggle{
|
|
181
|
+
display: flex;
|
|
182
|
+
align-items: center;
|
|
183
|
+
width: theme(digitv2.spacers.spacer6);
|
|
184
|
+
height: theme(digitv2.spacers.spacer6);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.digit-accordion-toggle.animate-open svg {
|
|
188
|
+
animation: rotateOpen 0.5s ease forwards;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.digit-accordion-toggle.animate-close svg {
|
|
192
|
+
animation: rotateClose 0.5s ease forwards;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.digit-accordion-wrapper {
|
|
196
|
+
display: flex;
|
|
197
|
+
flex-direction: column;
|
|
198
|
+
|
|
199
|
+
@media (max-aspect-ratio: 9/16) {
|
|
200
|
+
gap: theme(digitv2.spacers.spacer4);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
204
|
+
gap: theme(digitv2.spacers.spacer5);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
@media (min-aspect-ratio: 3/4) {
|
|
208
|
+
gap: theme(digitv2.spacers.spacer6);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.digit-accordion-divider {
|
|
213
|
+
width: 100%;
|
|
214
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
@import url("../typography.scss");
|
|
3
3
|
|
|
4
4
|
.digit-infobanner-wrap {
|
|
5
|
-
@apply
|
|
5
|
+
@apply p-md flex flex-col;
|
|
6
6
|
top: theme(digitv2.spacers.spacer5);
|
|
7
7
|
left: theme(digitv2.spacers.spacer5);
|
|
8
8
|
gap: theme(digitv2.spacers.spacer2);
|
|
@@ -86,19 +86,16 @@
|
|
|
86
86
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
87
87
|
/* Media query for tablets */
|
|
88
88
|
max-width: 44.5rem;
|
|
89
|
-
min-width: 22.5rem;
|
|
90
89
|
}
|
|
91
90
|
|
|
92
91
|
@media (max-aspect-ratio: 9/16) {
|
|
93
92
|
/* Media query for mobile */
|
|
94
93
|
max-width: 21.5rem;
|
|
95
|
-
min-width: 15rem;
|
|
96
94
|
}
|
|
97
95
|
|
|
98
96
|
@media (min-aspect-ratio: 3/4) {
|
|
99
97
|
/* Media query for desktop */
|
|
100
98
|
max-width: 87rem;
|
|
101
|
-
min-width: 25rem;
|
|
102
99
|
}
|
|
103
100
|
|
|
104
101
|
&.inline {
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
.digit-bottom-sheet {
|
|
2
|
+
position: fixed;
|
|
3
|
+
left: 0;
|
|
4
|
+
right: 0;
|
|
5
|
+
bottom: 0;
|
|
6
|
+
transition: height 0.3s ease;
|
|
7
|
+
background-color: theme(digitv2.lightTheme.paper-primary);
|
|
8
|
+
box-shadow: theme(digitv2.spacers.spacer0) -0.063rem theme(digitv2.spacers.spacer1) -0.063rem #00000026;
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
border-radius: theme(digitv2.spacers.spacer3) theme(digitv2.spacers.spacer3) theme(digitv2.spacers.spacer0) theme(digitv2.spacers.spacer0);
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
|
|
14
|
+
&.full {
|
|
15
|
+
border-radius: theme(digitv2.spacers.spacer0);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.digit-bottom-sheet.closed {
|
|
20
|
+
&.actionsEnabled {
|
|
21
|
+
height: fit-content;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.digit-bottom-sheet-header {
|
|
26
|
+
display: flex;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
height: theme(digitv2.spacers.spacer10);
|
|
29
|
+
|
|
30
|
+
&.actionsEnabled {
|
|
31
|
+
height: theme(digitv2.spacers.spacer6);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.digit-bottom-sheet-drag-cursor {
|
|
36
|
+
position: absolute;
|
|
37
|
+
top: 0;
|
|
38
|
+
left: 50%;
|
|
39
|
+
transform: translateX(-50%);
|
|
40
|
+
width: 100%;
|
|
41
|
+
height: 100%;
|
|
42
|
+
background-color: transparent;
|
|
43
|
+
cursor: ns-resize;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.digit-bottom-sheet-handle-indicator {
|
|
47
|
+
width: 6.25rem;
|
|
48
|
+
height: 0.375rem;
|
|
49
|
+
border-radius: theme(digitv2.spacers.spacer1);
|
|
50
|
+
background-color: #D9D9D9;
|
|
51
|
+
margin: theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer0);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.digit-bottom-sheet-header{
|
|
55
|
+
&.full {
|
|
56
|
+
.digit-bottom-sheet-handle-indicator{
|
|
57
|
+
display: none;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.digit-bottom-sheet-content {
|
|
63
|
+
padding: theme(digitv2.spacers.spacer4);
|
|
64
|
+
overflow-y: scroll;
|
|
65
|
+
display: flex;
|
|
66
|
+
flex-direction: column;
|
|
67
|
+
height: 100%;
|
|
68
|
+
|
|
69
|
+
@media (max-aspect-ratio: 9/16) {
|
|
70
|
+
gap: theme(digitv2.spacers.spacer4);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
74
|
+
gap: theme(digitv2.spacers.spacer5);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
@media (min-aspect-ratio: 3/4) {
|
|
78
|
+
gap: theme(digitv2.spacers.spacer6);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.digit-bottom-sheet-actions {
|
|
83
|
+
padding: theme(digitv2.spacers.spacer4);
|
|
84
|
+
display: flex;
|
|
85
|
+
gap: theme(digitv2.spacers.spacer6);
|
|
86
|
+
background-color: #FFFFFF;
|
|
87
|
+
box-shadow: theme(digitv2.spacers.spacer0) 0.063rem 0.188rem 0.063rem #00000026;
|
|
88
|
+
box-shadow: theme(digitv2.spacers.spacer0) 0.063rem 0.125rem theme(digitv2.spacers.spacer0) #0000004D;
|
|
89
|
+
justify-content: flex-end;
|
|
90
|
+
|
|
91
|
+
&.equalButtons {
|
|
92
|
+
justify-content: flex-start;
|
|
93
|
+
|
|
94
|
+
button {
|
|
95
|
+
flex: 1;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
@media (max-aspect-ratio: 9/16) {
|
|
100
|
+
justify-content: flex-start;
|
|
101
|
+
|
|
102
|
+
button {
|
|
103
|
+
flex: 1;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.digit-bottom-sheet-content::-webkit-scrollbar {
|
|
109
|
+
width: 0.375rem;
|
|
110
|
+
background-color: theme(digitv2.lightTheme.generic-background);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.digit-bottom-sheet-content::-webkit-scrollbar-track {
|
|
114
|
+
background-color: theme(digitv2.lightTheme.generic-background);
|
|
115
|
+
border-radius: 0.563rem;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.digit-bottom-sheet-content::-webkit-scrollbar-thumb {
|
|
119
|
+
background-color: theme(digitv2.lightTheme.generic-divider);
|
|
120
|
+
border-radius: 0.563rem;
|
|
121
|
+
}
|
|
@@ -20,6 +20,25 @@
|
|
|
20
20
|
|
|
21
21
|
.digit-bread-crumb-content {
|
|
22
22
|
@extend .typography.body-s;
|
|
23
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
24
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
25
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
26
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
27
|
+
|
|
28
|
+
@media (max-aspect-ratio: 9/16) {
|
|
29
|
+
/* Media query for mobile */
|
|
30
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
34
|
+
/* Media query for tablets */
|
|
35
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@media (min-aspect-ratio: 3/4) {
|
|
39
|
+
/* Media query for desktop */
|
|
40
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
41
|
+
}
|
|
23
42
|
display: flex !important;
|
|
24
43
|
gap: theme(digitv2.spacers.spacer1);
|
|
25
44
|
cursor: pointer;
|
|
@@ -44,6 +63,25 @@
|
|
|
44
63
|
.digit-bread-crumb-content.current,
|
|
45
64
|
.digit-bread-crumb-seperator {
|
|
46
65
|
@extend .typography.body-s;
|
|
66
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
67
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
68
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
69
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
70
|
+
|
|
71
|
+
@media (max-aspect-ratio: 9/16) {
|
|
72
|
+
/* Media query for mobile */
|
|
73
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
77
|
+
/* Media query for tablets */
|
|
78
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
@media (min-aspect-ratio: 3/4) {
|
|
82
|
+
/* Media query for desktop */
|
|
83
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
84
|
+
}
|
|
47
85
|
color: theme(digitv2.lightTheme.text-secondary);
|
|
48
86
|
text-decoration: none;
|
|
49
87
|
cursor: default;
|
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
@apply flex max-w-full items-center;
|
|
5
5
|
gap: theme(digitv2.spacers.spacer2);
|
|
6
6
|
|
|
7
|
-
&.small
|
|
8
|
-
&.medium {
|
|
7
|
+
&.small{
|
|
9
8
|
gap: theme(digitv2.spacers.spacer1);
|
|
10
9
|
}
|
|
11
10
|
|
|
@@ -145,6 +144,9 @@
|
|
|
145
144
|
@apply bg-white;
|
|
146
145
|
box-shadow: theme(digitv2.spacers.spacer0) -0.125rem theme(digitv2.spacers.spacer0) theme(digitv2.spacers.spacer0) theme(digitv2.lightTheme.primary-1) inset, theme(digitv2.spacers.spacer0) theme(digitv2.spacers.spacer1) theme(digitv2.spacers.spacer1) theme(digitv2.spacers.spacer0) #C84C0E33;
|
|
147
146
|
|
|
147
|
+
h2 {
|
|
148
|
+
font-weight: theme(digitv2.fontWeight.bold);
|
|
149
|
+
}
|
|
148
150
|
}
|
|
149
151
|
|
|
150
152
|
h2 {
|
|
@@ -153,6 +155,10 @@
|
|
|
153
155
|
color: theme(digitv2.lightTheme.primary-1);
|
|
154
156
|
}
|
|
155
157
|
|
|
158
|
+
.digit-button-label{
|
|
159
|
+
color: theme(digitv2.lightTheme.primary-1);
|
|
160
|
+
}
|
|
161
|
+
|
|
156
162
|
&.disabled {
|
|
157
163
|
@apply opacity-50;
|
|
158
164
|
border: 0.063rem solid theme(digitv2.lightTheme.text-disabled);
|
|
@@ -165,7 +171,6 @@
|
|
|
165
171
|
&.large{
|
|
166
172
|
h2{
|
|
167
173
|
@apply h-5;
|
|
168
|
-
margin-top: 0.125rem;
|
|
169
174
|
}
|
|
170
175
|
}
|
|
171
176
|
|
|
@@ -190,8 +195,8 @@
|
|
|
190
195
|
@apply text-center cursor-pointer outline-none flex max-w-full items-center justify-center h-10;
|
|
191
196
|
background: none;
|
|
192
197
|
width: fit-content;
|
|
193
|
-
padding-left: theme(digitv2.spacers.
|
|
194
|
-
padding-right: theme(digitv2.spacers.
|
|
198
|
+
padding-left: theme(digitv2.spacers.spacer0);
|
|
199
|
+
padding-right: theme(digitv2.spacers.spacer0);
|
|
195
200
|
gap: theme(digitv2.spacers.spacer2);
|
|
196
201
|
min-width: 6.5625rem;
|
|
197
202
|
|
|
@@ -249,8 +254,8 @@
|
|
|
249
254
|
background: none;
|
|
250
255
|
width: fit-content;
|
|
251
256
|
height: fit-content;
|
|
252
|
-
padding-left: theme(digitv2.spacers.
|
|
253
|
-
padding-right: theme(digitv2.spacers.
|
|
257
|
+
padding-left: theme(digitv2.spacers.spacer0);
|
|
258
|
+
padding-right: theme(digitv2.spacers.spacer0);
|
|
254
259
|
gap: theme(digitv2.spacers.spacer2);
|
|
255
260
|
min-width: 4.875rem;
|
|
256
261
|
|
|
@@ -325,34 +330,44 @@
|
|
|
325
330
|
}
|
|
326
331
|
|
|
327
332
|
.digit-submit-bar {
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
333
|
+
@apply w-full text-center cursor-pointer outline-none flex max-w-full items-center justify-center h-10;
|
|
334
|
+
padding-left: theme(digitv2.spacers.spacer6);
|
|
335
|
+
padding-right: theme(digitv2.spacers.spacer6);
|
|
336
|
+
gap: theme(digitv2.spacers.spacer2);
|
|
337
|
+
min-width: 15rem;
|
|
331
338
|
background-color: theme(digitv2.lightTheme.primary-1);
|
|
332
339
|
|
|
333
|
-
&:focus {
|
|
334
|
-
@apply outline-none;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
340
|
h2 {
|
|
338
|
-
@
|
|
341
|
+
@extend .typography.button.large;
|
|
342
|
+
@apply text-white;
|
|
339
343
|
margin: 0;
|
|
340
|
-
|
|
344
|
+
width: 100%;
|
|
345
|
+
overflow: hidden;
|
|
346
|
+
white-space: nowrap;
|
|
347
|
+
text-overflow: ellipsis;
|
|
348
|
+
@apply h-5;
|
|
349
|
+
margin-top: 0.125rem;
|
|
341
350
|
}
|
|
342
|
-
}
|
|
343
351
|
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
352
|
+
&.disabled {
|
|
353
|
+
@apply opacity-50;
|
|
354
|
+
background: theme(digitv2.lightTheme.text-disabled);
|
|
355
|
+
}
|
|
347
356
|
|
|
348
357
|
&:focus {
|
|
349
358
|
@apply outline-none;
|
|
350
359
|
}
|
|
351
360
|
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
361
|
+
&:hover {
|
|
362
|
+
box-shadow: theme(digitv2.spacers.spacer0) -0.125rem theme(digitv2.spacers.spacer0) theme(digitv2.spacers.spacer0) theme(digitv2.lightTheme.text-primary) inset;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
&:active {
|
|
366
|
+
box-shadow: theme(digitv2.spacers.spacer0) -0.125rem theme(digitv2.spacers.spacer0) theme(digitv2.spacers.spacer0) #0B0C0C inset, theme(digitv2.spacers.spacer0) 0.063rem 0.175rem theme(digitv2.spacers.spacer0) #00000040;
|
|
367
|
+
|
|
368
|
+
h2 {
|
|
369
|
+
font-weight: theme(digitv2.fontWeight.bold);
|
|
370
|
+
}
|
|
356
371
|
}
|
|
357
372
|
}
|
|
358
373
|
|
|
@@ -394,14 +409,50 @@
|
|
|
394
409
|
}
|
|
395
410
|
}
|
|
396
411
|
|
|
397
|
-
|
|
412
|
+
.digit-submit-bar:focus {
|
|
413
|
+
@apply outline-none !important;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.digit-buttons-group {
|
|
417
|
+
display: flex;
|
|
418
|
+
flex-direction: row;
|
|
419
|
+
height: fit-content;
|
|
420
|
+
gap:theme(digitv2.spacers.spacer4);
|
|
421
|
+
|
|
422
|
+
@media (max-width: 30rem) {
|
|
423
|
+
flex-direction: column;
|
|
424
|
+
|
|
425
|
+
button{
|
|
426
|
+
width: 100%;
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
button{
|
|
431
|
+
flex: 1;
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.header-dropdown-container {
|
|
436
|
+
position: relative;
|
|
437
|
+
|
|
438
|
+
.header-dropdown-menu {
|
|
439
|
+
@apply absolute z-30;
|
|
440
|
+
bottom: theme(digitv2.spacers.spacer5);
|
|
441
|
+
right: 0;
|
|
442
|
+
max-height: unset;
|
|
443
|
+
margin-top: unset;
|
|
444
|
+
|
|
445
|
+
&.showBottom{
|
|
446
|
+
bottom: unset;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
@media (max-width: 30rem) {
|
|
450
|
+
width: 100% !important;
|
|
451
|
+
}
|
|
398
452
|
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
453
|
+
@media (max-width: 15.625rem) {
|
|
454
|
+
left:0 ;
|
|
455
|
+
}
|
|
402
456
|
}
|
|
403
457
|
}
|
|
404
458
|
|
|
405
|
-
.digit-submit-bar:focus {
|
|
406
|
-
@apply outline-none !important;
|
|
407
|
-
}
|