@djb25/digit-ui-css 1.0.4 → 1.0.6

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.
@@ -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;
@@ -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 theme(colors.border);
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,25 +103,31 @@
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
125
  border-left: 5px solid theme(colors.primary.main);
126
+
115
127
  .menu-label {
116
128
  color: theme(colors.primary.main);
117
129
  }
130
+
118
131
  .icon {
119
132
  fill: theme(colors.primary.main);
120
133
  }
@@ -124,11 +137,12 @@
124
137
  cursor: pointer;
125
138
  display: flex;
126
139
  flex-direction: column;
127
-
140
+
128
141
  .sidebar-link {
129
142
  display: flex;
130
143
  justify-content: space-between;
131
144
  align-items: center;
145
+
132
146
  svg {
133
147
  width: 21px;
134
148
  height: 21px;
@@ -136,6 +150,7 @@
136
150
  fill: rgb(117, 117, 117);
137
151
  }
138
152
  }
153
+
139
154
  .actions {
140
155
  display: flex;
141
156
  align-items: center;
@@ -149,6 +164,7 @@
149
164
  overflow: hidden;
150
165
  text-overflow: ellipsis;
151
166
  }
167
+
152
168
  input {
153
169
  border: none;
154
170
  outline: none;
@@ -164,12 +180,14 @@
164
180
  .actions {
165
181
  display: flex;
166
182
  padding: 1em;
183
+
167
184
  svg {
168
185
  width: 21px;
169
186
  height: 21px;
170
187
  color: rgb(117, 117, 117);
171
188
  fill: rgb(117, 117, 117);
172
189
  }
190
+
173
191
  span {
174
192
  color: #5f5c62;
175
193
  }
@@ -179,6 +197,7 @@
179
197
 
180
198
  .drawer-desktop {
181
199
  overflow: auto;
200
+
182
201
  .menu-item {
183
202
  border: 10px;
184
203
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
@@ -195,6 +214,7 @@
195
214
  min-height: 48px;
196
215
  white-space: initial;
197
216
  background: none;
217
+
198
218
  .icon {
199
219
  display: block;
200
220
  color: rgb(117, 117, 117);
@@ -204,28 +224,34 @@
204
224
  float: left;
205
225
  margin-top: 12px;
206
226
  }
227
+
207
228
  .edit-btn-ico {
208
229
  height: 17px;
209
230
  width: 17px;
210
231
  margin-top: 16px;
211
232
  }
212
- .icon + .menu-label {
233
+
234
+ .icon+.menu-label {
213
235
  margin-left: 36px;
214
236
  overflow: hidden;
215
237
  text-overflow: ellipsis;
216
238
  white-space: nowrap;
217
239
  }
218
240
  }
241
+
219
242
  @media (min-width: 780px) {
220
243
  .sidebar-list {
221
244
  padding-right: 16px;
222
245
  padding-left: 16px;
246
+
223
247
  &.active {
224
248
  border-left: 5px solid theme(colors.primary.main);
225
249
  padding-left: 11px;
250
+
226
251
  .menu-label {
227
252
  color: theme(colors.primary.main);
228
253
  }
254
+
229
255
  .icon {
230
256
  fill: theme(colors.primary.main);
231
257
  }
@@ -236,23 +262,26 @@
236
262
  cursor: pointer;
237
263
  display: flex;
238
264
  flex-direction: column;
239
-
265
+
240
266
  .sidebar-link {
241
267
  display: flex;
242
268
  justify-content: space-between;
243
269
  align-items: center;
270
+
244
271
  svg {
245
272
  width: 21px;
246
273
  height: 21px;
247
274
  color: rgb(117, 117, 117);
248
275
  fill: rgb(117, 117, 117);
249
276
  }
277
+
250
278
  .actions {
251
279
  .tooltip {
252
280
  margin-left: 16px;
253
281
  }
254
282
  }
255
283
  }
284
+
256
285
  .actions {
257
286
  display: flex;
258
287
  align-items: center;
@@ -274,12 +303,14 @@
274
303
  .actions {
275
304
  display: flex;
276
305
  padding: 1em;
306
+
277
307
  svg {
278
308
  width: 21px;
279
309
  height: 21px;
280
310
  color: rgb(117, 117, 117);
281
311
  fill: rgb(117, 117, 117);
282
312
  }
313
+
283
314
  span {
284
315
  color: #5f5c62;
285
316
  }
@@ -306,7 +337,8 @@
306
337
 
307
338
  .digit-footer {
308
339
  @apply flex h-4 mb-sm;
340
+
309
341
  img {
310
342
  @apply mr-sm;
311
343
  }
312
- }
344
+ }
@@ -2,8 +2,6 @@
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding-top: 16px;
5
- padding-left: 16px;
6
- padding-right: 16px;
7
5
  color: #757575;
8
6
 
9
7
  .menu-item {
@@ -12,6 +10,7 @@
12
10
  min-height: 48px;
13
11
  margin: 0;
14
12
  padding: 0;
13
+
15
14
  .menu-item-icon {
16
15
  svg {
17
16
  color: #757575;
@@ -20,8 +19,9 @@
20
19
  height: 21px;
21
20
  }
22
21
  }
22
+
23
23
  .menu-item-text {
24
24
  margin-left: 1em;
25
25
  }
26
26
  }
27
- }
27
+ }
@@ -2,6 +2,7 @@
2
2
  position: fixed;
3
3
  top: 0;
4
4
  width: 100%;
5
+ padding: 10px 24px;
5
6
  background: white;
6
7
  box-shadow: rgba(0, 0, 0, 0.24) 0 1px 4px;
7
8
  z-index: 9999999;
@@ -16,8 +17,9 @@
16
17
  }
17
18
 
18
19
  &.state {
19
- min-height: 50px;
20
- width: 80px;
20
+ height: 50px;
21
+ width: auto;
22
+ object-fit: contain;
21
23
  }
22
24
  }
23
25
 
@@ -38,7 +40,7 @@
38
40
  .user-img-txt {
39
41
  background: #a82227;
40
42
  padding: 10px 15px;
41
- border-radius: 20px;
43
+ border-radius: 2px;
42
44
  color: white;
43
45
  height: 43px;
44
46
  width: 43px;
@@ -89,6 +91,7 @@
89
91
  .select-wrap,
90
92
  .employee-select-wrap {
91
93
  margin-bottom: 0px;
94
+
92
95
  .profile-dropdown--item {
93
96
  span {
94
97
  white-space: pre;
@@ -99,6 +102,7 @@
99
102
 
100
103
  .cp {
101
104
  cursor: pointer;
105
+
102
106
  .hamburger {
103
107
  display: none;
104
108
  }
@@ -141,6 +145,7 @@
141
145
  @apply flex items-center justify-end;
142
146
  min-width: 85px;
143
147
  }
148
+
144
149
  video::-webkit-media-controls-panel {
145
150
  top: 55%;
146
151
  position: absolute;
@@ -149,4 +154,4 @@ video::-webkit-media-controls-panel {
149
154
 
150
155
  .topbarOptionsClassName {
151
156
  right: -3rem !important;
152
- }
157
+ }
@@ -3,19 +3,23 @@
3
3
  .app-container {
4
4
  @extend .light-background;
5
5
  width: 100%;
6
+
6
7
  form {
7
8
  .card {
8
9
  max-width: 960px;
10
+
9
11
  h2 {
10
12
  @extend .light-text-color-primary;
11
13
  text-align: left;
12
14
  }
13
- .field-container {
14
- }
15
+
16
+ .field-container {}
17
+
15
18
  button {
16
19
  @extend .light-primary-button;
17
20
  max-width: 240px;
18
21
  }
22
+
19
23
  .input-otp-wrap,
20
24
  .card-text-button {
21
25
  @extend .light-primary-button;
@@ -28,22 +32,28 @@
28
32
  @screen dt {
29
33
  .employee-app-container {
30
34
  @apply w-full;
35
+ padding-inline: 0px;
31
36
  }
32
37
 
33
38
  .app-container {
34
39
  width: 100%;
40
+
35
41
  form {
36
42
  .card {
37
43
  max-width: 960px;
44
+
38
45
  h2 {
39
46
  text-align: left;
40
47
  }
48
+
41
49
  .field-container {
42
50
  max-width: 540px;
43
51
  }
52
+
44
53
  button {
45
54
  max-width: 240px;
46
55
  }
56
+
47
57
  .input-otp-wrap,
48
58
  .card-text-button {
49
59
  text-align: left;
@@ -51,4 +61,4 @@
51
61
  }
52
62
  }
53
63
  }
54
- }
64
+ }
package/src/index.scss CHANGED
@@ -113,6 +113,8 @@
113
113
  /* @import "./digitv2/typography.scss"; */
114
114
  @import "./components/inboxv2/index.scss";
115
115
  @import "./components//sidebar.scss";
116
+ @import "./components/moduleHeader.scss";
117
+ @import "./components/VerticalTimeline.scss";
116
118
 
117
119
  .display-none {
118
120
  display: none;
@@ -132,7 +134,6 @@ h6 {
132
134
  font-weight: inherit;
133
135
  }
134
136
 
135
-
136
137
  .flex-one {
137
138
  @apply flex-1;
138
139
  }
@@ -351,7 +352,6 @@ input[type="number"] {
351
352
  -moz-appearance: textfield;
352
353
  }
353
354
 
354
-
355
355
  .static {
356
356
  @apply flex flex-col;
357
357
  min-height: 85vh;
@@ -665,7 +665,6 @@ input[type="number"] {
665
665
  @media (min-width: 780px) {
666
666
 
667
667
  .citizen-obps-wrapper,
668
- .selection-card-wrapper,
669
668
  .pgr-citizen-wrapper,
670
669
  .pt-citizen,
671
670
  .bill-citizen,
@@ -681,6 +680,13 @@ input[type="number"] {
681
680
  padding-right: 16px;
682
681
  margin-top: 1rem;
683
682
  }
683
+
684
+ .selection-card-wrapper {
685
+ padding-left: 16px;
686
+ padding-right: 16px;
687
+ margin-top: 2rem;
688
+ width: 96%;
689
+ }
684
690
  }
685
691
 
686
692
  @media only screen and (max-width: 768px) {
@@ -5,11 +5,13 @@
5
5
  margin-bottom: 40px;
6
6
  width: 100%;
7
7
  @apply relative;
8
+
8
9
  .Search {
9
10
  width: calc(100% - 32px);
10
11
  bottom: -18px;
11
12
  @apply mx-md absolute;
12
13
  }
14
+
13
15
  img {
14
16
  height: 33vw;
15
17
  @apply w-full object-cover;
@@ -18,13 +20,13 @@
18
20
 
19
21
  .ServicesSection {
20
22
  @apply flex flex-wrap;
21
- padding: 40px 15px 0 15px;
23
+ padding: 100px 15px 0 15px;
22
24
  }
23
25
 
24
26
  @screen dt {
25
27
  .ServicesSection {
26
28
  @apply flex flex-wrap;
27
- padding: 40px 15px 0 15px;
29
+ padding: 100px 15px 0 15px;
28
30
  width: 100%;
29
31
  }
30
32
  }
@@ -32,25 +34,30 @@
32
34
  .WhatsNewSection {
33
35
  @apply m-sm;
34
36
  padding: 0 15px;
37
+
35
38
  .headSection {
36
39
  @apply flex mb-sm justify-between;
40
+
37
41
  h2 {
38
42
  @apply text-heading-s font-bold text-text-primary pl-sm;
39
43
  }
44
+
40
45
  p {
41
46
  @apply text-link text-primary-main font-medium cursor-pointer;
42
47
  }
43
48
  }
49
+
44
50
  @media (min-width: 780px) {
45
51
  padding: 0 15px;
46
52
  }
47
53
  }
48
54
 
49
- .WhatsAppBanner{
55
+ .WhatsAppBanner {
50
56
  width: 100%;
51
57
  padding: 0px 20px 0px 20px;
52
58
  margin: auto;
53
59
  cursor: pointer;
60
+
54
61
  img {
55
62
  width: 100%;
56
63
  }
@@ -61,6 +68,7 @@
61
68
  .SideBarStatic {
62
69
  width: 219px;
63
70
  background: theme(colors.white);
71
+ margin-top: 22px;
64
72
  }
65
73
  }
66
74
 
@@ -69,6 +77,7 @@
69
77
  display: none;
70
78
  }
71
79
  }
80
+
72
81
  .HomePageContainer {
73
82
  @media (min-width: 780px) {
74
83
  display: flex;
@@ -81,30 +90,37 @@
81
90
  @media (min-width: 780px) {
82
91
  width: calc(100% - 219px);
83
92
  }
93
+
84
94
  margin-top: -25px;
95
+
85
96
  img {
86
97
  height: 33vw;
87
98
  filter: grayscale(100%);
88
99
  @apply w-full object-cover;
89
100
  }
101
+
90
102
  h1 {
91
103
  position: absolute;
92
104
  top: 100px;
93
105
  left: 21px;
94
106
  @apply text-heading-xl text-white font-bold;
95
107
  }
108
+
96
109
  .moduleLinkHomePageBackButton {
97
110
  border: none;
98
111
  top: 76px;
112
+
99
113
  svg {
100
114
  fill: theme(colors.white);
101
115
  }
116
+
102
117
  @apply absolute text-white text-heading-s ml-md;
103
118
  }
104
119
  }
105
120
 
106
121
  .moduleLinkHomePageModuleLinks {
107
122
  @apply mt-md;
123
+
108
124
  .CitizenHomeCard {
109
125
  .header {
110
126
  @apply hidden;
@@ -115,14 +131,17 @@
115
131
  @screen dt {
116
132
  .HomePageWrapper {
117
133
  width: 100%;
134
+
118
135
  .BannerWithSearch {
119
136
  margin-bottom: 56px;
120
137
  width: 100% !important;
138
+
121
139
  .Search {
122
140
  width: 100%;
123
141
  margin: 0;
124
142
  padding: 0 15px 0 15px;
125
143
  }
144
+
126
145
  img {
127
146
  height: 20vw;
128
147
  }
@@ -130,22 +149,26 @@
130
149
 
131
150
  .WhatsAppBanner {
132
151
  width: 100%;
133
- img{
152
+
153
+ img {
134
154
  height: 20vw;
135
155
  width: 100%;
136
156
  }
137
157
  }
138
158
 
139
159
  }
160
+
140
161
  .moduleLinkHomePage {
141
162
  img {
142
163
  min-width: 100vw;
143
164
  height: 20vw;
144
165
  }
166
+
145
167
  h1 {
146
168
  top: calc(10vw + 40px);
147
169
  left: 15.8rem;
148
170
  }
171
+
149
172
  .moduleLinkHomePageBackButton {
150
173
  top: calc(10vw + 16px);
151
174
  @apply ml-md;
@@ -155,4 +178,4 @@
155
178
  .moduleLinkHomePageModuleLinks {
156
179
  width: 100%;
157
180
  }
158
- }
181
+ }
@@ -10,6 +10,7 @@
10
10
  .heading-m {
11
11
  @apply font-bold text-text-primary text-heading-m ml-md pt-sm;
12
12
  }
13
+
13
14
  .BPAheading-m {
14
15
  margin-left: 22px;
15
16
  }
@@ -20,17 +21,21 @@
20
21
 
21
22
  .employee-home-footer {
22
23
  @apply flex h-10 pb-md pt-sm justify-center w-full;
24
+
23
25
  img {
24
26
  height: 100%;
25
27
  }
26
28
  }
27
- .employee-login-home-footer{
29
+
30
+ .employee-login-home-footer {
28
31
  @apply flex fixed bottom-0 h-10 bg-grey-bg pb-md pt-sm justify-center w-full;
29
- img{
32
+
33
+ img {
30
34
  @apply ml-sm
31
35
  }
32
36
  }
33
- .fieldInspectionWrapper{
37
+
38
+ .fieldInspectionWrapper {
34
39
  border: 1px solid theme(colors.border);
35
40
  padding: 16px;
36
41
  margin-top: 8px;
@@ -49,24 +54,30 @@
49
54
  @screen dt {
50
55
  .ground-container {
51
56
  margin-bottom: 56px;
57
+ padding-left: 0px;
52
58
  /* @apply p-md; */
53
59
  }
60
+
54
61
  .heading-m {
55
62
  @apply text-heading-m-dt;
56
63
  }
64
+
57
65
  .BPAheading-m {
58
66
  margin-left: 22px;
59
67
  }
68
+
60
69
  .break-line {
61
70
  margin-top: 40px;
62
71
  margin-bottom: 40px;
63
72
  }
64
- .employee-home-footer {
65
- }
73
+
74
+ .employee-home-footer {}
75
+
66
76
  .moduleCardWrapper {
67
77
  /* @apply flex flex-row flex-wrap !important; */
68
78
  }
79
+
69
80
  .gridModuleWrapper {
70
81
  @apply grid grid-cols-4 gap-1;
71
82
  }
72
- }
83
+ }
@@ -9,7 +9,7 @@
9
9
  width: 56px;
10
10
  height: 56px;
11
11
  @apply bg-focus;
12
- padding: 12px;
12
+ padding: 0px;
13
13
  border-radius: 4px;
14
14
 
15
15
  svg {
@@ -169,7 +169,6 @@
169
169
  }
170
170
 
171
171
  .search-complaint-container {
172
- width: 100%;
173
172
  @apply items-center bg-white p-md;
174
173
 
175
174
  .complaint-input-container {
@@ -227,7 +226,7 @@
227
226
 
228
227
  .logo {
229
228
  @apply bg-focus;
230
- padding: 12px;
229
+ padding: 0px;
231
230
  border-radius: 4px;
232
231
  }
233
232
 
@@ -317,6 +316,7 @@
317
316
  width: 874px;
318
317
 
319
318
  .search-complaint-container {
319
+ width: 100%;
320
320
  margin: auto;
321
321
  @apply flex flex-col items-start mb-md bg-white p-md;
322
322