@egovernments/digit-ui-components-css 0.0.1-pucar.1
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 +55 -0
- package/README.md +81 -0
- package/dist/index.css +17004 -0
- package/dist/index.min.css +6 -0
- package/img/browser-icon.png +0 -0
- package/img/m_seva_white_logo.png +0 -0
- package/img/mseva-demo.png +0 -0
- package/package.json +67 -0
- package/src/components/CardBasedOptions.scss +46 -0
- package/src/components/CitizenHomeCard.scss +56 -0
- package/src/components/EllipsisMenu.scss +17 -0
- package/src/components/EventCalendarView.scss +10 -0
- package/src/components/FAQ.scss +64 -0
- package/src/components/OnGroundEventCard.scss +72 -0
- package/src/components/PageBasedInput.scss +29 -0
- package/src/components/PopupHeadingLabel.scss +15 -0
- package/src/components/PropertySearchForm.scss +58 -0
- package/src/components/SearchForm.scss +56 -0
- package/src/components/SearchOnRadioButton.scss +10 -0
- package/src/components/StandaloneSearchBar.scss +10 -0
- package/src/components/TimeLine.scss +68 -0
- package/src/components/WhatsNewCard.scss +13 -0
- package/src/components/actionLink.scss +3 -0
- package/src/components/actionbar.scss +97 -0
- package/src/components/bannercomponents.scss +136 -0
- package/src/components/body.scss +144 -0
- package/src/components/buttons.scss +101 -0
- package/src/components/card.scss +391 -0
- package/src/components/cardHeaderWithOptions.scss +14 -0
- package/src/components/changeLanguage.scss +3 -0
- package/src/components/charts.scss +186 -0
- package/src/components/checkbox.scss +53 -0
- package/src/components/checkpoint.scss +63 -0
- package/src/components/citizenInfoLabel.scss +14 -0
- package/src/components/custombtn.scss +11 -0
- package/src/components/datatable.scss +134 -0
- package/src/components/datewrap.scss +21 -0
- package/src/components/detailscard.scss +6 -0
- package/src/components/detailscontainer.scss +13 -0
- package/src/components/filters.scss +98 -0
- package/src/components/grey.scss +3 -0
- package/src/components/hoc/InboxComposer.scss +115 -0
- package/src/components/hoc/index.scss +1 -0
- package/src/components/howItWorks.scss +71 -0
- package/src/components/imageviewer.scss +33 -0
- package/src/components/inboxv2/InboxLinks.scss +59 -0
- package/src/components/inboxv2/horizontalNav.scss +224 -0
- package/src/components/inboxv2/inboxSearch.scss +116 -0
- package/src/components/inboxv2/inboxSearchComposer.scss +134 -0
- package/src/components/inboxv2/index.scss +5 -0
- package/src/components/inboxv2/searchComponentTable.scss +44 -0
- package/src/components/info-banner.scss +35 -0
- package/src/components/inputotp.scss +15 -0
- package/src/components/keynote.scss +27 -0
- package/src/components/languageSelector.scss +24 -0
- package/src/components/loader.scss +96 -0
- package/src/components/map.scss +30 -0
- package/src/components/menu.scss +0 -0
- package/src/components/metricsTable.scss +28 -0
- package/src/components/multiLink.scss +88 -0
- package/src/components/multiSelectDropdown.scss +77 -0
- package/src/components/navbar.scss +312 -0
- package/src/components/plusMinus.scss +15 -0
- package/src/components/popup.scss +16 -0
- package/src/components/radiobtn.scss +45 -0
- package/src/components/ratingstar.scss +33 -0
- package/src/components/roundedLabel.scss +10 -0
- package/src/components/searchAction.scss +20 -0
- package/src/components/sectionalDropdown.scss +43 -0
- package/src/components/selectdropdown.scss +174 -0
- package/src/components/sidebar.scss +141 -0
- package/src/components/staticDynamicMessages.scss +107 -0
- package/src/components/staticSideBar.scss +27 -0
- package/src/components/statushighlight.scss +17 -0
- package/src/components/submiterrors.scss +11 -0
- package/src/components/summary.scss +29 -0
- package/src/components/table.scss +201 -0
- package/src/components/tag.scss +27 -0
- package/src/components/telephone.scss +17 -0
- package/src/components/textfields.scss +96 -0
- package/src/components/toast.scss +31 -0
- package/src/components/toggleSwitch.scss +41 -0
- package/src/components/topbar.scss +153 -0
- package/src/components/uploadcomponents.scss +100 -0
- package/src/digitv2/components/CitizenHomeCardV2.scss +56 -0
- package/src/digitv2/components/ErrorMessage.scss +19 -0
- package/src/digitv2/components/FormComposerV2.scss +118 -0
- package/src/digitv2/components/PageBasedInputV2.scss +33 -0
- package/src/digitv2/components/WhatsNewCardV2.scss +13 -0
- package/src/digitv2/components/actionLinkV2.scss +9 -0
- package/src/digitv2/components/actionbarV2.scss +110 -0
- package/src/digitv2/components/appContainerV2.scss +49 -0
- package/src/digitv2/components/backButtonV2.scss +26 -0
- package/src/digitv2/components/bannerV2.scss +120 -0
- package/src/digitv2/components/bodyContainerV2.scss +39 -0
- package/src/digitv2/components/breadCrumbV2.scss +34 -0
- package/src/digitv2/components/breakLineV2.scss +6 -0
- package/src/digitv2/components/buttonsV2.scss +407 -0
- package/src/digitv2/components/cardBasedOptionsV2.scss +46 -0
- package/src/digitv2/components/cardLabelV2.scss +8 -0
- package/src/digitv2/components/cardV2.scss +383 -0
- package/src/digitv2/components/checkboxV2.scss +80 -0
- package/src/digitv2/components/checkpointV2.scss +71 -0
- package/src/digitv2/components/collapseAndExpandGroups.scss +60 -0
- package/src/digitv2/components/dateWrapV2.scss +17 -0
- package/src/digitv2/components/detailsCardV2.scss +17 -0
- package/src/digitv2/components/displayPhotosV2.scss +33 -0
- package/src/digitv2/components/fieldV1.scss +97 -0
- package/src/digitv2/components/footerV2.scss +55 -0
- package/src/digitv2/components/headerBarV2.scss +34 -0
- package/src/digitv2/components/headerV2.scss +12 -0
- package/src/digitv2/components/infoCardV2.scss +143 -0
- package/src/digitv2/components/infobuttons.scss +76 -0
- package/src/digitv2/components/keynoteV2.scss +35 -0
- package/src/digitv2/components/labelFieldPairV2.scss +58 -0
- package/src/digitv2/components/loaderV2.scss +85 -0
- package/src/digitv2/components/mobileNumberV2.scss +65 -0
- package/src/digitv2/components/modalV2.scss +46 -0
- package/src/digitv2/components/multiSelectDropdownV2.scss +316 -0
- package/src/digitv2/components/multiUploadWrapperV2.scss +6 -0
- package/src/digitv2/components/navbarV2.scss +9 -0
- package/src/digitv2/components/noresultsfoundV2.scss +11 -0
- package/src/digitv2/components/numeric.scss +47 -0
- package/src/digitv2/components/otpInputV2.scss +15 -0
- package/src/digitv2/components/panelcard.scss +161 -0
- package/src/digitv2/components/panels.scss +115 -0
- package/src/digitv2/components/paragraphV2.scss +5 -0
- package/src/digitv2/components/popUpV2.scss +309 -0
- package/src/digitv2/components/radiobtnV2.scss +114 -0
- package/src/digitv2/components/ratingV2.scss +33 -0
- package/src/digitv2/components/searchActionV2.scss +11 -0
- package/src/digitv2/components/searchFormV2.scss +76 -0
- package/src/digitv2/components/searchcomponent.scss +7 -0
- package/src/digitv2/components/selectdropdownV2.scss +361 -0
- package/src/digitv2/components/sidebarV2.scss +11 -0
- package/src/digitv2/components/stepper.scss +127 -0
- package/src/digitv2/components/tagV2.scss +121 -0
- package/src/digitv2/components/telephoneV2.scss +18 -0
- package/src/digitv2/components/textInputV2.scss +463 -0
- package/src/digitv2/components/textareaV2.scss +100 -0
- package/src/digitv2/components/textblock.scss +47 -0
- package/src/digitv2/components/timeline.scss +127 -0
- package/src/digitv2/components/toastV2.scss +81 -0
- package/src/digitv2/components/toggle.scss +73 -0
- package/src/digitv2/components/toggleswitchV2.scss +42 -0
- package/src/digitv2/components/topbarV2.scss +187 -0
- package/src/digitv2/components/treeSelectV2.scss +133 -0
- package/src/digitv2/components/uploadFileV2.scss +146 -0
- package/src/digitv2/components/uploader.scss +469 -0
- package/src/digitv2/index.scss +198 -0
- package/src/digitv2/pages/employee/index.scss +1 -0
- package/src/digitv2/pages/employee/workbench.scss +615 -0
- package/src/digitv2/typography.scss +658 -0
- package/src/index.scss +774 -0
- package/src/pages/citizen/CitizenEngagementNotificationWrapper.scss +8 -0
- package/src/pages/citizen/DocumentList.scss +305 -0
- package/src/pages/citizen/Events.scss +47 -0
- package/src/pages/citizen/HomePageWrapper.scss +158 -0
- package/src/pages/citizen/SurveyList.scss +22 -0
- package/src/pages/citizen/citizenDocument.scss +22 -0
- package/src/pages/citizen/container.scss +19 -0
- package/src/pages/citizen/payment/payment-type.scss +3 -0
- package/src/pages/citizen/updatePropertyNumber.scss +46 -0
- package/src/pages/employee/EmployeeLogin.scss +7 -0
- package/src/pages/employee/cardfix.scss +13 -0
- package/src/pages/employee/container.scss +72 -0
- package/src/pages/employee/dss.scss +266 -0
- package/src/pages/employee/form-fields.scss +13 -0
- package/src/pages/employee/iframe.scss +66 -0
- package/src/pages/employee/inbox.scss +585 -0
- package/src/pages/employee/index.scss +626 -0
- package/src/pages/employee/login.scss +221 -0
- package/src/pages/employee/oldMobileInbox.scss +5 -0
- package/src/pages/employee/popupmodule.scss +34 -0
- package/src/pages/employee/response.scss +3 -0
- package/src/pages/employee/scroll-table.scss +119 -0
- package/src/pages/employee/surveys.scss +273 -0
- package/src/pages/employee/tooltip.scss +36 -0
- package/src/pages/employee/updateNumber.scss +13 -0
- package/svg/arrowdown.svg +1 -0
- package/svg/arrowleft.svg +1 -0
- package/svg/calendar.svg +1 -0
- package/svg/camera.svg +4 -0
- package/svg/check.svg +4 -0
- package/svg/close.svg +4 -0
- package/svg/error.svg +4 -0
- package/svg/error2.svg +5 -0
- package/svg/searchicon.svg +4 -0
- package/svg/starempty.svg +4 -0
- package/svg/starfilled.svg +5 -0
- package/svg/success.svg +4 -0
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
@import url("../index.scss");
|
|
2
|
+
|
|
3
|
+
.digit-header-content {
|
|
4
|
+
|
|
5
|
+
&.label {
|
|
6
|
+
@extend .typography.body-l;
|
|
7
|
+
@apply flex ;
|
|
8
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
9
|
+
gap: theme(digitv2.spacers.spacer1);
|
|
10
|
+
|
|
11
|
+
&.wraplabel {
|
|
12
|
+
@media (min-aspect-ratio: 9/16){
|
|
13
|
+
height: fit-content;
|
|
14
|
+
word-break: break-word;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.label-container {
|
|
19
|
+
@apply flex items-center w-full;
|
|
20
|
+
gap: theme(digitv2.spacers.spacer1);
|
|
21
|
+
|
|
22
|
+
&.wraplabel{
|
|
23
|
+
@media (min-aspect-ratio: 9/16) {
|
|
24
|
+
@apply items-end;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.info-icon {
|
|
30
|
+
@apply relative cursor-pointer;
|
|
31
|
+
width: 1.188rem;
|
|
32
|
+
height: 1.188rem;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.info-icon .infotext {
|
|
36
|
+
@extend .typography.body-s;
|
|
37
|
+
@apply absolute text-center;
|
|
38
|
+
visibility: hidden;
|
|
39
|
+
width: 7.5rem;
|
|
40
|
+
background-color: #555555;
|
|
41
|
+
color: theme(digitv2.lightTheme.paper-primary);
|
|
42
|
+
padding: theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer0);
|
|
43
|
+
z-index: 1;
|
|
44
|
+
bottom: 100%;
|
|
45
|
+
left: 50%;
|
|
46
|
+
margin-left: -3.75rem;
|
|
47
|
+
border-radius: 0.375rem;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.info-icon:hover .infotext {
|
|
51
|
+
@apply visible;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.label-styles {
|
|
55
|
+
@apply overflow-hidden whitespace-no-wrap;
|
|
56
|
+
text-overflow: ellipsis;
|
|
57
|
+
|
|
58
|
+
&.wraplabel {
|
|
59
|
+
@media (min-aspect-ratio: 9/16){
|
|
60
|
+
@apply whitespace-normal;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.digit-field {
|
|
68
|
+
|
|
69
|
+
@apply flex flex-col w-full;
|
|
70
|
+
gap: theme(digitv2.spacers.spacer1);
|
|
71
|
+
|
|
72
|
+
.digit-description,
|
|
73
|
+
.digit-charcount {
|
|
74
|
+
@extend .typography.body-s;
|
|
75
|
+
@apply flex justify-between items-baseline;
|
|
76
|
+
color: theme(digitv2.lightTheme.text-secondary);
|
|
77
|
+
gap: theme(digitv2.spacers.spacer2);
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
81
|
+
max-width: 27.5rem;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@media (max-aspect-ratio: 9/16) {
|
|
85
|
+
max-width: 20.5rem;
|
|
86
|
+
width: 100%;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@media (min-aspect-ratio: 3/4){
|
|
90
|
+
max-width: 37.5rem;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.digit-charcount {
|
|
95
|
+
@apply justify-end;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
.digit-home-footer {
|
|
2
|
+
&.citizen {
|
|
3
|
+
@apply flex w-full h-10 bg-grey-bg pb-md pt-sm justify-center;
|
|
4
|
+
img {
|
|
5
|
+
@apply ml-sm;
|
|
6
|
+
height: 1.2em;
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.digit-employee .digit-home-footer {
|
|
13
|
+
&.citizen {
|
|
14
|
+
@apply fixed bottom-0;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
.digit-fill-path-primary-main {
|
|
18
|
+
path {
|
|
19
|
+
fill: theme(colors.primary.main);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.digit-home-footer {
|
|
24
|
+
&.sidebar {
|
|
25
|
+
width: 200px;
|
|
26
|
+
margin-left: 50px;
|
|
27
|
+
margin-top: 24px;
|
|
28
|
+
margin-bottom: 16px;
|
|
29
|
+
position: relative;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.digit-footer {
|
|
34
|
+
@apply flex h-4 mb-sm;
|
|
35
|
+
img {
|
|
36
|
+
@apply mr-sm;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.digit-home-footer {
|
|
41
|
+
&.employee {
|
|
42
|
+
@apply flex h-10 bg-grey-bg pb-md pt-sm justify-center w-full;
|
|
43
|
+
img {
|
|
44
|
+
height: 100%;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
.digit-home-footer {
|
|
49
|
+
&.employee-login {
|
|
50
|
+
@apply flex fixed bottom-0 h-10 bg-grey-bg pb-md pt-sm justify-center w-full;
|
|
51
|
+
img {
|
|
52
|
+
@apply ml-sm;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
@import url("../index.scss");
|
|
2
|
+
@import url("../typography.scss");
|
|
3
|
+
|
|
4
|
+
.digit-header-wrap {
|
|
5
|
+
@apply flex mb-md;
|
|
6
|
+
|
|
7
|
+
.digit-header-start {
|
|
8
|
+
margin-right: auto;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.digit-header-content {
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.digit-header-end {
|
|
15
|
+
margin-left: auto;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@screen dt {
|
|
20
|
+
.digit-header-wrap {
|
|
21
|
+
@apply flex mb-md;
|
|
22
|
+
|
|
23
|
+
.digit-header-start {
|
|
24
|
+
margin-right: auto;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.digit-header-content {
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.digit-header-end {
|
|
31
|
+
margin-left: auto;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
@import url("../index.scss");
|
|
2
|
+
@import url("../typography.scss");
|
|
3
|
+
|
|
4
|
+
.digit-infobanner-wrap {
|
|
5
|
+
@apply m-sm p-md flex flex-col;
|
|
6
|
+
top: theme(digitv2.spacers.spacer5);
|
|
7
|
+
left: theme(digitv2.spacers.spacer5);
|
|
8
|
+
gap: theme(digitv2.spacers.spacer2);
|
|
9
|
+
background-color: theme(digitv2.lightTheme.alert-infobg);
|
|
10
|
+
|
|
11
|
+
border: 0.063rem solid theme(digitv2.lightTheme.alert-info);
|
|
12
|
+
border-left-width: theme(digitv2.spacers.spacer1);
|
|
13
|
+
|
|
14
|
+
div {
|
|
15
|
+
@apply flex;
|
|
16
|
+
gap: theme(digitv2.spacers.spacer2);
|
|
17
|
+
min-height: theme(digitv2.spacers.spacer6);
|
|
18
|
+
|
|
19
|
+
svg {
|
|
20
|
+
flex-shrink: 0;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.digit-infobanner-header {
|
|
25
|
+
@apply w-full max-w-full overflow-hidden text-left;
|
|
26
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
27
|
+
font-weight: theme(digitv2.fontWeight.bold);
|
|
28
|
+
color: theme(digitv2.lightTheme.alert-info);
|
|
29
|
+
font-size: theme(digitv2.spacers.spacer4);
|
|
30
|
+
line-height: 1.172rem;
|
|
31
|
+
letter-spacing: theme(digitv2.spacers.spacer0);
|
|
32
|
+
margin: 0.164rem theme(digitv2.spacers.spacer0);
|
|
33
|
+
white-space: normal;
|
|
34
|
+
word-break: break-word;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
p {
|
|
38
|
+
@apply whitespace-pre-line text-left;
|
|
39
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
40
|
+
color: theme(digitv2.lightTheme.text-secondary);
|
|
41
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
42
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
43
|
+
font-size: 0.875rem;
|
|
44
|
+
line-height: theme(digitv2.spacers.spacer5);
|
|
45
|
+
letter-spacing: theme(digitv2.spacers.spacer0);
|
|
46
|
+
margin: theme(digitv2.spacers.spacer0);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&.digit-core-variant {
|
|
50
|
+
margin: theme(digitv2.spacers.spacer8) theme(digitv2.spacers.spacer0);
|
|
51
|
+
padding: 0.625rem;
|
|
52
|
+
background-color: #ffe2b5;
|
|
53
|
+
border-radius: theme(digitv2.spacers.spacer1);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&.success {
|
|
57
|
+
background-color: theme(digitv2.lightTheme.alert-successbg);
|
|
58
|
+
border: 0.063rem solid theme(digitv2.lightTheme.alert-success);
|
|
59
|
+
border-left-width: theme(digitv2.spacers.spacer1);
|
|
60
|
+
|
|
61
|
+
.digit-infobanner-header{
|
|
62
|
+
color: theme(digitv2.lightTheme.alert-success);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&.warning {
|
|
67
|
+
background-color: theme(digitv2.lightTheme.alert-warning-bg);
|
|
68
|
+
border: 0.063rem solid theme(digitv2.lightTheme.alert-warning);
|
|
69
|
+
border-left-width: theme(digitv2.spacers.spacer1);
|
|
70
|
+
|
|
71
|
+
.digit-infobanner-header{
|
|
72
|
+
color: theme(digitv2.lightTheme.alert-warning);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&.error {
|
|
77
|
+
background-color: theme(digitv2.lightTheme.alert-errorbg);
|
|
78
|
+
border: 0.063rem solid theme(digitv2.lightTheme.alert-error);
|
|
79
|
+
border-left-width: theme(digitv2.spacers.spacer1);
|
|
80
|
+
|
|
81
|
+
.digit-infobanner-header{
|
|
82
|
+
color: theme(digitv2.lightTheme.alert-error);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
87
|
+
/* Media query for tablets */
|
|
88
|
+
max-width: 44.5rem;
|
|
89
|
+
min-width: 22.5rem;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
@media (max-aspect-ratio: 9/16) {
|
|
93
|
+
/* Media query for mobile */
|
|
94
|
+
max-width: 21.5rem;
|
|
95
|
+
min-width: 15rem;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
@media (min-aspect-ratio: 3/4) {
|
|
99
|
+
/* Media query for desktop */
|
|
100
|
+
max-width: 87rem;
|
|
101
|
+
min-width: 25rem;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&.inline {
|
|
105
|
+
@apply flex-row items-start;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&.column {
|
|
109
|
+
@apply flex-col;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.additional-elements-inline {
|
|
113
|
+
@apply flex flex-wrap items-start;
|
|
114
|
+
gap: theme(digitv2.spacers.spacer2);
|
|
115
|
+
|
|
116
|
+
.individualElement{
|
|
117
|
+
h2{
|
|
118
|
+
margin: theme(digitv2.spacers.spacer0);
|
|
119
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.additional-elements-column {
|
|
125
|
+
@apply flex flex-col items-start;
|
|
126
|
+
gap: theme(digitv2.spacers.spacer2);
|
|
127
|
+
|
|
128
|
+
.individualElement {
|
|
129
|
+
@apply w-full max-w-full;
|
|
130
|
+
|
|
131
|
+
h2{
|
|
132
|
+
margin: theme(digitv2.spacers.spacer0);
|
|
133
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
img {
|
|
140
|
+
@apply max-w-full;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
.digit-info-button {
|
|
2
|
+
@apply text-center cursor-pointer outline-none flex max-w-full items-center justify-center h-10;
|
|
3
|
+
width: fit-content;
|
|
4
|
+
padding-left: theme(digitv2.spacers.spacer6);
|
|
5
|
+
padding-right: theme(digitv2.spacers.spacer6);
|
|
6
|
+
gap: theme(digitv2.spacers.spacer2);
|
|
7
|
+
min-width: 6.5625rem;
|
|
8
|
+
|
|
9
|
+
&.info{
|
|
10
|
+
background-color: theme(digitv2.lightTheme.alert-info);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&.error{
|
|
14
|
+
background-color: theme(digitv2.lightTheme.alert-error);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&.success{
|
|
18
|
+
background-color: theme(digitv2.lightTheme.alert-success);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&.warning{
|
|
22
|
+
background-color: theme(digitv2.lightTheme.alert-warning);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
h1 {
|
|
26
|
+
@extend .typography.button.large;
|
|
27
|
+
margin: 0;
|
|
28
|
+
color: theme(digitv2.lightTheme.paper-primary) !important;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&.disabled {
|
|
32
|
+
@apply opacity-50;
|
|
33
|
+
background: theme(digitv2.lightTheme.text-disabled);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&:focus {
|
|
37
|
+
@apply outline-none;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&:hover {
|
|
41
|
+
box-shadow: theme(digitv2.spacers.spacer0) -0.125rem theme(digitv2.spacers.spacer0) theme(digitv2.spacers.spacer0) theme(digitv2.lightTheme.text-primary) inset;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&:active {
|
|
45
|
+
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;
|
|
46
|
+
|
|
47
|
+
h1{
|
|
48
|
+
font-weight: theme(digitv2.fontWeight.bold);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&.large{
|
|
53
|
+
h1{
|
|
54
|
+
@apply h-5;
|
|
55
|
+
margin-top: 0.125rem;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&.medium {
|
|
60
|
+
@apply h-8;
|
|
61
|
+
|
|
62
|
+
h1{
|
|
63
|
+
@extend .typography.button.medium;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&.small {
|
|
68
|
+
@apply h-6;
|
|
69
|
+
|
|
70
|
+
h1 {
|
|
71
|
+
@extend .typography.button.small;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
.digit-key-note-pair {
|
|
2
|
+
@apply mb-md;
|
|
3
|
+
|
|
4
|
+
h3 {
|
|
5
|
+
margin-bottom: 4px;
|
|
6
|
+
@apply font-bold text-text-primary text-heading-s;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
p {
|
|
10
|
+
@apply text-text-primary text-body-l;
|
|
11
|
+
}
|
|
12
|
+
.digit-key-note-container {
|
|
13
|
+
display: inline-flex;
|
|
14
|
+
.digit-unmask-container {
|
|
15
|
+
display: inline-flex;
|
|
16
|
+
width: fit-content;
|
|
17
|
+
margin-left: 10px;
|
|
18
|
+
margin-top: 5px;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
.digit-caption {
|
|
22
|
+
@apply text-body-l text-text-secondary;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@screen dt {
|
|
27
|
+
.digit-key-note-pair {
|
|
28
|
+
p {
|
|
29
|
+
@apply text-body-l-dt;
|
|
30
|
+
}
|
|
31
|
+
.digit-caption {
|
|
32
|
+
@apply text-body-l-dt text-text-secondary;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
.digit-label-field-pair {
|
|
2
|
+
@apply mb-lg flex;
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
@media (min-aspect-ratio: 9/16) {
|
|
6
|
+
@apply items-start;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@media (max-aspect-ratio: 9/16) {
|
|
10
|
+
@apply flex-col items-start;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&.vertical{
|
|
14
|
+
@apply flex-col items-start;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
& .label,
|
|
18
|
+
& header {
|
|
19
|
+
margin-right: theme(digitv2.spacers.spacer6);
|
|
20
|
+
width: 33%;
|
|
21
|
+
|
|
22
|
+
@media (max-aspect-ratio: 9/16) {
|
|
23
|
+
@apply w-full;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
& .digit-field {
|
|
28
|
+
width: 60%;
|
|
29
|
+
|
|
30
|
+
@media (max-aspect-ratio: 9/16) {
|
|
31
|
+
width: 100%;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@screen dt {
|
|
37
|
+
.digit-employee-card {
|
|
38
|
+
.digit-label-field-pair {
|
|
39
|
+
@apply mb-lg flex ;
|
|
40
|
+
|
|
41
|
+
h2 {
|
|
42
|
+
width: 30%;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.digit-field {
|
|
46
|
+
|
|
47
|
+
.field {
|
|
48
|
+
margin-right: unset;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.digit-field {
|
|
52
|
+
@apply mb-lg;
|
|
53
|
+
margin-right: unset;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
@import url("../index.scss");
|
|
2
|
+
|
|
3
|
+
.digit-screen-loader {
|
|
4
|
+
@extend .light-background;
|
|
5
|
+
position: fixed;
|
|
6
|
+
top: 0;
|
|
7
|
+
left: 0;
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: 100%;
|
|
10
|
+
display: flex;
|
|
11
|
+
justify-content: center;
|
|
12
|
+
align-items: center;
|
|
13
|
+
z-index: 9999;
|
|
14
|
+
.digit-ldio-pjg92h09b2o div {
|
|
15
|
+
position: absolute;
|
|
16
|
+
width: 52px;
|
|
17
|
+
height: 52px;
|
|
18
|
+
border: 12px solid theme(digitv2.lightTheme.primary-orange);
|
|
19
|
+
border-top-color: transparent;
|
|
20
|
+
border-radius: 50%;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.digit-page-loader,
|
|
25
|
+
.digit-module-loader {
|
|
26
|
+
text-align: center;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.digit-page-loader {
|
|
30
|
+
display: flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
justify-content: center;
|
|
33
|
+
height: 100vh;
|
|
34
|
+
background: unset;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.digit-module-loader {
|
|
38
|
+
padding: 16px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@keyframes digit-ldio-pjg92h09b2o {
|
|
42
|
+
0% {
|
|
43
|
+
transform: translate(-50%, -50%) rotate(0deg);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
100% {
|
|
47
|
+
transform: translate(-50%, -50%) rotate(360deg);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.digit-ldio-pjg92h09b2o div {
|
|
52
|
+
position: absolute;
|
|
53
|
+
width: 52px;
|
|
54
|
+
height: 52px;
|
|
55
|
+
border: 12px solid theme(colors.secondary);
|
|
56
|
+
border-top-color: transparent;
|
|
57
|
+
border-radius: 50%;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.digit-ldio-pjg92h09b2o div {
|
|
61
|
+
animation: digit-ldio-pjg92h09b2o 1s linear infinite;
|
|
62
|
+
top: 50px;
|
|
63
|
+
left: 50px;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.digit-loadingio-spinner-rolling-faewnb8ux8 {
|
|
67
|
+
width: 48px;
|
|
68
|
+
height: 48px;
|
|
69
|
+
display: inline-block;
|
|
70
|
+
overflow: hidden;
|
|
71
|
+
background: none;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.digit-ldio-pjg92h09b2o {
|
|
75
|
+
width: 100%;
|
|
76
|
+
height: 100%;
|
|
77
|
+
position: relative;
|
|
78
|
+
transform: translateZ(0) scale(0.48);
|
|
79
|
+
backface-visibility: hidden;
|
|
80
|
+
transform-origin: 0 0;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.digit-ldio-pjg92h09b2o div {
|
|
84
|
+
box-sizing: content-box;
|
|
85
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
@import url("../index.scss");
|
|
2
|
+
@import url("../typography.scss");
|
|
3
|
+
|
|
4
|
+
.digit-mobile-number-container {
|
|
5
|
+
@apply flex items-center;
|
|
6
|
+
width: 100%;
|
|
7
|
+
|
|
8
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
9
|
+
/* Media query for tablets */
|
|
10
|
+
max-width: 27.5rem;
|
|
11
|
+
min-width: 12.5rem;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@media (max-aspect-ratio: 9/16) {
|
|
15
|
+
/* Media query for mobile */
|
|
16
|
+
max-width: 20.5rem;
|
|
17
|
+
min-width: 9.75rem;
|
|
18
|
+
width: 100%;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@media (min-aspect-ratio: 3/4) {
|
|
22
|
+
/* Media query for desktop */
|
|
23
|
+
max-width: 37.5rem;
|
|
24
|
+
min-width: 12.5rem;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.digit-text-mobile-input-width {
|
|
28
|
+
.digit-text-input-width {
|
|
29
|
+
width: calc(540px - 41px);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
.digit-citizen-card-input--front {
|
|
33
|
+
@extend .typography.text-body-s;
|
|
34
|
+
@extend .light-background;
|
|
35
|
+
width: fit-content !important;
|
|
36
|
+
display: flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
/* background: theme(colors.grey.mid); */
|
|
39
|
+
border-right: 0;
|
|
40
|
+
padding-right: 5px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.digit-citizen-card-input {
|
|
44
|
+
@extend .typography.text-body-s;
|
|
45
|
+
@apply pl-sm outline-none block w-full h-10 bg-white leading-10 text-form-field;
|
|
46
|
+
border: 1px solid theme(digitv2.lightTheme.text-secondary);
|
|
47
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.digit-citizen-card-input--front {
|
|
51
|
+
@extend .typography.text-body-s;
|
|
52
|
+
width: fit-content !important;
|
|
53
|
+
display: flex;
|
|
54
|
+
align-items: center;
|
|
55
|
+
background: theme(colors.grey.mid);
|
|
56
|
+
border-right: 0;
|
|
57
|
+
padding-right: 5px;
|
|
58
|
+
}
|
|
59
|
+
.digit-employee-card-input-error {
|
|
60
|
+
@extend .typography.text-body-s;
|
|
61
|
+
@extend .light-input-border;
|
|
62
|
+
@extend .alert-error;
|
|
63
|
+
@apply mb-lg pl-sm block w-full h-10 outline-none border-2 border-solid bg-white leading-10 text-form-field text-text-primary;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
.digit-popup-module {
|
|
2
|
+
width: 480px;
|
|
3
|
+
margin: 0 auto;
|
|
4
|
+
@apply bg-white;
|
|
5
|
+
|
|
6
|
+
.digit-popup-module-main {
|
|
7
|
+
@apply px-lg pb-lg;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.digit-popup-module-action-bar {
|
|
11
|
+
gap: 16px;
|
|
12
|
+
@apply flex flex-row justify-end;
|
|
13
|
+
|
|
14
|
+
&.digit-variant-obps {
|
|
15
|
+
margin-right: 18px;
|
|
16
|
+
@media (max-width: theme(digitv2.screens.mobile)) {
|
|
17
|
+
position: absolute;
|
|
18
|
+
bottom: 5%;
|
|
19
|
+
right: 10%;
|
|
20
|
+
}
|
|
21
|
+
&.employee {
|
|
22
|
+
@media (max-width: theme(digitv2.screens.mobile)) {
|
|
23
|
+
left: 0%;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@screen dt {
|
|
31
|
+
.digit-popup-module {
|
|
32
|
+
width: 480px;
|
|
33
|
+
margin: auto;
|
|
34
|
+
@apply bg-white;
|
|
35
|
+
|
|
36
|
+
.digit-popup-module-main {
|
|
37
|
+
@apply px-lg pb-lg;
|
|
38
|
+
@apply w-full p-sm h-full;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.digit-popup-module-action-bar {
|
|
42
|
+
gap: 16px;
|
|
43
|
+
@apply flex flex-row justify-end;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|