@djb25/digit-ui-css 1.0.45 → 1.0.46

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@djb25/digit-ui-css",
3
- "version": "1.0.45",
3
+ "version": "1.0.46",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "author": "satyam",
@@ -145,7 +145,7 @@ body {
145
145
  gap: 12px;
146
146
 
147
147
  @media (min-width: 768px) {
148
- padding-right: 55px;
148
+ /* padding-right: 55px; // commented by avinash as it was giving padding right in user */
149
149
  }
150
150
 
151
151
  .header {
@@ -529,10 +529,8 @@
529
529
  flex-direction: column;
530
530
  gap: 13px;
531
531
  width: 100%;
532
- max-height: 180px;
533
532
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
534
533
  font-family: inherit;
535
- overflow: hidden;
536
534
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
537
535
  }
538
536
 
@@ -735,13 +733,13 @@
735
733
 
736
734
  .footer-links {
737
735
  display: flex;
738
- flex-wrap: wrap;
736
+ flex-wrap: nowrap;
739
737
  gap: 8px;
740
738
  flex: 1;
741
739
  }
742
740
 
743
741
  .pill-link {
744
- color: #2563eb;
742
+ color: rgb(0, 51, 102);
745
743
  padding: 6px 14px;
746
744
  font-size: 13px;
747
745
  font-weight: 500;
@@ -15,7 +15,6 @@
15
15
  width: 100%;
16
16
  }
17
17
 
18
-
19
18
  .btx {
20
19
  display: flex;
21
20
  flex-direction: column;
@@ -128,6 +127,28 @@
128
127
  }
129
128
  }
130
129
 
