datastake-daf 0.6.556 → 0.6.557

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.
@@ -0,0 +1,413 @@
1
+
2
+ .auth-layout {
3
+ min-height: 100vh;
4
+ width: 100%;
5
+ display: flex;
6
+ flex-direction: column;
7
+ background-color: #fff;
8
+ font-family: "Outfit", sans-serif;
9
+ position: relative;
10
+
11
+
12
+ .auth-top-header {
13
+ width: 100%;
14
+ display: flex;
15
+ justify-content: space-between;
16
+ align-items: center;
17
+ padding: 16px 32px;
18
+ background: #fff;
19
+ border-bottom: 1px solid #f2f2f2;
20
+
21
+ .left {
22
+ display: flex;
23
+ align-items: center;
24
+
25
+ .top-header-logo-combined {
26
+ height: 28px;
27
+ object-fit: contain;
28
+ }
29
+ }
30
+
31
+ .right {
32
+ display: flex;
33
+ align-items: center;
34
+ gap: 12px;
35
+
36
+ .back-btn {
37
+ border: 1px solid #d0d5dd;
38
+ background: transparent;
39
+ border-radius: 20px;
40
+ padding: 6px 16px;
41
+ font-size: 14px;
42
+ color: #101828;
43
+ transition: 0.2s;
44
+
45
+ &:hover {
46
+ background: #f9fafb;
47
+ }
48
+ }
49
+ }
50
+
51
+ @media (max-width: 768px) {
52
+ padding: 12px 16px;
53
+ .top-header-logo-combined {
54
+ height: 22px;
55
+ }
56
+ }
57
+ }
58
+
59
+
60
+ .auth-language-selector {
61
+ position: absolute;
62
+ top: 24px;
63
+ right: 24px;
64
+ z-index: 10;
65
+
66
+ @media (max-width: 768px) {
67
+ top: 16px;
68
+ right: 16px;
69
+ }
70
+
71
+ .language-select {
72
+ min-width: 100px;
73
+
74
+ .ant-select-selector {
75
+ background: #ffffff !important;
76
+ border: 1px solid #d0d5dd !important;
77
+ border-radius: 8px !important;
78
+ padding: 4px 12px !important;
79
+ height: auto !important;
80
+ box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05) !important;
81
+ }
82
+
83
+ .ant-select-arrow {
84
+ color: #667085;
85
+ }
86
+
87
+ .row-cont {
88
+ display: flex;
89
+ align-items: center;
90
+ gap: 8px;
91
+ }
92
+ }
93
+ }
94
+
95
+ .language-select-popup {
96
+ &.ant-select-dropdown {
97
+ border-radius: 8px;
98
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
99
+ 0 2px 4px -1px rgba(0, 0, 0, 0.06);
100
+
101
+ .ant-select-item {
102
+ padding: 8px 12px;
103
+
104
+ &:hover {
105
+ background: #f9fafb;
106
+ }
107
+
108
+ &-option-selected {
109
+ background: #f3f4f6;
110
+ font-weight: 500;
111
+ }
112
+ }
113
+ }
114
+ }
115
+
116
+
117
+ .main-cont {
118
+ flex: 1;
119
+ display: flex;
120
+ flex-direction: row;
121
+ justify-content: center;
122
+ min-height: 100vh;
123
+
124
+ @media (max-width: 768px) {
125
+ flex-direction: column;
126
+ justify-content: flex-start;
127
+ }
128
+
129
+ .d-cont {
130
+ flex: 1;
131
+ display: flex;
132
+ flex-direction: column;
133
+
134
+ &.left {
135
+ height: 100dvh;
136
+ overflow-y: auto;
137
+ padding: 6rem 0;
138
+ display: flex;
139
+ justify-content: center;
140
+
141
+ @media (max-width: 768px) {
142
+ height: unset;
143
+ overflow-y: hidden;
144
+ padding: 3rem 2rem;
145
+ }
146
+
147
+ .main {
148
+ width: 350px;
149
+ max-width: 100%;
150
+ display: flex;
151
+ flex-direction: column;
152
+ justify-content: center;
153
+ margin: 0 auto;
154
+
155
+ @media (max-width: 768px) {
156
+ width: 100%;
157
+ padding: 0;
158
+ }
159
+
160
+ .left-header {
161
+ margin-bottom: 32px;
162
+ text-align: start;
163
+
164
+ img.app-logo {
165
+ max-width: 200px;
166
+ width: 136px;
167
+ height: auto;
168
+ margin-bottom: 32px;
169
+ display: block;
170
+ margin-left: auto;
171
+ margin-right: auto;
172
+ }
173
+
174
+ h2 {
175
+ font-size: 36px;
176
+ line-height: 44px;
177
+ font-weight: 700;
178
+ margin-bottom: 8px;
179
+ color: #101828;
180
+
181
+ @media (max-width: 768px) {
182
+ font-size: 28px;
183
+ line-height: 36px;
184
+ }
185
+ }
186
+
187
+ p {
188
+ font-size: 16px;
189
+ line-height: 24px;
190
+ color: #667085;
191
+ margin-bottom: 0;
192
+
193
+ @media (max-width: 768px) {
194
+ font-size: 14px;
195
+ }
196
+ }
197
+ }
198
+
199
+ .dots {
200
+ display: flex;
201
+ gap: 8px;
202
+ margin-top: 32px;
203
+ justify-content: center;
204
+
205
+ .dot {
206
+ width: 12px;
207
+ height: 12px;
208
+ background: #e5e7eb;
209
+ border-radius: 6px;
210
+ transition: 0.4s width, 0.4s background;
211
+
212
+ &.active {
213
+ width: 35px;
214
+ background: #3b82f6;
215
+ }
216
+ }
217
+ }
218
+ }
219
+ }
220
+
221
+ &.right {
222
+ background-size: cover;
223
+ background-position: center;
224
+ background-repeat: no-repeat;
225
+ position: relative;
226
+ padding: 0;
227
+ display: flex;
228
+ flex-direction: column;
229
+
230
+ @media (max-width: 768px) {
231
+ display: none;
232
+ }
233
+
234
+ .right-img {
235
+ flex: 1;
236
+ width: 100%;
237
+ height: 100%;
238
+ min-height: 100vh;
239
+ background-position: center;
240
+ background-repeat: no-repeat;
241
+ background-size: cover;
242
+
243
+ @media (max-width: 1200px) {
244
+ min-height: 100vh;
245
+ }
246
+ }
247
+ }
248
+ }
249
+ }
250
+
251
+ .d-cont.left {
252
+ a {
253
+ color: #3b82f6;
254
+ text-decoration: none;
255
+ transition: color 0.2s;
256
+
257
+ &:hover {
258
+ color: #2563eb;
259
+ }
260
+ }
261
+
262
+ .ant-form-item-required {
263
+ &::before {
264
+ content: unset !important;
265
+ }
266
+ }
267
+
268
+ .ant-input {
269
+ padding: 10px 12px;
270
+ font-size: 14px;
271
+ font-weight: 400;
272
+ border: 1px solid #e5e7eb;
273
+ border-radius: 6px;
274
+ transition: border-color 0.2s;
275
+
276
+ &:hover {
277
+ border-color: #d1d5db;
278
+ }
279
+
280
+ &:focus {
281
+ border-color: #3b82f6;
282
+ box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
283
+ }
284
+ }
285
+
286
+ .ant-input-affix-wrapper {
287
+ padding: 11px 14px;
288
+ border: 1px solid #e5e7eb;
289
+ border-radius: 8px;
290
+
291
+ .ant-input {
292
+ padding: 0;
293
+ border: unset;
294
+ border-radius: unset;
295
+ }
296
+
297
+ .ant-input-prefix {
298
+ margin-right: 10px;
299
+ color: #a4a4a4;
300
+ }
301
+ }
302
+
303
+ .ant-select-selector {
304
+ padding: 4px 12px !important;
305
+ border-radius: 6px !important;
306
+ height: fit-content !important;
307
+ font-size: 14px;
308
+ border: 1px solid #e5e7eb !important;
309
+ font-weight: 400;
310
+ transition: border-color 0.2s !important;
311
+
312
+ .ant-select-selection-search {
313
+ display: flex;
314
+ flex-direction: column;
315
+ justify-content: center;
316
+ }
317
+ }
318
+
319
+ .ant-select:hover .ant-select-selector {
320
+ border-color: #d1d5db !important;
321
+ }
322
+
323
+ .ant-select-focused .ant-select-selector {
324
+ border-color: #3b82f6 !important;
325
+ box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
326
+ }
327
+
328
+ .buttons {
329
+ display: flex;
330
+ flex-direction: column;
331
+ margin-top: 24px;
332
+ gap: 12px;
333
+ }
334
+
335
+ .bottom {
336
+ margin-top: 10px;
337
+ display: flex;
338
+ flex-direction: column;
339
+ gap: 4px;
340
+
341
+ p {
342
+ color: #667085;
343
+ font-size: 14px;
344
+ line-height: 20px;
345
+ margin-bottom: 0px;
346
+ }
347
+ }
348
+
349
+ @media (max-width: 575px) {
350
+ .ant-form-item {
351
+ flex-direction: row !important;
352
+ }
353
+ }
354
+ }
355
+
356
+
357
+ @keyframes slideLeft {
358
+ 0% {
359
+ transform: translate(-10%, 0%);
360
+ opacity: 0;
361
+ }
362
+ 100% {
363
+ transform: translate(0%, 0%);
364
+ opacity: 1;
365
+ }
366
+ }
367
+
368
+ @keyframes slideRight {
369
+ 0% {
370
+ transform: translate(10%, 0%);
371
+ opacity: 0;
372
+ }
373
+ 100% {
374
+ transform: translate(0%, 0%);
375
+ opacity: 1;
376
+ }
377
+ }
378
+
379
+ .d-cont.left {
380
+ animation: 0.7s slideRight forwards;
381
+ }
382
+
383
+ .d-cont.right {
384
+ animation: 0.7s slideLeft forwards;
385
+ }
386
+ }
387
+
388
+ //app specific themes
389
+
390
+ .auth-layout.sbg {
391
+ --primary-color: #f04438;
392
+
393
+ .ant-btn-primary {
394
+ background: var(--primary-color);
395
+ border-color: var(--primary-color);
396
+ }
397
+
398
+ .d-cont.right {
399
+ }
400
+ }
401
+
402
+ .auth-layout.nashiriki {
403
+ --primary-color: #004b91;
404
+
405
+ .ant-btn-primary {
406
+ background: var(--primary-color);
407
+ border-color: var(--primary-color);
408
+ }
409
+
410
+ .d-cont.right {
411
+ }
412
+ }
413
+
package/src/layouts.js CHANGED
@@ -1 +1,2 @@
1
- export { default as AppLayout } from './@daf/layouts/AppLayout/index.jsx';
1
+ export { default as AppLayout } from './@daf/layouts/AppLayout/index.jsx';
2
+ export { default as AuthLayout } from './@daf/layouts/AuthLayout/index.jsx';
package/build/favicon.ico DELETED
Binary file
package/build/logo192.png DELETED
Binary file
package/build/logo512.png DELETED
Binary file
@@ -1,25 +0,0 @@
1
- {
2
- "short_name": "React App",
3
- "name": "Create React App Sample",
4
- "icons": [
5
- {
6
- "src": "favicon.ico",
7
- "sizes": "64x64 32x32 24x24 16x16",
8
- "type": "image/x-icon"
9
- },
10
- {
11
- "src": "logo192.png",
12
- "type": "image/png",
13
- "sizes": "192x192"
14
- },
15
- {
16
- "src": "logo512.png",
17
- "type": "image/png",
18
- "sizes": "512x512"
19
- }
20
- ],
21
- "start_url": ".",
22
- "display": "standalone",
23
- "theme_color": "#000000",
24
- "background_color": "#ffffff"
25
- }
package/build/robots.txt DELETED
@@ -1,3 +0,0 @@
1
- # https://www.robotstxt.org/robotstxt.html
2
- User-agent: *
3
- Disallow: