px-react-ui-components 1.1.12 → 1.1.13

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.
@@ -1,357 +1,357 @@
1
- .myTableContainer {
2
- position: relative;
3
- background: #fbfbfd;
4
- border: 1px solid #dadada;
5
- border-radius: 8px;
6
- height: 100%;
7
- display: flex;
8
- flex-direction: column;
9
- overflow: hidden;
10
- }
11
-
12
- .myTableContainer::-webkit-scrollbar {
13
- width: 8px;
14
- height: 8px;
15
- }
16
-
17
- .myTableContainer::-webkit-scrollbar-track {
18
- background: #e0e0e0;
19
- border-radius: 10px;
20
- }
21
-
22
- .myTableContainer::-webkit-scrollbar-thumb {
23
- background-color: #888;
24
- border-radius: 10px;
25
- border: 2px solid #e0e0e0;
26
- }
27
-
28
- .myTableContainer::-webkit-scrollbar-thumb:hover {
29
- background-color: #555;
30
- }
31
-
32
- .rowsCount {
33
- display: flex;
34
- flex-direction: column;
35
- justify-items: center;
36
- align-items: end;
37
- gap: 0px;
38
- line-height: 0.8rem;
39
- font-size: 13px;
40
- font-weight: 300;
41
- }
42
- .rowsCount span {
43
- font-weight: 500;
44
- }
45
-
46
- .searchContainer {
47
- position: relative;
48
- width: 100%;
49
- flex-shrink: 0;
50
- }
51
-
52
- .searchContainer .rowsCount {
53
- position: absolute;
54
- right: 10px;
55
- top: 50%;
56
- transform: translateY(-50%);
57
- z-index: 2;
58
- font-size: 13px;
59
- }
60
-
61
- .searchInput {
62
- width: 100%;
63
- padding: 8px 10px 5px 10px;
64
- margin-bottom: 1px;
65
- border-radius: 8px 8px 0 0;
66
- outline: none;
67
- background: #f5f6f7;
68
- }
69
-
70
- .searchable .myTable {
71
- border-radius: 0 0 8px 8px;
72
- }
73
-
74
- .myTable {
75
- width: 100%;
76
- height: 100%;
77
- overflow: auto;
78
- -webkit-overflow-scrolling: touch;
79
- scrollbar-width: thin;
80
- }
81
-
82
- .myTablePagination {
83
- height: calc(100% - 50px);
84
- height: 50px;
85
- }
86
-
87
- .table {
88
- width: 100%;
89
- min-width: 300px;
90
- table-layout: auto;
91
- border-collapse: separate;
92
- border-spacing: 0;
93
- }
94
-
95
- .thead {
96
- position: sticky;
97
- top: 0;
98
- background-color: #dce3eb;
99
- box-shadow: 0 2px 6px rgba(97, 98, 100, 0.301);
100
- /* #dce3eb */
101
- z-index: 1;
102
- }
103
-
104
- .th {
105
- background-color: #dce3eb;
106
- padding: 8px 4px;
107
- font-weight: 500;
108
- font-size: 13px;
109
- text-align: left;
110
- white-space: nowrap;
111
- overflow: hidden;
112
- text-overflow: ellipsis;
113
- border-right: 1px solid #bdc7d4 !important;
114
- }
115
-
116
- .thContainer {
117
- display: block;
118
- width: 100%;
119
- max-height: 80px;
120
- overflow-y: auto;
121
- }
122
-
123
- .th,
124
- .td {
125
- border-collapse: collapse;
126
- border-right: 1px solid #d0d6de;
127
- border-bottom: 1px solid #d0d6de;
128
- }
129
- .th[data-width],
130
- .td[data-width] {
131
- width: attr(data-width); /* data attribute ile genişlik belirleme */
132
- }
133
-
134
- .th:last-child,
135
- .td:last-child {
136
- border-right: none;
137
- }
138
-
139
- .leftAlign {
140
- text-align: left;
141
- }
142
-
143
- .tr {
144
- background-color: #fff;
145
- }
146
-
147
- .tr:nth-child(2n + 1) {
148
- background-color: #eff3f3;
149
- }
150
-
151
- .tr:hover {
152
- cursor: default;
153
- background-color: #d6eff0;
154
- }
155
-
156
- .td {
157
- font-size: 13px;
158
- font-weight: normal;
159
- padding: 5px;
160
- white-space: nowrap;
161
- overflow: hidden;
162
- text-overflow: ellipsis;
163
- text-wrap: balance;
164
- }
165
-
166
- .tableBtn {
167
- cursor: pointer;
168
- }
169
-
170
- .td button {
171
- background-color: unset;
172
- border: none;
173
- border-radius: 8px;
174
- color: #1d4736;
175
- padding: 7px;
176
- white-space: nowrap;
177
- }
178
-
179
- .td button:hover {
180
- background-color: #0c696a;
181
- color: #fff;
182
- }
183
-
184
- .noData {
185
- background-color: unset !important;
186
- }
187
-
188
- .noData td {
189
- text-align: center;
190
- color: #888;
191
- font-style: italic;
192
- font-size: 15px;
193
- padding: 50px 0;
194
- border-bottom: none;
195
- }
196
-
197
- .paginationContainer {
198
- height: 50px;
199
- width: 100%;
200
- background: #f0f2f3;
201
- border-radius: 0 0 8px 8px;
202
- flex-shrink: 0;
203
- }
204
-
205
- .pagination {
206
- height: auto;
207
- width: 100%;
208
- display: flex;
209
- flex-wrap: wrap;
210
- justify-content: center;
211
- align-items: center;
212
- gap: 4px;
213
- background: #f0f2f3;
214
- padding: 2px 10px;
215
- box-shadow: 0 -1px 5px rgba(97, 98, 100, 0.301);
216
- }
217
-
218
- .pageButton {
219
- min-width: 32px;
220
- padding: 4px 8px;
221
- border: 1px solid #dee2e6;
222
- background: #f8f8f8;
223
- color: #000;
224
- cursor: pointer;
225
- border-radius: 4px;
226
- font-size: 13px;
227
- font-weight: normal;
228
- display: flex;
229
- align-items: center;
230
- justify-content: center;
231
- touch-action: manipulation;
232
- }
233
-
234
- .pageButton:hover:not(:disabled) {
235
- background-color: #e9ecef;
236
- }
237
-
238
- .pageButton:disabled {
239
- opacity: 0.5;
240
- cursor: not-allowed;
241
- }
242
-
243
- .pageEllipsis {
244
- padding: 0 5px;
245
- color: #666;
246
- align-self: center;
247
- }
248
-
249
- .activePage {
250
- background-color: #0c696a;
251
- color: white;
252
- }
253
-
254
- .activePage:hover {
255
- background-color: #065052 !important;
256
- }
257
-
258
- .sortable {
259
- cursor: pointer;
260
- position: relative;
261
- padding-right: 20px !important;
262
- }
263
-
264
- .sortable:after {
265
- content: "↕";
266
- position: absolute;
267
- right: 8px;
268
- top: 50%;
269
- transform: translateY(-50%);
270
- opacity: 0.3;
271
- }
272
-
273
- .sort-asc:after {
274
- content: "↑";
275
- opacity: 1;
276
- }
277
-
278
- .sort-desc:after {
279
- content: "↓";
280
- opacity: 1;
281
- }
282
-
283
- .clickable {
284
- cursor: pointer;
285
- }
286
-
287
- .selected {
288
- background-color: #b6d4d5 !important;
289
- }
290
-
291
- @media screen and (max-width: 1024px) {
292
- .pageButton {
293
- min-width: 28px;
294
- min-height: 28px;
295
- font-size: 12px;
296
- }
297
-
298
- .th,
299
- .td {
300
- min-width: 40px !important;
301
- }
302
- }
303
-
304
- /* Tablet ve mobil için doğal genişlik */
305
- @media screen and (max-width: 1023px) {
306
- .th,
307
- .td {
308
- min-width: unset;
309
- width: auto;
310
- }
311
- }
312
-
313
- @media screen and (max-width: 768px) {
314
- .searchInput {
315
- font-size: 14px;
316
- padding: 6px 8px 4px 8px;
317
- }
318
-
319
- .rowsCount {
320
- font-size: 11px;
321
- }
322
-
323
- .pageButton {
324
- min-width: 24px;
325
- min-height: 24px;
326
- padding: 2px 4px;
327
- font-size: 11px;
328
- }
329
-
330
- .pagination {
331
- padding: 2px 5px;
332
- gap: 2px;
333
- }
334
-
335
- .pageEllipsis {
336
- padding: 0 2px;
337
- }
338
-
339
- .th,
340
- .td {
341
- min-width: 60px;
342
- }
343
- }
344
-
345
- @media screen and (max-width: 480px) {
346
- .searchInput {
347
- font-size: 13px;
348
- padding: 5px 6px 3px 6px;
349
- }
350
-
351
- .pageButton {
352
- min-width: 22px;
353
- min-height: 22px;
354
- padding: 1px 3px;
355
- font-size: 10px;
356
- }
357
- }
1
+ .myTableContainer {
2
+ position: relative;
3
+ background: #fbfbfd;
4
+ border: 1px solid #dadada;
5
+ border-radius: 8px;
6
+ height: 100%;
7
+ display: flex;
8
+ flex-direction: column;
9
+ overflow: hidden;
10
+ }
11
+
12
+ .myTableContainer::-webkit-scrollbar {
13
+ width: 8px;
14
+ height: 8px;
15
+ }
16
+
17
+ .myTableContainer::-webkit-scrollbar-track {
18
+ background: #e0e0e0;
19
+ border-radius: 10px;
20
+ }
21
+
22
+ .myTableContainer::-webkit-scrollbar-thumb {
23
+ background-color: #888;
24
+ border-radius: 10px;
25
+ border: 2px solid #e0e0e0;
26
+ }
27
+
28
+ .myTableContainer::-webkit-scrollbar-thumb:hover {
29
+ background-color: #555;
30
+ }
31
+
32
+ .rowsCount {
33
+ display: flex;
34
+ flex-direction: column;
35
+ justify-items: center;
36
+ align-items: end;
37
+ gap: 0px;
38
+ line-height: 0.8rem;
39
+ font-size: 13px;
40
+ font-weight: 300;
41
+ }
42
+ .rowsCount span {
43
+ font-weight: 500;
44
+ }
45
+
46
+ .searchContainer {
47
+ position: relative;
48
+ width: 100%;
49
+ flex-shrink: 0;
50
+ }
51
+
52
+ .searchContainer .rowsCount {
53
+ position: absolute;
54
+ right: 10px;
55
+ top: 50%;
56
+ transform: translateY(-50%);
57
+ z-index: 2;
58
+ font-size: 13px;
59
+ }
60
+
61
+ .searchInput {
62
+ width: 100%;
63
+ padding: 8px 10px 5px 10px;
64
+ margin-bottom: 1px;
65
+ border-radius: 8px 8px 0 0;
66
+ outline: none;
67
+ background: #f5f6f7;
68
+ }
69
+
70
+ .searchable .myTable {
71
+ border-radius: 0 0 8px 8px;
72
+ }
73
+
74
+ .myTable {
75
+ width: 100%;
76
+ height: 100%;
77
+ overflow: auto;
78
+ -webkit-overflow-scrolling: touch;
79
+ scrollbar-width: thin;
80
+ }
81
+
82
+ .myTablePagination {
83
+ height: calc(100% - 50px);
84
+ height: 50px;
85
+ }
86
+
87
+ .table {
88
+ width: 100%;
89
+ min-width: 300px;
90
+ table-layout: auto;
91
+ border-collapse: separate;
92
+ border-spacing: 0;
93
+ }
94
+
95
+ .thead {
96
+ position: sticky;
97
+ top: 0;
98
+ background-color: #dce3eb;
99
+ box-shadow: 0 2px 6px rgba(97, 98, 100, 0.301);
100
+ /* #dce3eb */
101
+ z-index: 1;
102
+ }
103
+
104
+ .th {
105
+ background-color: #dce3eb;
106
+ padding: 8px 4px;
107
+ font-weight: 500;
108
+ font-size: 13px;
109
+ text-align: left;
110
+ white-space: nowrap;
111
+ overflow: hidden;
112
+ text-overflow: ellipsis;
113
+ border-right: 1px solid #bdc7d4 !important;
114
+ }
115
+
116
+ .thContainer {
117
+ display: block;
118
+ width: 100%;
119
+ max-height: 80px;
120
+ overflow-y: auto;
121
+ }
122
+
123
+ .th,
124
+ .td {
125
+ border-collapse: collapse;
126
+ border-right: 1px solid #d0d6de;
127
+ border-bottom: 1px solid #d0d6de;
128
+ }
129
+ .th[data-width],
130
+ .td[data-width] {
131
+ width: attr(data-width); /* data attribute ile genişlik belirleme */
132
+ }
133
+
134
+ .th:last-child,
135
+ .td:last-child {
136
+ border-right: none;
137
+ }
138
+
139
+ .leftAlign {
140
+ text-align: left;
141
+ }
142
+
143
+ .tr {
144
+ background-color: #fff;
145
+ }
146
+
147
+ .tr:nth-child(2n + 1) {
148
+ background-color: #eff3f3;
149
+ }
150
+
151
+ .tr:hover {
152
+ cursor: default;
153
+ background-color: #d6eff0;
154
+ }
155
+
156
+ .td {
157
+ font-size: 13px;
158
+ font-weight: normal;
159
+ padding: 5px;
160
+ white-space: nowrap;
161
+ overflow: hidden;
162
+ text-overflow: ellipsis;
163
+ text-wrap: balance;
164
+ }
165
+
166
+ .tableBtn {
167
+ cursor: pointer;
168
+ }
169
+
170
+ .td button {
171
+ background-color: unset;
172
+ border: none;
173
+ border-radius: 8px;
174
+ color: #1d4736;
175
+ padding: 7px;
176
+ white-space: nowrap;
177
+ }
178
+
179
+ .td button:hover {
180
+ background-color: #0c696a;
181
+ color: #fff;
182
+ }
183
+
184
+ .noData {
185
+ background-color: unset !important;
186
+ }
187
+
188
+ .noData td {
189
+ text-align: center;
190
+ color: #888;
191
+ font-style: italic;
192
+ font-size: 15px;
193
+ padding: 50px 0;
194
+ border-bottom: none;
195
+ }
196
+
197
+ .paginationContainer {
198
+ height: 50px;
199
+ width: 100%;
200
+ background: #f0f2f3;
201
+ border-radius: 0 0 8px 8px;
202
+ flex-shrink: 0;
203
+ }
204
+
205
+ .pagination {
206
+ height: auto;
207
+ width: 100%;
208
+ display: flex;
209
+ flex-wrap: wrap;
210
+ justify-content: center;
211
+ align-items: center;
212
+ gap: 4px;
213
+ background: #f0f2f3;
214
+ padding: 2px 10px;
215
+ box-shadow: 0 -1px 5px rgba(97, 98, 100, 0.301);
216
+ }
217
+
218
+ .pageButton {
219
+ min-width: 32px;
220
+ padding: 4px 8px;
221
+ border: 1px solid #dee2e6;
222
+ background: #f8f8f8;
223
+ color: #000;
224
+ cursor: pointer;
225
+ border-radius: 4px;
226
+ font-size: 13px;
227
+ font-weight: normal;
228
+ display: flex;
229
+ align-items: center;
230
+ justify-content: center;
231
+ touch-action: manipulation;
232
+ }
233
+
234
+ .pageButton:hover:not(:disabled) {
235
+ background-color: #e9ecef;
236
+ }
237
+
238
+ .pageButton:disabled {
239
+ opacity: 0.5;
240
+ cursor: not-allowed;
241
+ }
242
+
243
+ .pageEllipsis {
244
+ padding: 0 5px;
245
+ color: #666;
246
+ align-self: center;
247
+ }
248
+
249
+ .activePage {
250
+ background-color: #0c696a;
251
+ color: white;
252
+ }
253
+
254
+ .activePage:hover {
255
+ background-color: #065052 !important;
256
+ }
257
+
258
+ .sortable {
259
+ cursor: pointer;
260
+ position: relative;
261
+ padding-right: 20px !important;
262
+ }
263
+
264
+ .sortable:after {
265
+ content: "↕";
266
+ position: absolute;
267
+ right: 8px;
268
+ top: 50%;
269
+ transform: translateY(-50%);
270
+ opacity: 0.3;
271
+ }
272
+
273
+ .sort-asc:after {
274
+ content: "↑";
275
+ opacity: 1;
276
+ }
277
+
278
+ .sort-desc:after {
279
+ content: "↓";
280
+ opacity: 1;
281
+ }
282
+
283
+ .clickable {
284
+ cursor: pointer;
285
+ }
286
+
287
+ .selected {
288
+ background-color: #b6d4d5 !important;
289
+ }
290
+
291
+ @media screen and (max-width: 1024px) {
292
+ .pageButton {
293
+ min-width: 28px;
294
+ min-height: 28px;
295
+ font-size: 12px;
296
+ }
297
+
298
+ .th,
299
+ .td {
300
+ min-width: 40px !important;
301
+ }
302
+ }
303
+
304
+ /* Tablet ve mobil için doğal genişlik */
305
+ @media screen and (max-width: 1023px) {
306
+ .th,
307
+ .td {
308
+ min-width: unset;
309
+ width: auto;
310
+ }
311
+ }
312
+
313
+ @media screen and (max-width: 768px) {
314
+ .searchInput {
315
+ font-size: 14px;
316
+ padding: 6px 8px 4px 8px;
317
+ }
318
+
319
+ .rowsCount {
320
+ font-size: 11px;
321
+ }
322
+
323
+ .pageButton {
324
+ min-width: 24px;
325
+ min-height: 24px;
326
+ padding: 2px 4px;
327
+ font-size: 11px;
328
+ }
329
+
330
+ .pagination {
331
+ padding: 2px 5px;
332
+ gap: 2px;
333
+ }
334
+
335
+ .pageEllipsis {
336
+ padding: 0 2px;
337
+ }
338
+
339
+ .th,
340
+ .td {
341
+ min-width: 60px;
342
+ }
343
+ }
344
+
345
+ @media screen and (max-width: 480px) {
346
+ .searchInput {
347
+ font-size: 13px;
348
+ padding: 5px 6px 3px 6px;
349
+ }
350
+
351
+ .pageButton {
352
+ min-width: 22px;
353
+ min-height: 22px;
354
+ padding: 1px 3px;
355
+ font-size: 10px;
356
+ }
357
+ }