@tattvafoundation/upyog-css 1.0.14 → 1.0.16

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,118 @@
1
+ .multi-column-dropdown-wrap {
2
+ position: relative;
3
+ font-size: 16px;
4
+ line-height: 20px;
5
+ color: rgba(11, 12, 12, 1);
6
+ width: 100%;
7
+
8
+ .master,
9
+ .master-active {
10
+ position: relative;
11
+ border: 1px solid rgba(70, 70, 70, 1);
12
+ height: 2rem;
13
+ width: 100%;
14
+
15
+ input[type="text"] {
16
+ position: absolute;
17
+ top: 0;
18
+ left: 0;
19
+ padding-left: 8px;
20
+ min-height: 100%;
21
+ min-width: 100%;
22
+ opacity: 0;
23
+
24
+ &:focus {
25
+ outline: 1px solid transparent;
26
+ outline-offset: 2px;
27
+ }
28
+ }
29
+
30
+ .label {
31
+ display: flex;
32
+ justify-content: space-between;
33
+ align-items: center;
34
+ padding-left: 8px;
35
+ width: 100%;
36
+ height: 100%;
37
+
38
+ svg {
39
+ height: 2rem;
40
+ width: 2rem;
41
+ }
42
+ }
43
+
44
+ &:hover {
45
+ border-color: rgba(168, 34, 39, 1);
46
+ }
47
+ }
48
+
49
+ .master-active {
50
+ border: 1px solid rgba(168, 34, 39, 1);
51
+
52
+ input[type="text"] {
53
+ opacity: 1;
54
+ }
55
+
56
+ .label {
57
+ display: none;
58
+ }
59
+ }
60
+
61
+ .server {
62
+ box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14),
63
+ 0 3px 14px 2px rgba(0, 0, 0, 0.12),
64
+ 0 5px 5px -3px rgba(0, 0, 0, 0.2);
65
+ top: 35px;
66
+ max-height: 20vmax;
67
+ overflow: auto;
68
+ position: absolute;
69
+ min-width: 100%;
70
+ z-index: 20;
71
+
72
+ div {
73
+ display: flex;
74
+ width: 100%;
75
+ background-color: rgba(255, 255, 255, 1);
76
+
77
+ &:hover {
78
+ background-color: rgba(238, 238, 238, 1);
79
+ }
80
+
81
+ input {
82
+ height: 44px;
83
+ position: absolute;
84
+ min-width: 100%;
85
+ opacity: 0;
86
+ z-index: 20;
87
+ cursor: pointer;
88
+ }
89
+
90
+ p {
91
+ padding: 12px;
92
+ font-size: 16px;
93
+ line-height: 20px;
94
+ color: rgba(11, 12, 12, 1);
95
+ }
96
+
97
+ .custom-checkbox {
98
+ height: 25px;
99
+ width: 25px;
100
+ border: 1px solid rgba(70, 70, 70, 1);
101
+ margin: 8px;
102
+
103
+ svg {
104
+ opacity: 0;
105
+ z-index: 10;
106
+ }
107
+ }
108
+
109
+ input:checked ~ .custom-checkbox {
110
+ border: 1px solid rgba(168, 34, 39, 1);
111
+
112
+ svg {
113
+ opacity: 1;
114
+ }
115
+ }
116
+ }
117
+ }
118
+ }
@@ -8,12 +8,15 @@
8
8
  min-width: 78px;
9
9
  height: 24px;
10
10
  }
11
+
11
12
  .nav {
12
13
  display: flex;
13
14
  justify-content: space-between;
14
15
  }
