ar-design 0.4.2 → 0.4.3

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,3 +1,6 @@
1
+ @import url("./scroll.css");
2
+ @import url("./filter-popup.css");
3
+
1
4
  .ar-table {
2
5
  display: flex;
3
6
  flex-direction: column;
@@ -9,320 +12,821 @@
9
12
  box-shadow: 0px 10px 15px -5px rgba(var(--black-rgb), 0.1);
10
13
  font-family: var(--system);
11
14
  overflow: hidden;
12
- }
13
- .ar-table > .header {
14
- display: flex;
15
- flex-direction: row;
16
- flex-wrap: nowrap;
17
- justify-content: space-between;
18
- align-items: flex-start;
19
- gap: 3.75rem;
20
- padding: 1rem 1.5rem;
21
- }
22
- .ar-table > .header > .title {
23
- display: flex;
24
- flex-direction: column;
25
- row-gap: 0.5rem;
26
- }
27
- .ar-table > .header > .title > h4 {
28
- color: var(--gray-700);
29
- }
30
- .ar-table > .header > .title > h5 {
31
- color: var(--gray-400);
32
- font-weight: normal !important;
33
- }
34
- .ar-table > .header > .actions {
35
- display: flex;
36
- flex-direction: row;
37
- column-gap: 0.5rem;
38
- margin-left: auto;
39
- }
40
- .ar-table > .header > div:last-child {
41
- margin-left: auto;
42
- }
43
15
 
44
- .ar-table > .footer {
45
- display: flex;
46
- flex-direction: row;
47
- flex-wrap: wrap;
48
- justify-content: space-between;
49
- padding: 1rem 1.5rem;
50
- border-top: solid 1px var(--gray-200);
51
- }
16
+ &:not(:has(> .header)) {
17
+ > .content {
18
+ > table {
19
+ > thead {
20
+ border-top-color: transparent;
21
+ }
22
+ }
23
+ }
24
+ }
52
25
 
53
- .ar-table > .content > table {
54
- display: table;
55
- border-collapse: collapse;
56
- width: 100%;
57
- }
26
+ .header {
27
+ display: flex;
28
+ flex-direction: row;
29
+ flex-wrap: nowrap;
30
+ justify-content: space-between;
31
+ align-items: flex-start;
32
+ gap: 3.75rem;
33
+ padding: 1rem 1.5rem;
58
34
 
59
- .ar-table > .content > table > thead > tr > th,
60
- .ar-table > .content > table > tbody > tr > td {
61
- height: 2.5rem;
62
- }
63
- .ar-table > .content > table > thead > tr > th,
64
- .ar-table > .content > table > tbody > tr > td > .table-cell {
65
- padding: 0 1rem;
66
- }
67
- .ar-table > .content > table > tbody > tr > td > .table-cell {
68
- display: flex;
69
- align-items: center;
70
- height: 100%;
71
- }
35
+ > .title {
36
+ display: flex;
37
+ flex-direction: column;
38
+ row-gap: 0.5rem;
72
39
 
73
- .ar-table > .content > table > thead > tr > th.min-w,
74
- .ar-table > .content > table > tbody > tr > td.min-w {
75
- min-width: 150px;
76
- }
40
+ > h4 {
41
+ color: var(--gray-700);
42
+ }
77
43
 
78
- .ar-table > .content > table > thead {
79
- background-color: var(--gray-100);
80
- border: solid 1px var(--gray-100);
81
- border-top-color: var(--gray-200);
82
- border-bottom-color: var(--gray-200);
83
- }
84
- .ar-table:not(:has(> .header)) > .content > table > thead {
85
- border-top-color: transparent;
86
- }
87
- .ar-table > .content > table > thead > tr:first-child {
88
- border-bottom: solid 1px var(--gray-200);
89
- }
90
- .ar-table > .content > table > thead > tr > th {
91
- position: relative;
92
- color: var(--gray-700);
93
- /* -webkit-text-stroke: 0.25px var(--gray-700); */
94
- text-align: left;
95
- text-wrap: nowrap;
96
- z-index: 2;
97
- }
44
+ > h5 {
45
+ color: var(--gray-400);
46
+ font-weight: normal !important;
47
+ }
48
+ }
98
49
 
99
- .ar-table > .content > table > thead > tr > th > .filter-field {
100
- display: flex;
101
- flex-direction: row;
102
- justify-content: space-between;
103
- align-items: center;
104
- gap: 0.5rem;
105
- min-width: 100%;
106
- }
50
+ > .actions {
51
+ display: flex;
52
+ flex-direction: row;
53
+ column-gap: 0.5rem;
54
+ margin-left: auto;
55
+ }
107
56
 
108
- .ar-table > .content > table > thead > tr > th::after {
109
- position: absolute;
110
- top: 50%;
111
- transform: translateY(-50%);
112
- right: 0;
113
- content: "";
114
- background-color: var(--gray-200);
115
- width: 1px;
116
- height: 50%;
117
- }
118
- .ar-table > .content > table > thead > tr > th:last-child:after {
119
- display: none;
120
- }
121
- .ar-table > .content > table > thead > tr:last-child > th::after {
122
- display: none;
123
- }
124
- .ar-table > .content > table > thead > tr > th.selection-col {
125
- width: 2rem;
126
- z-index: 3;
127
- }
128
- .ar-table > .content > table > thead > tr > th.type-of-number {
129
- text-align: right;
130
- }
131
- .ar-table > .content > table > thead > tr > th.align-content-left {
132
- text-align: left;
133
- }
134
- .ar-table > .content > table > thead > tr > th.align-content-center {
135
- text-align: center;
136
- }
137
- .ar-table > .content > table > thead > tr > th.align-content-right {
138
- text-align: right;
139
- }
57
+ > div {
58
+ &:last-child {
59
+ margin-left: auto;
60
+ }
61
+ }
62
+ }
63
+
64
+ > .footer {
65
+ display: flex;
66
+ flex-direction: row;
67
+ flex-wrap: wrap;
68
+ justify-content: space-between;
69
+ align-items: center;
70
+ padding: 1rem 1.5rem;
71
+ border-top: solid 1px var(--gray-200);
72
+ }
140
73
 
