px-react-ui-components 1.0.13 → 1.0.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.
@@ -1,350 +1,350 @@
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
- .th,
117
- .td {
118
- border-collapse: collapse;
119
- border-right: 1px solid #d0d6de;
120
- border-bottom: 1px solid #d0d6de;
121
- }
122
- .th[data-width],
123
- .td[data-width] {
124
- width: attr(data-width); /* data attribute ile genişlik belirleme */
125
- }
126
-
127
- .th:last-child,
128
- .td:last-child {
129
- border-right: none;
130
- }
131
-
132
- .leftAlign {
133
- text-align: left;
134
- }
135
-
136
- .tr {
137
- background-color: #fff;
138
- }
139
-
140
- .tr:nth-child(2n + 1) {
141
- background-color: #eff3f3;
142
- }
143
-
144
- .tr:hover {
145
- cursor: default;
146
- background-color: #d6eff0;
147
- }
148
-
149
-
150
-
151
- .td {
152
- font-size: 13px;
153
- font-weight: normal;
154
- padding: 5px;
155
- white-space: nowrap;
156
- overflow: hidden;
157
- text-overflow: ellipsis;
158
- text-wrap: balance;
159
- }
160
-
161
- .tableBtn {
162
- cursor: pointer;
163
- }
164
-
165
- .td button {
166
- background-color: unset;
167
- border: none;
168
- border-radius: 8px;
169
- color: #1d4736;
170
- padding: 7px;
171
- white-space: nowrap;
172
- }
173
-
174
- .td button:hover {
175
- background-color: #0c696a;
176
- color: #fff;
177
- }
178
-
179
- .noData {
180
- background-color: unset !important;
181
- }
182
-
183
- .noData td {
184
- text-align: center;
185
- color: #888;
186
- font-style: italic;
187
- font-size: 15px;
188
- padding: 50px 0;
189
- border-bottom: none;
190
- }
191
-
192
- .paginationContainer {
193
- height: 50px;
194
- width: 100%;
195
- background: #f0f2f3;
196
- border-radius: 0 0 8px 8px;
197
- flex-shrink: 0;
198
- }
199
-
200
- .pagination {
201
- height: auto;
202
- width: 100%;
203
- display: flex;
204
- flex-wrap: wrap;
205
- justify-content: center;
206
- align-items: center;
207
- gap: 4px;
208
- background: #f0f2f3;
209
- padding: 2px 10px;
210
- box-shadow: 0 -1px 5px rgba(97, 98, 100, 0.301);
211
- }
212
-
213
- .pageButton {
214
- min-width: 32px;
215
- padding: 4px 8px;
216
- border: 1px solid #dee2e6;
217
- background: #f8f8f8;
218
- color: #000;
219
- cursor: pointer;
220
- border-radius: 4px;
221
- font-size: 13px;
222
- font-weight: normal;
223
- display: flex;
224
- align-items: center;
225
- justify-content: center;
226
- touch-action: manipulation;
227
- }
228
-
229
- .pageButton:hover:not(:disabled) {
230
- background-color: #e9ecef;
231
- }
232
-
233
- .pageButton:disabled {
234
- opacity: 0.5;
235
- cursor: not-allowed;
236
- }
237
-
238
- .pageEllipsis {
239
- padding: 0 5px;
240
- color: #666;
241
- align-self: center;
242
- }
243
-
244
- .activePage {
245
- background-color: #0c696a;
246
- color: white;
247
- }
248
-
249
- .activePage:hover {
250
- background-color: #065052 !important;
251
- }
252
-
253
- .sortable {
254
- cursor: pointer;
255
- position: relative;
256
- padding-right: 20px !important;
257
- }
258
-
259
- .sortable:after {
260
- content: '↕';
261
- position: absolute;
262
- right: 8px;
263
- top: 50%;
264
- transform: translateY(-50%);
265
- opacity: 0.3;
266
- }
267
-
268
- .sort-asc:after {
269
- content: '↑';
270
- opacity: 1;
271
- }
272
-
273
- .sort-desc:after {
274
- content: '↓';
275
- opacity: 1;
276
- }
277
-
278
- .clickable {
279
- cursor: pointer;
280
- }
281
-
282
- .selected {
283
- background-color: #b6d4d5 !important;
284
- }
285
-
286
- @media screen and (max-width: 1024px) {
287
- .pageButton {
288
- min-width: 28px;
289
- min-height: 28px;
290
- font-size: 12px;
291
- }
292
-
293
- .th, .td {
294
- min-width: 40px !important;
295
- }
296
- }
297
-
298
- /* Tablet ve mobil için doğal genişlik */
299
- @media screen and (max-width: 1023px) {
300
- .th,
301
- .td {
302
- min-width: unset;
303
- width: auto;
304
- }
305
- }
306
-
307
- @media screen and (max-width: 768px) {
308
- .searchInput {
309
- font-size: 14px;
310
- padding: 6px 8px 4px 8px;
311
- }
312
-
313
- .rowsCount {
314
- font-size: 11px;
315
- }
316
-
317
- .pageButton {
318
- min-width: 24px;
319
- min-height: 24px;
320
- padding: 2px 4px;
321
- font-size: 11px;
322
- }
323
-
324
- .pagination {
325
- padding: 2px 5px;
326
- gap: 2px;
327
- }
328
-
329
- .pageEllipsis {
330
- padding: 0 2px;
331
- }
332
-
333
- .th, .td {
334
- min-width: 60px;
335
- }
336
- }
337
-
338
- @media screen and (max-width: 480px) {
339
- .searchInput {
340
- font-size: 13px;
341
- padding: 5px 6px 3px 6px;
342
- }
343
-
344
- .pageButton {
345
- min-width: 22px;
346
- min-height: 22px;
347
- padding: 1px 3px;
348
- font-size: 10px;
349
- }
350
- }
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
+ .th,
117
+ .td {
118
+ border-collapse: collapse;
119
+ border-right: 1px solid #d0d6de;
120
+ border-bottom: 1px solid #d0d6de;
121
+ }
122
+ .th[data-width],
123
+ .td[data-width] {
124
+ width: attr(data-width); /* data attribute ile genişlik belirleme */
125
+ }
126
+
127
+ .th:last-child,
128
+ .td:last-child {
129
+ border-right: none;
130
+ }
131
+
132
+ .leftAlign {
133
+ text-align: left;
134
+ }
135
+
136
+ .tr {
137
+ background-color: #fff;
138
+ }
139
+
140
+ .tr:nth-child(2n + 1) {
141
+ background-color: #eff3f3;
142
+ }
143
+
144
+ .tr:hover {
145
+ cursor: default;
146
+ background-color: #d6eff0;
147
+ }
148
+
149
+
150
+
151
+ .td {
152
+ font-size: 13px;
153
+ font-weight: normal;
154
+ padding: 5px;
155
+ white-space: nowrap;
156
+ overflow: hidden;
157
+ text-overflow: ellipsis;
158
+ text-wrap: balance;
159
+ }
160
+
161
+ .tableBtn {
162
+ cursor: pointer;
163
+ }
164
+
165
+ .td button {
166
+ background-color: unset;
167
+ border: none;
168
+ border-radius: 8px;
169
+ color: #1d4736;
170
+ padding: 7px;
171
+ white-space: nowrap;
172
+ }
173
+
174
+ .td button:hover {
175
+ background-color: #0c696a;
176
+ color: #fff;
177
+ }
178
+
179
+ .noData {
180
+ background-color: unset !important;
181
+ }
182
+
183
+ .noData td {
184
+ text-align: center;
185
+ color: #888;
186
+ font-style: italic;
187
+ font-size: 15px;
188
+ padding: 50px 0;
189
+ border-bottom: none;
190
+ }
191
+
192
+ .paginationContainer {
193
+ height: 50px;
194
+ width: 100%;
195
+ background: #f0f2f3;
196
+ border-radius: 0 0 8px 8px;
197
+ flex-shrink: 0;
198
+ }
199
+
200
+ .pagination {
201
+ height: auto;
202
+ width: 100%;
203
+ display: flex;
204
+ flex-wrap: wrap;
205
+ justify-content: center;
206
+ align-items: center;
207
+ gap: 4px;
208
+ background: #f0f2f3;
209
+ padding: 2px 10px;
210
+ box-shadow: 0 -1px 5px rgba(97, 98, 100, 0.301);
211
+ }
212
+
213
+ .pageButton {
214
+ min-width: 32px;
215
+ padding: 4px 8px;
216
+ border: 1px solid #dee2e6;
217
+ background: #f8f8f8;
218
+ color: #000;
219
+ cursor: pointer;
220
+ border-radius: 4px;
221
+ font-size: 13px;
222
+ font-weight: normal;
223
+ display: flex;
224
+ align-items: center;
225
+ justify-content: center;
226
+ touch-action: manipulation;
227
+ }
228
+
229
+ .pageButton:hover:not(:disabled) {
230
+ background-color: #e9ecef;
231
+ }
232
+
233
+ .pageButton:disabled {
234
+ opacity: 0.5;
235
+ cursor: not-allowed;
236
+ }
237
+
238
+ .pageEllipsis {
239
+ padding: 0 5px;
240
+ color: #666;
241
+ align-self: center;
242
+ }
243
+
244
+ .activePage {
245
+ background-color: #0c696a;
246
+ color: white;
247
+ }
248
+
249
+ .activePage:hover {
250
+ background-color: #065052 !important;
251
+ }
252
+
253
+ .sortable {
254
+ cursor: pointer;
255
+ position: relative;
256
+ padding-right: 20px !important;
257
+ }
258
+
259
+ .sortable:after {
260
+ content: '↕';
261
+ position: absolute;
262
+ right: 8px;
263
+ top: 50%;
264
+ transform: translateY(-50%);
265
+ opacity: 0.3;
266
+ }
267
+
268
+ .sort-asc:after {
269
+ content: '↑';
270
+ opacity: 1;
271
+ }
272
+
273
+ .sort-desc:after {
274
+ content: '↓';
275
+ opacity: 1;
276
+ }
277
+
278
+ .clickable {
279
+ cursor: pointer;
280
+ }
281
+
282
+ .selected {
283
+ background-color: #b6d4d5 !important;
284
+ }
285
+
286
+ @media screen and (max-width: 1024px) {
287
+ .pageButton {
288
+ min-width: 28px;
289
+ min-height: 28px;
290
+ font-size: 12px;
291
+ }
292
+
293
+ .th, .td {
294
+ min-width: 40px !important;
295
+ }
296
+ }
297
+
298
+ /* Tablet ve mobil için doğal genişlik */
299
+ @media screen and (max-width: 1023px) {
300
+ .th,
301
+ .td {
302
+ min-width: unset;
303
+ width: auto;
304
+ }
305
+ }
306
+
307
+ @media screen and (max-width: 768px) {
308
+ .searchInput {
309
+ font-size: 14px;
310
+ padding: 6px 8px 4px 8px;
311
+ }
312
+
313
+ .rowsCount {
314
+ font-size: 11px;
315
+ }
316
+
317
+ .pageButton {
318
+ min-width: 24px;
319
+ min-height: 24px;
320
+ padding: 2px 4px;
321
+ font-size: 11px;
322
+ }
323
+
324
+ .pagination {
325
+ padding: 2px 5px;
326
+ gap: 2px;
327
+ }
328
+
329
+ .pageEllipsis {
330
+ padding: 0 2px;
331
+ }
332
+
333
+ .th, .td {
334
+ min-width: 60px;
335
+ }
336
+ }
337
+
338
+ @media screen and (max-width: 480px) {
339
+ .searchInput {
340
+ font-size: 13px;
341
+ padding: 5px 6px 3px 6px;
342
+ }
343
+
344
+ .pageButton {
345
+ min-width: 22px;
346
+ min-height: 22px;
347
+ padding: 1px 3px;
348
+ font-size: 10px;
349
+ }
350
+ }