@djb25/digit-ui-css 1.0.38 → 1.0.40
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/dist/index.css +1 -1
- package/dist/index.min.css +1 -1
- package/package.json +1 -1
- package/src/components/card.scss +2 -2
- package/src/components/topbar.scss +141 -230
- package/src/index.scss +1 -0
package/package.json
CHANGED
package/src/components/card.scss
CHANGED
|
@@ -846,7 +846,7 @@
|
|
|
846
846
|
}
|
|
847
847
|
|
|
848
848
|
.sidebar-item.active {
|
|
849
|
-
background-color: #
|
|
849
|
+
background-color: #667eea;
|
|
850
850
|
color: #ffffff;
|
|
851
851
|
box-shadow: 0 4px 6px rgba(0, 173, 239, 0.2);
|
|
852
852
|
padding: 6px;
|
|
@@ -1050,7 +1050,7 @@
|
|
|
1050
1050
|
}
|
|
1051
1051
|
|
|
1052
1052
|
.sidebar-item.active {
|
|
1053
|
-
background-color: #
|
|
1053
|
+
background-color: #667eea;
|
|
1054
1054
|
color: #ffffff;
|
|
1055
1055
|
box-shadow: 0 4px 6px rgba(0, 173, 239, 0.2);
|
|
1056
1056
|
}
|
|
@@ -2,152 +2,173 @@
|
|
|
2
2
|
position: fixed;
|
|
3
3
|
top: 0;
|
|
4
4
|
width: 100%;
|
|
5
|
-
padding:
|
|
5
|
+
padding: 10px 58px;
|
|
6
6
|
background: white;
|
|
7
7
|
box-shadow: rgba(0, 0, 0, 0.24) 0 1px 4px;
|
|
8
8
|
z-index: 9999999;
|
|
9
|
-
|
|
10
|
-
align-items: center;
|
|
11
|
-
height: 64px !important;
|
|
12
|
-
max-height: 64px !important;
|
|
13
|
-
|
|
14
|
-
@media (max-width: 640px) {
|
|
15
|
-
padding: 8px 16px;
|
|
16
|
-
}
|
|
9
|
+
@apply flex items-center;
|
|
17
10
|
|
|
18
11
|
.topbar-content {
|
|
19
12
|
display: flex;
|
|
20
13
|
justify-content: space-between;
|
|
21
14
|
align-items: center;
|
|
22
15
|
width: 100%;
|
|
23
|
-
gap: 12px;
|
|
24
|
-
height: 52px;
|
|
25
16
|
}
|
|
26
17
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
.state {
|
|
30
|
-
height: 42px !important;
|
|
31
|
-
max-height: 42px !important;
|
|
32
|
-
width: auto !important;
|
|
33
|
-
object-fit: contain !important;
|
|
34
|
-
flex-shrink: 0 !important;
|
|
35
|
-
margin-left: 10px !important;
|
|
36
|
-
display: block !important;
|
|
37
|
-
}
|
|
18
|
+
img {
|
|
19
|
+
display: inline;
|
|
38
20
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
gap: 12px;
|
|
43
|
-
cursor: pointer;
|
|
44
|
-
flex-shrink: 0;
|
|
21
|
+
&.city {
|
|
22
|
+
height: 60px;
|
|
23
|
+
}
|
|
45
24
|
|
|
46
|
-
|
|
47
|
-
|
|
25
|
+
&.spect-icon {
|
|
26
|
+
width: auto;
|
|
27
|
+
padding-right: 20px;
|
|
28
|
+
max-height: 50px;
|
|
48
29
|
}
|
|
49
30
|
|
|
50
|
-
|
|
51
|
-
width: 50px;
|
|
31
|
+
&.state {
|
|
52
32
|
height: 50px;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
display: flex;
|
|
56
|
-
align-items: center;
|
|
57
|
-
justify-content: center;
|
|
58
|
-
box-shadow: 0 4px 14px rgba(12, 35, 64, 0.35);
|
|
59
|
-
overflow: hidden;
|
|
60
|
-
flex-shrink: 0;
|
|
61
|
-
|
|
62
|
-
@media (max-width: 640px) {
|
|
63
|
-
width: 36px;
|
|
64
|
-
height: 36px;
|
|
65
|
-
border-radius: 8px;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
img {
|
|
69
|
-
width: 100%;
|
|
70
|
-
height: 100%;
|
|
71
|
-
object-fit: contain;
|
|
72
|
-
}
|
|
33
|
+
max-height: 30px;
|
|
34
|
+
width: auto;
|
|
73
35
|
}
|
|
36
|
+
}
|
|
74
37
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
h1 {
|
|
81
|
-
font-family: "'Crimson Pro', serif";
|
|
82
|
-
font-size: 17px;
|
|
83
|
-
font-weight: 700;
|
|
84
|
-
color: #003366;
|
|
85
|
-
margin: 0;
|
|
86
|
-
line-height: 1.2;
|
|
87
|
-
|
|
88
|
-
@media (max-width: 640px) {
|
|
89
|
-
font-size: 14px;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
@media (max-width: 360px) {
|
|
93
|
-
font-size: 12px;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
38
|
+
.ulb {
|
|
39
|
+
font-weight: bold;
|
|
40
|
+
display: inline-block;
|
|
41
|
+
}
|
|
96
42
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
color: #0070b4;
|
|
101
|
-
margin: 0;
|
|
102
|
-
line-height: 1.2;
|
|
43
|
+
.right {
|
|
44
|
+
float: right;
|
|
45
|
+
position: relative;
|
|
103
46
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
47
|
+
svg {
|
|
48
|
+
display: inline;
|
|
49
|
+
}
|
|
107
50
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
51
|
+
.user-img-txt {
|
|
52
|
+
background: theme(colors.primary.main);
|
|
53
|
+
padding: 10px 15px;
|
|
54
|
+
border-radius: 2px;
|
|
55
|
+
color: white;
|
|
56
|
+
height: 43px;
|
|
57
|
+
width: 43px;
|
|
58
|
+
font-weight: 700;
|
|
59
|
+
text-align: center;
|
|
112
60
|
}
|
|
113
61
|
}
|
|
114
62
|
|
|
115
|
-
.
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
align-items: center;
|
|
119
|
-
gap: 15px;
|
|
120
|
-
margin-left: auto;
|
|
63
|
+
.left {
|
|
64
|
+
float: left;
|
|
65
|
+
}
|
|
121
66
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
67
|
+
.w-80 {
|
|
68
|
+
width: 70%;
|
|
69
|
+
}
|
|
125
70
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
71
|
+
.width-20 {
|
|
72
|
+
width: 30%;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.margin-top-6 {
|
|
76
|
+
margin-top: 6px;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.margin-right-30 {
|
|
80
|
+
margin-right: 30px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.margin-top-10 {
|
|
84
|
+
margin-top: 10px;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.icon {
|
|
88
|
+
display: block;
|
|
89
|
+
color: rgb(117, 117, 117);
|
|
90
|
+
fill: rgb(117, 117, 117);
|
|
91
|
+
height: 21px;
|
|
92
|
+
width: 21px;
|
|
93
|
+
}
|
|
132
94
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
95
|
+
.column-gap-15 {
|
|
96
|
+
column-gap: 15px;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.column-gap-5 {
|
|
100
|
+
column-gap: 5px;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.select-wrap,
|
|
104
|
+
.employee-select-wrap {
|
|
105
|
+
margin-bottom: 0px;
|
|
106
|
+
|
|
107
|
+
.profile-dropdown--item {
|
|
108
|
+
span {
|
|
109
|
+
white-space: pre;
|
|
136
110
|
}
|
|
137
111
|
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
138
114
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
height: 28px;
|
|
142
|
-
background-color: rgb(203, 213, 225);
|
|
115
|
+
.cp {
|
|
116
|
+
cursor: pointer;
|
|
143
117
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
118
|
+
.hamburger {
|
|
119
|
+
display: none;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
@media (max-width: 780px) {
|
|
123
|
+
.hamburger {
|
|
124
|
+
display: none;
|
|
147
125
|
}
|
|
148
126
|
}
|
|
149
127
|
}
|
|
150
128
|
|
|
129
|
+
.citizen {
|
|
130
|
+
.right {
|
|
131
|
+
margin-top: 5px;
|
|
132
|
+
margin-bottom: 5px;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.topbar-select-wrap {
|
|
136
|
+
margin-bottom: 0;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.flex-between {
|
|
140
|
+
@apply flex items-center justify-between;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.profile-dropdown--item {
|
|
145
|
+
display: flex;
|
|
146
|
+
flex-direction: row;
|
|
147
|
+
padding: 10px;
|
|
148
|
+
column-gap: 10px;
|
|
149
|
+
text-wrap: auto;
|
|
150
|
+
color: theme(colors.text.secondary);
|
|
151
|
+
|
|
152
|
+
&:hover {
|
|
153
|
+
background: theme(colors.grey.mid);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.flex-right {
|
|
158
|
+
@apply flex items-center justify-end;
|
|
159
|
+
min-width: 85px;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
video::-webkit-media-controls-panel {
|
|
163
|
+
top: 55%;
|
|
164
|
+
position: absolute;
|
|
165
|
+
width: 100%;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.topbarOptionsClassName {
|
|
169
|
+
right: -3rem !important;
|
|
170
|
+
}
|
|
171
|
+
|
|
151
172
|
.user-profile-pill {
|
|
152
173
|
display: flex;
|
|
153
174
|
align-items: center;
|
|
@@ -160,30 +181,15 @@
|
|
|
160
181
|
transition: all 0.2s ease;
|
|
161
182
|
min-width: fit-content;
|
|
162
183
|
|
|
163
|
-
@media (max-width: 900px) {
|
|
164
|
-
padding: 4px;
|
|
165
|
-
gap: 0;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
184
|
&:hover {
|
|
169
185
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
170
186
|
border-color: #00497e;
|
|
171
187
|
}
|
|
172
188
|
|
|
173
|
-
.user-profile-avatar
|
|
174
|
-
.user-profile-img {
|
|
189
|
+
.user-profile-avatar {
|
|
175
190
|
width: 42px;
|
|
176
191
|
height: 42px;
|
|
177
192
|
border-radius: 50%;
|
|
178
|
-
flex-shrink: 0;
|
|
179
|
-
|
|
180
|
-
@media (max-width: 640px) {
|
|
181
|
-
width: 32px;
|
|
182
|
-
height: 32px;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.user-profile-avatar {
|
|
187
193
|
background: #00497e;
|
|
188
194
|
color: white;
|
|
189
195
|
display: flex;
|
|
@@ -191,10 +197,15 @@
|
|
|
191
197
|
justify-content: center;
|
|
192
198
|
font-weight: 700;
|
|
193
199
|
font-size: 18px;
|
|
200
|
+
flex-shrink: 0;
|
|
201
|
+
}
|
|
194
202
|
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
203
|
+
.user-profile-img {
|
|
204
|
+
width: 42px;
|
|
205
|
+
height: 42px;
|
|
206
|
+
border-radius: 50%;
|
|
207
|
+
object-fit: cover;
|
|
208
|
+
flex-shrink: 0;
|
|
198
209
|
}
|
|
199
210
|
|
|
200
211
|
.user-profile-info {
|
|
@@ -203,10 +214,6 @@
|
|
|
203
214
|
justify-content: center;
|
|
204
215
|
line-height: 1.2;
|
|
205
216
|
|
|
206
|
-
@media (max-width: 900px) {
|
|
207
|
-
display: none;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
217
|
.user-profile-name {
|
|
211
218
|
font-weight: 700;
|
|
212
219
|
font-size: 15px;
|
|
@@ -226,101 +233,5 @@
|
|
|
226
233
|
margin-left: 2px;
|
|
227
234
|
color: #6b778c;
|
|
228
235
|
flex-shrink: 0;
|
|
229
|
-
|
|
230
|
-
@media (max-width: 900px) {
|
|
231
|
-
display: none;
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
/* Unified TopBar Pills (City, FY, Language) */
|
|
237
|
-
.language-selector-wrapper,
|
|
238
|
-
.city-selector-wrapper,
|
|
239
|
-
.financial-year-wrapper {
|
|
240
|
-
display: flex;
|
|
241
|
-
align-items: center;
|
|
242
|
-
gap: 10px;
|
|
243
|
-
padding: 8px 14px;
|
|
244
|
-
border: 1px solid #e5e7eb;
|
|
245
|
-
border-radius: 8px;
|
|
246
|
-
background: #ffffff;
|
|
247
|
-
cursor: pointer;
|
|
248
|
-
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
249
|
-
min-width: fit-content;
|
|
250
|
-
justify-content: center;
|
|
251
|
-
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
252
|
-
|
|
253
|
-
@media (max-width: 768px) {
|
|
254
|
-
padding: 6px 10px;
|
|
255
|
-
gap: 6px;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
&:hover {
|
|
259
|
-
border-color: #00497e;
|
|
260
|
-
background-color: #f8fafc;
|
|
261
|
-
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
.language-code,
|
|
265
|
-
.city-label {
|
|
266
|
-
@media (max-width: 768px) {
|
|
267
|
-
display: none;
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
span {
|
|
272
|
-
font-weight: 500;
|
|
273
|
-
font-size: 14px;
|
|
274
|
-
color: #111827;
|
|
275
|
-
letter-spacing: 0.01em;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
.chevron-icon {
|
|
279
|
-
width: 12px;
|
|
280
|
-
height: 12px;
|
|
281
|
-
color: #4b5563;
|
|
282
|
-
transition: transform 0.2s ease;
|
|
283
|
-
margin-top: 1px;
|
|
284
|
-
|
|
285
|
-
@media (max-width: 768px) {
|
|
286
|
-
display: none;
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
svg:not(.chevron-icon):not(.flag-icon) {
|
|
291
|
-
width: 20px;
|
|
292
|
-
height: 20px;
|
|
293
|
-
color: #1f2937;
|
|
294
|
-
flex-shrink: 0;
|
|
295
|
-
|
|
296
|
-
@media (max-width: 640px) {
|
|
297
|
-
width: 16px;
|
|
298
|
-
height: 16px;
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
.language-selector-container,
|
|
304
|
-
.city-selector-container {
|
|
305
|
-
display: flex;
|
|
306
|
-
align-items: center;
|
|
307
|
-
|
|
308
|
-
&.open .chevron-icon {
|
|
309
|
-
transform: rotate(180deg);
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
.select-wrap,
|
|
313
|
-
.employee-select-wrap {
|
|
314
|
-
margin-bottom: 0 !important;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
.options-card {
|
|
318
|
-
min-width: 130px !important;
|
|
319
|
-
width: max-content !important;
|
|
320
|
-
top: calc(100% + 4px) !important;
|
|
321
|
-
right: 0 !important;
|
|
322
|
-
left: auto !important;
|
|
323
|
-
border-radius: 8px;
|
|
324
|
-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
325
236
|
}
|
|
326
237
|
}
|