16
+
15
17
  .nav-wrapper {
16
18
  display: flex;
19
+
17
20
  @media (min-width: 780px) {
18
21
  .hamburger-span {
19
22
  display: none;
@@ -36,7 +39,7 @@
36
39
  flex-direction: column;
37
40
  align-items: center;
38
41
  padding-top: 30px;
39
- background-color: #ffffff;
42
+ background-color: transparent;
40
43
 
41
44
  img {
42
45
  width: 89px;
@@ -48,6 +51,7 @@
48
51
  .label-text {
49
52
  color: #767676;
50
53
  }
54
+
51
55
  &.name-Profile {
52
56
  .label-text {
53
57
  letter-spacing: 0.6px;
@@ -57,6 +61,7 @@
57
61
  }
58
62
  }
59
63
  }
64
+
60
65
  .profile-divider {
61
66
  border-top: 1px solid #d6d5d4;
62
67
  margin-left: 20px;
@@ -71,6 +76,7 @@
71
76
  position: relative;
72
77
  min-height: 1px;
73
78
  overflow: auto;
79
+
74
80
  .menu-item {
75
81
  border: 10px;
76
82
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
@@ -87,6 +93,7 @@
87
93
  min-height: 48px;
88
94
  white-space: initial;
89
95
  background: none;
96
+
90
97
  .icon {
91
98
  display: block;
92
99
  color: rgb(117, 117, 117);
@@ -96,27 +103,33 @@
96
103
  float: left;
97
104
  margin-top: 12px;
98
105
  }
99
- .edit-btn-ico{
106
+
107
+ .edit-btn-ico {
100
108
  height: 17px;
101
109
  width: 17px;
102
110
  margin-top: 16px;
103
111
  }
104
- .icon + .menu-label {
112
+
113
+ .icon+.menu-label {
105
114
  margin-left: 36px;
106
115
  text-overflow: ellipsis;
107
116
  white-space: nowrap;
108
117
  }
109
118
  }
119
+
110
120
  .sidebar-list {
111
121
  padding-right: 16px;
112
122
  padding-left: 16px;
123
+
113
124
  &.active {
114
- border-left: 5px solid #a82227;
125
+ border-left: 5px solid #d1b03f;
126
+
115
127
  .menu-label {
116
- color: #a82227;
128
+ color: #d1b03f;
117
129
  }
130
+
118
131
  .icon {
119
- fill: #a82227;
132
+ fill: #d1b03f;
120
133
  }
121
134
  }
122
135
 
@@ -124,10 +137,12 @@
124
137
  cursor: pointer;
125
138
  display: flex;
126
139
  flex-direction: column;
140
+
127
141
  .sidebar-link {
128
142
  display: flex;
129
143
  justify-content: space-between;
130
144
  align-items: center;
145
+
131
146
  svg {
132
147
  width: 21px;
133
148
  height: 21px;
@@ -135,6 +150,7 @@
135
150
  fill: rgb(117, 117, 117);
136
151
  }
137
152
  }
153
+
138
154
  .actions {
139
155
  display: flex;
140
156
  align-items: center;
@@ -148,6 +164,7 @@
148
164
  overflow: hidden;
149
165
  text-overflow: ellipsis;
150
166
  }
167
+
151
168
  input {
152
169
  border: none;
153
170
  outline: none;
@@ -163,12 +180,14 @@
163
180
  .actions {
164
181
  display: flex;
165
182
  padding: 1em;
183
+
166
184
  svg {
167
185
  width: 21px;
168
186
  height: 21px;
169
187
  color: rgb(117, 117, 117);
170
188
  fill: rgb(117, 117, 117);
171
189
  }
190
+
172
191
  span {
173
192
  color: #5f5c62;
174
193
  }
@@ -177,6 +196,13 @@
177
196
  }
178
197
 
179
198
  .drawer-desktop {
199
+ background-color: rgb(245, 234, 205);
200
+ position: fixed;
201
+ top: 0;
202
+ bottom: 0;
203
+ padding-top: 80px;
204
+ width: 190px;
205
+
180
206
  .menu-item {
181
207
  border: 10px;
182
208
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
@@ -193,6 +219,7 @@
193
219
  min-height: 48px;
194
220
  white-space: initial;
195
221
  background: none;
222
+
196
223
  .icon {
197
224
  display: block;
198
225
  color: rgb(117, 117, 117);
@@ -202,30 +229,36 @@
202
229
  float: left;
203
230
  margin-top: 12px;
204
231
  }
232
+
205
233
  .edit-btn-ico {
206
234
  height: 17px;
207
235
  width: 17px;
208
236
  margin-top: 16px;
209
237
  }
210
- .icon + .menu-label {
238
+
239
+ .icon+.menu-label {
211
240
  margin-left: 36px;
212
241
  overflow: hidden;
213
242
  text-overflow: ellipsis;
214
243
  white-space: nowrap;
215
244
  }
216
245
  }
246
+
217
247
  @media (min-width: 780px) {
218
248
  .sidebar-list {
219
249
  padding-right: 16px;
220
250
  padding-left: 16px;
251
+
221
252
  &.active {
222
- border-left: 5px solid #a82227;
253
+ border-left: 5px solid #d1b03f;
223
254
  padding-left: 11px;
255
+
224
256
  .menu-label {
225
- color: #a82227;
257
+ color: #d1b03f;
226
258
  }
259
+
227
260
  .icon {
228
- fill: #a82227;
261
+ fill: #d1b03f;
229
262
  }
230
263
  }
231
264
 
@@ -233,22 +266,26 @@
233
266
  cursor: pointer;
234
267
  display: flex;
235
268
  flex-direction: column;
269
+
236
270
  .sidebar-link {
237
271
  display: flex;
238
272
  justify-content: space-between;
239
273
  align-items: center;
274
+
240
275
  svg {
241
276
  width: 21px;
242
277
  height: 21px;
243
278
  color: rgb(117, 117, 117);
244
279
  fill: rgb(117, 117, 117);
245
280
  }
281
+
246
282
  .actions {
247
283
  .tooltip {
248
284
  margin-left: 16px;
249
285
  }
250
286
  }
251
287
  }
288
+
252
289
  .actions {
253
290
  display: flex;
254
291
  align-items: center;
@@ -270,12 +307,14 @@
270
307
  .actions {
271
308
  display: flex;
272
309
  padding: 1em;
310
+
273
311
  svg {
274
312
  width: 21px;
275
313
  height: 21px;
276
314
  color: rgb(117, 117, 117);
277
315
  fill: rgb(117, 117, 117);
278
316
  }
317
+
279
318
  span {
280
319
  color: #5f5c62;
281
320
  }
@@ -302,7 +341,8 @@
302
341
 
303
342
  .digit-footer {
304
343
  @apply flex h-4 mb-sm;
344
+
305
345
  img {
306
346
  @apply mr-sm;
307
347
  }
308
- }
348
+ }
package/src/index.scss CHANGED
@@ -109,13 +109,17 @@
109
109
  @import "./components/bmc.scss";
110
110
  @import "./components/deonar.scss";
111
111
  @import "./components/ebe.scss";
112
+ @import "./components/multicolumn.scss";
113
+
112
114
 
113
115
  .display-none {
114
116
  display: none;
115
117
  }
118
+
116
119
  .primary-label-btn {
117
120
  margin: 10px auto 0px !important;
118
121
  }
122
+
119
123
  .p-unset {
120
124
  padding: unset !important;
121
125
  }
@@ -127,6 +131,7 @@
127
131
  .display-flex-gap-2 {
128
132
  @apply flex gap-3;
129
133
  }
134
+
130
135
  .rm-mb {
131
136
  margin-bottom: unset !important;
132
137
  }
@@ -232,6 +237,7 @@
232
237
  position: unset;
233
238
  }
234
239
  }
240
+
235
241
  .application-table-container {
236
242
  @apply mt-lg ml-lg flex-1;
237
243
  }
@@ -285,14 +291,17 @@
285
291
  .react-time-picker {
286
292
  width: 194px;
287
293
  height: 2.5rem;
294
+
288
295
  &__wrapper {
289
296
  border: 2px solid #0b0c0c;
290
297
  padding-left: 16px;
291
298
  }
299
+
292
300
  &__inputGroup__input {
293
301
  @apply px-sm;
294
302
  line-height: 2.5rem;
295
303
  min-width: 16px;
304
+
296
305
  &:focus {
297
306
  outline: 2px solid black;
298
307
  }
@@ -309,6 +318,7 @@ input[type="number"]::-webkit-outer-spin-button {
309
318
  -webkit-appearance: none;
310
319
  margin: 0;
311
320
  }
321
+
312
322
  input[type="number"] {
313
323
  -moz-appearance: textfield;
314
324
  }
@@ -321,8 +331,10 @@ input[type="number"] {
321
331
  flex: 1;
322
332
  max-height: 75vh;
323
333
  overflow: scroll;
324
- -ms-overflow-style: none; /* IE and Edge */
325
- scrollbar-width: none; /* Firefox */
334
+ -ms-overflow-style: none;
335
+ /* IE and Edge */
336
+ scrollbar-width: none;
337
+ /* Firefox */
326
338
 
327
339
  &::-webkit-scrollbar {
328
340
  display: none;
@@ -425,6 +437,7 @@ input[type="number"] {
425
437
  text-indent: 5px;
426
438
  padding: 6px 0px;
427
439
  }
440
+
428
441
  button {
429
442
  @apply outline-none;
430
443
  border: 0px;
@@ -435,6 +448,7 @@ input[type="number"] {
435
448
 
436
449
  .text-input {
437
450
  @apply relative w-full;
451
+
438
452
  input {
439
453
  &:hover {
440
454
  @apply border-2 border-solid border-primary-main;
@@ -523,16 +537,19 @@ input[type="number"] {
523
537
  align-items: center;
524
538
  flex-direction: column;
525
539
  position: absolute !important;
540
+
526
541
  .error-container {
527
542
  display: flex;
528
543
  width: 400px;
529
544
  justify-content: center;
530
545
  align-items: center;
531
546
  flex-direction: column;
547
+
532
548
  h1 {
533
549
  font-size: 32px;
534
550
  font-weight: bold;
535
551
  }
552
+
536
553
  button {
537
554
  height: 40px;
538
555
  width: 153px;
@@ -558,10 +575,12 @@ input[type="number"] {
558
575
  .full-width-card {
559
576
  width: 92vw !important;
560
577
  }
578
+
561
579
  .full-employee-card-link {
562
580
  width: 100% !important;
563
581
  margin: 7px 0px;
564
582
  }
583
+
565
584
  .full-employee-card-height {
566
585
  height: unset !important;
567
586
  }
@@ -570,15 +589,18 @@ input[type="number"] {
570
589
  .full-employee-card-height {
571
590
  height: 196px !important;
572
591
  }
592
+
573
593
  .full-employee-card-link {
574
594
  width: 30% !important;
575
595
  }
596
+
576
597
  .full-width-card {
577
598
  @apply w-full !important;
578
599
  }
579
600
  }
580
- .applications-list-container {
581
- }
601
+
602
+ .applications-list-container {}
603
+
582
604
  .complaint-summary {
583
605
  @media (min-width: 780px) {
584
606
  flex: 1 0 auto;
@@ -597,6 +619,7 @@ input[type="number"] {
597
619
  padding-right: 16px;
598
620
  }
599
621
  }
622
+
600
623
  @media (min-width: 780px) {
601
624
  .citizen-card-container {
602
625
  padding-left: 15px;
@@ -606,6 +629,7 @@ input[type="number"] {
606
629
  }
607
630
 
608
631
  @media (min-width: 780px) {
632
+
609
633
  .citizen-obps-wrapper,
610
634
  .selection-card-wrapper,
611
635
  .fsm-citizen-wrapper,
@@ -625,12 +649,15 @@ input[type="number"] {
625
649
  margin-top: 1rem;
626
650
  }
627
651
  }
652
+
628
653
  @media only screen and (max-width: 768px) {
654
+
629
655
  /* For mobile phones: */
630
656
  .error-boundary {
631
657
  height: 75vh;
632
658
  }
633
659
  }
660
+
634
661
  .employee-app-wrapper {
635
662
  min-height: calc(100vh - 8em);
636
663
  }
@@ -641,9 +668,11 @@ input[type="number"] {
641
668
  flex-direction: row-reverse !important;
642
669
  width: 100% !important;
643
670
  align-items: center;
671
+
644
672
  button {
645
673
  width: 240px !important;
646
674
  }
675
+
647
676
  p {
648
677
  width: unset;
649
678
  margin-right: 1rem;
@@ -668,6 +697,7 @@ input[type="number"] {
668
697
  padding-bottom: 8px;
669
698
  margin-bottom: 8px;
670
699
  }
700
+
671
701
  .row {
672
702
  color: #b1b4b6;
673
703
  font-weight: 700;
@@ -686,11 +716,13 @@ input[type="number"] {
686
716
  .connection-details-old-value-wrapper,
687
717
  .plumber-details-old-value-wrapper {
688
718
  flex: 1 1 auto;
719
+
689
720
  .old-value-null-wrapper {
690
721
  visibility: hidden;
691
722
  padding-bottom: 8px;
692
723
  margin-bottom: 8px;
693
724
  }
725
+
694
726
  .row {
695
727
  color: #b1b4b6;
696
728
  font-weight: 700;
@@ -702,6 +734,7 @@ input[type="number"] {
702
734
  padding: 1rem;
703
735
  font-weight: 400;
704
736
  }
737
+
705
738
  .modal-body-ws {
706
739
  padding: 1rem;
707
740
  font-weight: 700;
@@ -709,9 +742,11 @@ input[type="number"] {
709
742
  font-size: 24px;
710
743
  margin-bottom: 1rem;
711
744
  }
745
+
712
746
  .privacy-icon {
713
747
  cursor: pointer;
714
748
  }
749
+
715
750
  .privacy-icon:hover {
716
751
  path {
717
752
  fill: rgba(244, 119, 56, 1);
@@ -721,9 +756,11 @@ input[type="number"] {
721
756
  .employee-app-wrapper {
722
757
  min-height: calc(100vh - 8em);
723
758
  }
759
+
724
760
  .submit-bar header {
725
761
  line-height: 2rem !important;
726
762
  }
763
+
727
764
  .logo-removeBorderRadiusLogo svg {
728
765
  width: 50px;
729
766
  height: 60px;
@@ -732,11 +769,13 @@ input[type="number"] {
732
769
  .icon-banner-employee {
733
770
  background-color: #d7aefc !important;
734
771
  }
772
+
735
773
  .icon-banner-employee svg {
736
- background-color: #bf2f3b !important;
774
+ background-color: #d1b03f !important;
737
775
  width: 40px;
738
776
  height: 40px;
739
777
  }
778
+
740
779
  .inboxButton {
741
780
  border: none;
742
781
  color: white;
@@ -751,10 +790,12 @@ input[type="number"] {
751
790
  font-family: sans-serif;
752
791
  font-weight: 700;
753
792
  }
793
+
754
794
  .employee .inboxButton {
755
795
  padding: 5px 15px;
756
796
  background: #ba2b36;
757
797
  }
798
+
758
799
  .citizen .inboxButton {
759
800
  padding: 15px;
760
801
  font-size: 1.2rem;
@@ -764,4 +805,4 @@ input[type="number"] {
764
805
  .citizen .inboxButton {
765
806
  font-size: 1rem;
766
807
  }
767
- }
808
+ }