@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,463 @@
|
|
|
1
|
+
@import url("../index.scss");
|
|
2
|
+
@import url("../typography.scss");
|
|
3
|
+
|
|
4
|
+
.digit-card-inputError {
|
|
5
|
+
@apply block w-full h-10 outline-none bg-white text-text-primary;
|
|
6
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
7
|
+
padding-left:theme(digitv2.spacers.spacer3);
|
|
8
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
9
|
+
font-size: theme(digitv2.spacers.spacer4);
|
|
10
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
11
|
+
line-height: theme(digitv2.spacers.spacer6);
|
|
12
|
+
border: 0.094rem solid theme(digitv2.lightTheme.alert-error);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.digit-text-input-field {
|
|
16
|
+
@apply relative w-full;
|
|
17
|
+
|
|
18
|
+
&.geolocation {
|
|
19
|
+
input {
|
|
20
|
+
@apply pointer-events-none;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.numeric {
|
|
25
|
+
input {
|
|
26
|
+
@apply text-center overflow-hidden whitespace-no-wrap;
|
|
27
|
+
text-overflow: ellipsis;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.input-container:focus-within {
|
|
31
|
+
input {
|
|
32
|
+
border-left-style: hidden;
|
|
33
|
+
border-right-style: hidden;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&.numeric-buttons-only{
|
|
38
|
+
input{
|
|
39
|
+
pointer-events: none !important;
|
|
40
|
+
cursor: not-allowed;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&.prefix {
|
|
46
|
+
.input-container:focus-within {
|
|
47
|
+
input {
|
|
48
|
+
border-left-style: hidden;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&.suffix {
|
|
54
|
+
.input-container:focus-within {
|
|
55
|
+
input {
|
|
56
|
+
border-right-style: hidden;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&.password {
|
|
62
|
+
input {
|
|
63
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
64
|
+
font-size: theme(digitv2.spacers.spacer4);
|
|
65
|
+
font-weight: 900;
|
|
66
|
+
line-height: theme(digitv2.spacers.spacer6);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&.disabled {
|
|
71
|
+
|
|
72
|
+
input,
|
|
73
|
+
.digit-prefix,
|
|
74
|
+
.digit-suffix,
|
|
75
|
+
.digit-numeric-button-prefix,
|
|
76
|
+
.digit-numeric-button-suffix {
|
|
77
|
+
pointer-events: none !important;
|
|
78
|
+
cursor: not-allowed;
|
|
79
|
+
background-color: theme(digitv2.lightTheme.generic-background);
|
|
80
|
+
border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
|
|
81
|
+
color: theme(digitv2.lightTheme.generic-divider);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
input {
|
|
85
|
+
background-color: white;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.digit-numeric-button-prefix,
|
|
89
|
+
.digit-prefix {
|
|
90
|
+
border-right-style: hidden;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.digit-numeric-button-suffix,
|
|
94
|
+
.digit-suffix {
|
|
95
|
+
border-left-style: hidden;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
input[type="time"]::-webkit-calendar-picker-indicator,
|
|
100
|
+
input[type="date"]::-webkit-calendar-picker-indicator,
|
|
101
|
+
input[type="date"]:disabled::-webkit-calendar-picker-indicator,
|
|
102
|
+
input[type="time"]:disabled::-webkit-calendar-picker-indicator {
|
|
103
|
+
@apply absolute cursor-pointer w-6 h-6;
|
|
104
|
+
right: theme(digitv2.spacers.spacer3);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
input[type="date"]:disabled::-webkit-calendar-picker-indicator,
|
|
108
|
+
input[type="time"]:disabled::-webkit-calendar-picker-indicator {
|
|
109
|
+
visibility: visible;
|
|
110
|
+
filter: invert(85%) sepia(0%) saturate(337%) hue-rotate(50deg) brightness(99%) contrast(99%);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
input[type="date"][value=""]::-webkit-datetime-edit,
|
|
114
|
+
input[type="time"][value=""]::-webkit-datetime-edit,
|
|
115
|
+
input[type="date"]:disabled::-webkit-datetime-edit,
|
|
116
|
+
input[type="time"]:disabled::-webkit-datetime-edit,
|
|
117
|
+
input[type="search"]::-webkit-search-cancel-button,
|
|
118
|
+
input[type="search"]::-webkit-search-clear-button {
|
|
119
|
+
display: none;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
::placeholder,
|
|
123
|
+
input[type="date"][value=""]:not(:placeholder-shown)::before,
|
|
124
|
+
input[type="time"][value=""]:not(:placeholder-shown)::before {
|
|
125
|
+
content: attr(placeholder);
|
|
126
|
+
color: theme(digitv2.lightTheme.text-disabled);
|
|
127
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
128
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
129
|
+
font-size: theme(digitv2.spacers.spacer4);
|
|
130
|
+
line-height: theme(digitv2.spacers.spacer6);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
&.noneditable {
|
|
134
|
+
|
|
135
|
+
.digit-prefix,
|
|
136
|
+
.digit-suffix,
|
|
137
|
+
.digit-numeric-button-prefix,
|
|
138
|
+
.digit-numeric-button-suffix {
|
|
139
|
+
pointer-events: none !important;
|
|
140
|
+
border: 0.063rem solid theme(digitv2.lightTheme.generic-inputborder);
|
|
141
|
+
background: theme(digitv2.lightTheme.generic-background);
|
|
142
|
+
color: theme(digitv2.lightTheme.text-disabled);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
input {
|
|
146
|
+
border: 0.063rem solid theme(digitv2.lightTheme.generic-inputborder);
|
|
147
|
+
background: theme(digitv2.lightTheme.generic-background);
|
|
148
|
+
color: theme(digitv2.lightTheme.text-disabled);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.digit-numeric-button-prefix,
|
|
152
|
+
.digit-prefix {
|
|
153
|
+
border-right-style: hidden;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.digit-numeric-button-suffix,
|
|
157
|
+
.digit-suffix {
|
|
158
|
+
border-left-style: hidden;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
input[type="date"]::-webkit-calendar-picker-indicator,
|
|
162
|
+
input[type="time"]::-webkit-calendar-picker-indicator {
|
|
163
|
+
visibility: visible;
|
|
164
|
+
filter: invert(74%) sepia(7%) saturate(64%) hue-rotate(144deg) brightness(98%) contrast(89%);
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
&.error {
|
|
169
|
+
|
|
170
|
+
input,
|
|
171
|
+
.digit-prefix,
|
|
172
|
+
.digit-suffix,
|
|
173
|
+
.digit-numeric-button-prefix,
|
|
174
|
+
.digit-numeric-button-suffix {
|
|
175
|
+
border: 0.094rem solid theme(digitv2.lightTheme.alert-error);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.digit-numeric-button-prefix,
|
|
179
|
+
.digit-prefix {
|
|
180
|
+
border-right: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.digit-numeric-button-suffix,
|
|
184
|
+
.digit-suffix {
|
|
185
|
+
border-left: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
&.numeric {
|
|
189
|
+
input {
|
|
190
|
+
border-left-style: hidden;
|
|
191
|
+
border-right-style: hidden;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
&.suffix {
|
|
196
|
+
input {
|
|
197
|
+
border-right-style: hidden;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
&.prefix {
|
|
202
|
+
input {
|
|
203
|
+
border-left-style: hidden;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
.digit-card-input-field {
|
|
211
|
+
@apply outline-none mt-sm block w-full h-10 bg-white text-form-field;
|
|
212
|
+
padding-left: theme(digitv2.spacers.spacer3);
|
|
213
|
+
border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
|
|
214
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
215
|
+
line-height: theme(digitv2.spacers.spacer6);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.digit-card-inputError {
|
|
219
|
+
@apply block w-full h-10 outline-none bg-white text-form-field text-text-primary;
|
|
220
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
221
|
+
padding-left: theme(digitv2.spacers.spacer3);
|
|
222
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
223
|
+
font-size: theme(digitv2.spacers.spacer4);
|
|
224
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
225
|
+
line-height: theme(digitv2.spacers.spacer6);
|
|
226
|
+
border: 0.094rem solid theme(digitv2.lightTheme.alert-error);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.digit-employeeCard-input {
|
|
230
|
+
@extend .typography.text-body-s;
|
|
231
|
+
@apply outline-none block w-full h-10 bg-white text-form-field;
|
|
232
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
233
|
+
padding-left: theme(digitv2.spacers.spacer3);
|
|
234
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
235
|
+
font-size: theme(digitv2.spacers.spacer4);
|
|
236
|
+
border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
|
|
237
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
238
|
+
line-height: theme(digitv2.spacers.spacer6);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.digit-employeeCard-input:disabled {
|
|
242
|
+
@apply border-grey-dark text-grey-dark !important;
|
|
243
|
+
pointer-events: none !important;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.digit-employeeCard-input--front {
|
|
247
|
+
@extend .typography.text-body-s;
|
|
248
|
+
@apply flex items-center;
|
|
249
|
+
width: fit-content !important;
|
|
250
|
+
background: theme(colors.grey.mid);
|
|
251
|
+
border-right: 0;
|
|
252
|
+
padding-right: 0.313rem;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.digit-employeeCard-inputError {
|
|
256
|
+
@extend .typography.text-body-s;
|
|
257
|
+
@apply block w-full h-10 outline-none bg-white text-form-field text-text-primary;
|
|
258
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
259
|
+
padding-left: theme(digitv2.spacers.spacer3);
|
|
260
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
261
|
+
font-size: theme(digitv2.spacers.spacer4);
|
|
262
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
263
|
+
line-height: theme(digitv2.spacers.spacer6);
|
|
264
|
+
border: 0.094rem solid theme(digitv2.lightTheme.alert-error);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.digit-inputWrapper {
|
|
268
|
+
@apply flex justify-start;
|
|
269
|
+
max-width: 31.25rem;
|
|
270
|
+
|
|
271
|
+
div {
|
|
272
|
+
max-width: 5rem;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
span {
|
|
276
|
+
margin-top: theme(digitv2.spacers.spacer4);
|
|
277
|
+
margin-left: 10%;
|
|
278
|
+
margin-right: 10%;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
@screen dt {
|
|
283
|
+
.digit-card-input-field {
|
|
284
|
+
width: 30rem;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.digit-card-input-field-emp {
|
|
288
|
+
width: 15rem;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.digit-card-inputError {
|
|
292
|
+
width: 30rem;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.digit-employeeCard-input {
|
|
296
|
+
@apply w-full;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.digit-employeeCard-inputError {
|
|
300
|
+
@apply w-full;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.digit-card-textarea-field {
|
|
304
|
+
@apply w-full;
|
|
305
|
+
max-width: 33.75rem;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.card-input-emp {
|
|
309
|
+
width: 15rem;
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.digit-citizenCard-input {
|
|
314
|
+
@extend .typography.text-body-s;
|
|
315
|
+
@apply outline-none block w-full h-10 bg-white;
|
|
316
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
317
|
+
padding-left: theme(digitv2.spacers.spacer3);
|
|
318
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
319
|
+
font-size: theme(digitv2.spacers.spacer4);
|
|
320
|
+
border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
|
|
321
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
322
|
+
line-height: theme(digitv2.spacers.spacer6);
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.digit-citizenCard-input--front {
|
|
326
|
+
@extend .typography.text-body-s;
|
|
327
|
+
@apply flex items-center;
|
|
328
|
+
width: fit-content !important;
|
|
329
|
+
background: theme(colors.grey.mid);
|
|
330
|
+
border-right: 0;
|
|
331
|
+
padding-right: 0.313rem;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.digit-employeeCard-inputError {
|
|
335
|
+
@extend .typography.text-body-s;
|
|
336
|
+
@extend .light-input-border;
|
|
337
|
+
@apply block w-full h-10 outline-none bg-white text-form-field text-text-primary;
|
|
338
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
339
|
+
padding-left: theme(digitv2.spacers.spacer3);
|
|
340
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
341
|
+
font-size: theme(digitv2.spacers.spacer4);
|
|
342
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
343
|
+
line-height:theme(digitv2.spacers.spacer6);
|
|
344
|
+
border: 0.094rem solid theme(digitv2.lightTheme.alert-error);
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.digit-card-inputError {
|
|
348
|
+
@extend .light-input-border;
|
|
349
|
+
@apply block w-full h-10 outline-none bg-white text-form-field text-text-primary;
|
|
350
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
351
|
+
padding-left: theme(digitv2.spacers.spacer3);
|
|
352
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
353
|
+
font-size: theme(digitv2.spacers.spacer4);
|
|
354
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
355
|
+
line-height: theme(digitv2.spacers.spacer6);
|
|
356
|
+
border: 0.094rem solid theme(digitv2.lightTheme.alert-error);
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
.input-container {
|
|
361
|
+
@apply relative flex items-center h-10;
|
|
362
|
+
max-width: 37.5rem;
|
|
363
|
+
|
|
364
|
+
&.date,
|
|
365
|
+
&.time,
|
|
366
|
+
&.geolocation,
|
|
367
|
+
&.password,
|
|
368
|
+
&.search,
|
|
369
|
+
&.passwordToText,
|
|
370
|
+
&.withIcon {
|
|
371
|
+
input {
|
|
372
|
+
padding-right: theme(digitv2.spacers.spacer10);
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
377
|
+
/* Media query for tablets */
|
|
378
|
+
max-width: 27.5rem;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
@media (max-aspect-ratio: 9/16) {
|
|
382
|
+
/* Media query for mobile */
|
|
383
|
+
max-width: 20.5rem;
|
|
384
|
+
width: 100%;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
@media (min-aspect-ratio: 3/4) {
|
|
388
|
+
/* Media query for desktop */
|
|
389
|
+
max-width: 37.5rem;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
.input-container:focus-within {
|
|
395
|
+
|
|
396
|
+
.digit-numeric-button-prefix:not([readonly]),
|
|
397
|
+
.digit-numeric-button-suffix:not([readonly]),
|
|
398
|
+
.digit-prefix:not([readonly]),
|
|
399
|
+
.digit-suffix:not([readonly]),
|
|
400
|
+
input:not([readonly]) {
|
|
401
|
+
outline: none;
|
|
402
|
+
border: 0.094rem solid theme(digitv2.lightTheme.primary-1);
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
.digit-numeric-button-prefix,
|
|
406
|
+
.digit-prefix {
|
|
407
|
+
border-right: 0.063rem solid theme(digitv2.lightTheme.text-secondary) !important;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
.digit-numeric-button-suffix,
|
|
411
|
+
.digit-suffix {
|
|
412
|
+
border-left: 0.063rem solid theme(digitv2.lightTheme.text-secondary) !important;
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.digit-prefix,
|
|
417
|
+
.digit-suffix,
|
|
418
|
+
.digit-numeric-button-prefix,
|
|
419
|
+
.digit-numeric-button-suffix {
|
|
420
|
+
@apply font-bold text-center;
|
|
421
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
422
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
423
|
+
color: theme(digitv2.lightTheme.text-secondary);
|
|
424
|
+
font-size: theme(digitv2.spacers.spacer5);
|
|
425
|
+
height: theme(digitv2.spacers.spacer10) !important;
|
|
426
|
+
border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
|
|
427
|
+
line-height: 1.172rem;
|
|
428
|
+
background: theme(colors.grey.mid);
|
|
429
|
+
max-width: none !important;
|
|
430
|
+
flex: 0 0 2.5rem;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
.digit-numeric-button-prefix,
|
|
434
|
+
.digit-numeric-button-suffix {
|
|
435
|
+
width: theme(digitv2.spacers.spacer10) !important;
|
|
436
|
+
font-size: theme(digitv2.spacers.spacer6);
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.digit-prefix,
|
|
440
|
+
.digit-numeric-button-prefix {
|
|
441
|
+
border-right-style: hidden;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
.digit-suffix,
|
|
445
|
+
.digit-numeric-button-suffix {
|
|
446
|
+
border-left-style: hidden;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
.digit-prefix,
|
|
450
|
+
.digit-suffix {
|
|
451
|
+
@apply pointer-events-none;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
.digit-text-input-customIcon {
|
|
455
|
+
@apply absolute w-6 h-6 cursor-pointer;
|
|
456
|
+
top: theme(digitv2.spacers.spacer2);
|
|
457
|
+
right: theme(digitv2.spacers.spacer3);
|
|
458
|
+
|
|
459
|
+
&.nonEditable,
|
|
460
|
+
&.disabled {
|
|
461
|
+
@apply pointer-events-none;
|
|
462
|
+
}
|
|
463
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
.digit-card-textarea-field,
|
|
2
|
+
.digit-employee-card-textarea-field {
|
|
3
|
+
@apply block outline-none w-full bg-white text-form-field overflow-x-hidden overflow-y-hidden whitespace-pre-wrap;
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
7
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
8
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
9
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
10
|
+
border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
|
|
11
|
+
font-size: theme(digitv2.spacers.spacer4);
|
|
12
|
+
line-height: theme(digitv2.spacers.spacer6);
|
|
13
|
+
padding: theme(digitv2.spacers.spacer3) !important;
|
|
14
|
+
padding-top: theme(digitv2.spacers.spacer2) !important;
|
|
15
|
+
height: 6.25rem;
|
|
16
|
+
min-height:theme(digitv2.spacers.spacer10);
|
|
17
|
+
overflow-wrap: break-word;
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
&.disabled {
|
|
21
|
+
@apply text-grey-dark !important;
|
|
22
|
+
border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
|
|
23
|
+
pointer-events: none !important;
|
|
24
|
+
cursor: not-allowed;
|
|
25
|
+
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.noneditable {
|
|
29
|
+
pointer-events: none !important;
|
|
30
|
+
border: 0.063rem solid theme(digitv2.lightTheme.generic-inputborder);
|
|
31
|
+
background: theme(digitv2.lightTheme.generic-background);
|
|
32
|
+
color: theme(digitv2.lightTheme.text-secondary);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&.error {
|
|
36
|
+
border: 0.094rem solid theme(digitv2.lightTheme.alert-error);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&:hover {
|
|
40
|
+
overflow-y: auto;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&.resize-smart {
|
|
44
|
+
min-height: 6rem;
|
|
45
|
+
overflow: hidden;
|
|
46
|
+
resize: none;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
textarea::-webkit-scrollbar {
|
|
51
|
+
width: theme(digitv2.spacers.spacer2);
|
|
52
|
+
background-color: theme(digitv2.lightTheme.generic-background);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
textarea::-webkit-scrollbar-track {
|
|
56
|
+
background-color: theme(digitv2.lightTheme.generic-background);
|
|
57
|
+
border-radius: 0.563rem;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
textarea::-webkit-scrollbar-thumb {
|
|
61
|
+
background-color: theme(digitv2.lightTheme.generic-divider);
|
|
62
|
+
border-radius: 0.563rem;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.digit-employee-card-textarea-field {
|
|
66
|
+
@apply w-full;
|
|
67
|
+
height: 6.25rem;
|
|
68
|
+
|
|
69
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
70
|
+
/* Media query for tablets */
|
|
71
|
+
max-width: 27.5rem;
|
|
72
|
+
min-width: 12.5rem;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@media (max-aspect-ratio: 9/16) {
|
|
76
|
+
/* Media query for mobile */
|
|
77
|
+
max-width: 20.5rem;
|
|
78
|
+
min-width: 9.75rem;
|
|
79
|
+
width: 100%;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@media (min-aspect-ratio: 3/4) {
|
|
83
|
+
/* Media query for desktop */
|
|
84
|
+
max-width: 37.5rem;
|
|
85
|
+
min-width: 12.5rem;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.digit-card-textarea-field:focus,
|
|
90
|
+
.digit-employee-card-textarea-field:focus {
|
|
91
|
+
border: 0.094rem solid theme(digitv2.lightTheme.primary-1);
|
|
92
|
+
overflow-y: auto;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.digit-card-textarea-field.resize-smart:focus,
|
|
96
|
+
.digit-employee-card-textarea-field.resize-smart:focus,
|
|
97
|
+
.digit-card-textarea-field.resize-smart:hover,
|
|
98
|
+
.digit-employee-card-textarea-field.resize-smart:hover {
|
|
99
|
+
overflow: hidden;
|
|
100
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
.digit-text-block-wrap {
|
|
2
|
+
|
|
3
|
+
@apply flex flex-col;
|
|
4
|
+
|
|
5
|
+
@media (min-width: 48rem) {
|
|
6
|
+
gap: theme(digitv2.spacers.spacer6);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@media (min-width: 30.063rem) and (max-width: 47.938rem) {
|
|
10
|
+
gap: theme(digitv2.spacers.spacer5);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@media (max-width: 30rem) {
|
|
14
|
+
gap: theme(digitv2.spacers.spacer4);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
.digit-text-block-header-content {
|
|
19
|
+
.digit-text-block-caption {
|
|
20
|
+
@extend .typography.caption-s;
|
|
21
|
+
padding-bottom: theme(digitv2.spacers.spacer1);
|
|
22
|
+
color: theme(digitv2.lightTheme.text-secondary);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.digit-text-block-header {
|
|
26
|
+
@extend .typography.heading-xl;
|
|
27
|
+
padding-bottom: theme(digitv2.spacers.spacer2);
|
|
28
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
29
|
+
line-height: normal;
|
|
30
|
+
|
|
31
|
+
@media (max-width: 30rem) {
|
|
32
|
+
padding-bottom: theme(digitv2.spacers.spacer1);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.digit-text-block-subheader {
|
|
37
|
+
@extend .typography.heading-m;
|
|
38
|
+
color: theme(digitv2.lightTheme.text-secondary);
|
|
39
|
+
line-height: normal;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.digit-text-block-body {
|
|
44
|
+
@extend .typography.body-s;
|
|
45
|
+
color: theme(digitv2.lightTheme.generic-inputborder);
|
|
46
|
+
}
|
|
47
|
+
}
|