@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,146 @@
|
|
|
1
|
+
.digit-upload-wrap {
|
|
2
|
+
@apply flex w-full h-40 bg-grey-light relative mb-lg px-sm border border-border border-dashed;
|
|
3
|
+
max-width: 540px;
|
|
4
|
+
min-height: 50px;
|
|
5
|
+
padding: 0.5rem;
|
|
6
|
+
|
|
7
|
+
img {
|
|
8
|
+
display: block;
|
|
9
|
+
margin-top: 58px;
|
|
10
|
+
margin-left: calc(50% - 23px);
|
|
11
|
+
height: 42px;
|
|
12
|
+
width: 46px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
svg {
|
|
16
|
+
display: block;
|
|
17
|
+
margin-top: 58px;
|
|
18
|
+
margin-left: calc(50% - 23px);
|
|
19
|
+
height: 42px;
|
|
20
|
+
width: 46px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
input {
|
|
24
|
+
@apply absolute w-full h-full opacity-0 top-0;
|
|
25
|
+
}
|
|
26
|
+
.digit-cell-text {
|
|
27
|
+
color: theme(colors.text.secondary);
|
|
28
|
+
padding-top: 3px;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.digit-multi-upload-wrap {
|
|
33
|
+
@apply flex mb-lg;
|
|
34
|
+
|
|
35
|
+
div {
|
|
36
|
+
display: block;
|
|
37
|
+
position: relative;
|
|
38
|
+
background-color: theme(colors.grey.light);
|
|
39
|
+
width: calc((100% - 16px) / 3);
|
|
40
|
+
margin-right: 8px;
|
|
41
|
+
|
|
42
|
+
.digit-delete {
|
|
43
|
+
position: absolute;
|
|
44
|
+
height: 24px;
|
|
45
|
+
width: 24px;
|
|
46
|
+
border-radius: 100%;
|
|
47
|
+
top: 2px;
|
|
48
|
+
right: 2px;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.digit-upload-img-container {
|
|
53
|
+
border: 1px dashed theme(colors.border);
|
|
54
|
+
margin: 0 !important;
|
|
55
|
+
|
|
56
|
+
img {
|
|
57
|
+
margin-left: auto;
|
|
58
|
+
margin-right: auto;
|
|
59
|
+
padding-top: calc(33% - 21px);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
svg {
|
|
63
|
+
@apply flex;
|
|
64
|
+
margin: auto;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
svg {
|
|
68
|
+
margin-left: auto;
|
|
69
|
+
margin-right: auto;
|
|
70
|
+
top: calc(50% - 21px);
|
|
71
|
+
position: relative;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
input {
|
|
75
|
+
@apply absolute w-full h-full opacity-0 top-0;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.digit-upload-file-max-width {
|
|
81
|
+
max-width: 540px;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.digit-upload-file {
|
|
85
|
+
min-height: 56px;
|
|
86
|
+
@apply relative border border-input-border w-full;
|
|
87
|
+
|
|
88
|
+
div {
|
|
89
|
+
@apply flex flex-row h-full items-center pl-md mt-sm flex-wrap;
|
|
90
|
+
|
|
91
|
+
.file-upload-status {
|
|
92
|
+
@apply text-body-s-dt ml-sm;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
input {
|
|
96
|
+
width: 160px;
|
|
97
|
+
@apply absolute top-0 left-0 opacity-0 h-full;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
@screen dt {
|
|
102
|
+
.digit-multi-upload-wrap img {
|
|
103
|
+
width: 100%;
|
|
104
|
+
height: 158px;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.digit-upload-file-button-wrap {
|
|
109
|
+
display: flex;
|
|
110
|
+
justify-content: flex-start;
|
|
111
|
+
align-items: center;
|
|
112
|
+
flex-wrap: wrap;
|
|
113
|
+
margin: 0px;
|
|
114
|
+
padding: 0px;
|
|
115
|
+
button {
|
|
116
|
+
height: auto;
|
|
117
|
+
min-height: 40px;
|
|
118
|
+
width: 43%;
|
|
119
|
+
max-height: 40px;
|
|
120
|
+
margin: 5px;
|
|
121
|
+
padding: 0px;
|
|
122
|
+
h2 {
|
|
123
|
+
word-break: break-all;
|
|
124
|
+
height: auto;
|
|
125
|
+
line-height: 16px;
|
|
126
|
+
overflow: hidden;
|
|
127
|
+
max-height: 34px;
|
|
128
|
+
max-width: 100%;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
.digit-tag-container {
|
|
132
|
+
margin: 0px;
|
|
133
|
+
padding: 0px;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
.digit-input-mirror-selector-button {
|
|
137
|
+
@apply h-16 bg-border text-center border-b-2 border-input-border border-solid outline-none px-lg !important;
|
|
138
|
+
|
|
139
|
+
&:focus {
|
|
140
|
+
@apply outline-none;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
h2 {
|
|
144
|
+
@apply font-rc font-medium text-legend text-text-primary;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
@@ -0,0 +1,469 @@
|
|
|
1
|
+
.digit-upload-image-drawer {
|
|
2
|
+
@apply w-full fixed left-0 right-0 flex-col;
|
|
3
|
+
display: flex;
|
|
4
|
+
background-color: theme(digitv2.lightTheme.paper-primary);
|
|
5
|
+
border-radius: theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer0) theme(digitv2.spacers.spacer0);
|
|
6
|
+
z-index: 1000;
|
|
7
|
+
border-radius: theme(digitv2.spacers.spacer1);
|
|
8
|
+
gap: theme(digitv2.spacers.spacer6);
|
|
9
|
+
padding: theme(digitv2.spacers.spacer6);
|
|
10
|
+
|
|
11
|
+
.image-upload-options {
|
|
12
|
+
@apply h-full;
|
|
13
|
+
display: flex;
|
|
14
|
+
|
|
15
|
+
.upload-options {
|
|
16
|
+
@apply items-center flex-col;
|
|
17
|
+
display: flex;
|
|
18
|
+
flex: 1;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
gap: theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer0);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.upload-options-label {
|
|
24
|
+
@extend .typography.label;
|
|
25
|
+
@apply cursor-pointer;
|
|
26
|
+
color: theme(digitv2.lightTheme.primary-1);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@media (min-width: 30.063rem) and (max-width: 47.938rem) {
|
|
31
|
+
height: 14.25rem;
|
|
32
|
+
width: 27.5rem;
|
|
33
|
+
left: 50%;
|
|
34
|
+
top: 25%;
|
|
35
|
+
transform: translateX(-50%);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@media (min-width: 48rem) {
|
|
39
|
+
width: 37.5rem;
|
|
40
|
+
height: 15rem;
|
|
41
|
+
left: 50%;
|
|
42
|
+
top: 25%;
|
|
43
|
+
transform: translateX(-50%);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@media (max-width: 30rem) {
|
|
47
|
+
height: 7.625rem;
|
|
48
|
+
animation: slideInFromBottom 0.5s ease-out forwards;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
.capture-close {
|
|
53
|
+
@apply w-8 h-8 absolute top-0 right-0 cursor-pointer mt-sm mr-sm;
|
|
54
|
+
display: flex;
|
|
55
|
+
|
|
56
|
+
svg {
|
|
57
|
+
flex-shrink: 0;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
.digit-uploader-wrap {
|
|
64
|
+
@apply flex flex-col;
|
|
65
|
+
gap: theme(digitv2.spacers.spacer3);
|
|
66
|
+
|
|
67
|
+
@media (max-width: 30rem) {
|
|
68
|
+
gap: theme(digitv2.spacers.spacer2);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.digit-upload-label {
|
|
72
|
+
@extend .typography.label;
|
|
73
|
+
@apply text-left;
|
|
74
|
+
margin: theme(digitv2.spacers.spacer0);
|
|
75
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.digit-uploader-content {
|
|
79
|
+
@apply flex w-full;
|
|
80
|
+
gap: theme(digitv2.spacers.spacer3);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
label {
|
|
84
|
+
outline: none !important;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.digit-uploader-content-uploadpopup {
|
|
88
|
+
@apply flex flex-col w-full items-center justify-center max-w-full border-dashed;
|
|
89
|
+
gap: theme(digitv2.spacers.spacer4);
|
|
90
|
+
border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
|
|
91
|
+
background: theme(digitv2.lightTheme.paper-secondary);
|
|
92
|
+
padding: theme(digitv2.spacers.spacer4);
|
|
93
|
+
height: 9rem;
|
|
94
|
+
|
|
95
|
+
@media (min-width: 30.063rem) and (max-width: 47.938rem) {
|
|
96
|
+
min-width: 18.75rem;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
@media (max-width: 30rem) {
|
|
100
|
+
min-width: 17.938rem;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
@media (min-width: 48rem) {
|
|
104
|
+
min-width: 18.75rem;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
svg {
|
|
108
|
+
flex-shrink: 0;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.drag-drop-text {
|
|
112
|
+
@extend .typography.body-s;
|
|
113
|
+
@apply items-center;
|
|
114
|
+
color: theme(digitv2.lightTheme.text-disabled);
|
|
115
|
+
display: flex;
|
|
116
|
+
margin: theme(digitv2.spacers.spacer0);
|
|
117
|
+
|
|
118
|
+
@media (max-width: 30rem) {
|
|
119
|
+
@apply flex-col;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
&.error {
|
|
124
|
+
@apply border-dashed;
|
|
125
|
+
border: 0.094rem solid theme(digitv2.lightTheme.alert-error);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.digit-uploadpopup-label {
|
|
130
|
+
@extend .typography.body-s;
|
|
131
|
+
color: theme(digitv2.lightTheme.text-disabled);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.digit-upload {
|
|
135
|
+
@apply h-10;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.digit-uploader-input {
|
|
139
|
+
@extend .typography.body-s;
|
|
140
|
+
@apply h-10;
|
|
141
|
+
background-color: transparent;
|
|
142
|
+
border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
|
|
143
|
+
padding: theme(digitv2.spacers.spacer2);
|
|
144
|
+
color: theme(digitv2.lightTheme.text-primary) !important;
|
|
145
|
+
|
|
146
|
+
&:focus {
|
|
147
|
+
@apply outline-none;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
&.error {
|
|
151
|
+
border: 0.094rem solid theme(digitv2.lightTheme.alert-error);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
input::placeholder {
|
|
157
|
+
color: theme(digitv2.lightTheme.text-disabled) !important;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.digit-upload,
|
|
161
|
+
.digit-uploader-input {
|
|
162
|
+
|
|
163
|
+
@apply w-full;
|
|
164
|
+
|
|
165
|
+
@media (min-width: 30.063rem) and (max-width: 47.938rem) {
|
|
166
|
+
max-width: 19rem;
|
|
167
|
+
min-width: 12.5rem;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
@media (max-width: 30rem) {
|
|
171
|
+
max-width: 12.313rem;
|
|
172
|
+
min-width: 9.75rem;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
@media (min-width: 48rem) {
|
|
176
|
+
max-width: 29.25rem;
|
|
177
|
+
min-width: 12.5rem;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.digit-img-container {
|
|
183
|
+
@apply flex flex-wrap max-w-full;
|
|
184
|
+
gap: theme(digitv2.spacers.spacer3);
|
|
185
|
+
|
|
186
|
+
.preview-container {
|
|
187
|
+
@apply relative cursor-pointer h-auto;
|
|
188
|
+
width: 6.25rem;
|
|
189
|
+
min-height: 6.25rem;
|
|
190
|
+
|
|
191
|
+
.preview-file-name{
|
|
192
|
+
@apply whitespace-pre-wrap break-words;
|
|
193
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
img {
|
|
197
|
+
width: 6.25rem !important;
|
|
198
|
+
height: 6.25rem !important;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
&.inprogress {
|
|
202
|
+
background: #6F6F6FB2;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
&.error {
|
|
206
|
+
img {
|
|
207
|
+
border: 0.063rem solid theme(digitv2.lightTheme.alert-error);
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
@media (min-width: 30.063rem) and (max-width: 47.938rem) {
|
|
213
|
+
min-width: 20.75rem;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
@media (max-width: 30rem) {
|
|
217
|
+
min-width: 18rem;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
@media (min-width: 48rem) {
|
|
221
|
+
min-width: 20.75rem;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.digit-uploader-close-icon {
|
|
226
|
+
@apply absolute top-0 right-0 w-6 h-6 cursor-pointer;
|
|
227
|
+
background-color: theme(digitv2.lightTheme.primary-2);
|
|
228
|
+
padding: theme(digitv2.spacers.spacer1);
|
|
229
|
+
|
|
230
|
+
&.error {
|
|
231
|
+
background-color: theme(digitv2.lightTheme.alert-error);
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.digit-upload-helptext {
|
|
236
|
+
@extend .typography.body-s;
|
|
237
|
+
@apply text-left;
|
|
238
|
+
margin: theme(digitv2.spacers.spacer0);
|
|
239
|
+
color: theme(digitv2.lightTheme.text-secondary);
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.digit-uploaded-file-container {
|
|
243
|
+
@apply items-start relative w-full max-w-full flex-wrap;
|
|
244
|
+
display: flex !important;
|
|
245
|
+
gap: theme(digitv2.spacers.spacer3);
|
|
246
|
+
border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
|
|
247
|
+
background-color: theme(digitv2.lightTheme.paper-secondary);
|
|
248
|
+
margin: theme(digitv2.spacers.spacer0);
|
|
249
|
+
padding: theme(digitv2.spacers.spacer4);
|
|
250
|
+
border-radius: theme(digitv2.spacers.spacer0);
|
|
251
|
+
|
|
252
|
+
@media (min-width: 30.063rem) and (max-width: 47.938rem) {
|
|
253
|
+
min-width: 18.75rem;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
@media (max-width: 30rem) {
|
|
257
|
+
min-width: 17.938rem;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
@media (min-width: 48rem) {
|
|
261
|
+
min-width: 18.75rem;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.uploaded-file-container-sub {
|
|
265
|
+
@apply items-center cursor-pointer;
|
|
266
|
+
display: flex !important;
|
|
267
|
+
gap: theme(digitv2.spacers.spacer2);
|
|
268
|
+
|
|
269
|
+
.uploaded-file-details {
|
|
270
|
+
@extend .typography.heading-s;
|
|
271
|
+
color: theme(digitv2.lightTheme.text-secondary);
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
svg {
|
|
275
|
+
flex-shrink: 0;
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.digit-upload-and-download-button {
|
|
280
|
+
@apply flex-wrap;
|
|
281
|
+
display: flex !important;
|
|
282
|
+
gap: theme(digitv2.spacers.spacer4);
|
|
283
|
+
margin-left: auto;
|
|
284
|
+
margin-right: theme(digitv2.spacers.spacer6);
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.digit-uploadpopup-close-icon {
|
|
288
|
+
@apply absolute top-0 right-0 w-6 h-6 items-center cursor-pointer;
|
|
289
|
+
background: theme(digitv2.lightTheme.generic-background);
|
|
290
|
+
border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
|
|
291
|
+
display: flex !important;
|
|
292
|
+
justify-content: center;
|
|
293
|
+
border-top: none;
|
|
294
|
+
border-right: none;
|
|
295
|
+
|
|
296
|
+
svg {
|
|
297
|
+
flex-shrink: 0;
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
&.error {
|
|
302
|
+
border: 0.063rem solid theme(digitv2.lightTheme.alert-error);
|
|
303
|
+
|
|
304
|
+
.digit-uploadpopup-close-icon {
|
|
305
|
+
background: theme(digitv2.lightTheme.alert-error);
|
|
306
|
+
border: 0.063rem solid theme(digitv2.lightTheme.alert-error);
|
|
307
|
+
border-top: none;
|
|
308
|
+
border-right: none;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.uploaded-file-container-sub {
|
|
312
|
+
|
|
313
|
+
.uploaded-file-details {
|
|
314
|
+
@apply flex-col;
|
|
315
|
+
color: theme(digitv2.lightTheme.alert-error);
|
|
316
|
+
display: flex;
|
|
317
|
+
gap: theme(digitv2.spacers.spacer1);
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.uploadpopup-error-card {
|
|
322
|
+
@apply w-full max-w-full;
|
|
323
|
+
margin: theme(digitv2.spacers.spacer0);
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.image-background {
|
|
329
|
+
@apply fixed top-0 left-0 right-0 bottom-0 w-full;
|
|
330
|
+
height: 100vh;
|
|
331
|
+
background-color: theme(digitv2.lightTheme.text-color-primary);
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.digit-image-uploader {
|
|
335
|
+
@apply flex-col items-center cursor-pointer;
|
|
336
|
+
display: flex;
|
|
337
|
+
border: 0.063rem solid theme(digitv2.lightTheme.generic-inputborder);
|
|
338
|
+
background-color: transparent;
|
|
339
|
+
justify-content: center;
|
|
340
|
+
gap: 0.188rem;
|
|
341
|
+
padding: theme(digitv2.spacers.spacer10);
|
|
342
|
+
|
|
343
|
+
width: 100%;
|
|
344
|
+
|
|
345
|
+
@media (min-width: 30.063rem) and (max-width: 47.938rem) {
|
|
346
|
+
min-width: 18.75rem;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
@media (max-width: 30rem) {
|
|
350
|
+
min-width: 17.938rem;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
@media (min-width: 48rem) {
|
|
354
|
+
min-width: 18.75rem;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.upload-image-label {
|
|
358
|
+
@extend .typography.body-xs;
|
|
359
|
+
color: theme(digitv2.lightTheme.primary-1);
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
.webcam-container {
|
|
364
|
+
@apply fixed flex-col;
|
|
365
|
+
z-index: 1001;
|
|
366
|
+
left: 50%;
|
|
367
|
+
top: 25%;
|
|
368
|
+
transform: translateX(-50%);
|
|
369
|
+
gap: theme(digitv2.spacers.spacer6);
|
|
370
|
+
background-color: theme(digitv2.lightTheme.paper-primary);
|
|
371
|
+
border-radius: theme(digitv2.spacers.spacer1);
|
|
372
|
+
padding: theme(digitv2.spacers.spacer6);
|
|
373
|
+
|
|
374
|
+
@media (min-width: 30.063rem) and (max-width: 47.938rem) {
|
|
375
|
+
max-height: 31.25rem;
|
|
376
|
+
max-width: 27.5rem;
|
|
377
|
+
top:15%;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
@media (min-width: 48rem) {
|
|
381
|
+
max-width: 45rem;
|
|
382
|
+
max-height: 28rem;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
@media (max-width: 30rem) {
|
|
386
|
+
max-width: 20.5rem;
|
|
387
|
+
max-height: 39rem;
|
|
388
|
+
top: 4%;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
.video-stream {
|
|
393
|
+
width: 100% !important;
|
|
394
|
+
height: 100% !important;
|
|
395
|
+
max-width: 100%;
|
|
396
|
+
|
|
397
|
+
@media (min-width: 30.063rem) and (max-width: 47.938rem) {
|
|
398
|
+
max-height: 24.5rem;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
@media (min-width: 48rem) {
|
|
402
|
+
max-height: 17.875rem;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
@media (max-width: 30rem) {
|
|
406
|
+
max-height: 26rem;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
video {
|
|
410
|
+
border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
|
|
411
|
+
width: 100% !important;
|
|
412
|
+
height: 100% !important;
|
|
413
|
+
max-width: 100% !important;
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
.cancel-capture-button-wrap {
|
|
418
|
+
gap: theme(digitv2.spacers.spacer6);
|
|
419
|
+
margin-left: auto;
|
|
420
|
+
|
|
421
|
+
@media (max-width: 30rem) {
|
|
422
|
+
justify-content: space-between;
|
|
423
|
+
margin-left: theme(digitv2.spacers.spacer0);
|
|
424
|
+
flex-direction: column;
|
|
425
|
+
|
|
426
|
+
button {
|
|
427
|
+
@apply w-full;
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
.capture-heading {
|
|
434
|
+
@extend .typography.heading-m;
|
|
435
|
+
@apply items-center;
|
|
436
|
+
color: #000000;
|
|
437
|
+
display: flex;
|
|
438
|
+
justify-content: space-between;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
.react-doc-viewer {
|
|
442
|
+
.image-render {
|
|
443
|
+
background-color: transparent;
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
@media (min-width: 30.063rem) and (max-width: 47.938rem) {
|
|
448
|
+
.digit-upload-image-drawer {
|
|
449
|
+
@apply relative;
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
@media (min-width: 48rem) {
|
|
454
|
+
.digit-upload-image-drawer {
|
|
455
|
+
@apply relative;
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
@keyframes slideInFromBottom {
|
|
462
|
+
from {
|
|
463
|
+
transform: translateY(100%);
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
to {
|
|
467
|
+
transform: translateY(0);
|
|
468
|
+
}
|
|
469
|
+
}
|