@egovernments/digit-ui-components-css 0.0.2-beta.1 → 0.0.2-beta.10
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 +30 -0
- package/dist/index.css +5255 -14168
- package/dist/index.min.css +2 -2
- package/package.json +4 -2
- package/src/digitv2/components/backLinkV2.scss +37 -0
- package/src/digitv2/components/breadcrumbV2.scss +57 -0
- package/src/digitv2/components/buttonsV2.scss +19 -0
- package/src/digitv2/components/cardV2.scss +367 -265
- package/src/digitv2/components/cardbasedoptionsV2.scss +47 -0
- package/src/digitv2/components/checkboxV2.scss +4 -0
- package/src/digitv2/components/{tagV2.scss → chipV2.scss} +9 -0
- package/src/digitv2/components/dividerV2.scss +11 -0
- package/src/digitv2/components/{ErrorMessage.scss → errorMessageV2.scss} +2 -0
- package/src/digitv2/components/fieldV1.scss +1 -1
- package/src/digitv2/components/infoCardV2.scss +1 -4
- package/src/digitv2/components/labelFieldPairV2.scss +20 -11
- package/src/digitv2/components/mobileNumberV2.scss +1 -1
- package/src/digitv2/components/multiSelectDropdownV2.scss +1 -1
- package/src/digitv2/components/popUpV2.scss +18 -7
- package/src/digitv2/components/radiobtnV2.scss +6 -4
- package/src/digitv2/components/{selectdropdownV2.scss → selectDropdownV2.scss} +7 -3
- package/src/digitv2/components/{stepper.scss → stepperV2.scss} +30 -9
- package/src/digitv2/components/textInputV2.scss +1 -1
- package/src/digitv2/components/textareaV2.scss +1 -1
- package/src/digitv2/components/{timeline.scss → timelineV2.scss} +35 -3
- package/src/digitv2/components/{uploader.scss → uploaderV2.scss} +98 -10
- package/src/digitv2/components/viewCardFieldPairV2.scss +45 -0
- package/src/digitv2/index.scss +22 -51
- package/src/digitv2/typography.scss +1 -20
- package/src/index.scss +3 -96
- package/src/pages/employee/index.scss +1 -1
- package/img/browser-icon.png +0 -0
- package/img/m_seva_white_logo.png +0 -0
- package/img/mseva-demo.png +0 -0
- package/src/components/CardBasedOptions.scss +0 -46
- package/src/components/CitizenHomeCard.scss +0 -56
- package/src/components/EllipsisMenu.scss +0 -17
- package/src/components/EventCalendarView.scss +0 -10
- package/src/components/FAQ.scss +0 -64
- package/src/components/OnGroundEventCard.scss +0 -72
- package/src/components/PageBasedInput.scss +0 -29
- package/src/components/PopupHeadingLabel.scss +0 -15
- package/src/components/PropertySearchForm.scss +0 -58
- package/src/components/SearchForm.scss +0 -56
- package/src/components/SearchOnRadioButton.scss +0 -10
- package/src/components/StandaloneSearchBar.scss +0 -10
- package/src/components/TimeLine.scss +0 -68
- package/src/components/WhatsNewCard.scss +0 -13
- package/src/components/actionLink.scss +0 -3
- package/src/components/actionbar.scss +0 -97
- package/src/components/bannercomponents.scss +0 -136
- package/src/components/body.scss +0 -144
- package/src/components/buttons.scss +0 -101
- package/src/components/card.scss +0 -391
- package/src/components/cardHeaderWithOptions.scss +0 -14
- package/src/components/changeLanguage.scss +0 -3
- package/src/components/charts.scss +0 -186
- package/src/components/checkbox.scss +0 -53
- package/src/components/checkpoint.scss +0 -63
- package/src/components/citizenInfoLabel.scss +0 -14
- package/src/components/custombtn.scss +0 -11
- package/src/components/datatable.scss +0 -134
- package/src/components/datewrap.scss +0 -21
- package/src/components/detailscard.scss +0 -6
- package/src/components/detailscontainer.scss +0 -13
- package/src/components/filters.scss +0 -98
- package/src/components/grey.scss +0 -3
- package/src/components/hoc/InboxComposer.scss +0 -115
- package/src/components/hoc/index.scss +0 -1
- package/src/components/howItWorks.scss +0 -71
- package/src/components/imageviewer.scss +0 -33
- package/src/components/inboxv2/InboxLinks.scss +0 -59
- package/src/components/inboxv2/horizontalNav.scss +0 -224
- package/src/components/inboxv2/inboxSearch.scss +0 -116
- package/src/components/inboxv2/inboxSearchComposer.scss +0 -134
- package/src/components/inboxv2/index.scss +0 -5
- package/src/components/inboxv2/searchComponentTable.scss +0 -44
- package/src/components/info-banner.scss +0 -35
- package/src/components/inputotp.scss +0 -15
- package/src/components/keynote.scss +0 -27
- package/src/components/languageSelector.scss +0 -24
- package/src/components/loader.scss +0 -96
- package/src/components/map.scss +0 -30
- package/src/components/menu.scss +0 -0
- package/src/components/metricsTable.scss +0 -28
- package/src/components/multiLink.scss +0 -88
- package/src/components/multiSelectDropdown.scss +0 -77
- package/src/components/navbar.scss +0 -312
- package/src/components/plusMinus.scss +0 -15
- package/src/components/popup.scss +0 -16
- package/src/components/radiobtn.scss +0 -45
- package/src/components/ratingstar.scss +0 -33
- package/src/components/roundedLabel.scss +0 -10
- package/src/components/searchAction.scss +0 -20
- package/src/components/sectionalDropdown.scss +0 -43
- package/src/components/selectdropdown.scss +0 -174
- package/src/components/sidebar.scss +0 -141
- package/src/components/staticDynamicMessages.scss +0 -107
- package/src/components/staticSideBar.scss +0 -27
- package/src/components/statushighlight.scss +0 -17
- package/src/components/submiterrors.scss +0 -11
- package/src/components/summary.scss +0 -29
- package/src/components/table.scss +0 -201
- package/src/components/tag.scss +0 -27
- package/src/components/telephone.scss +0 -17
- package/src/components/textfields.scss +0 -96
- package/src/components/toast.scss +0 -31
- package/src/components/toggleSwitch.scss +0 -41
- package/src/components/topbar.scss +0 -153
- package/src/components/uploadcomponents.scss +0 -100
- package/src/digitv2/components/CitizenHomeCardV2.scss +0 -56
- package/src/digitv2/components/PageBasedInputV2.scss +0 -33
- package/src/digitv2/components/WhatsNewCardV2.scss +0 -13
- package/src/digitv2/components/actionLinkV2.scss +0 -9
- package/src/digitv2/components/actionbarV2.scss +0 -110
- package/src/digitv2/components/appContainerV2.scss +0 -49
- package/src/digitv2/components/backButtonV2.scss +0 -26
- package/src/digitv2/components/bannerV2.scss +0 -120
- package/src/digitv2/components/breadCrumbV2.scss +0 -34
- package/src/digitv2/components/breakLineV2.scss +0 -6
- package/src/digitv2/components/cardBasedOptionsV2.scss +0 -46
- package/src/digitv2/components/checkpointV2.scss +0 -71
- package/src/digitv2/components/collapseAndExpandGroups.scss +0 -60
- package/src/digitv2/components/dateWrapV2.scss +0 -17
- package/src/digitv2/components/detailsCardV2.scss +0 -17
- package/src/digitv2/components/displayPhotosV2.scss +0 -33
- package/src/digitv2/components/footerV2.scss +0 -55
- package/src/digitv2/components/headerBarV2.scss +0 -34
- package/src/digitv2/components/headerV2.scss +0 -12
- package/src/digitv2/components/keynoteV2.scss +0 -35
- package/src/digitv2/components/loaderV2.scss +0 -85
- package/src/digitv2/components/modalV2.scss +0 -46
- package/src/digitv2/components/multiUploadWrapperV2.scss +0 -6
- package/src/digitv2/components/navbarV2.scss +0 -9
- package/src/digitv2/components/noresultsfoundV2.scss +0 -11
- package/src/digitv2/components/numeric.scss +0 -47
- package/src/digitv2/components/otpInputV2.scss +0 -15
- package/src/digitv2/components/paragraphV2.scss +0 -5
- package/src/digitv2/components/ratingV2.scss +0 -33
- package/src/digitv2/components/searchActionV2.scss +0 -11
- package/src/digitv2/components/searchFormV2.scss +0 -76
- package/src/digitv2/components/searchcomponent.scss +0 -7
- package/src/digitv2/components/sidebarV2.scss +0 -11
- package/src/digitv2/components/telephoneV2.scss +0 -18
- package/src/digitv2/components/toggleswitchV2.scss +0 -42
- package/src/digitv2/components/topbarV2.scss +0 -187
- package/src/digitv2/components/uploadFileV2.scss +0 -146
- package/src/pages/citizen/CitizenEngagementNotificationWrapper.scss +0 -8
- package/src/pages/citizen/DocumentList.scss +0 -305
- package/src/pages/citizen/Events.scss +0 -47
- package/src/pages/citizen/HomePageWrapper.scss +0 -158
- package/src/pages/citizen/SurveyList.scss +0 -22
- package/src/pages/citizen/citizenDocument.scss +0 -22
- package/src/pages/citizen/container.scss +0 -19
- package/src/pages/citizen/payment/payment-type.scss +0 -3
- package/src/pages/citizen/updatePropertyNumber.scss +0 -46
- package/src/pages/employee/EmployeeLogin.scss +0 -7
- package/src/pages/employee/cardfix.scss +0 -13
- package/src/pages/employee/container.scss +0 -72
- package/src/pages/employee/dss.scss +0 -266
- package/src/pages/employee/form-fields.scss +0 -13
- package/src/pages/employee/iframe.scss +0 -66
- package/src/pages/employee/inbox.scss +0 -585
- package/src/pages/employee/oldMobileInbox.scss +0 -5
- package/src/pages/employee/popupmodule.scss +0 -34
- package/src/pages/employee/response.scss +0 -3
- package/src/pages/employee/scroll-table.scss +0 -119
- package/src/pages/employee/surveys.scss +0 -273
- package/src/pages/employee/tooltip.scss +0 -36
- package/src/pages/employee/updateNumber.scss +0 -13
- package/svg/arrowdown.svg +0 -1
- package/svg/arrowleft.svg +0 -1
- package/svg/calendar.svg +0 -1
- package/svg/camera.svg +0 -4
- package/svg/check.svg +0 -4
- package/svg/close.svg +0 -4
- package/svg/error.svg +0 -4
- package/svg/error2.svg +0 -5
- package/svg/searchicon.svg +0 -4
- package/svg/starempty.svg +0 -4
- package/svg/starfilled.svg +0 -5
- package/svg/success.svg +0 -4
- /package/src/digitv2/components/{cardLabelV2.scss → cardlabelV2.scss} +0 -0
- /package/src/digitv2/components/{infobuttons.scss → infobuttonV2.scss} +0 -0
- /package/src/digitv2/components/{panelcard.scss → panelCardV2.scss} +0 -0
- /package/src/digitv2/components/{panels.scss → panelV2.scss} +0 -0
- /package/src/digitv2/components/{textblock.scss → textblockV2.scss} +0 -0
- /package/src/digitv2/components/{toggle.scss → toggleV2.scss} +0 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
.digit-card-based-options {
|
|
2
|
+
box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.16);
|
|
3
|
+
@apply bg-white mb-md px-sm py-md mx-sm rounded w-full;
|
|
4
|
+
.digit-head-content {
|
|
5
|
+
@apply flex justify-between mb-lg;
|
|
6
|
+
h2 {
|
|
7
|
+
@apply text-heading-s font-bold text-text-primary;
|
|
8
|
+
}
|
|
9
|
+
p {
|
|
10
|
+
@apply text-link text-primary-main font-medium cursor-pointer;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.digit-main-content {
|
|
15
|
+
@apply flex justify-evenly;
|
|
16
|
+
.digit-card-based-options-main-child-option {
|
|
17
|
+
width: 25%;
|
|
18
|
+
@apply text-center;
|
|
19
|
+
.digit-child-option-image-wrapper {
|
|
20
|
+
margin: auto !important;
|
|
21
|
+
background: rgba(244, 119, 56, 0.12);
|
|
22
|
+
mix-blend-mode: normal;
|
|
23
|
+
padding-top: 14px;
|
|
24
|
+
@apply h-12 w-12 rounded-full cursor-pointer;
|
|
25
|
+
svg {
|
|
26
|
+
height: 20px;
|
|
27
|
+
width: 20px;
|
|
28
|
+
fill: theme(colors.primary.main);
|
|
29
|
+
margin: auto;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
.digit-child-option-name {
|
|
33
|
+
font-size: 12px;
|
|
34
|
+
line-height: 14px;
|
|
35
|
+
padding-top: 1rem;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@screen dt {
|
|
42
|
+
.digit-card-based-options {
|
|
43
|
+
width: calc(50% - 16px);
|
|
44
|
+
@apply p-md;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
@@ -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 {
|
|
@@ -3,40 +3,49 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
@media (min-aspect-ratio: 9/16) {
|
|
6
|
-
|
|
6
|
+
@apply items-start;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
10
|
+
gap: theme(digitv2.spacers.spacer5);
|
|
7
11
|
}
|
|
8
12
|
|
|
9
13
|
@media (max-aspect-ratio: 9/16) {
|
|
10
|
-
|
|
14
|
+
@apply flex-col items-start;
|
|
15
|
+
gap: theme(digitv2.spacers.spacer4);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@media (min-aspect-ratio: 3/4) {
|
|
19
|
+
gap: theme(digitv2.spacers.spacer6);
|
|
11
20
|
}
|
|
12
21
|
|
|
13
|
-
&.vertical{
|
|
14
|
-
|
|
22
|
+
&.vertical {
|
|
23
|
+
@apply flex-col items-start;
|
|
24
|
+
gap: theme(digitv2.spacers.spacer2);
|
|
15
25
|
}
|
|
16
26
|
|
|
17
27
|
& .label,
|
|
18
28
|
& header {
|
|
19
|
-
margin-right: theme(digitv2.spacers.spacer6);
|
|
20
29
|
width: 33%;
|
|
21
30
|
|
|
22
31
|
@media (max-aspect-ratio: 9/16) {
|
|
23
|
-
|
|
24
|
-
|
|
32
|
+
@apply w-full;
|
|
33
|
+
}
|
|
25
34
|
}
|
|
26
35
|
|
|
27
36
|
& .digit-field {
|
|
28
37
|
width: 60%;
|
|
29
38
|
|
|
30
39
|
@media (max-aspect-ratio: 9/16) {
|
|
31
|
-
|
|
32
|
-
|
|
40
|
+
width: 100%;
|
|
41
|
+
}
|
|
33
42
|
}
|
|
34
43
|
}
|
|
35
44
|
|
|
36
|
-
@screen dt {
|
|
45
|
+
@screen dt {
|
|
37
46
|
.digit-employee-card {
|
|
38
47
|
.digit-label-field-pair {
|
|
39
|
-
@apply mb-lg flex
|
|
48
|
+
@apply mb-lg flex;
|
|
40
49
|
|
|
41
50
|
h2 {
|
|
42
51
|
width: 30%;
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
@media (min-width: 30.063rem) and (max-width: 47.938rem) {
|
|
58
|
-
top:
|
|
59
|
-
right:
|
|
58
|
+
top: theme(digitv2.spacers.spacer3);
|
|
59
|
+
right: theme(digitv2.spacers.spacer3);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
@media (max-width: 30rem) {
|
|
@@ -104,11 +104,6 @@
|
|
|
104
104
|
@extend .typography.caption-s;
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
|
-
|
|
108
|
-
.digit-popup-description {
|
|
109
|
-
@extend .typography.body-l;
|
|
110
|
-
color: theme(digitv2.lightTheme.text-primary);
|
|
111
|
-
}
|
|
112
107
|
}
|
|
113
108
|
|
|
114
109
|
&.with-shadow {
|
|
@@ -145,9 +140,16 @@
|
|
|
145
140
|
}
|
|
146
141
|
|
|
147
142
|
.digit-popup-children-wrap {
|
|
143
|
+
@extend .typography.body-s;
|
|
148
144
|
@apply overflow-hidden overflow-y-auto flex-col;
|
|
149
145
|
display: flex;
|
|
150
146
|
flex: 1;
|
|
147
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
148
|
+
|
|
149
|
+
.digit-popup-description {
|
|
150
|
+
@extend .typography.body-s;
|
|
151
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
152
|
+
}
|
|
151
153
|
|
|
152
154
|
&.inline {
|
|
153
155
|
flex-direction: row;
|
|
@@ -233,6 +235,15 @@
|
|
|
233
235
|
}
|
|
234
236
|
}
|
|
235
237
|
}
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
&.equal-buttons{
|
|
241
|
+
width: 100%;
|
|
242
|
+
|
|
243
|
+
button{
|
|
244
|
+
flex:1;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
236
247
|
|
|
237
248
|
|
|
238
249
|
.digit-popup-alert-content {
|
|
@@ -89,9 +89,10 @@
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
.digit-radio-btn-wrap input:checked~.digit-radio-btn-checkmark:after {
|
|
92
|
-
@apply
|
|
92
|
+
@apply flex h-3 w-3 rounded-full absolute items-center;
|
|
93
|
+
left: 50%;
|
|
94
|
+
transform: translate(-50%);
|
|
93
95
|
top: 25%;
|
|
94
|
-
left: 25%;
|
|
95
96
|
background-color: theme(digitv2.lightTheme.primary-1);
|
|
96
97
|
}
|
|
97
98
|
|
|
@@ -100,9 +101,10 @@
|
|
|
100
101
|
}
|
|
101
102
|
|
|
102
103
|
.preselected .digit-radio-btn-wrap input:checked~.digit-radio-btn-checkmark:after {
|
|
103
|
-
@apply
|
|
104
|
+
@apply flex h-3 w-3 rounded-full absolute items-center;
|
|
105
|
+
left: 50%;
|
|
106
|
+
transform: translate(-50%);
|
|
104
107
|
top: 25%;
|
|
105
|
-
left: 25%;
|
|
106
108
|
background-color: theme(digitv2.lightTheme.text-disabled);
|
|
107
109
|
}
|
|
108
110
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
}
|
|
7
7
|
@media (max-aspect-ratio: 9/16) {
|
|
8
8
|
/* Media query for mobile */
|
|
9
|
-
max-width:
|
|
9
|
+
max-width: 100%;
|
|
10
10
|
width: 100%;
|
|
11
11
|
}
|
|
12
12
|
@media (min-aspect-ratio: 3/4) {
|
|
@@ -265,7 +265,7 @@
|
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
267
|
.digit-dropdown-select-wrap {
|
|
268
|
-
@apply
|
|
268
|
+
@apply relative bg-white w-full;
|
|
269
269
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
270
270
|
/* Media query for tablets */
|
|
271
271
|
max-width: 27.5rem;
|
|
@@ -347,7 +347,7 @@
|
|
|
347
347
|
.digit-dropdown-options-card {
|
|
348
348
|
width: 100% !important;
|
|
349
349
|
box-shadow: theme(digitv2.spacers.spacer0) 0.063rem 0.275rem theme(digitv2.spacers.spacer0) #00000026;
|
|
350
|
-
@apply z-20 bg-white overflow-y-auto overflow-x-hidden;
|
|
350
|
+
@apply absolute z-20 bg-white overflow-y-auto overflow-x-hidden;
|
|
351
351
|
max-height: 20vmax;
|
|
352
352
|
p {
|
|
353
353
|
@extend .light-text-color-primary;
|
|
@@ -358,4 +358,8 @@
|
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
.cp{
|
|
364
|
+
cursor: pointer;
|
|
361
365
|
}
|
|
@@ -13,32 +13,42 @@
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.digit-stepper-content {
|
|
16
|
-
@apply flex flex-col items-center;
|
|
16
|
+
@apply flex flex-col items-center font-sans font-regular;
|
|
17
17
|
min-height: 4rem;
|
|
18
18
|
gap: theme(digitv2.spacers.spacer2);
|
|
19
|
+
color: theme(digitv2.lightTheme.text-secondary);
|
|
20
|
+
font-size: theme(digitv2.spacers.spacer4);
|
|
21
|
+
line-height: theme(digitv2.spacers.spacer6);
|
|
22
|
+
text-align: center;
|
|
23
|
+
|
|
19
24
|
|
|
20
25
|
.stepper-label {
|
|
21
26
|
@extend .typography.body-s;
|
|
22
27
|
@apply text-center;
|
|
23
28
|
color: theme(digitv2.lightTheme.text-secondary);
|
|
24
29
|
letter-spacing: theme(digitv2.spacers.spacer0);
|
|
30
|
+
|
|
25
31
|
&.completed {
|
|
26
32
|
color: theme(digitv2.lightTheme.text-primary);
|
|
27
33
|
}
|
|
34
|
+
|
|
28
35
|
&.current {
|
|
29
36
|
@extend .typography.heading-s;
|
|
30
|
-
line-height:1.37rem;
|
|
37
|
+
line-height: 1.37rem;
|
|
31
38
|
color: theme(digitv2.lightTheme.text-primary);
|
|
32
39
|
}
|
|
33
|
-
|
|
40
|
+
|
|
41
|
+
&.vertical {
|
|
34
42
|
@apply text-left;
|
|
35
|
-
margin-top:0.438rem;
|
|
43
|
+
margin-top: 0.438rem;
|
|
36
44
|
}
|
|
37
45
|
}
|
|
46
|
+
|
|
38
47
|
&.vertical {
|
|
39
48
|
@apply flex-row;
|
|
40
49
|
}
|
|
41
50
|
}
|
|
51
|
+
|
|
42
52
|
.stepper-circle {
|
|
43
53
|
@apply flex text-center justify-center items-center font-regular w-8 h-8;
|
|
44
54
|
background-color: theme(digitv2.lightTheme.paper-primary);
|
|
@@ -46,16 +56,19 @@
|
|
|
46
56
|
margin-top: theme(digitv2.spacers.spacer1);
|
|
47
57
|
border: 0.125rem solid theme(digitv2.lightTheme.generic-divider);
|
|
48
58
|
color: #787878;
|
|
59
|
+
|
|
49
60
|
@media (max-aspect-ratio: 9/16) {
|
|
50
61
|
@apply w-6 h-6;
|
|
51
62
|
}
|
|
52
63
|
}
|
|
64
|
+
|
|
53
65
|
.active {
|
|
54
66
|
@apply font-bold;
|
|
55
67
|
background-color: theme(digitv2.lightTheme.primary-1);
|
|
56
68
|
border-color: theme(digitv2.lightTheme.primary-1);
|
|
57
|
-
color:theme(digitv2.lightTheme.paper-primary);
|
|
69
|
+
color: theme(digitv2.lightTheme.paper-primary);
|
|
58
70
|
}
|
|
71
|
+
|
|
59
72
|
.stepper-connect {
|
|
60
73
|
@apply absolute;
|
|
61
74
|
top: theme(digitv2.spacers.spacer5);
|
|
@@ -64,25 +77,30 @@
|
|
|
64
77
|
border-top: 0.125rem solid theme(colors.border);
|
|
65
78
|
z-index: -1;
|
|
66
79
|
height: 0.125rem;
|
|
80
|
+
|
|
67
81
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
68
82
|
min-width: 6.313rem;
|
|
69
83
|
max-width: 39.438rem;
|
|
70
84
|
}
|
|
85
|
+
|
|
71
86
|
@media (max-aspect-ratio: 9/16) {
|
|
72
87
|
min-width: 4.313rem;
|
|
73
88
|
max-width: 16.875rem;
|
|
74
89
|
top: 0.875rem;
|
|
75
90
|
}
|
|
91
|
+
|
|
76
92
|
@media (min-aspect-ratio: 3/4) {
|
|
77
93
|
min-width: 5.313rem;
|
|
78
94
|
max-width: 82.688rem;
|
|
79
95
|
}
|
|
96
|
+
|
|
80
97
|
&.active {
|
|
81
98
|
background-color: theme(digitv2.lightTheme.primary-1);
|
|
82
99
|
border-color: theme(digitv2.lightTheme.primary-1);
|
|
83
|
-
height:theme(digitv2.spacers.spacer1);
|
|
100
|
+
height: theme(digitv2.spacers.spacer1);
|
|
84
101
|
border-top: theme(digitv2.spacers.spacer1) solid theme(digitv2.lightTheme.primary-1);
|
|
85
102
|
}
|
|
103
|
+
|
|
86
104
|
&.vertical {
|
|
87
105
|
top: calc(50% + (theme(digitv2.spacers.spacer2)));
|
|
88
106
|
bottom: calc(-50% + (theme(digitv2.spacers.spacer2)));
|
|
@@ -90,20 +108,23 @@
|
|
|
90
108
|
width: 0.125rem;
|
|
91
109
|
height: auto;
|
|
92
110
|
transform: rotate(90deg);
|
|
111
|
+
|
|
93
112
|
&.active {
|
|
94
113
|
background-color: transparent;
|
|
95
114
|
border-color: theme(digitv2.lightTheme.primary-1);
|
|
96
115
|
}
|
|
97
116
|
}
|
|
98
117
|
}
|
|
118
|
+
|
|
99
119
|
.digit-stepper-content:hover {
|
|
100
120
|
.stepper-circle.active {
|
|
101
121
|
outline: theme(digitv2.spacers.spacer1) solid #F477381F;
|
|
102
122
|
}
|
|
123
|
+
|
|
103
124
|
.stepper-label {
|
|
104
125
|
&.completed {
|
|
105
126
|
@extend .typography.heading-s;
|
|
106
|
-
line-height:1.37rem;
|
|
127
|
+
line-height: 1.37rem;
|
|
107
128
|
color: theme(digitv2.lightTheme.text-primary);
|
|
108
129
|
}
|
|
109
130
|
}
|
|
@@ -111,8 +132,8 @@
|
|
|
111
132
|
}
|
|
112
133
|
|
|
113
134
|
.digit-stepper-container::-webkit-scrollbar {
|
|
114
|
-
width:theme(digitv2.spacers.spacer2);
|
|
115
|
-
height:theme(digitv2.spacers.spacer2);
|
|
135
|
+
width: theme(digitv2.spacers.spacer2);
|
|
136
|
+
height: theme(digitv2.spacers.spacer2);
|
|
116
137
|
background-color: theme(digitv2.lightTheme.generic-background);
|
|
117
138
|
}
|
|
118
139
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.digit-timeline-item {
|
|
2
|
-
@apply flex items-start;
|
|
2
|
+
@apply flex items-start relative ;
|
|
3
3
|
gap: theme(digitv2.spacers.spacer4);
|
|
4
4
|
}
|
|
5
5
|
|
|
@@ -13,6 +13,30 @@
|
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
.connector-line {
|
|
17
|
+
@apply absolute bottom-0 border-solid border-border;
|
|
18
|
+
border-left-width: 0.125rem;
|
|
19
|
+
margin-left: 0.938rem;
|
|
20
|
+
top: theme(digitv2.spacers.spacer8);
|
|
21
|
+
|
|
22
|
+
&.completed,
|
|
23
|
+
&.inprogress,
|
|
24
|
+
&.nextActiveStep{
|
|
25
|
+
border-color: theme(digitv2.lightTheme.primary-1);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.nextActiveStep{
|
|
29
|
+
border-style: dotted;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@media (max-aspect-ratio: 9/16) {
|
|
33
|
+
/* Media query for mobile */
|
|
34
|
+
margin-left: 0.688rem;
|
|
35
|
+
top: theme(digitv2.spacers.spacer6);
|
|
36
|
+
border-left-width: 0.063rem;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
16
40
|
.timeline-content,
|
|
17
41
|
.timeline-info {
|
|
18
42
|
@apply flex flex-col w-full;
|
|
@@ -86,7 +110,7 @@ img {
|
|
|
86
110
|
/* Circle Variants */
|
|
87
111
|
.timeline-circle,
|
|
88
112
|
.timeline-circle.upcoming {
|
|
89
|
-
|
|
113
|
+
background-color: theme(digitv2.lightTheme.text-disabled);
|
|
90
114
|
}
|
|
91
115
|
|
|
92
116
|
.timeline-circle.inprogress {
|
|
@@ -124,4 +148,12 @@ img {
|
|
|
124
148
|
height: 1.125rem;
|
|
125
149
|
}
|
|
126
150
|
}
|
|
127
|
-
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.digit-timeline-molecule{
|
|
154
|
+
@apply max-h-full;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.view-more-container {
|
|
158
|
+
margin-top: theme(digitv2.spacers.spacer4);
|
|
159
|
+
}
|