130
+ @media (max-width: 1280px) {
131
+ padding: 10px 30px;
132
+
133
+ .brand {
134
+ gap: 8px !important;
135
+ }
136
+
137
+ .brand-mark {
138
+ width: 42px !important;
139
+ height: 42px !important;
140
+ }
141
+
142
+ .btx {
143
+ h1 {
144
+ font-size: 22px !important;
145
+ }
146
+ p {
147
+ font-size: 9px !important;
148
+ }
149
+ }
150
+ }
151
+
131
152
  @media (max-width: 780px) {
132
153
  padding: 10px 16px; // Reduce padding for mobile
133
154
 
@@ -281,6 +302,10 @@ video::-webkit-media-controls-panel {
281
302
  flex: 1;
282
303
  gap: 15px;
283
304
 
305
+ @media (max-width: 1280px) {
306
+ gap: 10px;
307
+ }
308
+
284
309
  @media (max-width: 1024px) {
285
310
  gap: 8px;
286
311
  margin-right: 0px !important;
@@ -371,6 +396,33 @@ video::-webkit-media-controls-panel {
371
396
  }
372
397
  }
373
398
 
399
+ @media (max-width: 1280px) {
400
+ .user-profile-pill {
401
+ padding: 4px 12px 4px 4px !important;
402
+ gap: 8px !important;
403
+
404
+ .user-profile-avatar,
405
+ .user-profile-img {
406
+ width: 36px !important;
407
+ height: 36px !important;
408
+ font-size: 15px !important;
409
+ }
410
+
411
+ .user-profile-info {
412
+ .user-profile-name {
413
+ font-size: 13px !important;
414
+ }
415
+ .user-profile-details {
416
+ font-size: 11px !important;
417
+ }
418
+ }
419
+ }
420
+
421
+ .topbar img.spect-icon {
422
+ max-height: 42px !important;
423
+ }
424
+ }
425
+
374
426
  @media (max-width: 1024px) {
375
427
  .user-profile-pill {
376
428
  padding: 4px !important;
@@ -7,6 +7,9 @@
7
7
  padding: 40px 20px;
8
8
  font-family: "Roboto", sans-serif;
9
9
  width: 100%;
10
+ @media (max-width: 640px) {
11
+ padding-top: 86px;
12
+ }
10
13
 
11
14
  /* Global overrides for this page */
12
15
  .digit-button,
@@ -327,12 +330,16 @@
327
330
  .registration__step {
328
331
  display: flex;
329
332
  align-items: flex-start;
330
- margin-bottom: 32px;
331
333
  position: relative;
332
334
  }
333
335
 
334
- .registration__step:last-child {
335
- margin-bottom: 0;
336
+ @media (min-width: 768px) {
337
+ .registration__step {
338
+ margin-bottom: 32px;
339
+ }
340
+ .registration__step:last-child {
341
+ margin-bottom: 0;
342
+ }
336
343
  }
337
344
 
338
345
  .registration__step-line {
@@ -453,6 +460,15 @@
453
460
  background: #fff;
454
461
  }
455
462
 
463
+ .registration__input-group {
464
+ & select {
465
+ width: fit-content !important;
466
+ }
467
+ & input {
468
+ width: fit-content !important;
469
+ }
470
+ }
471
+
456
472
  .registration__select:focus {
457
473
  border-color: #3b82f6;
458
474
  outline: none;
@@ -710,3 +726,103 @@
710
726
  .registration__change-phone-btn:hover {
711
727
  text-decoration: underline;
712
728
  }
729
+
730
+ @media (max-width: 768px) {
731
+ /* WRAPPER */
732
+ .registration__wrapper {
733
+ flex-direction: column;
734
+ border-radius: 12px;
735
+ }
736
+
737
+ /* SIDEBAR */
738
+ .registration__sidebar {
739
+ width: 100%;
740
+ padding: 16px;
741
+ border-radius: 0;
742
+ border-bottom: 1px solid #e2e8f0;
743
+ }
744
+
745
+ .registration__sidebar__content {
746
+ padding: 8px;
747
+ }
748
+
749
+ .registration__sidebar-title {
750
+ display: none;
751
+ font-size: 11px;
752
+ margin-bottom: 16px;
753
+ text-align: center;
754
+ }
755
+
756
+ /* STEPS CONTAINER */
757
+ .registration__step {
758
+ align-items: center;
759
+ }
760
+
761
+ /* LINE (shorter for mobile) */
762
+ .registration__step-line {
763
+ left: 14px;
764
+ height: 32px;
765
+ top: 28px;
766
+ }
767
+
768
+ /* CIRCLE (smaller) */
769
+ .registration__step-circle {
770
+ width: 26px;
771
+ height: 26px;
772
+ font-size: 12px;
773
+ }
774
+
775
+ /* TEXT CONTENT */
776
+ .registration__step-content {
777
+ margin-left: 12px;
778
+ }
779
+
780
+ .registration__step-label {
781
+ font-size: 10px;
782
+ }
783
+
784
+ .registration__step-title {
785
+ font-size: 12px;
786
+ line-height: 1.3;
787
+ }
788
+
789
+ /* OPTIONAL: make steps scrollable horizontally (premium feel) */
790
+ .registration__sidebar > div > div:first-child {
791
+ display: flex;
792
+ overflow-x: auto;
793
+ gap: 16px;
794
+ padding-bottom: 10px;
795
+ }
796
+
797
+ .registration__step {
798
+ flex: 0 0 auto;
799
+ min-width: 140px;
800
+ }
801
+
802
+ /* Hide vertical line for horizontal layout */
803
+ .registration__step-line {
804
+ display: none;
805
+ }
806
+
807
+ /* FOOTER */
808
+ .sidebar-footer {
809
+ display: none;
810
+ text-align: center;
811
+ font-size: 9px;
812
+ margin-top: 12px;
813
+ }
814
+
815
+ /* CONTENT */
816
+ .registration__content {
817
+ padding: 20px 16px;
818
+ }
819
+
820
+ .registration__title {
821
+ font-size: 20px;
822
+ }
823
+
824
+ .registration__description {
825
+ font-size: 14px;
826
+ margin-bottom: 20px;
827
+ }
828
+ }
@@ -1002,7 +1002,7 @@
1002
1002
  }
1003
1003
 
1004
1004
  .custom-tab-btn.active {
1005
- color: #2563eb;
1005
+ color: rgb(0, 51, 102);
1006
1006
  border-bottom-color: #2563eb;
1007
1007
  }
1008
1008
 
@@ -1221,7 +1221,7 @@
1221
1221
  gap: 6px;
1222
1222
  background: transparent;
1223
1223
  border: none;
1224
- color: #3b82f6;
1224
+ color: rgb(0, 51, 102);
1225
1225
  font-size: 13px;
1226
1226
  font-weight: 600;
1227
1227
  cursor: pointer;
@@ -32,7 +32,7 @@
32
32
  .profile-image-wrapper {
33
33
  &.employee {
34
34
  padding: 16px;
35
- height: 100%;
35
+ position: relative;
36
36
  width: 100%;
37
37
  max-width: 450px;
38
38
  aspect-ratio: 1/1;
@@ -120,6 +120,7 @@
120
120
 
121
121
  @media (min-width: 768px) {
122
122
  .login {
123
+ height: 100%;
123
124
  padding-inline: 58px;
124
125
  }
125
126
  }
@@ -131,10 +132,17 @@
131
132
 
132
133
  .login {
133
134
  .user-profile-wrapper {
134
- padding-bottom: 16px;
135
- @media (max-width: 768px) {
135
+ padding-bottom: 24px;
136
+ @media (min-width: 768px) {
136
137
  padding-bottom: 76px;
137
138
  }
139
+ .user-form {
140
+ flex: 1;
141
+ width: 100%;
142
+ @media (min-width: 768px) {
143
+ overflow-y: scroll;
144
+ }
145
+ }
138
146
  }
139
147
  }
140
148
 
@@ -145,10 +153,10 @@
145
153
 
146
154
  @media (min-width: 768px) {
147
155
  flex-direction: row;
148
- overflow-y: scroll;
149
156
  }
150
157
  @media (max-width: 768px) {
151
158
  align-items: center;
159
+ overflow-y: scroll;
152
160
  }
153
161
 
154
162
  .save-btn {
@@ -163,16 +171,18 @@
163
171
  border-radius: 0;
164
172
  width: 100%;
165
173
 
166
- @media (max-width: 767px) {
174
+ @media (max-width: 768px) {
167
175
  margin: 24px;
176
+ margin-top: 0;
168
177
  flex-direction: column;
169
178
  min-width: unset;
170
179
  }
171
180
  }
172
181
 
173
182
  &.citizen {
174
- @media (max-width: 767px) {
183
+ @media (max-width: 768px) {
175
184
  margin: 24px;
185
+ margin-top: 0;
176
186
  flex-direction: column;
177
187
  min-width: unset;
178
188
  }
@@ -203,7 +213,6 @@
203
213
  gap: 8px;
204
214
 
205
215
  &.employee {
206
- overflow-y: scroll;
207
216
  padding: 24px;
208
217
  box-shadow: 1px 1px 4px 0px rgba(0, 0, 0, 0.2);
209
218
  }