@pmidc/upyog-css 1.2.36-dev.1.14 → 1.2.36-dev.1.15

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,367 @@
1
+ .new-inbox-topbar {
2
+ display: flex;
3
+ align-items: center;
4
+ justify-content: space-between;
5
+ gap: 16px;
6
+ padding: 16px;
7
+ border-radius: 16px;
8
+ border: 1px solid #e2e8f0;
9
+ background: #ffffff;
10
+ box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
11
+ flex-wrap: wrap;
12
+ }
13
+
14
+ .new-inbox-tabs {
15
+ display: flex;
16
+ gap: 8px;
17
+ flex-wrap: nowrap;
18
+ overflow-x: auto;
19
+ max-width: calc(100% - 280px);
20
+ padding-bottom: 4px;
21
+ scrollbar-width: none;
22
+ }
23
+
24
+ .new-inbox-tab {
25
+ padding: 6px 10px;
26
+ border-radius: 999px;
27
+ border: 1px solid #e5e7eb;
28
+ background: #f8fafc;
29
+ font-weight: 600;
30
+ font-size: 11px;
31
+ cursor: pointer;
32
+ white-space: nowrap;
33
+ font-family: inherit;
34
+ }
35
+
36
+ .new-inbox-tab-active {
37
+ background: #2563eb;
38
+ color: #ffffff;
39
+ border: 1px solid #2563eb;
40
+ box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
41
+ }
42
+
43
+ .new-inbox-tab-count {
44
+ margin-left: 6px;
45
+ padding: 2px 6px;
46
+ border-radius: 999px;
47
+ background: #e2e8f0;
48
+ color: #475569;
49
+ font-size: 11px;
50
+ font-weight: 700;
51
+ }
52
+
53
+ .new-inbox-tab-count-active {
54
+ background: rgba(255, 255, 255, 0.2);
55
+ color: #ffffff;
56
+ }
57
+
58
+ .new-inbox-search {
59
+ display: flex;
60
+ align-items: center;
61
+ gap: 8px;
62
+ padding: 10px 14px;
63
+ border: 1px solid #e2e8f0;
64
+ border-radius: 10px;
65
+ min-width: 260px;
66
+ background: #f8fafc;
67
+ color: #6b7280;
68
+ font-size: 12px;
69
+ }
70
+
71
+ .new-inbox-search-input {
72
+ border: none;
73
+ outline: none;
74
+ background: transparent;
75
+ width: 100%;
76
+ font-size: 12px;
77
+ color: #111827;
78
+ }
79
+ .new-inbox-wrapper {
80
+ margin-top: 32px;
81
+ padding: 20px;
82
+ background: #f8fafc;
83
+ border-radius: 12px;
84
+ }
85
+
86
+ .new-inbox-header {
87
+ display: flex;
88
+ align-items: center;
89
+ gap: 10px;
90
+ font-size: 24px;
91
+ font-weight: 700;
92
+ margin-bottom: 12px;
93
+ }
94
+
95
+ .new-inbox-count-pill {
96
+ display: inline-flex;
97
+ align-items: center;
98
+ justify-content: center;
99
+ min-width: 28px;
100
+ height: 28px;
101
+ padding: 0 8px;
102
+ border-radius: 999px;
103
+ background: #2563eb;
104
+ color: #ffffff;
105
+ font-size: 12px;
106
+ font-weight: 700;
107
+ }
108
+
109
+ .new-inbox-layout {
110
+ display: block;
111
+ }
112
+
113
+ .new-inbox-top-filters {
114
+ margin: 12px 0 16px;
115
+ background: #ffffff;
116
+ border: 1px solid #e2e8f0;
117
+ border-radius: 16px;
118
+ padding: 18px;
119
+ box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
120
+ }
121
+
122
+ .new-inbox-table-card {
123
+ margin-top: 16px;
124
+ background: #ffffff;
125
+ border: 1px solid #e2e8f0;
126
+ border-radius: 16px;
127
+ box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
128
+ overflow: hidden;
129
+ }
130
+
131
+ .new-inbox-table-header {
132
+ padding: 18px 20px;
133
+ font-size: 18px;
134
+ font-weight: 700;
135
+ border-bottom: 1px solid #e2e8f0;
136
+ }
137
+
138
+ .new-inbox-pagination {
139
+ display: flex;
140
+ align-items: center;
141
+ justify-content: flex-end;
142
+ gap: 12px;
143
+ padding: 12px 20px 18px;
144
+ border-top: 1px solid #eef2f7;
145
+ font-size: 12px;
146
+ color: #6b7280;
147
+ background: #ffffff;
148
+ border-radius: 0 0 16px 16px;
149
+ margin-top: 16px;
150
+ }
151
+
152
+ .new-inbox-pagination-button {
153
+ border: 1px solid #e5e7eb;
154
+ background: #ffffff;
155
+ border-radius: 8px;
156
+ padding: 4px 8px;
157
+ cursor: pointer;
158
+ font-family: inherit;
159
+ }
160
+
161
+ .new-inbox-pagination-button-disabled {
162
+ opacity: 0.5;
163
+ cursor: not-allowed;
164
+ }
165
+
166
+ .new-inbox-pagination-select {
167
+ border: 1px solid #e5e7eb;
168
+ border-radius: 8px;
169
+ padding: 4px 8px;
170
+ background: #ffffff;
171
+ font-family: inherit;
172
+ }
173
+
174
+ .new-inbox-pagination-info {
175
+ font-weight: 500;
176
+ }
177
+
178
+ /* Mobile responsive styles */
179
+ @media screen and (max-width: 768px) {
180
+ .new-inbox-topbar {
181
+ flex-direction: column;
182
+ align-items: stretch;
183
+ gap: 12px;
184
+ }
185
+
186
+ .new-inbox-tabs {
187
+ flex-wrap: wrap;
188
+ max-width: 100%;
189
+ overflow-x: visible;
190
+ }
191
+
192
+ .new-inbox-search {
193
+ width: 100%;
194
+ min-width: unset;
195
+ }
196
+ }
197
+
198
+ /* Filter Drawer Styles */
199
+ .filter-drawer-overlay {
200
+ position: fixed;
201
+ top: 0;
202
+ left: 0;
203
+ right: 0;
204
+ bottom: 0;
205
+ background: rgba(0, 0, 0, 0.5);
206
+ z-index: 999;
207
+ animation: fadeIn 0.3s ease-in-out;
208
+ }
209
+
210
+ @keyframes fadeIn {
211
+ from {
212
+ opacity: 0;
213
+ }
214
+ to {
215
+ opacity: 1;
216
+ }
217
+ }
218
+
219
+ @keyframes slideUp {
220
+ from {
221
+ transform: translateY(100%);
222
+ }
223
+ to {
224
+ transform: translateY(0);
225
+ }
226
+ }
227
+
228
+ .filter-drawer {
229
+ position: fixed;
230
+ bottom: 0;
231
+ left: 0;
232
+ right: 0;
233
+ background: white;
234
+ border-radius: 16px 16px 0 0;
235
+ max-height: 80vh;
236
+ display: flex;
237
+ flex-direction: column;
238
+ z-index: 1000;
239
+ animation: slideUp 0.3s ease-in-out;
240
+ box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
241
+
242
+ @media screen and (max-width: 768px) {
243
+ max-height: 85vh;
244
+ }
245
+ }
246
+
247
+ .filter-drawer-header {
248
+ padding: 16px 16px 12px;
249
+ border-bottom: 1px solid #e8e8e8;
250
+ display: flex;
251
+ justify-content: space-between;
252
+ align-items: center;
253
+ flex-shrink: 0;
254
+
255
+ h3 {
256
+ margin: 0;
257
+ font-size: 16px;
258
+ font-weight: 600;
259
+ color: #111827;
260
+ }
261
+ }
262
+
263
+ .filter-drawer-close {
264
+ background: none;
265
+ border: none;
266
+ font-size: 24px;
267
+ cursor: pointer;
268
+ color: #6b7280;
269
+ padding: 4px 8px;
270
+ display: flex;
271
+ align-items: center;
272
+ justify-content: center;
273
+ transition: color 0.2s;
274
+
275
+ &:hover {
276
+ color: #111827;
277
+ }
278
+
279
+ &:active {
280
+ color: #374151;
281
+ }
282
+ }
283
+
284
+ .filter-drawer-content {
285
+ flex: 1;
286
+ overflow-y: auto;
287
+ padding: 16px;
288
+ display: flex;
289
+ flex-direction: column;
290
+ gap: 12px;
291
+
292
+ /* Smooth scrolling */
293
+ scroll-behavior: smooth;
294
+
295
+ /* Safari bounce scroll */
296
+ -webkit-overflow-scrolling: touch;
297
+
298
+ /* Hide scrollbar in mobile */
299
+ scrollbar-width: thin;
300
+ scrollbar-color: #d4d4d4 transparent;
301
+
302
+ &::-webkit-scrollbar {
303
+ width: 6px;
304
+ }
305
+
306
+ &::-webkit-scrollbar-track {
307
+ background: transparent;
308
+ }
309
+
310
+ &::-webkit-scrollbar-thumb {
311
+ background: #d4d4d4;
312
+ border-radius: 3px;
313
+
314
+ &:hover {
315
+ background: #9ca3af;
316
+ }
317
+ }
318
+ }
319
+
320
+ .filter-drawer-footer {
321
+ padding: 12px 16px 16px;
322
+ border-top: 1px solid #e8e8e8;
323
+ flex-shrink: 0;
324
+ background: white;
325
+ }
326
+
327
+ .filter-apply-btn {
328
+ width: 100%;
329
+ padding: 12px 16px;
330
+ background: #0066cc;
331
+ color: white;
332
+ border: none;
333
+ border-radius: 4px;
334
+ font-size: 14px;
335
+ font-weight: 600;
336
+ cursor: pointer;
337
+ transition: background 0.2s;
338
+
339
+ &:active {
340
+ background: #0052a3;
341
+ }
342
+
343
+ &:hover {
344
+ background: #0052a3;
345
+ }
346
+ }
347
+
348
+ .filter-button-mobile {
349
+ transition: all 0.2s ease;
350
+
351
+ &:active {
352
+ background: #f3f4f6 !important;
353
+ transform: scale(0.95);
354
+ }
355
+ }
356
+
357
+ /* Ensure filter form fields look good in drawer */
358
+ .filter-drawer-content {
359
+ .filter-label {
360
+ margin-top: 12px;
361
+ margin-bottom: 8px;
362
+ }
363
+
364
+ .sub-filter-label {
365
+ font-size: 14px !important;
366
+ }
367
+ }