ar-design 0.4.11 → 0.4.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.
@@ -4,13 +4,13 @@
4
4
  max-width: 100%;
5
5
  min-width: 100%;
6
6
  border-radius: var(--border-radius-lg);
7
- padding-bottom: 1rem;
8
7
  overflow-x: auto;
8
+ overflow-y: auto;
9
9
 
10
10
  /* width */
11
11
  &::-webkit-scrollbar {
12
- width: 0.5rem;
13
- height: 0.5rem;
12
+ width: 0.75rem;
13
+ height: 0.75rem;
14
14
  }
15
15
 
16
16
  /* Track */
@@ -29,77 +29,128 @@
29
29
  background: var(--gray-500);
30
30
  }
31
31
 
32
- > .columns {
32
+ > .buttons {
33
+ position: absolute;
34
+ top: 150px;
35
+ display: flex;
36
+ justify-content: space-between;
37
+ width: 100%;
38
+ height: 2.5rem;
39
+ z-index: 5;
40
+
41
+ > .button {
42
+ position: relative;
43
+ display: flex;
44
+ justify-content: center;
45
+ align-items: center;
46
+ background-color: rgba(var(--black-rgb), 0.1);
47
+ backdrop-filter: blur(5px);
48
+ width: 2rem;
49
+ height: 5rem;
50
+ border-radius: var(--border-radius-sm);
51
+ cursor: pointer;
52
+
53
+ &.left {
54
+ left: -10px;
55
+ }
56
+
57
+ &.right {
58
+ right: 0;
59
+ }
60
+ }
61
+ }
62
+
63
+ > .titles {
64
+ position: sticky;
65
+ top: 0;
66
+ left: auto;
67
+ right: auto;
33
68
  display: flex;
34
69
  flex-direction: row;
35
70
  flex-wrap: nowrap;
36
71
  gap: 1.5rem;
37
72
  width: 100%;
73
+ z-index: 5;
38
74
 
39
- > .column {
75
+ > .title {
40
76
  display: flex;
41
77
  flex-direction: column;
42
- flex-wrap: nowrap;
43
- gap: 0.75rem;
44
- position: relative;
45
- flex-shrink: 0;
78
+ justify-content: center;
79
+ gap: 0.5rem;
80
+ background-color: var(--white);
46
81
  max-width: 350px;
47
82
  min-width: 350px;
48
- user-select: none;
83
+ margin-bottom: 1rem;
84
+ padding: 0.5rem 1rem;
85
+ border-radius: var(--border-radius-lg);
86
+ color: var(--gray-700);
87
+ font-family: var(--system);
88
+ font-size: 0.85rem;
89
+ font-weight: 700;
90
+ box-shadow: 0px 5px 5px -2px rgba(var(--black-rgb), 0.1);
49
91
 
50
- > .title {
92
+ > h4 {
51
93
  display: flex;
52
- flex-direction: column;
53
- justify-content: center;
94
+ flex-direction: row;
95
+ align-items: center;
54
96
  gap: 0.5rem;
55
- background-color: var(--white);
56
- padding: 0.5rem 1rem;
57
- border-radius: var(--border-radius-lg);
58
- color: var(--gray-700);
59
- font-family: var(--system);
60
- font-size: 0.85rem;
61
- font-weight: 700;
62
- box-shadow: 0px 5px 5px -2px rgba(var(--black-rgb), 0.1);
63
-
64
- > h4 {
65
- display: flex;
66
- flex-direction: row;
67
- align-items: center;
68
- gap: 0.5rem;
69
- color: var(--gray-500);
97
+ color: var(--gray-500);
70
98
 
71
- > span {
72
- position: relative;
73
- width: 5px;
74
- height: 20px;
75
- border-radius: var(--border-radius-pill);
99
+ > span {
100
+ position: relative;
101
+ width: 5px;
102
+ height: 20px;
103
+ border-radius: var(--border-radius-pill);
76
104
 
77
- &::after {
78
- position: absolute;
79
- top: 50%;
80
- transform: translateY(-50%);
81
- left: 100%;
82
- content: "";
83
- border: solid 5px transparent;
84
- border-left-color: inherit;
85
- }
105
+ &::after {
106
+ position: absolute;
107
+ top: 50%;
108
+ transform: translateY(-50%);
109
+ left: 100%;
110
+ content: "";
111
+ border: solid 5px transparent;
112
+ border-left-color: inherit;
86
113
  }
87
114
  }
115
+ }
88
116
 
89
- > span {
90
- color: var(--gray-400);
91
- font-weight: 400;
92
- }
117
+ > span {
118
+ color: var(--gray-400);
119
+ font-weight: 400;
93
120
  }
121
+ }
122
+ }
123
+
124
+ > .columns {
125
+ display: flex;
126
+ flex-direction: row;
127
+ flex-wrap: nowrap;
128
+ gap: 1.5rem;
129
+ width: 100%;
130
+ height: max-content;
131
+ z-index: 4;
132
+
133
+ > .column {
134
+ position: relative;
135
+ display: flex;
136
+ flex-direction: column;
137
+ flex-wrap: nowrap;
138
+ gap: 0.75rem;
139
+ flex-shrink: 0;
140
+ max-width: 350px;
141
+ min-width: 350px;
142
+ user-select: none;
94
143
 
95
144
  > .items {
96
145
  position: relative;
97
146
  background-color: var(--white);
98
147
  padding: 1rem;
99
- height: calc(100% - 1rem);
148
+ height: 100%;
100
149
  border: dashed 0 transparent;
101
150
  border-radius: var(--border-radius-lg);
102
- transition: transform 250ms, border 250ms ease-in-out;
151
+ transition:
152
+ transform 250ms,
153
+ border 250ms ease-in-out;
103
154
 
104
155
  &:has(> .no-item) {
105
156
  display: flex;
@@ -158,3 +209,86 @@
158
209
  }
159
210
  }
160
211
  }
212
+
213
+ /* --- [KÜÇÜK MOBİL - IPHONE SE VB.] --- */
214
+ /* Çok dar ekranlar için özel düzeltmeler */
215
+ @media (max-width: 375px) {
216
+ }
217
+
218
+ /* --- [MOBİL - STANDART] --- */
219
+ /* Ekran 576px ve altına düştüğünde çalışır */
220
+ @media (max-width: 576px) {
221
+ }
222
+
223
+ /* --- [TABLET DİKEY & BÜYÜK TELEFONLAR] --- */
224
+ /* Ekran 768px ve altına düştüğünde çalışır */
225
+ @media (max-width: 768px) {
226
+ .ar-kanban-board {
227
+ /* width */
228
+ &::-webkit-scrollbar {
229
+ }
230
+
231
+ /* Track */
232
+ &::-webkit-scrollbar-track {
233
+ }
234
+
235
+ /* Handle */
236
+ &::-webkit-scrollbar-thumb {
237
+ }
238
+
239
+ /* Handle on hover */
240
+ &::-webkit-scrollbar-thumb:hover {
241
+ }
242
+
243
+ > .buttons {
244
+ display: none;
245
+
246
+ > .button {
247
+ &.left {
248
+ }
249
+
250
+ &.right {
251
+ }
252
+ }
253
+ }
254
+
255
+ > .titles {
256
+ > .title {
257
+ > h4 {
258
+ > span {
259
+ &::after {
260
+ }
261
+ }
262
+ }
263
+
264
+ > span {
265
+ }
266
+ }
267
+ }
268
+
269
+ > .columns {
270
+ > .column {
271
+ > .items {
272
+ &:has(> .no-item) {
273
+ }
274
+
275
+ &.dragging {
276
+ }
277
+
278
+ > .no-item {
279
+ &::after {
280
+ }
281
+
282
+ > span {
283
+ }
284
+ }
285
+ }
286
+ }
287
+ }
288
+ }
289
+ }
290
+
291
+ /* --- [TABLET & KÜÇÜK LAPTOP] --- */
292
+ /* Ekran 1024px ve altına düştüğünde çalışır */
293
+ @media (max-width: 1024px) {
294
+ }
@@ -74,8 +74,7 @@
74
74
  }
75
75
  }
76
76
 
77
- > .left,
78
- .right {
77
+ > .button {
79
78
  position: absolute;
80
79
  top: 50%;
81
80
  transform: translateY(-50%);
@@ -86,22 +85,20 @@
86
85
  backdrop-filter: blur(5px);
87
86
  width: 2rem;
88
87
  height: 2rem;
89
- border-radius: var(--border-radius);
90
- color: var(--blue);
91
- font-size: 1rem;
88
+ border-radius: var(--border-radius-sm);
92
89
  cursor: pointer;
93
90
  transition:
94
91
  visibility 0.25s,
95
92
  opacity 0.25s ease-in-out;
96
93
  z-index: 5;
97
- }
98
94
 
99
- > .left {
100
- left: 0;
101
- }
95
+ &.left {
96
+ left: 0;
97
+ }
102
98
 
103
- > .right {
104
- right: 0;
99
+ &.right {
100
+ right: 0;
101
+ }
105
102
  }
106
103
  }
107
104
 
@@ -191,52 +188,6 @@
191
188
  /* --- [MOBİL - STANDART] --- */
192
189
  /* Ekran 576px ve altına düştüğünde çalışır */
193
190
  @media (max-width: 576px) {
194
- .ar-tabs {
195
- > .tabs {
196
- padding: 0 2rem;
197
-
198
- > .container {
199
- > .item {
200
- &:not(:last-child) {
201
- &::after {
202
- }
203
- }
204
-
205
- &.selection {
206
- &::before {
207
- }
208
- }
209
-
210
- > .close-button {
211
- }
212
- }
213
- }
214
-
215
- > .left,
216
- .right {
217
- }
218
-
219
- > .left {
220
- }
221
-
222
- > .right {
223
- }
224
- }
225
-
226
- &.skeleton {
227
- > .tabs {
228
- > .item {
229
- > span {
230
- }
231
- }
232
- }
233
-
234
- > .content {
235
- &::before {
236
- }
237
- }
238
- }
239
- }
240
191
  }
241
192
 
242
193
  /* --- [TABLET DİKEY & BÜYÜK TELEFONLAR] --- */
@@ -263,14 +214,12 @@
263
214
  }
264
215
  }
265
216
 
266
- > .left,
267
- .right {
268
- }
269
-
270
- > .left {
271
- }
217
+ > .button {
218
+ &.left {
219
+ }
272
220
 
273
- > .right {
221
+ &.right {
222
+ }
274
223
  }
275
224
  }
276
225
 
@@ -1,142 +1,166 @@
1
- .ar-upload-button > .button.dropzone > .preview {
2
- position: relative;
3
- display: flex;
4
- flex-direction: row;
5
- flex-wrap: nowrap;
6
- width: 100%;
7
- height: 100%;
8
- }
9
- .ar-upload-button > .button.dropzone > .preview > .selected-image {
10
- background-color: var(--black);
11
- height: 100%;
12
- object-fit: contain;
13
- object-position: center;
14
- }
1
+ .ar-upload-button {
2
+ > .button.dropzone {
3
+ > .preview {
4
+ position: relative;
5
+ display: flex;
6
+ flex-direction: row;
7
+ flex-wrap: nowrap;
8
+ width: 100%;
9
+ height: 100%;
15
10
 
16
- .ar-upload-button > .button.dropzone > .items {
17
- display: flex;
18
- flex-direction: column;
19
- flex-wrap: nowrap;
20
- background-color: var(--primary);
21
- backdrop-filter: blur(5px);
22
- width: 10rem;
23
- height: 12.5rem;
24
- border-left: solid 1px rgba(var(--black-rgb), 0.75);
25
- overflow-x: hidden;
26
- overflow-y: auto;
27
- }
28
- .ar-upload-button > .button.dropzone > .items > .item {
29
- --size: 5rem;
30
-
31
- display: flex;
32
- justify-content: center;
33
- align-items: center;
34
- position: relative;
35
- min-width: var(--size);
36
- min-height: var(--size);
37
- height: var(--size);
38
- border-bottom: solid 1px rgba(var(--black-rgb), 0.75);
39
- overflow: hidden;
40
- }
41
- .ar-upload-button > .button.dropzone > .items > .item > .buttons {
42
- position: absolute;
43
- inset: 0;
44
- display: flex;
45
- justify-content: center;
46
- align-items: center;
47
- }
48
- .ar-upload-button > .button.dropzone > .items > .item > .buttons::before {
49
- position: absolute;
50
- inset: 0;
51
- content: "";
52
- background-color: transparent;
53
- z-index: 1;
54
- transition: background-color 250ms ease-in-out;
55
- }
56
- .ar-upload-button > .button.dropzone > .items > .item > .buttons:hover::before {
57
- background-color: rgba(var(--black-rgb), 0.75);
58
- }
59
- .ar-upload-button > .button.dropzone > .items > .item > .buttons > div {
60
- display: flex;
61
- flex-direction: row;
62
- visibility: hidden;
63
- opacity: 0;
64
- z-index: 2;
65
- transition: visibility 250ms, opacity 250ms ease-in-out;
66
- }
67
- .ar-upload-button > .button.dropzone > .items > .item > .buttons:hover div {
68
- visibility: visible;
69
- opacity: 1;
70
- }
71
- .ar-upload-button > .button.dropzone > .items > .item > img {
72
- width: 100%;
73
- height: 100%;
74
- object-fit: cover;
75
- object-position: top;
76
- }
77
- .ar-upload-button > .button.dropzone > .items > .item .error {
78
- position: absolute;
79
- inset: 0;
80
- display: flex;
81
- flex-direction: column;
82
- justify-content: center;
83
- align-items: center;
84
- gap: 0.5rem;
85
- background-color: rgba(var(--danger-rgb), 0.75);
86
- color: var(--white);
87
- font-size: 0.75rem;
88
- font-weight: 700;
89
- text-align: center;
90
- z-index: 5;
91
- }
11
+ > .selected-image {
12
+ background-color: var(--black);
13
+ height: 100%;
14
+ object-fit: contain;
15
+ object-position: center;
16
+ }
92
17
 
93
- .ar-upload-button > .button.dropzone > .preview > .informations {
94
- visibility: visible;
95
- opacity: 1;
96
- display: flex;
97
- flex-direction: row;
98
- flex-wrap: wrap;
99
- justify-content: space-between;
100
- align-items: center;
101
- gap: 0.5rem;
102
- position: absolute;
103
- inset: auto 0 0 0;
104
- background-color: rgba(var(--black-rgb), 0.75);
105
- padding: 0.5rem;
106
- transition: visibility 250ms, opacity 250ms ease-in-out;
107
- font-family: var(--system);
108
- }
109
- .ar-upload-button > .button.dropzone > .preview > .informations > .file-name {
110
- color: var(--white);
111
- font-size: 0.75rem;
112
- font-weight: 700;
113
- }
114
- .ar-upload-button > .button.dropzone > .preview > .informations > div {
115
- display: flex;
116
- gap: 0.25rem;
117
- }
118
- .ar-upload-button > .button.dropzone > .preview > .informations > div > .file-size {
119
- background-color: var(--primary);
120
- padding: 0.25rem 0 0.25rem 0.25rem;
121
- border-radius: var(--border-radius-sm);
122
- color: var(--white);
123
- font-size: 0.75rem;
124
- font-weight: 700;
125
- }
126
- .ar-upload-button > .button.dropzone > .preview > .informations > div > .file-size > .size-type {
127
- background-color: rgba(var(--black-rgb), 0.5);
128
- margin-left: 0.25rem;
129
- border-top-right-radius: var(--border-radius-sm);
130
- border-bottom-right-radius: var(--border-radius-sm);
131
- padding: 0.25rem;
132
- color: var(--primary);
133
- font-weight: 700;
134
- }
135
- .ar-upload-button > .button.dropzone > .preview > .informations > div > .file-type {
136
- background-color: var(--warning);
137
- padding: 0.25rem;
138
- border-radius: var(--border-radius-sm);
139
- color: var(--black);
140
- font-size: 0.75rem;
141
- font-weight: 700;
18
+ > .informations {
19
+ visibility: visible;
20
+ opacity: 1;
21
+ display: flex;
22
+ flex-direction: row;
23
+ flex-wrap: wrap;
24
+ justify-content: space-between;
25
+ align-items: center;
26
+ gap: 0.5rem;
27
+ position: absolute;
28
+ inset: auto 0 0 0;
29
+ background-color: rgba(var(--black-rgb), 0.75);
30
+ padding: 0.5rem;
31
+ transition:
32
+ visibility 250ms,
33
+ opacity 250ms ease-in-out;
34
+ font-family: var(--system);
35
+
36
+ > .file-name {
37
+ color: var(--white);
38
+ font-size: 0.75rem;
39
+ font-weight: 700;
40
+ }
41
+
42
+ > div {
43
+ display: flex;
44
+ gap: 0.25rem;
45
+
46
+ > .file-size {
47
+ background-color: var(--primary);
48
+ padding: 0.25rem 0 0.25rem 0.25rem;
49
+ border-radius: var(--border-radius-sm);
50
+ color: var(--white);
51
+ font-size: 0.75rem;
52
+ font-weight: 700;
53
+
54
+ > .size-type {
55
+ background-color: rgba(var(--black-rgb), 0.5);
56
+ margin-left: 0.25rem;
57
+ border-top-right-radius: var(--border-radius-sm);
58
+ border-bottom-right-radius: var(--border-radius-sm);
59
+ padding: 0.25rem;
60
+ color: var(--primary);
61
+ font-weight: 700;
62
+ }
63
+ }
64
+
65
+ > .file-type {
66
+ background-color: var(--warning);
67
+ padding: 0.25rem;
68
+ border-radius: var(--border-radius-sm);
69
+ color: var(--black);
70
+ font-size: 0.75rem;
71
+ font-weight: 700;
72
+ }
73
+ }
74
+ }
75
+ }
76
+
77
+ > .items {
78
+ display: flex;
79
+ flex-direction: column;
80
+ flex-wrap: nowrap;
81
+ background-color: var(--primary);
82
+ backdrop-filter: blur(5px);
83
+ width: 10rem;
84
+ height: 12.5rem;
85
+ border-left: solid 1px rgba(var(--black-rgb), 0.75);
86
+ overflow-x: hidden;
87
+ overflow-y: auto;
88
+
89
+ > .item {
90
+ --size: 5rem;
91
+
92
+ display: flex;
93
+ justify-content: center;
94
+ align-items: center;
95
+ position: relative;
96
+ min-width: var(--size);
97
+ min-height: var(--size);
98
+ height: var(--size);
99
+ border-bottom: solid 1px rgba(var(--black-rgb), 0.75);
100
+ overflow: hidden;
101
+
102
+ > .buttons {
103
+ position: absolute;
104
+ inset: 0;
105
+ display: flex;
106
+ justify-content: center;
107
+ align-items: center;
108
+
109
+ &::before {
110
+ position: absolute;
111
+ inset: 0;
112
+ content: "";
113
+ background-color: transparent;
114
+ z-index: 1;
115
+ transition: background-color 250ms ease-in-out;
116
+ }
117
+
118
+ &:hover {
119
+ &::before {
120
+ background-color: rgba(var(--black-rgb), 0.75);
121
+ }
122
+
123
+ div {
124
+ visibility: visible;
125
+ opacity: 1;
126
+ }
127
+ }
128
+
129
+ > div {
130
+ display: flex;
131
+ flex-direction: row;
132
+ visibility: hidden;
133
+ opacity: 0;
134
+ z-index: 2;
135
+ transition:
136
+ visibility 250ms,
137
+ opacity 250ms ease-in-out;
138
+ }
139
+ }
140
+
141
+ > img {
142
+ width: 100%;
143
+ height: 100%;
144
+ object-fit: cover;
145
+ object-position: top;
146
+ }
147
+
148
+ .error {
149
+ position: absolute;
150
+ inset: 0;
151
+ display: flex;
152
+ flex-direction: column;
153
+ justify-content: center;
154
+ align-items: center;
155
+ gap: 0.5rem;
156
+ background-color: rgba(var(--danger-rgb), 0.75);
157
+ color: var(--white);
158
+ font-size: 0.75rem;
159
+ font-weight: 700;
160
+ text-align: center;
161
+ z-index: 5;
162
+ }
163
+ }
164
+ }
165
+ }
142
166
  }