@sc-360-v2/storefront-cms-library 0.2.90 → 0.2.92

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,307 @@
1
+ .bulk-order-overlay {
2
+ position: fixed;
3
+ inset: 0;
4
+ background: rgba(30, 28, 44, 0.92);
5
+ display: flex;
6
+ justify-content: center;
7
+ align-items: center;
8
+ z-index: 1000;
9
+ }
10
+
11
+ .bulk-order-container {
12
+ background: #fff;
13
+ width: 100%;
14
+ height: 100%;
15
+ display: flex;
16
+ flex-direction: column;
17
+ font-family: "Segoe UI", sans-serif;
18
+
19
+ .select-product-dropdown {
20
+ padding: 16px 24px;
21
+ border-bottom: 1px solid #e0e0e0;
22
+ }
23
+ }
24
+
25
+ .bulk-order-header {
26
+ display: flex;
27
+ justify-content: space-between;
28
+ align-items: center;
29
+ padding: 16px 24px;
30
+ border-bottom: 1px solid #e0e0e0;
31
+
32
+ .title {
33
+ display: flex;
34
+ align-items: center;
35
+ gap: 8px;
36
+
37
+ .label {
38
+ font-size: 16px;
39
+ font-weight: 600;
40
+ }
41
+
42
+ .badge {
43
+ background: #f1f1f1;
44
+ font-size: 12px;
45
+ padding: 2px 8px;
46
+ border-radius: 12px;
47
+ }
48
+ }
49
+
50
+ .controls {
51
+ display: flex;
52
+ gap: 8px;
53
+
54
+ .icon-button {
55
+ background: none;
56
+ border: none;
57
+ cursor: pointer;
58
+ color: #666;
59
+
60
+ &:hover {
61
+ color: #000;
62
+ }
63
+ }
64
+ }
65
+ }
66
+
67
+ .dropdown-with-input-section {
68
+ display: grid;
69
+ gap: 2px;
70
+
71
+ .dropdow-input-section {
72
+ position: relative;
73
+ display: flex;
74
+ justify-content: flex-end;
75
+ padding: 8px 12px;
76
+ border: 1px solid #ccc;
77
+ border-radius: 4px;
78
+ width: 240px;
79
+ .input-field {
80
+ flex: 1;
81
+ font-size: 14px;
82
+ }
83
+ .readonly-input,
84
+ .dropdown__clear__icon,
85
+ .dropdown__icon {
86
+ cursor: pointer;
87
+ }
88
+ .dropdown__clear__icon {
89
+ position: absolute;
90
+ right: 32px;
91
+ }
92
+ .dropdown-menu {
93
+ position: absolute;
94
+ width: 100%;
95
+ top: 35px;
96
+ left: 0px;
97
+ right: 24px;
98
+ background: white;
99
+ border: 1px solid #ddd;
100
+ border-radius: 4px;
101
+ max-height: 200px;
102
+ overflow-y: auto;
103
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
104
+ z-index: 10;
105
+
106
+ li {
107
+ font-size: 14px;
108
+ cursor: pointer;
109
+
110
+ &:hover {
111
+ background-color: #f4f4f4;
112
+ }
113
+
114
+ &.no-result {
115
+ color: #aaa;
116
+ cursor: default;
117
+ }
118
+
119
+ .dropdown-item {
120
+ width: 100%;
121
+ height: 100%;
122
+ padding: 8px 12px;
123
+ text-align: left;
124
+ }
125
+ }
126
+ }
127
+ }
128
+ .dropdow-input-section.full-width {
129
+ width: 100% !important;
130
+ }
131
+ }
132
+
133
+ .bulk-order-empty {
134
+ flex: 1;
135
+ display: flex;
136
+ flex-direction: column;
137
+ align-items: center;
138
+ justify-content: center;
139
+ text-align: center;
140
+ color: #666;
141
+
142
+ .empty-icon {
143
+ font-size: 40px;
144
+ opacity: 0.3;
145
+ margin-bottom: 12px;
146
+ }
147
+
148
+ .empty-title {
149
+ font-size: 18px;
150
+ font-weight: 600;
151
+ margin-bottom: 4px;
152
+ color: #000;
153
+ }
154
+
155
+ .empty-text {
156
+ font-size: 14px;
157
+ }
158
+ }
159
+
160
+ .bulkOrderPad-grid {
161
+ .product-section {
162
+ display: flex;
163
+ justify-content: space-between;
164
+ background: #f9fafb;
165
+ padding: 12px;
166
+ .product-details {
167
+ display: flex;
168
+
169
+ .product-image {
170
+ img {
171
+ width: 64px;
172
+ }
173
+ }
174
+
175
+ .details {
176
+ display: grid;
177
+ }
178
+ }
179
+ .product-entity-info,
180
+ .actions {
181
+ display: flex;
182
+ gap: 8px;
183
+ align-items: center;
184
+ }
185
+ }
186
+ .bulkOrderPad-content {
187
+ padding: 24px;
188
+ .dropdown-options {
189
+ display: inline-block;
190
+ width: 100%;
191
+ border-bottom: 1px solid #e0e0e0;
192
+ .dropdown-with-input-section {
193
+ float: left;
194
+ margin-right: 14px;
195
+ margin-bottom: 14px;
196
+ }
197
+ }
198
+ .secont-option-title {
199
+ display: flex;
200
+ justify-content: center;
201
+ overflow: visible;
202
+ font-weight: bold;
203
+ font-size: 1.2rem;
204
+ margin-right: 10px;
205
+ .title {
206
+ background: #ffffff;
207
+ width: max-content;
208
+ }
209
+ }
210
+ .bulkOrderPad-section {
211
+ display: flex;
212
+ .first-option-title {
213
+ writing-mode: vertical-rl;
214
+ transform: rotate(180deg);
215
+ font-weight: bold;
216
+ font-size: 1.2rem;
217
+ margin-right: 10px;
218
+ display: flex;
219
+ justify-content: center;
220
+ overflow: visible;
221
+ .title {
222
+ background: #ffffff;
223
+ height: max-content;
224
+ }
225
+ }
226
+
227
+ table {
228
+ border-collapse: collapse;
229
+ width: 100%;
230
+
231
+ th,
232
+ td {
233
+ text-align: center;
234
+ white-space: nowrap;
235
+ // width: 150px;
236
+ border: none;
237
+ }
238
+
239
+ td.action-td {
240
+ width: 40px;
241
+ .reset-icon {
242
+ cursor: pointer;
243
+ }
244
+ }
245
+
246
+ thead {
247
+ height: 40px;
248
+ font-weight: bold;
249
+ th {
250
+ border-bottom: 1px solid #f0f0f0;
251
+ &:first-child,
252
+ &:last-child {
253
+ border-bottom: none;
254
+ }
255
+ }
256
+ }
257
+
258
+ .option-cell {
259
+ border-right: 1px solid #f0f0f0;
260
+ .option-cell-section {
261
+ height: 40px;
262
+ display: flex;
263
+ gap: 8px;
264
+ align-items: center;
265
+ padding: 8px;
266
+ width: 100%;
267
+ justify-content: flex-end;
268
+ .option-swatch {
269
+ width: 16px;
270
+ height: 16px;
271
+ border-radius: 50%;
272
+ border: 1px solid #f0f0f0;
273
+ }
274
+ }
275
+ }
276
+
277
+ .availability {
278
+ font-size: 0.85rem;
279
+ color: #333;
280
+ min-height: 40px;
281
+ padding: 10px;
282
+ display: flex;
283
+ font-size: 14px;
284
+ align-items: center;
285
+ justify-content: center;
286
+
287
+ input {
288
+ // background: #f9fafb !important;
289
+ border: 1px solid #ddd !important;
290
+ width: 120px !important;
291
+ height: 40px;
292
+ border-radius: 6px;
293
+ padding: 8px !important;
294
+ border: none;
295
+ outline: none;
296
+ font-size: inherit;
297
+ text-align: center;
298
+ &:hover {
299
+ background-color: #f0f4ff !important;
300
+ // cursor: pointer;
301
+ }
302
+ }
303
+ }
304
+ }
305
+ }
306
+ }
307
+ }