@egovernments/digit-ui-components-css 0.0.2-beta.1 → 0.0.2-beta.11
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 +88 -54
- package/README.md +80 -80
- package/dist/index.css +5782 -14109
- package/dist/index.min.css +2 -2
- package/package.json +69 -67
- package/src/digitv2/components/FormComposerV2.scss +118 -118
- package/src/digitv2/components/actionbarV2.scss +207 -110
- package/src/digitv2/components/backLinkV2.scss +37 -0
- package/src/digitv2/components/bodyContainerV2.scss +39 -39
- package/src/digitv2/components/breadcrumbV2.scss +57 -0
- package/src/digitv2/components/buttonsV2.scss +451 -407
- package/src/digitv2/components/cardV2.scss +498 -383
- package/src/digitv2/components/cardbasedoptionsV2.scss +47 -0
- package/src/digitv2/components/{cardLabelV2.scss → cardlabelV2.scss} +7 -7
- package/src/digitv2/components/checkboxV2.scss +83 -79
- package/src/digitv2/components/{tagV2.scss → chipV2.scss} +129 -120
- package/src/digitv2/components/dividerV2.scss +11 -0
- package/src/digitv2/components/{ErrorMessage.scss → errorMessageV2.scss} +20 -18
- package/src/digitv2/components/fieldV1.scss +96 -96
- package/src/digitv2/components/headerdropdownV2.scss +152 -0
- package/src/digitv2/components/infoCardV2.scss +139 -142
- package/src/digitv2/components/{infobuttons.scss → infobuttonV2.scss} +75 -75
- package/src/digitv2/components/labelFieldPairV2.scss +66 -57
- package/src/digitv2/components/mobileNumberV2.scss +65 -65
- package/src/digitv2/components/multiSelectDropdownV2.scss +315 -315
- package/src/digitv2/components/{panelcard.scss → panelCardV2.scss} +160 -160
- package/src/digitv2/components/{panels.scss → panelV2.scss} +114 -114
- package/src/digitv2/components/popUpV2.scss +330 -308
- package/src/digitv2/components/radiobtnV2.scss +115 -113
- package/src/digitv2/components/{selectdropdownV2.scss → selectDropdownV2.scss} +364 -360
- package/src/digitv2/components/{stepper.scss → stepperV2.scss} +147 -126
- package/src/digitv2/components/textInputV2.scss +462 -462
- package/src/digitv2/components/textareaV2.scss +99 -99
- package/src/digitv2/components/{textblock.scss → textblockV2.scss} +46 -46
- package/src/digitv2/components/{timeline.scss → timelineV2.scss} +170 -126
- package/src/digitv2/components/toastV2.scss +80 -80
- package/src/digitv2/components/{toggle.scss → toggleV2.scss} +72 -72
- package/src/digitv2/components/topbarV2.scss +388 -187
- package/src/digitv2/components/treeSelectV2.scss +132 -132
- package/src/digitv2/components/{uploader.scss → uploaderV2.scss} +556 -468
- package/src/digitv2/components/viewCardFieldPairV2.scss +45 -0
- package/src/digitv2/index.scss +169 -197
- package/src/digitv2/pages/employee/index.scss +1 -1
- package/src/digitv2/pages/employee/workbench.scss +615 -615
- package/src/digitv2/typography.scss +638 -657
- package/src/index.scss +681 -774
- package/src/pages/employee/index.scss +625 -625
- package/src/pages/employee/login.scss +220 -220
- 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/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/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
|
@@ -1,76 +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
|
-
|
|
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
76
|
}
|
|
@@ -1,58 +1,67 @@
|
|
|
1
|
-
.digit-label-field-pair {
|
|
2
|
-
@apply mb-lg flex;
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
@media (min-aspect-ratio: 9/16) {
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
@media (
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
& .
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
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 (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
10
|
+
gap: theme(digitv2.spacers.spacer5);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@media (max-aspect-ratio: 9/16) {
|
|
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);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&.vertical {
|
|
23
|
+
@apply flex-col items-start;
|
|
24
|
+
gap: theme(digitv2.spacers.spacer2);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
& .label,
|
|
28
|
+
& header {
|
|
29
|
+
width: 33%;
|
|
30
|
+
|
|
31
|
+
@media (max-aspect-ratio: 9/16) {
|
|
32
|
+
@apply w-full;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
& .digit-field {
|
|
37
|
+
width: 60%;
|
|
38
|
+
|
|
39
|
+
@media (max-aspect-ratio: 9/16) {
|
|
40
|
+
width: 100%;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@screen dt {
|
|
46
|
+
.digit-employee-card {
|
|
47
|
+
.digit-label-field-pair {
|
|
48
|
+
@apply mb-lg flex;
|
|
49
|
+
|
|
50
|
+
h2 {
|
|
51
|
+
width: 30%;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.digit-field {
|
|
55
|
+
|
|
56
|
+
.field {
|
|
57
|
+
margin-right: unset;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.digit-field {
|
|
61
|
+
@apply mb-lg;
|
|
62
|
+
margin-right: unset;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
58
67
|
}
|
|
@@ -1,65 +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:
|
|
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
|
-
}
|
|
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:100%;
|
|
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
|
+
}
|