@bagelink/vue 0.0.140 → 0.0.145
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.
- package/dist/components/FormSchema.vue.d.ts +2 -2
- package/dist/components/FormSchema.vue.d.ts.map +1 -1
- package/dist/components/Modal.vue.d.ts.map +1 -1
- package/dist/components/ModalForm.vue.d.ts.map +1 -1
- package/dist/components/formkit/FileUploader.vue.d.ts +4 -4
- package/dist/components/formkit/FileUploader.vue.d.ts.map +1 -1
- package/dist/index.cjs +43 -15
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +44 -16
- package/dist/plugins/modal.d.ts.map +1 -1
- package/dist/style.css +1376 -57
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/components/FormSchema.vue +1 -1
- package/src/components/Modal.vue +21 -8
- package/src/components/ModalForm.vue +23 -8
- package/src/components/formkit/FileUploader.vue +2 -2
- package/src/index.ts +1 -0
- package/src/plugins/modal.ts +12 -10
- package/src/styles/bagel.css +37 -0
- package/src/styles/buttons.css +56 -0
- package/src/styles/fonts/Ploni/ploni-black.eot +0 -0
- package/src/styles/fonts/Ploni/ploni-black.woff +0 -0
- package/src/styles/fonts/Ploni/ploni-black.woff2 +0 -0
- package/src/styles/fonts/Ploni/ploni-bold.eot +0 -0
- package/src/styles/fonts/Ploni/ploni-bold.woff +0 -0
- package/src/styles/fonts/Ploni/ploni-bold.woff2 +0 -0
- package/src/styles/fonts/Ploni/ploni-demibold.eot +0 -0
- package/src/styles/fonts/Ploni/ploni-demibold.woff +0 -0
- package/src/styles/fonts/Ploni/ploni-demibold.woff2 +0 -0
- package/src/styles/fonts/Ploni/ploni-light.eot +0 -0
- package/src/styles/fonts/Ploni/ploni-light.woff +0 -0
- package/src/styles/fonts/Ploni/ploni-light.woff2 +0 -0
- package/src/styles/fonts/Ploni/ploni-medium.eot +0 -0
- package/src/styles/fonts/Ploni/ploni-medium.woff +0 -0
- package/src/styles/fonts/Ploni/ploni-medium.woff2 +0 -0
- package/src/styles/fonts/Ploni/ploni-regular.eot +0 -0
- package/src/styles/fonts/Ploni/ploni-regular.woff +0 -0
- package/src/styles/fonts/Ploni/ploni-regular.woff2 +0 -0
- package/src/styles/fonts/Ploni/ploni-ultrabold.eot +0 -0
- package/src/styles/fonts/Ploni/ploni-ultrabold.woff +0 -0
- package/src/styles/fonts/Ploni/ploni-ultrabold.woff2 +0 -0
- package/src/styles/fonts/Ploni/ploni-ultralight.eot +0 -0
- package/src/styles/fonts/Ploni/ploni-ultralight.woff +0 -0
- package/src/styles/fonts/Ploni/ploni-ultralight.woff2 +0 -0
- package/src/styles/fonts/Ploni.css +71 -0
- package/src/styles/inputs.css +315 -0
- package/src/styles/layout.css +268 -0
- package/src/styles/modal.css +55 -54
- package/src/styles/scrollbar.css +18 -0
- package/src/styles/text.css +35 -0
- package/src/styles/theme.css +736 -0
- package/src/styles/transitions.css +47 -0
- package/src/utils/index.ts +6 -0
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
input,
|
|
2
|
+
textarea,
|
|
3
|
+
select {
|
|
4
|
+
font-family: inherit;
|
|
5
|
+
width: 100%;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.bagel-input {
|
|
9
|
+
position: relative;
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
text-align: start;
|
|
13
|
+
margin-bottom: 0.5rem;
|
|
14
|
+
width: 100%;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.bagel-input label {
|
|
18
|
+
display: block;
|
|
19
|
+
font-size: var(--input-font-size);
|
|
20
|
+
margin-bottom: 2px;
|
|
21
|
+
line-height: 1.3;
|
|
22
|
+
color: var(--input-color);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.bagel-input input,
|
|
26
|
+
.bagel-input select,
|
|
27
|
+
.custom-select .input {
|
|
28
|
+
height: var(--input-height);
|
|
29
|
+
font-size: var(--input-font-size);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.bagel-input input,
|
|
33
|
+
.bagel-input textarea,
|
|
34
|
+
.bagel-input select,
|
|
35
|
+
.custom-select .input {
|
|
36
|
+
background: var(--input-bg);
|
|
37
|
+
border: none;
|
|
38
|
+
padding: 0.7rem;
|
|
39
|
+
border-radius: var(--input-border-radius);
|
|
40
|
+
color: var(--input-color);
|
|
41
|
+
min-width: calc(var(--input-height) * 3);
|
|
42
|
+
width: 100%;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.bagel-input.search-wrap {
|
|
46
|
+
display: flex;
|
|
47
|
+
flex-direction: row;
|
|
48
|
+
align-items: center;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.bagel-input.search-wrap input {
|
|
52
|
+
padding-inline-end: 2rem;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.bagel-input.search-wrap .icon-font {
|
|
56
|
+
margin-inline-start: -1.75rem;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.bagel-input select {
|
|
60
|
+
height: var(--input-height);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.bagel-input textarea {
|
|
64
|
+
resize: vertical;
|
|
65
|
+
min-height: calc(var(--input-height) * 3);
|
|
66
|
+
line-height: 1.5;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.bagel-input.wider input {
|
|
70
|
+
min-width: 320px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.bagel-input input[type='radio'] {
|
|
74
|
+
padding: 0;
|
|
75
|
+
width: fit-content;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.bagel-input input:focus-visible,
|
|
79
|
+
.bagel-input select:focus-visible,
|
|
80
|
+
.bagel-input textarea:focus-visible,
|
|
81
|
+
.input.active {
|
|
82
|
+
outline: none;
|
|
83
|
+
box-shadow: inset 0 0 10px #00000012;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.bagel-input:focus-within label {
|
|
87
|
+
color: var(--bgl-blue);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.bagel-input:focus-within label {
|
|
91
|
+
color: var(--bgl-blue);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.bagel-input select.no-edit,
|
|
95
|
+
.bagel-input input.no-edit,
|
|
96
|
+
.bagel-input textarea.no-edit,
|
|
97
|
+
.bagel-input .switch.no-edit {
|
|
98
|
+
pointer-events: none;
|
|
99
|
+
outline: none;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
input[type='number']::-webkit-inner-spin-button,
|
|
103
|
+
input[type='number']::-webkit-outer-spin-button {
|
|
104
|
+
-webkit-appearance: none;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
label.active {
|
|
108
|
+
color: var(--bgl-blue);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.inline-80 {
|
|
112
|
+
display: inline-block;
|
|
113
|
+
width: 80%;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.inline-20 {
|
|
117
|
+
display: inline-block;
|
|
118
|
+
width: 20%;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.inline-10 {
|
|
122
|
+
display: inline-block;
|
|
123
|
+
width: 20%;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.inline-50 {
|
|
127
|
+
display: inline-block;
|
|
128
|
+
width: 49%;
|
|
129
|
+
margin: 0 0.5%;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
button.formkit-input {
|
|
133
|
+
background: var(--bgl-blue);
|
|
134
|
+
color: var(--bgl-white);
|
|
135
|
+
border: none;
|
|
136
|
+
padding: 0 1.5rem;
|
|
137
|
+
border-radius: var(--input-border-radius);
|
|
138
|
+
font-size: var(--input-font-size);
|
|
139
|
+
font-weight: 500;
|
|
140
|
+
cursor: pointer;
|
|
141
|
+
transition: all 0.2s ease-in-out;
|
|
142
|
+
margin-top: 0.5rem;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
button.formkit-input:hover {
|
|
146
|
+
filter: var(--bgl-hover-filter);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
button.formkit-input:active {
|
|
150
|
+
filter: var(--bgl-active-filter);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.formkit-messages {
|
|
154
|
+
list-style-type: none;
|
|
155
|
+
padding: 0;
|
|
156
|
+
color: var(--bgl-red);
|
|
157
|
+
margin: none;
|
|
158
|
+
font-size: 0.7rem;
|
|
159
|
+
position: absolute;
|
|
160
|
+
right: 0;
|
|
161
|
+
top: -10px;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.formkit-outer {
|
|
165
|
+
position: relative;
|
|
166
|
+
display: flex;
|
|
167
|
+
flex-direction: column;
|
|
168
|
+
text-align: start;
|
|
169
|
+
margin-bottom: 0.5rem;
|
|
170
|
+
width: 100%;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.formkit-outer .formkit-help {
|
|
174
|
+
font-size: 0.8rem;
|
|
175
|
+
color: var(--input-color);
|
|
176
|
+
margin-top: 0.5rem;
|
|
177
|
+
font-weight: 300;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.formkit-outer label {
|
|
181
|
+
display: block;
|
|
182
|
+
font-size: var(--input-font-size);
|
|
183
|
+
margin-bottom: 2px;
|
|
184
|
+
line-height: 1.3;
|
|
185
|
+
color: var(--input-color);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.formkit-outer input,
|
|
189
|
+
.formkit-outer select,
|
|
190
|
+
.custom-select .input {
|
|
191
|
+
height: var(--input-height);
|
|
192
|
+
font-size: var(--input-font-size);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.formkit-outer input,
|
|
196
|
+
.formkit-outer textarea,
|
|
197
|
+
.formkit-outer select,
|
|
198
|
+
.custom-select .input {
|
|
199
|
+
background: var(--input-bg);
|
|
200
|
+
border: none;
|
|
201
|
+
padding: 0.7rem;
|
|
202
|
+
border-radius: var(--input-border-radius);
|
|
203
|
+
color: var(--input-color);
|
|
204
|
+
min-width: calc(var(--input-height) * 3);
|
|
205
|
+
width: 100%;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.formkit-outer.search-wrap {
|
|
209
|
+
display: flex;
|
|
210
|
+
flex-direction: row;
|
|
211
|
+
align-items: center;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.formkit-outer.search-wrap input {
|
|
215
|
+
padding-inline-end: 2rem;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.formkit-outer.search-wrap .icon-font {
|
|
219
|
+
margin-inline-start: -1.75rem;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.formkit-outer select {
|
|
223
|
+
height: var(--input-height);
|
|
224
|
+
appearance: none;
|
|
225
|
+
background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
|
|
226
|
+
background-repeat: no-repeat;
|
|
227
|
+
background-position: right 1rem center;
|
|
228
|
+
background-size: 1.2em;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
[dir=rtl] .formkit-outer select {
|
|
232
|
+
background-position: left 1rem center;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.formkit-outer textarea {
|
|
236
|
+
resize: vertical;
|
|
237
|
+
min-height: calc(var(--input-height) * 3);
|
|
238
|
+
line-height: 1.5;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.formkit-outer.wider input {
|
|
242
|
+
min-width: 320px;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.formkit-outer input[type='radio'] {
|
|
246
|
+
padding: 0;
|
|
247
|
+
width: fit-content;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.formkit-outer input:focus-visible,
|
|
251
|
+
.formkit-outer select:focus-visible,
|
|
252
|
+
.formkit-outer textarea:focus-visible,
|
|
253
|
+
.input.active {
|
|
254
|
+
outline: none;
|
|
255
|
+
box-shadow: inset 0 0 10px #00000012;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.formkit-outer:focus-within label {
|
|
259
|
+
color: var(--bgl-blue);
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.formkit-outer:focus-within label {
|
|
263
|
+
color: var(--bgl-blue);
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.formkit-outer select.no-edit,
|
|
267
|
+
.formkit-outer input.no-edit,
|
|
268
|
+
.formkit-outer textarea.no-edit,
|
|
269
|
+
.formkit-outer .switch.no-edit {
|
|
270
|
+
pointer-events: none;
|
|
271
|
+
outline: none;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
input[type='number']::-webkit-inner-spin-button,
|
|
275
|
+
input[type='number']::-webkit-outer-spin-button {
|
|
276
|
+
-webkit-appearance: none;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
label.active {
|
|
280
|
+
color: var(--bgl-blue);
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.label-count-0 label {
|
|
284
|
+
display: none;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.label-count-0 button.btn.btn-txt {
|
|
288
|
+
/* background: var(--bgl-blue-light); */
|
|
289
|
+
margin-right: 5px;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.label-count-0 button.btn.btn-txt:hover {
|
|
293
|
+
background: var(--bgl-hover-filter);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.formkit-outer.label-count-0 {
|
|
297
|
+
display: none;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
@media screen and (max-width: 910px) {
|
|
301
|
+
.bagel-input.wider input {
|
|
302
|
+
min-width: 120px;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.formkit-outer.wider input {
|
|
306
|
+
min-width: 120px;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.bagel-input label,
|
|
310
|
+
.formkit-outer label {
|
|
311
|
+
font-size: calc(var(--input-font-size) / 1.1);
|
|
312
|
+
line-height: 1.2;
|
|
313
|
+
|
|
314
|
+
}
|
|
315
|
+
}
|
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
.grid {
|
|
2
|
+
display: grid;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.inline-grid {
|
|
6
|
+
display: inline-grid;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.fill {
|
|
10
|
+
width: 100vw;
|
|
11
|
+
height: 100vh;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.justify-items-center {
|
|
15
|
+
justify-items: center;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.justify-content-center {
|
|
19
|
+
justify-content: center;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.justify-content-start {
|
|
23
|
+
justify-content: start;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.align-content-center {
|
|
27
|
+
align-content: center;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.align-items-top {
|
|
31
|
+
align-items: flex-start !important;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.align-items-center {
|
|
35
|
+
align-items: center;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.row-gap-1 {
|
|
39
|
+
row-gap: 0.2rem;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.row-gap-2 {
|
|
43
|
+
row-gap: 0.5rem;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.row-gap-3 {
|
|
47
|
+
row-gap: 1rem;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.fit-content {
|
|
51
|
+
width: fit-content;
|
|
52
|
+
height: fit-content;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.margin-auto {
|
|
56
|
+
margin-left: auto;
|
|
57
|
+
margin-right: auto;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.auto-flow-columns {
|
|
61
|
+
grid-auto-flow: column;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.justify-content-between {
|
|
65
|
+
justify-content: space-between;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.justify-self-start {
|
|
69
|
+
justify-self: start;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.columns-max-content {
|
|
73
|
+
grid-auto-columns: max-content;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.w-100 {
|
|
77
|
+
width: 100%;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.col-gap-1 {
|
|
81
|
+
column-gap: 1rem;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.col-gap-05 {
|
|
85
|
+
column-gap: 0.5rem;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.rows-max-content {
|
|
89
|
+
grid-auto-rows: max-content;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.grid.overflow>* {
|
|
93
|
+
min-width: 0px;
|
|
94
|
+
overflow: auto;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.ps-1 {
|
|
98
|
+
padding-left: 1rem;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.justify-content-around {
|
|
102
|
+
justify-content: space-between;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.justify-content-end {
|
|
106
|
+
justify-content: end;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.justify-self-end {
|
|
110
|
+
justify-self: end;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.justify-self-center {
|
|
114
|
+
justify-self: center;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.position-right {
|
|
118
|
+
position: absolute;
|
|
119
|
+
top: 0px;
|
|
120
|
+
right: 0px;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.position-relative {
|
|
124
|
+
position: relative;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.auto-flow-rows {
|
|
128
|
+
grid-auto-flow: row;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.align-items-start {
|
|
132
|
+
align-items: start !important;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.align-self-end {
|
|
136
|
+
align-self: end;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.h-100 {
|
|
140
|
+
height: 100%;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.vh-100 {
|
|
144
|
+
height: 100vh;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.min-100 {
|
|
148
|
+
min-height: 100%;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.w-100 {
|
|
152
|
+
width: 100%;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.gap-1 {
|
|
156
|
+
gap: 0.25rem;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.gap-2 {
|
|
160
|
+
gap: 0.5rem;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.gap-3 {
|
|
164
|
+
gap: 1rem;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.gap-col-1 {
|
|
168
|
+
column-gap: 0.25rem;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.gap-col-2 {
|
|
172
|
+
column-gap: 0.5rem;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.gap-col-3 {
|
|
176
|
+
column-gap: 1rem;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.gap-row-1 {
|
|
180
|
+
row-gap: 0.25rem;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.gap-row-2 {
|
|
184
|
+
row-gap: 0.5rem;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.gap-row-3 {
|
|
188
|
+
row-gap: 1rem;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.flex-wrap {
|
|
192
|
+
flex-wrap: wrap;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.flex-grow {
|
|
196
|
+
flex-grow: 1;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.flex-shrink {
|
|
200
|
+
flex-shrink: 1;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.flex-2-col {
|
|
204
|
+
max-width: 50%;
|
|
205
|
+
flex: 1 1 calc(50% - 2rem);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.flex-3-col {
|
|
209
|
+
flex: 1 1 33.33333%;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.mb-0 {
|
|
213
|
+
margin-bottom: 0;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.mb-1 {
|
|
217
|
+
margin-bottom: 0.25rem;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.mb-2 {
|
|
221
|
+
margin-bottom: 0.5rem;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.mb-3 {
|
|
225
|
+
margin-bottom: 1rem;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.mt-0 {
|
|
229
|
+
margin-top: 0;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.mt-1 {
|
|
233
|
+
margin-top: 0.25rem;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
.mt-2 {
|
|
238
|
+
margin-top: 0.5rem;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.mt-3 {
|
|
242
|
+
margin-top: 1rem;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.ms-1 {
|
|
246
|
+
margin-inline-start: 0.25rem;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.ms-2 {
|
|
250
|
+
margin-inline-start: 0.5rem;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.ms-3 {
|
|
254
|
+
margin-inline-start: 1rem;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.me-1 {
|
|
258
|
+
margin-inline-end: 0.25rem;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
.me-2 {
|
|
263
|
+
margin-inline-end: 0.5rem;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.me-3 {
|
|
267
|
+
margin-inline-end: 1rem;
|
|
268
|
+
}
|
package/src/styles/modal.css
CHANGED
|
@@ -1,90 +1,91 @@
|
|
|
1
1
|
.bg-dark {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
2
|
+
position: fixed;
|
|
3
|
+
top: 0;
|
|
4
|
+
right: 0;
|
|
5
|
+
left: 0;
|
|
6
|
+
bottom: 0;
|
|
7
|
+
background-color: rgba(0, 0, 0, 0.7);
|
|
8
|
+
z-index: 999;
|
|
9
|
+
display: flex;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
align-items: center;
|
|
12
|
+
pointer-events: none;
|
|
13
|
+
opacity: 0;
|
|
14
|
+
transition: all ease-in-out 0.3s;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.modal {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
width: 96%;
|
|
19
|
+
max-width: 680px;
|
|
20
|
+
transform: scale(0.5);
|
|
21
|
+
opacity: 0;
|
|
22
|
+
transition: all ease-in-out 0.15s;
|
|
23
|
+
overflow: auto;
|
|
24
|
+
max-height: 96vh;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.small-modal .modal {
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
max-width: 300px;
|
|
29
|
+
text-align: center;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.tool-bar {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
33
|
+
margin: -2rem -1rem 1rem;
|
|
34
|
+
display: flex;
|
|
35
|
+
justify-content: space-between;
|
|
36
|
+
position: -webkit-sticky;
|
|
37
|
+
position: sticky;
|
|
38
|
+
padding-top: 1rem;
|
|
39
|
+
top: -2rem;
|
|
40
|
+
z-index: 3;
|
|
41
|
+
background: var(--bgl-white);
|
|
41
42
|
}
|
|
42
43
|
|
|
43
44
|
.modal-size {
|
|
44
|
-
|
|
45
|
+
cursor: pointer;
|
|
45
46
|
}
|
|
46
47
|
|
|
47
48
|
.is-side .modal {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
49
|
+
inset-inline-end: -600px;
|
|
50
|
+
transform: scale(1);
|
|
51
|
+
opacity: 1;
|
|
52
|
+
position: fixed;
|
|
53
|
+
top: 20px;
|
|
54
|
+
bottom: 20px;
|
|
55
|
+
max-width: 600px;
|
|
56
|
+
width: 90%;
|
|
56
57
|
}
|
|
57
58
|
|
|
58
59
|
.is-active .modal {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
transform: scale(1);
|
|
61
|
+
opacity: 1;
|
|
62
|
+
box-shadow: 6px 6px 20px 20px #0000001c;
|
|
62
63
|
}
|
|
63
64
|
|
|
64
65
|
.is-active.is-side .modal {
|
|
65
|
-
|
|
66
|
+
inset-inline-end: 20px;
|
|
66
67
|
}
|
|
67
68
|
|
|
68
69
|
.bg-dark.is-active {
|
|
69
|
-
|
|
70
|
-
|
|
70
|
+
opacity: 1;
|
|
71
|
+
pointer-events: all;
|
|
71
72
|
}
|
|
72
73
|
|
|
73
74
|
.is-side.bg-dark.is-active {
|
|
74
|
-
|
|
75
|
+
opacity: 1;
|
|
75
76
|
}
|
|
76
77
|
|
|
77
78
|
.is-side.is-active .modal {
|
|
78
|
-
|
|
79
|
+
pointer-events: all;
|
|
79
80
|
}
|
|
80
81
|
|
|
81
82
|
@media screen and (max-width: 910px) {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
83
|
+
.tool-bar {
|
|
84
|
+
margin: -2rem 0 1rem;
|
|
85
|
+
align-items: center;
|
|
86
|
+
}
|
|
86
87
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
.is-active.is-side .modal {
|
|
89
|
+
inset-inline-end: 5%;
|
|
90
|
+
}
|
|
90
91
|
}
|