141
- .ar-table > .content > table > tbody > tr {
142
- border-bottom: solid 1px var(--gray-200);
74
+ > .content {
75
+ > table {
76
+ display: table;
77
+ border-collapse: collapse;
78
+ width: 100%;
143
79
 
144
- &.draggable {
145
- > td:first-child {
146
- position: relative;
147
- padding-left: 20px;
80
+ > thead {
81
+ background-color: var(--gray-100);
82
+ border: solid 1px var(--gray-100);
83
+ border-top-color: var(--gray-200);
84
+ border-bottom-color: var(--gray-200);
148
85
 
149
- &:first-child::before {
150
- content: "⋮⋮";
151
- position: absolute;
152
- left: 8px;
153
- top: 50%;
154
- transform: translateY(-50%);
155
- color: var(--gray-400);
156
- cursor: move;
86
+ > tr {
87
+ &:first-child {
88
+ border-bottom: solid 1px var(--gray-200);
89
+ }
90
+
91
+ &:last-child {
92
+ > th {
93
+ &::after {
94
+ display: none;
95
+ }
96
+ }
97
+ }
98
+
99
+ > th {
100
+ position: relative;
101
+ height: 2.5rem;
102
+ padding: 0 1rem;
103
+ color: var(--gray-700);
104
+ text-align: left;
105
+ text-wrap: nowrap;
106
+ z-index: 2;
107
+
108
+ &:last-child {
109
+ &:after {
110
+ display: none;
111
+ }
112
+ }
113
+
114
+ &::after {
115
+ position: absolute;
116
+ top: 50%;
117
+ transform: translateY(-50%);
118
+ right: 0;
119
+ content: "";
120
+ background-color: var(--gray-200);
121
+ width: 1px;
122
+ height: 50%;
123
+ }
124
+
125
+ &.min-w {
126
+ min-width: 150px;
127
+ }
128
+
129
+ &.selection-col {
130
+ width: 2rem;
131
+ z-index: 3;
132
+ }
133
+
134
+ &.type-of-number {
135
+ text-align: right;
136
+ }
137
+
138
+ &.align-content-left {
139
+ text-align: left;
140
+ }
141
+
142
+ &.align-content-center {
143
+ text-align: center;
144
+ }
145
+
146
+ &.align-content-right {
147
+ text-align: right;
148
+ }
149
+
150
+ > .table-cell {
151
+ padding: 0 1rem;
152
+ }
153
+
154
+ > .filter-field {
155
+ display: flex;
156
+ flex-direction: row;
157
+ justify-content: space-between;
158
+ align-items: center;
159
+ gap: 0.5rem;
160
+ min-width: 100%;
161
+ }
162
+ }
163
+ }
164
+ }
165
+
166
+ > tbody {
167
+ > tr {
168
+ border-bottom: solid 1px var(--gray-200);
169
+
170
+ &:last-child {
171
+ border-bottom: none;
172
+ }
173
+
174
+ &:not(:has(+ tr)),
175
+ &:last-child {
176
+ > td {
177
+ > .table-cell {
178
+ > .before {
179
+ height: 50%;
180
+ background: linear-gradient(0deg, var(--gray-600) 0%, var(--gray-200) 100%);
181
+ }
182
+ }
183
+ }
184
+ }
185
+
186
+ &.draggable {
187
+ > td {
188
+ &:first-child {
189
+ position: relative;
190
+ padding-left: 20px;
191
+ }
192
+
193
+ &:first-child {
194
+ ::before {
195
+ content: "⋮⋮";
196
+ position: absolute;
197
+ left: 8px;
198
+ top: 50%;
199
+ transform: translateY(-50%);
200
+ color: var(--gray-400);
201
+ cursor: move;
202
+ }
203
+ }
204
+ }
205
+ }
206
+
207
+ &.subrow-item {
208
+ &:not(:has(+ tr.subrow-item)),
209
+ &:last-child {
210
+ > td {
211
+ > .table-cell {
212
+ > .before {
213
+ height: 50%;
214
+ background: linear-gradient(0deg, var(--gray-600) 0%, var(--gray-200) 100%) !important;
215
+ }
216
+
217
+ > .after {
218
+ position: absolute;
219
+ top: 50%;
220
+ transform: translateY(-50%);
221
+ content: "";
222
+ background-color: var(--gray-600);
223
+ width: 15px;
224
+ height: 2px;
225
+ margin-left: -17.5px;
226
+
227
+ > .circle {
228
+ position: absolute;
229
+ top: 50%;
230
+ transform: translateY(-50%);
231
+ right: 0;
232
+ content: "";
233
+ background-color: var(--gray-600);
234
+ width: 5px;
235
+ height: 5px;
236
+ border-radius: var(--border-radius-pill);
237
+ }
238
+ }
239
+ }
240
+ }
241
+ }
242
+
243
+ > td {
244
+ > .table-cell {
245
+ > .before {
246
+ position: absolute;
247
+ top: 0px;
248
+ content: "";
249
+ background: linear-gradient(
250
+ 0deg,
251
+ var(--gray-200) 0%,
252
+ var(--gray-600) 50%,
253
+ var(--gray-200) 100%
254
+ ) !important;
255
+ width: 2px;
256
+ height: 100%;
257
+ margin-left: -17.5px;
258
+ }
259
+
260
+ > .last-before {
261
+ position: absolute;
262
+ top: 0px;
263
+ content: "";
264
+ background: linear-gradient(
265
+ 0deg,
266
+ var(--gray-200) 0%,
267
+ var(--gray-600) 50%,
268
+ var(--gray-200) 100%
269
+ ) !important;
270
+ width: 2px;
271
+ height: 100%;
272
+
273
+ :first-child {
274
+ background: linear-gradient(
275
+ 0deg,
276
+ var(--gray-200) 0%,
277
+ var(--primary) 50%,
278
+ var(--gray-200) 100%
279
+ ) !important;
280
+ }
281
+ }
282
+ }
283
+ }
284
+ }
285
+
286
+ > td {
287
+ position: relative;
288
+ height: 2.5rem;
289
+ z-index: 1;
290
+
291
+ &.min-w {
292
+ min-width: 150px;
293
+ }
294
+
295
+ &.type-of-number {
296
+ text-align: right;
297
+ }
298
+
299
+ &.align-content-left {
300
+ text-align: left;
301
+ }
302
+
303
+ &.align-content-center {
304
+ text-align: center;
305
+ }
306
+
307
+ &.align-content-right {
308
+ display: flex;
309
+ flex-direction: row;
310
+ justify-content: flex-end;
311
+ align-items: center;
312
+ }
313
+
314
+ &.text-wrap {
315
+ text-wrap: wrap;
316
+ }
317
+
318
+ &.text-nowrap {
319
+ text-wrap: nowrap;
320
+ }
321
+
322
+ > .table-cell {
323
+ display: flex;
324
+ align-items: center;
325
+ height: 100%;
326
+ padding: 0 1rem;
327
+
328
+ > .before {
329
+ position: absolute;
330
+ top: 0px;
331
+ content: "";
332
+ background: linear-gradient(0deg, var(--gray-200) 0%, var(--primary) 50%, var(--gray-200) 100%);
333
+ width: 2px;
334
+ height: 100%;
335
+ margin-left: -17.5px;
336
+ }
337
+
338
+ > .after {
339
+ position: absolute;
340
+ top: 50%;
341
+ transform: translateY(-50%);
342
+ content: "";
343
+ background-color: var(--primary);
344
+ width: 15px;
345
+ height: 2px;
346
+ margin-left: -17.5px;
347
+
348
+ > .circle {
349
+ position: absolute;
350
+ top: 50%;
351
+ transform: translateY(-50%);
352
+ right: 0;
353
+ content: "";
354
+ background-color: var(--primary);
355
+ width: 5px;
356
+ height: 5px;
357
+ border-radius: var(--border-radius-pill);
358
+ }
359
+ }
360
+ }
361
+
362
+ > .subitem-open-button-wrapper {
363
+ padding: 0 1rem;
364
+ }
365
+
366
+ > .subitem-open-button-wrapper {
367
+ > span {
368
+ display: inline-block;
369
+ width: 0.75rem;
370
+ height: 0.75rem;
371
+ border: solid 2px transparent;
372
+ border-top-color: var(--primary);
373
+ border-right-color: var(--primary);
374
+ transform: rotate(45deg);
375
+ cursor: pointer;
376
+ transition: transform 100ms ease-in-out;
377
+
378
+ &.opened {
379
+ transform: rotate(135deg);
380
+ }
381
+
382
+ &.passive {
383
+ border-top-color: var(--gray-300);
384
+ border-right-color: var(--gray-300);
385
+ cursor: no-drop;
386
+ }
387
+ }
388
+ }
389
+
390
+ > .no-item {
391
+ position: relative;
392
+ display: flex;
393
+ flex-direction: column;
394
+ justify-content: center;
395
+ align-items: center;
396
+ height: 200px;
397
+ border-bottom: solid 1px var(--gray-200);
398
+
399
+ &::after {
400
+ position: absolute;
401
+ left: 50%;
402
+ transform: translateX(-50%);
403
+ bottom: 82px;
404
+ content: "";
405
+ background-color: var(--gray-100);
406
+ width: 70px;
407
+ height: 16px;
408
+ border-radius: 100%;
409
+ }
410
+
411
+ > span {
412
+ color: var(--gray-500);
413
+ font-family: var(--system);
414
+ }
415
+ }
416
+ }
417
+ }
157
418
  }
158
419
  }
159
420
  }
160
421
  }
161
- .ar-table > .content > table > tbody > tr:last-child {
162
- border-bottom: none;
163
- }
164
- .ar-table > .content > table > tbody > tr > td {
165
- position: relative;
166
- z-index: 1;
167
- }
168
- .ar-table > .content > table > tbody > tr > td.type-of-number {
169
- text-align: right;
170
- }
171
- .ar-table > .content > table > tbody > tr > td.align-content-left {
172
- text-align: left;
173
- }
174
- .ar-table > .content > table > tbody > tr > td.align-content-center {
175
- text-align: center;
176
- }
177
- .ar-table > .content > table > tbody > tr > td.align-content-right {
178
- display: flex;
179
- flex-direction: row;
180
- justify-content: flex-end;
181
- align-items: center;
182
- }
183
- .ar-table > .content > table > tbody > tr > td.text-wrap {
184
- text-wrap: wrap;
185
- }
186
- .ar-table > .content > table > tbody > tr > td.text-nowrap {
187
- text-wrap: nowrap;
188
- }
189
422
 
190
- .ar-table > .content > table > tbody > tr > td > .subitem-open-button-wrapper {
191
- padding: 0 1rem;
423
+ /* --- [KÜÇÜK MOBİL - IPHONE SE VB.] --- */
424
+ /* Çok dar ekranlar için özel düzeltmeler */
425
+ @media (max-width: 375px) {
192
426
  }
193
- .ar-table > .content > table > tbody > tr > td > .subitem-open-button-wrapper > span {
194
- display: inline-block;
195
- width: 0.75rem;
196
- height: 0.75rem;
197
- border: solid 2px transparent;
198
- border-top-color: var(--primary);
199
- border-right-color: var(--primary);
200
- transform: rotate(45deg);
201
- cursor: pointer;
202
- transition: transform 100ms ease-in-out;
203
- }
204
- .ar-table > .content > table > tbody > tr > td > .subitem-open-button-wrapper > span.opened {
205
- transform: rotate(135deg);
206
- }
207
- .ar-table > .content > table > tbody > tr > td > .subitem-open-button-wrapper > span.passive {
208
- border-top-color: var(--gray-300);
209
- border-right-color: var(--gray-300);
210
- cursor: no-drop;
427
+
428
+ /* --- [MOBİL - STANDART] --- */
429
+ /* Ekran 576px ve altına düştüğünde çalışır */
430
+ @media (max-width: 576px) {
211
431
  }
212
432
 
213
- .ar-table > .content > table > tbody > tr > td {
214
- > .no-item {
215
- position: relative;
216
- display: flex;
217
- flex-direction: column;
218
- justify-content: center;
219
- align-items: center;
220
- height: 200px;
221
- border-bottom: solid 1px var(--gray-200);
222
-
223
- &::after {
224
- position: absolute;
225
- left: 50%;
226
- transform: translateX(-50%);
227
- bottom: 82px;
228
- content: "";
229
- background-color: var(--gray-100);
230
- width: 70px;
231
- height: 16px;
232
- border-radius: 100%;
433
+ /* --- [TABLET DİKEY & BÜYÜK TELEFONLAR] --- */
434
+ /* Ekran 768px ve altına düştüğünde çalışır */
435
+ @media (max-width: 768px) {
436
+ .ar-table {
437
+ border-radius: 0;
438
+ box-shadow: none;
439
+
440
+ &:not(:has(> .header)) {
441
+ > .content {
442
+ > table {
443
+ > thead {
444
+ }
445
+ }
446
+ }
447
+ }
448
+
449
+ .header {
450
+ flex-direction: column-reverse;
451
+ justify-content: flex-end;
452
+ gap: 0.5rem;
453
+
454
+ > .title {
455
+ > h4 {
456
+ }
457
+
458
+ > h5 {
459
+ }
460
+ }
461
+
462
+ > .actions {
463
+ }
464
+
465
+ > div {
466
+ &:last-child {
467
+ }
468
+ }
233
469
  }
234
470
 
235
- > span {
236
- color: var(--gray-500);
237
- font-family: var(--system);
471
+ > .footer {
472
+ display: flex;
473
+ flex-direction: row;
474
+ flex-wrap: wrap;
475
+ justify-content: space-between;
476
+ padding: 1rem 1.5rem;
477
+ border-top: solid 1px var(--gray-200);
238
478
  }
239
- }
240
- }
241
479
 
242
- /* For Rows */
243
- .ar-table > .content > table > tbody > tr > td > .table-cell > .before {
244
- position: absolute;
245
- top: 0px;
246
- content: "";
247
- background: linear-gradient(0deg, var(--gray-200) 0%, var(--primary) 50%, var(--gray-200) 100%);
248
- width: 2px;
249
- height: 100%;
250
- margin-left: -17.5px;
251
- }
252
- .ar-table > .content > table > tbody > tr:not(:has(+ tr)) > td > .table-cell > .before,
253
- .ar-table > .content > table > tbody > tr:last-child > td > .table-cell > .before {
254
- height: 50%;
255
- background: linear-gradient(0deg, var(--gray-600) 0%, var(--gray-200) 100%);
256
- }
257
- .ar-table > .content > table > tbody > tr > td > .table-cell > .after {
258
- position: absolute;
259
- top: 50%;
260
- transform: translateY(-50%);
261
- content: "";
262
- background-color: var(--primary);
263
- width: 15px;
264
- height: 2px;
265
- margin-left: -17.5px;
266
- }
267
- .ar-table > .content > table > tbody > tr > td > .table-cell > .after > .circle {
268
- position: absolute;
269
- top: 50%;
270
- transform: translateY(-50%);
271
- right: 0;
272
- content: "";
273
- background-color: var(--primary);
274
- width: 5px;
275
- height: 5px;
276
- border-radius: var(--border-radius-pill);
277
- }
480
+ > .content {
481
+ > table {
482
+ display: table;
483
+ border-collapse: collapse;
484
+ width: 100%;
278
485
 
279
- /* For Subrows */
280
- .ar-table > .content > table > tbody > tr.subrow-item > td > .table-cell > .before {
281
- position: absolute;
282
- top: 0px;
283
- content: "";
284
- background: linear-gradient(0deg, var(--gray-200) 0%, var(--gray-600) 50%, var(--gray-200) 100%) !important;
285
- width: 2px;
286
- height: 100%;
287
- margin-left: -17.5px;
288
- }
289
- .ar-table > .content > table > tbody > tr.subrow-item > td > .table-cell > .last-before {
290
- position: absolute;
291
- top: 0px;
292
- content: "";
293
- background: linear-gradient(0deg, var(--gray-200) 0%, var(--gray-600) 50%, var(--gray-200) 100%) !important;
294
- width: 2px;
295
- height: 100%;
296
- }
297
- .ar-table > .content > table > tbody > tr.subrow-item > td > .table-cell > .last-before:first-child {
298
- background: linear-gradient(0deg, var(--gray-200) 0%, var(--primary) 50%, var(--gray-200) 100%) !important;
299
- }
300
- .ar-table > .content > table > tbody > tr.subrow-item:not(:has(+ tr.subrow-item)) > td > .table-cell > .before,
301
- .ar-table > .content > table > tbody > tr.subrow-item:last-child > td > .table-cell > .before {
302
- height: 50%;
303
- background: linear-gradient(0deg, var(--gray-600) 0%, var(--gray-200) 100%) !important;
304
- }
305
- .ar-table > .content > table > tbody > tr.subrow-item > td > .table-cell > .after {
306
- position: absolute;
307
- top: 50%;
308
- transform: translateY(-50%);
309
- content: "";
310
- background-color: var(--gray-600);
311
- width: 15px;
312
- height: 2px;
313
- margin-left: -17.5px;
314
- }
315
- .ar-table > .content > table > tbody > tr.subrow-item > td > .table-cell > .after > .circle {
316
- position: absolute;
317
- top: 50%;
318
- transform: translateY(-50%);
319
- right: 0;
320
- content: "";
321
- background-color: var(--gray-600);
322
- width: 5px;
323
- height: 5px;
324
- border-radius: var(--border-radius-pill);
486
+ > thead {
487
+ background-color: var(--gray-100);
488
+ border: solid 1px var(--gray-100);
489
+ border-top-color: var(--gray-200);
490
+ border-bottom-color: var(--gray-200);
491
+
492
+ > tr {
493
+ &:first-child {
494
+ border-bottom: solid 1px var(--gray-200);
495
+ }
496
+
497
+ &:last-child {
498
+ > th {
499
+ &::after {
500
+ display: none;
501
+ }
502
+ }
503
+ }
504
+
505
+ > th {
506
+ position: relative;
507
+ height: 2.5rem;
508
+ color: var(--gray-700);
509
+ text-align: left;
510
+ text-wrap: nowrap;
511
+ z-index: 2;
512
+
513
+ &:last-child {
514
+ &:after {
515
+ display: none;
516
+ }
517
+ }
518
+
519
+ &::after {
520
+ position: absolute;
521
+ top: 50%;
522
+ transform: translateY(-50%);
523
+ right: 0;
524
+ content: "";
525
+ background-color: var(--gray-200);
526
+ width: 1px;
527
+ height: 50%;
528
+ }
529
+
530
+ &.min-w {
531
+ min-width: 150px;
532
+ }
533
+
534
+ &.selection-col {
535
+ width: 2rem;
536
+ z-index: 3;
537
+ }
538
+
539
+ &.type-of-number {
540
+ text-align: right;
541
+ }
542
+
543
+ &.align-content-left {
544
+ text-align: left;
545
+ }
546
+
547
+ &.align-content-center {
548
+ text-align: center;
549
+ }
550
+
551
+ &.align-content-right {
552
+ text-align: right;
553
+ }
554
+
555
+ > .table-cell {
556
+ padding: 0 1rem;
557
+ }
558
+
559
+ > .filter-field {
560
+ display: flex;
561
+ flex-direction: row;
562
+ justify-content: space-between;
563
+ align-items: center;
564
+ gap: 0.5rem;
565
+ min-width: 100%;
566
+ }
567
+ }
568
+ }
569
+ }
570
+
571
+ > tbody {
572
+ > tr {
573
+ border-bottom: solid 1px var(--gray-200);
574
+
575
+ &:last-child {
576
+ border-bottom: none;
577
+ }
578
+
579
+ &:not(:has(+ tr)),
580
+ &:last-child {
581
+ > td {
582
+ > .table-cell {
583
+ > .before {
584
+ height: 50%;
585
+ background: linear-gradient(0deg, var(--gray-600) 0%, var(--gray-200) 100%);
586
+ }
587
+ }
588
+ }
589
+ }
590
+
591
+ &.draggable {
592
+ > td {
593
+ &:first-child {
594
+ position: relative;
595
+ padding-left: 20px;
596
+ }
597
+
598
+ &:first-child {
599
+ ::before {
600
+ content: "⋮⋮";
601
+ position: absolute;
602
+ left: 8px;
603
+ top: 50%;
604
+ transform: translateY(-50%);
605
+ color: var(--gray-400);
606
+ cursor: move;
607
+ }
608
+ }
609
+ }
610
+ }
611
+
612
+ &.subrow-item {
613
+ &:not(:has(+ tr.subrow-item)),
614
+ &:last-child {
615
+ > td {
616
+ > .table-cell {
617
+ > .before {
618
+ height: 50%;
619
+ background: linear-gradient(0deg, var(--gray-600) 0%, var(--gray-200) 100%) !important;
620
+ }
621
+
622
+ > .after {
623
+ position: absolute;
624
+ top: 50%;
625
+ transform: translateY(-50%);
626
+ content: "";
627
+ background-color: var(--gray-600);
628
+ width: 15px;
629
+ height: 2px;
630
+ margin-left: -17.5px;
631
+
632
+ > .circle {
633
+ position: absolute;
634
+ top: 50%;
635
+ transform: translateY(-50%);
636
+ right: 0;
637
+ content: "";
638
+ background-color: var(--gray-600);
639
+ width: 5px;
640
+ height: 5px;
641
+ border-radius: var(--border-radius-pill);
642
+ }
643
+ }
644
+ }
645
+ }
646
+ }
647
+
648
+ > td {
649
+ > .table-cell {
650
+ > .before {
651
+ position: absolute;
652
+ top: 0px;
653
+ content: "";
654
+ background: linear-gradient(
655
+ 0deg,
656
+ var(--gray-200) 0%,
657
+ var(--gray-600) 50%,
658
+ var(--gray-200) 100%
659
+ ) !important;
660
+ width: 2px;
661
+ height: 100%;
662
+ margin-left: -17.5px;
663
+ }
664
+
665
+ > .last-before {
666
+ position: absolute;
667
+ top: 0px;
668
+ content: "";
669
+ background: linear-gradient(
670
+ 0deg,
671
+ var(--gray-200) 0%,
672
+ var(--gray-600) 50%,
673
+ var(--gray-200) 100%
674
+ ) !important;
675
+ width: 2px;
676
+ height: 100%;
677
+
678
+ :first-child {
679
+ background: linear-gradient(
680
+ 0deg,
681
+ var(--gray-200) 0%,
682
+ var(--primary) 50%,
683
+ var(--gray-200) 100%
684
+ ) !important;
685
+ }
686
+ }
687
+ }
688
+ }
689
+ }
690
+
691
+ > td {
692
+ position: relative;
693
+ height: 2.5rem;
694
+ z-index: 1;
695
+
696
+ &.min-w {
697
+ min-width: 150px;
698
+ }
699
+
700
+ &.type-of-number {
701
+ text-align: right;
702
+ }
703
+
704
+ &.align-content-left {
705
+ text-align: left;
706
+ }
707
+
708
+ &.align-content-center {
709
+ text-align: center;
710
+ }
711
+
712
+ &.align-content-right {
713
+ display: flex;
714
+ flex-direction: row;
715
+ justify-content: flex-end;
716
+ align-items: center;
717
+ }
718
+
719
+ &.text-wrap {
720
+ text-wrap: wrap;
721
+ }
722
+
723
+ &.text-nowrap {
724
+ text-wrap: nowrap;
725
+ }
726
+
727
+ > .table-cell {
728
+ display: flex;
729
+ align-items: center;
730
+ height: 100%;
731
+ padding: 0 1rem;
732
+
733
+ > .before {
734
+ position: absolute;
735
+ top: 0px;
736
+ content: "";
737
+ background: linear-gradient(0deg, var(--gray-200) 0%, var(--primary) 50%, var(--gray-200) 100%);
738
+ width: 2px;
739
+ height: 100%;
740
+ margin-left: -17.5px;
741
+ }
742
+
743
+ > .after {
744
+ position: absolute;
745
+ top: 50%;
746
+ transform: translateY(-50%);
747
+ content: "";
748
+ background-color: var(--primary);
749
+ width: 15px;
750
+ height: 2px;
751
+ margin-left: -17.5px;
752
+
753
+ > .circle {
754
+ position: absolute;
755
+ top: 50%;
756
+ transform: translateY(-50%);
757
+ right: 0;
758
+ content: "";
759
+ background-color: var(--primary);
760
+ width: 5px;
761
+ height: 5px;
762
+ border-radius: var(--border-radius-pill);
763
+ }
764
+ }
765
+ }
766
+
767
+ > .subitem-open-button-wrapper {
768
+ padding: 0 1rem;
769
+ }
770
+
771
+ > .subitem-open-button-wrapper {
772
+ > span {
773
+ display: inline-block;
774
+ width: 0.75rem;
775
+ height: 0.75rem;
776
+ border: solid 2px transparent;
777
+ border-top-color: var(--primary);
778
+ border-right-color: var(--primary);
779
+ transform: rotate(45deg);
780
+ cursor: pointer;
781
+ transition: transform 100ms ease-in-out;
782
+
783
+ &.opened {
784
+ transform: rotate(135deg);
785
+ }
786
+
787
+ &.passive {
788
+ border-top-color: var(--gray-300);
789
+ border-right-color: var(--gray-300);
790
+ cursor: no-drop;
791
+ }
792
+ }
793
+ }
794
+
795
+ > .no-item {
796
+ position: relative;
797
+ display: flex;
798
+ flex-direction: column;
799
+ justify-content: center;
800
+ align-items: center;
801
+ height: 200px;
802
+ border-bottom: solid 1px var(--gray-200);
803
+
804
+ &::after {
805
+ position: absolute;
806
+ left: 50%;
807
+ transform: translateX(-50%);
808
+ bottom: 82px;
809
+ content: "";
810
+ background-color: var(--gray-100);
811
+ width: 70px;
812
+ height: 16px;
813
+ border-radius: 100%;
814
+ }
815
+
816
+ > span {
817
+ color: var(--gray-500);
818
+ font-family: var(--system);
819
+ }
820
+ }
821
+ }
822
+ }
823
+ }
824
+ }
825
+ }
826
+ }
325
827
  }
326
828
 
327
- @import url("./scroll.css");
328
- @import url("./filter-popup.css");
829
+ /* --- [TABLET & KÜÇÜK LAPTOP] --- */
830
+ /* Ekran 1024px ve altına düştüğünde çalışır */
831
+ @media (max-width: 1024px) {
832
+ }