react-ui-basics 0.0.171 → 0.0.172

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.
Files changed (3) hide show
  1. package/TextField.js +4 -2
  2. package/bundle.css +831 -831
  3. package/package.json +1 -1
package/bundle.css CHANGED
@@ -1,620 +1,526 @@
1
- .Button {
2
- position: relative;
3
- min-width: 64px;
4
- min-height: 36px;
5
- height: 24px;
6
- margin: 0px;
7
- padding: 0px 16px;
8
- border: none;
9
- outline: none;
10
- font-size: 14px;
11
- font-weight: 500;
12
- letter-spacing: 1.25px;
13
- background: #dfdfdf;
14
- text-transform: uppercase;
15
- font-family: Roboto, sans-serif;
16
- -webkit-tap-highlight-color: transparent;
1
+ .AutocompleteSelect {
17
2
  display: inline-flex;
3
+ flex-flow: column;
18
4
  justify-content: center;
19
- align-items: center;
20
- cursor: pointer;
21
- overflow: hidden;
5
+ position: relative;
6
+ min-width: 250px;
7
+ min-height: 36px;
22
8
  user-select: none;
23
- border-radius: 3px;
24
- transition: all 0.2s ease;
25
9
  }
26
10
 
27
- .Button.flat {
28
- background-color: transparent;
11
+ @keyframes clockwise {
12
+ 0% {
13
+ -webkit-transform: rotate(-90deg);
14
+ }
15
+ 100% {
16
+ -webkit-transform: translateX(0px);
17
+ }
29
18
  }
30
-
31
- .Button.flat:hover {
32
- background-color: rgba(0, 0, 0, 0.05);
19
+ @keyframes anticlockwise {
20
+ 0% {
21
+ -webkit-transform: rotate(90deg);
22
+ }
23
+ 100% {
24
+ -webkit-transform: translateX(0px);
25
+ }
33
26
  }
34
-
35
- .Button.green {
36
- background-color: #43a047;
37
- color: white;
27
+ .AutocompleteSelect > .input {
28
+ width: 100%;
38
29
  }
39
30
 
40
- .Button.green:hover {
41
- background-color: #3b8e3f;
31
+ .AutocompleteSelect .Scrollable {
32
+ padding-right: 0;
33
+ min-width: 100%;
42
34
  }
43
35
 
44
- .Button.blue {
45
- background-color: #039be5;
46
- color: white;
36
+ .AutocompleteSelect.inline-multiple > .label {
37
+ top: -12px;
47
38
  }
48
39
 
49
- .Button.blue:hover {
50
- background-color: #038acc;
40
+ .AutocompleteSelect.inline-multiple > .selected {
41
+ flex-flow: row wrap;
51
42
  }
52
43
 
53
- .Button.red {
54
- background-color: #e53935;
55
- color: white;
44
+ .AutocompleteSelect.multiple-mini-inline {
45
+ height: 42px;
56
46
  }
57
47
 
58
- .Button.red:hover {
59
- background-color: #e2231e;
48
+ .AutocompleteSelect.multiple-mini-inline > .label {
49
+ cursor: pointer;
50
+ width: 100%;
51
+ margin-left: -10px;
52
+ padding: 10px;
53
+ box-sizing: border-box;
54
+ top: 0;
60
55
  }
61
56
 
62
- .Button.black {
63
- background-color: #1e252d;
64
- color: white;
57
+ .AutocompleteSelect.multiple-mini-inline > .label.active {
58
+ padding: 0 10px;
65
59
  }
66
60
 
67
- .Button.black:hover {
68
- background-color: #14181e;
61
+ .AutocompleteSelect.multiple-mini-inline > .selected {
62
+ width: 250px;
69
63
  }
70
64
 
71
- .Button.gray {
72
- background: #D9D9D9;
73
- color: #999999;
65
+ .AutocompleteSelect.multiple-mini-inline > .input {
66
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
67
+ position: absolute;
68
+ top: 38px;
69
+ z-index: 2;
70
+ background-color: white;
71
+ min-width: 130%;
74
72
  }
75
73
 
76
- .Button.gray:hover {
77
- background-color: #cccccc;
74
+ .AutocompleteSelect.multiple-mini-inline > .input .TextField {
75
+ padding-left: 10px;
76
+ padding-right: 10px;
77
+ width: 100%;
78
+ box-sizing: border-box;
78
79
  }
79
80
 
80
- .Button.small {
81
- padding: 0px 8px;
82
- min-height: 16px;
83
- min-width: 16px;
81
+ .AutocompleteSelect.multiple-mini-inline > .input.hidden {
82
+ opacity: 0;
83
+ visibility: hidden;
84
84
  }
85
85
 
86
- .Button > .material-icons {
87
- margin-right: 10px;
86
+ .AutocompleteSelect.multiple-mini-inline .FilteredList .child:first-child {
87
+ margin-top: 0;
88
88
  }
89
89
 
90
- .Button.round {
91
- padding: 0px;
92
- min-width: 36px;
93
- border-radius: 50%;
90
+ .AutocompleteSelect .TextField {
91
+ margin-top: 8px;
94
92
  }
95
93
 
96
- .Button.round > .material-icons {
97
- margin: 0px;
94
+ .AutocompleteSelect .TextField input {
95
+ font-size: 14px;
98
96
  }
99
97
 
100
- .Button .ripple {
98
+ .AutocompleteSelect > .label {
101
99
  position: absolute;
102
- background: rgba(0, 0, 0, 0.1);
103
- border-radius: 100%;
104
- transform: scale(0);
105
- pointer-events: none;
106
- transition: opacity 0.2s ease-out;
100
+ transition: all 0.2s ease;
101
+ font-family: Roboto, sans-serif;
102
+ font-size: 14px;
103
+ color: rgba(0, 0, 0, 0.5);
104
+ z-index: 1;
105
+ cursor: text;
106
+ user-select: none;
107
+ left: 4px;
108
+ top: 12px;
107
109
  }
108
110
 
109
- .Button .ripple.show {
110
- animation: ripple 0.35s ease-out;
111
+ .AutocompleteSelect > .label.active {
112
+ font-size: 10px;
113
+ top: 2px;
111
114
  }
112
115
 
113
- .Button:active .ripple.showed {
114
- opacity: 1;
116
+ .AutocompleteSelect > .label.active .arrow {
117
+ border-width: 4px 4px 0 4px;
118
+ margin-bottom: 1px;
115
119
  }
116
120
 
117
- .Button:focus .ripple.focused {
118
- opacity: 1;
119
- transition: opacity 0.2s ease-out, transform 0.2s ease-out;
120
- transform: scale(1);
121
- animation: resize 1.25s ease-out infinite;
122
- animation-delay: 0.2s;
123
- animation-direction: alternate;
121
+ .AutocompleteSelect > .label .arrow {
122
+ width: 0;
123
+ height: 0;
124
+ border-style: solid;
125
+ border-width: 5px 5px 0 5px;
126
+ border-color: rgba(0, 0, 0, 0.5) transparent transparent transparent;
127
+ display: inline-block;
128
+ margin-left: 5px;
129
+ margin-bottom: 2px;
130
+ transition: all 0.2s ease;
124
131
  }
125
132
 
126
- .Button .ripple.showed {
127
- transform: scale(2);
128
- opacity: 0;
133
+ .AutocompleteSelect > .selected {
134
+ margin-top: 8px;
135
+ display: flex;
136
+ cursor: pointer;
129
137
  }
130
138
 
131
- @keyframes ripple {
132
- to {
133
- transform: scale(2);
134
- }
139
+ .AutocompleteSelect > .selected > .reset {
140
+ min-width: 36px;
141
+ max-width: 36px;
142
+ position: absolute;
143
+ right: 0;
144
+ top: 0;
145
+ background-color: white;
135
146
  }
136
- @keyframes resize {
137
- to {
138
- transform: scale(0.9);
139
- }
147
+
148
+ .AutocompleteSelect > .selected > .reset .material-icons {
149
+ margin: 0;
150
+ color: #BFBFBF;
151
+ font-size: 20px;
140
152
  }
141
- .Button.raised {
142
- transition: color 0.2s ease-out, background-color 0.2s ease-out, box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
153
+
154
+ .AutocompleteSelect > .selected.nolabel {
155
+ margin-top: 0px;
156
+ border-bottom: 1px solid #e5e3e3;
143
157
  }
144
158
 
145
- .Button.raised:hover {
146
- box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.25);
159
+ .AutocompleteSelect > .selected.nolabel .DummyChild {
160
+ display: inline-flex;
161
+ align-items: center;
162
+ flex-grow: 1;
163
+ font-size: 16px;
164
+ margin: 0px 10px;
165
+ margin-bottom: 5px;
166
+ height: 19px;
147
167
  }
148
168
 
149
- .Button.raised:active {
150
- box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.35);
169
+ .AutocompleteSelect > .selected.nolabel .arrow {
170
+ width: 0;
171
+ height: 0;
172
+ border-style: solid;
173
+ border-width: 5px 5px 0 5px;
174
+ border-color: rgba(0, 0, 0, 0.5) transparent transparent transparent;
175
+ display: inline-block;
176
+ transition: all 0.2s ease;
177
+ margin: 0px 17px 3px 5px;
151
178
  }
152
179
 
153
- .Button.disabled {
154
- box-shadow: none;
155
- background: #D9D9D9;
156
- color: #999999;
180
+ .AutocompleteSelect > .selected.inline {
181
+ font-size: 14px;
182
+ font-family: Roboto, sans-serif;
183
+ color: #1e252d;
184
+ text-overflow: ellipsis;
185
+ white-space: nowrap;
186
+ overflow: hidden;
187
+ display: flex;
188
+ align-items: center;
157
189
  }
158
190
 
159
- .Button.disabled:hover {
160
- background-color: #cccccc;
191
+ .AutocompleteSelect > .selected.clickable {
192
+ overflow: hidden;
193
+ cursor: pointer;
194
+ padding: 10px;
195
+ margin-left: -10px;
196
+ margin-right: -10px;
161
197
  }
162
198
 
163
- .Button::-moz-focus-inner {
164
- border: 0;
199
+ .AutocompleteSelect.inlineSelected {
200
+ flex-flow: row wrap;
201
+ justify-content: flex-start;
165
202
  }
166
203
 
167
- .CircleProgress {
168
- width: 48px;
169
- height: 48px;
204
+ .AutocompleteSelect.inlineSelected.hasSelected {
205
+ padding-top: 7px;
170
206
  }
171
207
 
172
- .CircleProgress .line {
173
- stroke-width: 2px;
174
- stroke: black;
175
- stroke-linecap: square;
176
- fill: none;
177
- transition: stroke-dashoffset 0.2s ease;
178
- }
179
-
180
- .animated {
181
- transition: opacity 250ms ease;
182
- opacity: 0;
183
- }
184
-
185
- .animated.mounting, .animated.mounted {
186
- opacity: 1;
187
- }
188
-
189
- .DialogModal {
190
- overflow: hidden;
191
- }
192
-
193
- .DialogModal .content {
194
- top: 20vh;
195
- }
196
-
197
- .Dialog {
198
- background-color: white;
199
- min-width: 460px;
200
- max-width: 40vw;
201
- padding: 15px;
202
- }
203
-
204
- .Dialog .title {
205
- margin-bottom: 15px;
206
- padding: 20px 50px 0px 30px;
207
- font-size: 1.25rem;
208
- line-height: 2rem;
209
- font-weight: 400;
210
- letter-spacing: 0.0125em;
211
- }
212
-
213
- .Dialog .description {
214
- color: rgba(0, 0, 0, 0.54);
215
- font-size: 1rem;
216
- line-height: 1.5rem;
217
- font-weight: 400;
218
- letter-spacing: 0.03125em;
219
- margin-top: 20px;
220
- padding: 0 24px 24px;
208
+ .AutocompleteSelect.inlineSelected > .label {
209
+ width: 100%;
210
+ height: 100%;
221
211
  }
222
212
 
223
- .Dialog > div.row {
224
- margin-bottom: 15px;
213
+ .AutocompleteSelect.inlineSelected > .label.active {
214
+ z-index: 0;
225
215
  }
226
216
 
227
- .Dialog > div.row:last-child {
228
- margin-bottom: 0;
217
+ .AutocompleteSelect.inlineSelected .input {
218
+ width: unset;
219
+ flex-basis: 50px;
220
+ flex-grow: 1;
229
221
  }
230
222
 
231
- .Checkbox {
232
- position: relative;
223
+ .AutocompleteSelect.inlineSelected .input::after {
224
+ content: attr(data-value);
225
+ visibility: hidden;
233
226
  white-space: pre;
227
+ font: inherit;
228
+ min-width: 2px;
229
+ border: 0;
230
+ margin: 0;
231
+ outline: 0;
232
+ float: left;
233
+ display: inline-block;
234
+ margin-top: -24px;
235
+ font-size: 14px;
236
+ padding: 2px;
234
237
  }
235
238
 
236
- .Checkbox *, .Checkbox *:before, .Checkbox *:after {
237
- box-sizing: border-box;
239
+ .AutocompleteSelect.inlineSelected > .value:nth-child(2) {
240
+ margin-top: 7px;
238
241
  }
239
242
 
240
- .Checkbox label {
243
+ .AutocompleteSelect.inlineSelected > .value, .AutocompleteSelect > .selected > .value {
244
+ cursor: pointer;
245
+ margin: 5px 10px 5px 0px;
246
+ display: inline-flex;
247
+ flex-flow: row wrap;
248
+ height: 30px;
249
+ align-items: center;
250
+ background-color: #f0f0f0;
251
+ border-radius: 30px;
252
+ position: relative;
241
253
  font-family: Roboto, sans-serif;
242
254
  font-size: 14px;
243
255
  color: #1e252d;
244
- cursor: pointer;
245
256
  }
246
257
 
247
- .Checkbox label:before, .Checkbox label:after {
248
- content: "";
249
- position: absolute;
250
- left: 0;
251
- top: 0;
258
+ .AutocompleteSelect.inlineSelected > .value .DummyChild, .AutocompleteSelect > .selected > .value .DummyChild {
259
+ padding-left: 35px;
260
+ padding-right: 10px;
252
261
  }
253
262
 
254
- .Checkbox label:before {
255
- width: 20px;
256
- height: 20px;
257
- background: #fff;
258
- border: 2px solid #252525;
259
- border-radius: 2px;
263
+ .AutocompleteSelect.inlineSelected > .value .button, .AutocompleteSelect > .selected > .value .button {
260
264
  cursor: pointer;
261
- transition: background 0.3s;
262
- }
263
-
264
- .Checkbox input[type=checkbox] {
265
- outline: 0;
266
- margin-right: 10px;
267
- visibility: hidden;
268
- }
269
-
270
- .Checkbox input[type=checkbox]:checked + label:before {
271
- background: #4AC263;
272
- border: none;
273
- }
274
-
275
- .Checkbox input[type=checkbox]:checked + label:after {
276
- transform: rotate(-45deg);
277
- top: 6px;
278
- left: 4px;
279
- width: 12px;
280
- height: 6px;
281
- border: 2px solid #fff;
282
- border-top-style: none;
283
- border-right-style: none;
284
- }
285
-
286
- .Checkbox input[type=checkbox]:disabled + label {
287
- color: gray;
288
- }
289
-
290
- .Checkbox input[type=checkbox]:disabled + label:before {
291
- border-color: rgba(0, 0, 0, 0.26);
265
+ min-width: 30px;
266
+ width: 30px;
267
+ height: 30px;
268
+ opacity: 0;
269
+ position: absolute;
270
+ top: 0px;
271
+ left: 0px;
272
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
273
+ background-color: deepskyblue;
274
+ color: white;
275
+ border-radius: 30px;
276
+ display: flex;
277
+ flex-flow: row;
278
+ justify-content: center;
279
+ align-items: center;
280
+ animation: anticlockwise 0.15s linear;
292
281
  }
293
282
 
294
- .Checkbox input[type=checkbox]:disabled:checked + label:before {
295
- background: rgba(0, 0, 0, 0.26);
283
+ .AutocompleteSelect.inlineSelected > .value .button .material-icons, .AutocompleteSelect > .selected > .value .button .material-icons {
284
+ font-size: 22px;
296
285
  }
297
286
 
298
- .DropFileInput {
299
- flex-grow: 1;
287
+ .AutocompleteSelect.inlineSelected > .value:hover .button, .AutocompleteSelect > .selected > .value:hover .button {
288
+ width: 30px;
289
+ height: 30px;
290
+ opacity: 1;
291
+ animation: clockwise 0.15s linear;
292
+ overflow: hidden;
293
+ position: absolute;
300
294
  }
301
295
 
302
- .DropFileInput .Dropzone {
303
- border: 1px dashed #808080;
304
- padding: 12px;
305
- display: flex;
306
- flex-flow: row nowrap;
296
+ .Button {
297
+ position: relative;
298
+ min-width: 64px;
299
+ min-height: 36px;
300
+ height: 24px;
301
+ margin: 0px;
302
+ padding: 0px 16px;
303
+ border: none;
304
+ outline: none;
305
+ font-size: 14px;
306
+ font-weight: 500;
307
+ letter-spacing: 1.25px;
308
+ background: #dfdfdf;
309
+ text-transform: uppercase;
310
+ font-family: Roboto, sans-serif;
311
+ -webkit-tap-highlight-color: transparent;
312
+ display: inline-flex;
307
313
  justify-content: center;
308
314
  align-items: center;
309
- color: gray;
310
315
  cursor: pointer;
316
+ overflow: hidden;
317
+ user-select: none;
311
318
  border-radius: 3px;
312
- font-weight: normal;
313
- line-height: 22px;
314
- font-size: 14px;
315
- color: #7E7E7E;
316
- max-width: 100%;
317
- word-break: break-all;
318
- word-break: break-word;
319
+ transition: all 0.2s ease;
319
320
  }
320
321
 
321
- .DropFileInput .Dropzone .icon.withText {
322
- margin-right: 10px;
322
+ .Button.flat {
323
+ background-color: transparent;
323
324
  }
324
325
 
325
- .AutocompleteSelect {
326
- display: inline-flex;
327
- flex-flow: column;
328
- justify-content: center;
329
- position: relative;
330
- min-width: 250px;
331
- min-height: 36px;
332
- user-select: none;
326
+ .Button.flat:hover {
327
+ background-color: rgba(0, 0, 0, 0.05);
333
328
  }
334
329
 
335
- @keyframes clockwise {
336
- 0% {
337
- -webkit-transform: rotate(-90deg);
338
- }
339
- 100% {
340
- -webkit-transform: translateX(0px);
341
- }
342
- }
343
- @keyframes anticlockwise {
344
- 0% {
345
- -webkit-transform: rotate(90deg);
346
- }
347
- 100% {
348
- -webkit-transform: translateX(0px);
349
- }
350
- }
351
- .AutocompleteSelect > .input {
352
- width: 100%;
330
+ .Button.green {
331
+ background-color: #43a047;
332
+ color: white;
353
333
  }
354
334
 
355
- .AutocompleteSelect .Scrollable {
356
- padding-right: 0;
357
- min-width: 100%;
335
+ .Button.green:hover {
336
+ background-color: #3b8e3f;
358
337
  }
359
338
 
360
- .AutocompleteSelect.inline-multiple > .label {
361
- top: -12px;
339
+ .Button.blue {
340
+ background-color: #039be5;
341
+ color: white;
362
342
  }
363
343
 
364
- .AutocompleteSelect.inline-multiple > .selected {
365
- flex-flow: row wrap;
344
+ .Button.blue:hover {
345
+ background-color: #038acc;
366
346
  }
367
347
 
368
- .AutocompleteSelect.multiple-mini-inline {
369
- height: 42px;
348
+ .Button.red {
349
+ background-color: #e53935;
350
+ color: white;
370
351
  }
371
352
 
372
- .AutocompleteSelect.multiple-mini-inline > .label {
373
- cursor: pointer;
374
- width: 100%;
375
- margin-left: -10px;
376
- padding: 10px;
377
- box-sizing: border-box;
378
- top: 0;
353
+ .Button.red:hover {
354
+ background-color: #e2231e;
379
355
  }
380
356
 
381
- .AutocompleteSelect.multiple-mini-inline > .label.active {
382
- padding: 0 10px;
357
+ .Button.black {
358
+ background-color: #1e252d;
359
+ color: white;
383
360
  }
384
361
 
385
- .AutocompleteSelect.multiple-mini-inline > .selected {
386
- width: 250px;
362
+ .Button.black:hover {
363
+ background-color: #14181e;
387
364
  }
388
365
 
389
- .AutocompleteSelect.multiple-mini-inline > .input {
390
- box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
391
- position: absolute;
392
- top: 38px;
393
- z-index: 2;
394
- background-color: white;
395
- min-width: 130%;
366
+ .Button.gray {
367
+ background: #D9D9D9;
368
+ color: #999999;
396
369
  }
397
370
 
398
- .AutocompleteSelect.multiple-mini-inline > .input .TextField {
399
- padding-left: 10px;
400
- padding-right: 10px;
401
- width: 100%;
402
- box-sizing: border-box;
371
+ .Button.gray:hover {
372
+ background-color: #cccccc;
403
373
  }
404
374
 
405
- .AutocompleteSelect.multiple-mini-inline > .input.hidden {
406
- opacity: 0;
407
- visibility: hidden;
375
+ .Button.small {
376
+ padding: 0px 8px;
377
+ min-height: 16px;
378
+ min-width: 16px;
408
379
  }
409
380
 
410
- .AutocompleteSelect.multiple-mini-inline .FilteredList .child:first-child {
411
- margin-top: 0;
381
+ .Button > .material-icons {
382
+ margin-right: 10px;
412
383
  }
413
384
 
414
- .AutocompleteSelect .TextField {
415
- margin-top: 8px;
385
+ .Button.round {
386
+ padding: 0px;
387
+ min-width: 36px;
388
+ border-radius: 50%;
416
389
  }
417
390
 
418
- .AutocompleteSelect .TextField input {
419
- font-size: 14px;
391
+ .Button.round > .material-icons {
392
+ margin: 0px;
420
393
  }
421
394
 
422
- .AutocompleteSelect > .label {
395
+ .Button .ripple {
423
396
  position: absolute;
424
- transition: all 0.2s ease;
425
- font-family: Roboto, sans-serif;
426
- font-size: 14px;
427
- color: rgba(0, 0, 0, 0.5);
428
- z-index: 1;
429
- cursor: text;
430
- user-select: none;
431
- left: 4px;
432
- top: 12px;
433
- }
434
-
435
- .AutocompleteSelect > .label.active {
436
- font-size: 10px;
437
- top: 2px;
397
+ background: rgba(0, 0, 0, 0.1);
398
+ border-radius: 100%;
399
+ transform: scale(0);
400
+ pointer-events: none;
401
+ transition: opacity 0.2s ease-out;
438
402
  }
439
403
 
440
- .AutocompleteSelect > .label.active .arrow {
441
- border-width: 4px 4px 0 4px;
442
- margin-bottom: 1px;
404
+ .Button .ripple.show {
405
+ animation: ripple 0.35s ease-out;
443
406
  }
444
407
 
445
- .AutocompleteSelect > .label .arrow {
446
- width: 0;
447
- height: 0;
448
- border-style: solid;
449
- border-width: 5px 5px 0 5px;
450
- border-color: rgba(0, 0, 0, 0.5) transparent transparent transparent;
451
- display: inline-block;
452
- margin-left: 5px;
453
- margin-bottom: 2px;
454
- transition: all 0.2s ease;
408
+ .Button:active .ripple.showed {
409
+ opacity: 1;
455
410
  }
456
411
 
457
- .AutocompleteSelect > .selected {
458
- margin-top: 8px;
459
- display: flex;
460
- cursor: pointer;
412
+ .Button:focus .ripple.focused {
413
+ opacity: 1;
414
+ transition: opacity 0.2s ease-out, transform 0.2s ease-out;
415
+ transform: scale(1);
416
+ animation: resize 1.25s ease-out infinite;
417
+ animation-delay: 0.2s;
418
+ animation-direction: alternate;
461
419
  }
462
420
 
463
- .AutocompleteSelect > .selected > .reset {
464
- min-width: 36px;
465
- max-width: 36px;
466
- position: absolute;
467
- right: 0;
468
- top: 0;
469
- background-color: white;
421
+ .Button .ripple.showed {
422
+ transform: scale(2);
423
+ opacity: 0;
470
424
  }
471
425
 
472
- .AutocompleteSelect > .selected > .reset .material-icons {
473
- margin: 0;
474
- color: #BFBFBF;
475
- font-size: 20px;
426
+ @keyframes ripple {
427
+ to {
428
+ transform: scale(2);
429
+ }
476
430
  }
477
-
478
- .AutocompleteSelect > .selected.nolabel {
479
- margin-top: 0px;
480
- border-bottom: 1px solid #e5e3e3;
431
+ @keyframes resize {
432
+ to {
433
+ transform: scale(0.9);
434
+ }
435
+ }
436
+ .Button.raised {
437
+ transition: color 0.2s ease-out, background-color 0.2s ease-out, box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
481
438
  }
482
439
 
483
- .AutocompleteSelect > .selected.nolabel .DummyChild {
484
- display: inline-flex;
485
- align-items: center;
486
- flex-grow: 1;
487
- font-size: 16px;
488
- margin: 0px 10px;
489
- margin-bottom: 5px;
490
- height: 19px;
440
+ .Button.raised:hover {
441
+ box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.25);
491
442
  }
492
443
 
493
- .AutocompleteSelect > .selected.nolabel .arrow {
494
- width: 0;
495
- height: 0;
496
- border-style: solid;
497
- border-width: 5px 5px 0 5px;
498
- border-color: rgba(0, 0, 0, 0.5) transparent transparent transparent;
499
- display: inline-block;
500
- transition: all 0.2s ease;
501
- margin: 0px 17px 3px 5px;
444
+ .Button.raised:active {
445
+ box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.35);
502
446
  }
503
447
 
504
- .AutocompleteSelect > .selected.inline {
505
- font-size: 14px;
506
- font-family: Roboto, sans-serif;
507
- color: #1e252d;
508
- text-overflow: ellipsis;
509
- white-space: nowrap;
510
- overflow: hidden;
511
- display: flex;
512
- align-items: center;
448
+ .Button.disabled {
449
+ box-shadow: none;
450
+ background: #D9D9D9;
451
+ color: #999999;
513
452
  }
514
453
 
515
- .AutocompleteSelect > .selected.clickable {
516
- overflow: hidden;
517
- cursor: pointer;
518
- padding: 10px;
519
- margin-left: -10px;
520
- margin-right: -10px;
454
+ .Button.disabled:hover {
455
+ background-color: #cccccc;
521
456
  }
522
457
 
523
- .AutocompleteSelect.inlineSelected {
524
- flex-flow: row wrap;
525
- justify-content: flex-start;
458
+ .Button::-moz-focus-inner {
459
+ border: 0;
526
460
  }
527
461
 
528
- .AutocompleteSelect.inlineSelected.hasSelected {
529
- padding-top: 7px;
462
+ .animated {
463
+ transition: opacity 250ms ease;
464
+ opacity: 0;
530
465
  }
531
466
 
532
- .AutocompleteSelect.inlineSelected > .label {
533
- width: 100%;
534
- height: 100%;
467
+ .animated.mounting, .animated.mounted {
468
+ opacity: 1;
535
469
  }
536
470
 
537
- .AutocompleteSelect.inlineSelected > .label.active {
538
- z-index: 0;
471
+ .CircleProgress {
472
+ width: 48px;
473
+ height: 48px;
539
474
  }
540
475
 
541
- .AutocompleteSelect.inlineSelected .input {
542
- width: unset;
543
- flex-basis: 50px;
544
- flex-grow: 1;
476
+ .CircleProgress .line {
477
+ stroke-width: 2px;
478
+ stroke: black;
479
+ stroke-linecap: square;
480
+ fill: none;
481
+ transition: stroke-dashoffset 0.2s ease;
545
482
  }
546
483
 
547
- .AutocompleteSelect.inlineSelected .input::after {
548
- content: attr(data-value);
549
- visibility: hidden;
550
- white-space: pre;
551
- font: inherit;
552
- min-width: 2px;
553
- border: 0;
554
- margin: 0;
555
- outline: 0;
556
- float: left;
557
- display: inline-block;
558
- margin-top: -24px;
559
- font-size: 14px;
560
- padding: 2px;
484
+ .DialogModal {
485
+ overflow: hidden;
561
486
  }
562
487
 
563
- .AutocompleteSelect.inlineSelected > .value:nth-child(2) {
564
- margin-top: 7px;
488
+ .DialogModal .content {
489
+ top: 20vh;
565
490
  }
566
491
 
567
- .AutocompleteSelect.inlineSelected > .value, .AutocompleteSelect > .selected > .value {
568
- cursor: pointer;
569
- margin: 5px 10px 5px 0px;
570
- display: inline-flex;
571
- flex-flow: row wrap;
572
- height: 30px;
573
- align-items: center;
574
- background-color: #f0f0f0;
575
- border-radius: 30px;
576
- position: relative;
577
- font-family: Roboto, sans-serif;
578
- font-size: 14px;
579
- color: #1e252d;
492
+ .Dialog {
493
+ background-color: white;
494
+ min-width: 460px;
495
+ max-width: 40vw;
496
+ padding: 15px;
580
497
  }
581
498
 
582
- .AutocompleteSelect.inlineSelected > .value .DummyChild, .AutocompleteSelect > .selected > .value .DummyChild {
583
- padding-left: 35px;
584
- padding-right: 10px;
499
+ .Dialog .title {
500
+ margin-bottom: 15px;
501
+ padding: 20px 50px 0px 30px;
502
+ font-size: 1.25rem;
503
+ line-height: 2rem;
504
+ font-weight: 400;
505
+ letter-spacing: 0.0125em;
585
506
  }
586
507
 
587
- .AutocompleteSelect.inlineSelected > .value .button, .AutocompleteSelect > .selected > .value .button {
588
- cursor: pointer;
589
- min-width: 30px;
590
- width: 30px;
591
- height: 30px;
592
- opacity: 0;
593
- position: absolute;
594
- top: 0px;
595
- left: 0px;
596
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
597
- background-color: deepskyblue;
598
- color: white;
599
- border-radius: 30px;
600
- display: flex;
601
- flex-flow: row;
602
- justify-content: center;
603
- align-items: center;
604
- animation: anticlockwise 0.15s linear;
508
+ .Dialog .description {
509
+ color: rgba(0, 0, 0, 0.54);
510
+ font-size: 1rem;
511
+ line-height: 1.5rem;
512
+ font-weight: 400;
513
+ letter-spacing: 0.03125em;
514
+ margin-top: 20px;
515
+ padding: 0 24px 24px;
605
516
  }
606
517
 
607
- .AutocompleteSelect.inlineSelected > .value .button .material-icons, .AutocompleteSelect > .selected > .value .button .material-icons {
608
- font-size: 22px;
518
+ .Dialog > div.row {
519
+ margin-bottom: 15px;
609
520
  }
610
521
 
611
- .AutocompleteSelect.inlineSelected > .value:hover .button, .AutocompleteSelect > .selected > .value:hover .button {
612
- width: 30px;
613
- height: 30px;
614
- opacity: 1;
615
- animation: clockwise 0.15s linear;
616
- overflow: hidden;
617
- position: absolute;
522
+ .Dialog > div.row:last-child {
523
+ margin-bottom: 0;
618
524
  }
619
525
 
620
526
  .DNDContainer {
@@ -649,123 +555,227 @@
649
555
  pointer-events: none;
650
556
  }
651
557
 
652
- .Scrollable {
653
- max-height: 250px;
654
- max-width: 250px;
655
- padding-right: 5px;
558
+ .Dropzone {
656
559
  position: relative;
560
+ }
561
+
562
+ .Dropzone > .overlay {
563
+ position: absolute;
564
+ left: 0;
565
+ right: 0;
566
+ top: 0;
567
+ bottom: 0;
568
+ background-color: #38ADC4;
569
+ z-index: 1;
570
+ opacity: 0;
571
+ transition: all 0.2s ease;
572
+ transition-delay: 100ms;
573
+ visibility: hidden;
574
+ display: flex;
575
+ justify-content: center;
576
+ align-items: center;
577
+ }
578
+
579
+ .Dropzone > .overlay .drop {
580
+ border-radius: 4px;
581
+ border: 1px dashed #FFFFFF;
582
+ position: absolute;
583
+ top: 18px;
584
+ left: 18px;
585
+ right: 18px;
586
+ bottom: 18px;
587
+ display: flex;
588
+ justify-content: center;
589
+ align-items: center;
590
+ font-weight: 500;
591
+ font-size: 18px;
592
+ color: #FFFFFF;
593
+ }
594
+
595
+ .Dropzone.dragging > .overlay {
596
+ opacity: 0.7;
597
+ visibility: visible;
598
+ transition-delay: 0s;
599
+ }
600
+
601
+ .Dropzone.dragging > * {
602
+ pointer-events: none;
603
+ }
604
+
605
+ .Dropzone > input.file {
606
+ position: absolute;
607
+ left: 0;
608
+ right: 0;
609
+ top: 0;
610
+ bottom: 0;
611
+ width: 100%;
612
+ height: 100%;
613
+ opacity: 0;
614
+ cursor: pointer;
615
+ z-index: 1;
616
+ }
617
+
618
+ .FormUploadProgress {
619
+ position: absolute;
620
+ left: 0;
621
+ right: 0;
622
+ top: 0;
623
+ bottom: 0;
624
+ background-color: rgba(255, 255, 255, 0.6);
625
+ z-index: 2;
626
+ }
627
+
628
+ .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
629
+ transition-delay: 500ms;
630
+ }
631
+
632
+ .FormUploadProgress .wrapper {
633
+ position: sticky;
634
+ top: 40%;
635
+ margin-top: 40%;
636
+ margin-left: 50%;
637
+ transform: translateX(-50%);
657
638
  display: flex;
658
639
  flex-flow: column;
659
- align-items: stretch;
660
- overflow: hidden;
640
+ justify-content: center;
641
+ align-items: center;
642
+ }
643
+
644
+ .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
645
+ position: absolute;
646
+ width: 107px;
647
+ height: 107px;
648
+ top: 0;
649
+ left: 0;
661
650
  }
662
651
 
663
- .Scrollable:hover > .scrollbar.auto {
664
- transition-delay: 0s;
665
- opacity: 1;
652
+ .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
653
+ stroke: #2196F3;
666
654
  }
667
655
 
668
- .Scrollable .viewport {
669
- overflow-y: scroll;
670
- overflow-x: scroll;
671
- max-height: 100%;
672
- scroll-behavior: smooth;
673
- scrollbar-width: none;
656
+ .FormUploadProgress .wrapper > .progress {
657
+ width: 107px;
658
+ height: 107px;
659
+ min-height: 107px;
660
+ display: flex;
661
+ justify-content: center;
662
+ align-items: center;
663
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
664
+ border-radius: 50%;
665
+ background: white;
666
+ position: relative;
674
667
  }
675
668
 
676
- .Scrollable .viewport::-webkit-scrollbar {
677
- display: none;
669
+ .FormUploadProgress .wrapper > .progress > .value {
670
+ display: inline-block;
671
+ margin-top: 5px;
672
+ font-weight: bold;
673
+ line-height: 16px;
674
+ font-size: 13px;
675
+ text-align: center;
676
+ color: #818181;
678
677
  }
679
678
 
680
- .Scrollable.without-scroll-horizontal {
681
- max-width: unset;
679
+ .FormUploadProgress .wrapper .cancel {
680
+ min-width: 107px;
681
+ margin-top: 20px;
682
+ background-color: white;
683
+ color: #F96B5C;
684
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
682
685
  }
683
686
 
684
- .Scrollable.without-scroll {
685
- padding-right: 0;
686
- max-height: unset;
687
+ .Checkbox {
688
+ position: relative;
689
+ white-space: pre;
687
690
  }
688
691
 
689
- .Scrollable.without-scroll > .viewport {
690
- padding-right: 0;
691
- margin-right: 0;
692
+ .Checkbox *, .Checkbox *:before, .Checkbox *:after {
693
+ box-sizing: border-box;
692
694
  }
693
695
 
694
- .Scrollable.without-scroll > .scrollbar {
695
- visibility: hidden;
696
+ .Checkbox label {
697
+ font-family: Roboto, sans-serif;
698
+ font-size: 14px;
699
+ color: #1e252d;
700
+ cursor: pointer;
696
701
  }
697
702
 
698
- .Scrollable .scrollbar {
703
+ .Checkbox label:before, .Checkbox label:after {
704
+ content: "";
699
705
  position: absolute;
700
- right: 0px;
701
- top: 0px;
702
- width: 5px;
703
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
704
- transition-delay: 0.5s;
705
- z-index: 1;
706
+ left: 0;
707
+ top: 0;
706
708
  }
707
709
 
708
- .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
709
- opacity: 0;
710
+ .Checkbox label:before {
711
+ width: 20px;
712
+ height: 20px;
713
+ background: #fff;
714
+ border: 2px solid #252525;
715
+ border-radius: 2px;
716
+ cursor: pointer;
717
+ transition: background 0.3s;
710
718
  }
711
719
 
712
- .Scrollable .scrollbar .thumb {
713
- background-color: rgba(0, 0, 0, 0.3);
714
- width: 5px;
715
- position: absolute;
716
- right: 0px;
717
- top: 0px;
718
- user-select: none;
719
- will-change: top;
720
- border-radius: 2px;
720
+ .Checkbox input[type=checkbox] {
721
+ outline: 0;
722
+ margin-right: 10px;
723
+ visibility: hidden;
721
724
  }
722
725
 
723
- .Scrollable .scrollbar .thumb:hover {
724
- background-color: rgba(0, 0, 0, 0.5);
726
+ .Checkbox input[type=checkbox]:checked + label:before {
727
+ background: #4AC263;
728
+ border: none;
725
729
  }
726
730
 
727
- .Scrollable .scrollbar .thumb:active {
728
- background-color: rgba(0, 0, 0, 0.7);
731
+ .Checkbox input[type=checkbox]:checked + label:after {
732
+ transform: rotate(-45deg);
733
+ top: 6px;
734
+ left: 4px;
735
+ width: 12px;
736
+ height: 6px;
737
+ border: 2px solid #fff;
738
+ border-top-style: none;
739
+ border-right-style: none;
729
740
  }
730
741
 
731
- .Scrollable .scrollbar.horizontal {
732
- left: 0px;
733
- right: 0px;
734
- height: 5px;
735
- bottom: 0;
736
- width: unset;
737
- top: unset;
742
+ .Checkbox input[type=checkbox]:disabled + label {
743
+ color: gray;
738
744
  }
739
745
 
740
- .Scrollable .scrollbar.horizontal .thumb {
741
- height: 5px;
742
- left: 0px;
743
- bottom: 0px;
744
- will-change: left;
746
+ .Checkbox input[type=checkbox]:disabled + label:before {
747
+ border-color: rgba(0, 0, 0, 0.26);
745
748
  }
746
749
 
747
- .Button.FloatingActionButton {
748
- position: absolute;
749
- right: 16px;
750
- bottom: 16px;
751
- width: 56px;
752
- height: 56px;
753
- padding: 16px;
754
- transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
750
+ .Checkbox input[type=checkbox]:disabled:checked + label:before {
751
+ background: rgba(0, 0, 0, 0.26);
755
752
  }
756
753
 
757
- .Button.FloatingActionButton.raised {
758
- transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease-out, background-color 0.2s ease-out, box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
754
+ .DropFileInput {
755
+ flex-grow: 1;
759
756
  }
760
757
 
761
- .Button.FloatingActionButton.mini {
762
- width: 40px;
763
- height: 40px;
764
- padding: 8px;
758
+ .DropFileInput .Dropzone {
759
+ border: 1px dashed #808080;
760
+ padding: 12px;
761
+ display: flex;
762
+ flex-flow: row nowrap;
763
+ justify-content: center;
764
+ align-items: center;
765
+ color: gray;
766
+ cursor: pointer;
767
+ border-radius: 3px;
768
+ font-weight: normal;
769
+ line-height: 22px;
770
+ font-size: 14px;
771
+ color: #7E7E7E;
772
+ max-width: 100%;
773
+ word-break: break-all;
774
+ word-break: break-word;
765
775
  }
766
776
 
767
- .Button.FloatingActionButton.hidden {
768
- bottom: -100px;
777
+ .DropFileInput .Dropzone .icon.withText {
778
+ margin-right: 10px;
769
779
  }
770
780
 
771
781
  .ImageGallery {
@@ -1003,134 +1013,110 @@
1003
1013
  font-size: 24px;
1004
1014
  }
1005
1015
 
1006
- .Dropzone {
1007
- position: relative;
1016
+ .Button.FloatingActionButton {
1017
+ position: absolute;
1018
+ right: 16px;
1019
+ bottom: 16px;
1020
+ width: 56px;
1021
+ height: 56px;
1022
+ padding: 16px;
1023
+ transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1008
1024
  }
1009
1025
 
1010
- .Dropzone > .overlay {
1011
- position: absolute;
1012
- left: 0;
1013
- right: 0;
1014
- top: 0;
1015
- bottom: 0;
1016
- background-color: #38ADC4;
1017
- z-index: 1;
1018
- opacity: 0;
1019
- transition: all 0.2s ease;
1020
- transition-delay: 100ms;
1021
- visibility: hidden;
1022
- display: flex;
1023
- justify-content: center;
1024
- align-items: center;
1026
+ .Button.FloatingActionButton.raised {
1027
+ transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease-out, background-color 0.2s ease-out, box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
1025
1028
  }
1026
1029
 
1027
- .Dropzone > .overlay .drop {
1028
- border-radius: 4px;
1029
- border: 1px dashed #FFFFFF;
1030
- position: absolute;
1031
- top: 18px;
1032
- left: 18px;
1033
- right: 18px;
1034
- bottom: 18px;
1035
- display: flex;
1036
- justify-content: center;
1037
- align-items: center;
1038
- font-weight: 500;
1039
- font-size: 18px;
1040
- color: #FFFFFF;
1030
+ .Button.FloatingActionButton.mini {
1031
+ width: 40px;
1032
+ height: 40px;
1033
+ padding: 8px;
1041
1034
  }
1042
1035
 
1043
- .Dropzone.dragging > .overlay {
1044
- opacity: 0.7;
1045
- visibility: visible;
1046
- transition-delay: 0s;
1036
+ .Button.FloatingActionButton.hidden {
1037
+ bottom: -100px;
1047
1038
  }
1048
1039
 
1049
- .Dropzone.dragging > * {
1050
- pointer-events: none;
1040
+ .Switch {
1041
+ display: inline-flex;
1042
+ padding-top: 5px;
1051
1043
  }
1052
1044
 
1053
- .Dropzone > input.file {
1054
- position: absolute;
1055
- left: 0;
1056
- right: 0;
1057
- top: 0;
1058
- bottom: 0;
1059
- width: 100%;
1060
- height: 100%;
1061
- opacity: 0;
1045
+ .Switch .switch-input {
1046
+ display: none;
1047
+ }
1048
+
1049
+ .Switch .switch-label {
1050
+ position: relative;
1051
+ display: inline-flex;
1052
+ align-items: center;
1053
+ min-width: 38px;
1054
+ height: 24px;
1062
1055
  cursor: pointer;
1063
- z-index: 1;
1056
+ font-weight: 500;
1057
+ text-align: left;
1058
+ user-select: none;
1059
+ margin: 0;
1060
+ padding: 0;
1061
+ padding-left: 44px;
1062
+ box-sizing: border-box;
1063
+ }
1064
+
1065
+ .Switch .switch-label:before, .Switch .switch-label:after {
1066
+ content: "";
1067
+ box-sizing: border-box;
1068
+ position: absolute;
1069
+ margin: 0;
1070
+ outline: 0;
1071
+ top: 50%;
1072
+ transform: translate(0, -50%);
1073
+ transition: all 0.3s ease;
1064
1074
  }
1065
1075
 
1066
- .Modal {
1067
- display: block;
1068
- position: fixed;
1069
- top: 0;
1070
- left: 0;
1071
- right: 0;
1072
- bottom: 100%;
1073
- overflow-y: scroll;
1074
- transition: bottom 0ms linear;
1075
- transition-delay: 0.2s;
1076
+ .Switch .switch-label:before {
1077
+ left: 1px;
1078
+ width: 34px;
1079
+ height: 14px;
1080
+ background-color: #9E9E9E;
1081
+ border-radius: 8px;
1076
1082
  }
1077
1083
 
1078
- .Modal.show {
1079
- transition-delay: 0s;
1080
- bottom: 0;
1084
+ .Switch .switch-label:after {
1085
+ left: 0;
1086
+ width: 20px;
1087
+ height: 20px;
1088
+ background-color: #FAFAFA;
1089
+ border-radius: 50%;
1090
+ box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.14), 0 2px 2px 0 rgba(0, 0, 0, 0.098), 0 1px 5px 0 rgba(0, 0, 0, 0.084);
1081
1091
  }
1082
1092
 
1083
- .Modal > .overlay {
1084
- position: fixed;
1085
- top: 0;
1086
- bottom: 100%;
1087
- left: 0;
1088
- right: 0;
1089
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1090
- opacity: 0;
1091
- background-color: black;
1092
- pointer-events: none;
1093
+ .Switch .switch-label .toggle--on {
1094
+ display: none;
1093
1095
  }
1094
1096
 
1095
- .Modal > .overlay.show {
1096
- opacity: 0.5;
1097
- bottom: 0;
1097
+ .Switch .switch-label .toggle--off {
1098
+ display: inline-block;
1098
1099
  }
1099
1100
 
1100
- .Modal > .content {
1101
- left: 50%;
1102
- top: 10vh;
1103
- margin-bottom: 10vh;
1104
- font-size: 16px;
1105
- padding: 0;
1106
- opacity: 0;
1107
- transition: opacity 0.25s ease, transform 0.25s ease;
1108
- transform: scaleY(0) translateY(-200px) translateX(-50%);
1109
- transform-origin: top;
1110
- position: absolute;
1111
- border-radius: 2px;
1112
- box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
1101
+ .Switch .switch-label .label {
1102
+ margin-right: 5px;
1113
1103
  }
1114
1104
 
1115
- .Modal > .content.show {
1116
- opacity: 1;
1117
- transform: scaleY(1) translateY(0px) translateX(-50%);
1105
+ .Switch .switch-input:checked + .switch-label:before {
1106
+ background-color: #A5D6A7;
1118
1107
  }
1119
1108
 
1120
- .Modal > .content > .Scrollable {
1121
- overflow: visible;
1122
- max-height: 80vh;
1109
+ .Switch .switch-input:checked + .switch-label:after {
1110
+ background-color: #4CAF50;
1111
+ transform: translate(80%, -50%);
1123
1112
  }
1124
1113
 
1125
- .Modal > .content > .Scrollable > .viewport {
1126
- min-width: 10px;
1127
- min-height: 10px;
1114
+ .Switch .switch-input:checked + .switch-label .toggle--on {
1115
+ display: inline-block;
1128
1116
  }
1129
1117
 
1130
- .Modal > .content > .Button.close {
1131
- top: 10px;
1132
- right: 10px;
1133
- position: absolute;
1118
+ .Switch .switch-input:checked + .switch-label .toggle--off {
1119
+ display: none;
1134
1120
  }
1135
1121
 
1136
1122
  .ModalMenu {
@@ -1170,131 +1156,197 @@
1170
1156
  margin-left: 4px;
1171
1157
  }
1172
1158
 
1173
- .Snackbar {
1174
- transform: translateX(-50%);
1175
- overflow: hidden;
1176
- background-color: #323232;
1177
- padding: 14px 24px 14px 24px;
1178
- color: #fff;
1179
- min-width: 288px;
1180
- max-width: 568px;
1181
- position: fixed;
1182
- bottom: -50px;
1183
- left: 50%;
1159
+ .SpinningProgress {
1160
+ width: 48px;
1161
+ height: 48px;
1162
+ position: relative;
1163
+ margin: 0 auto;
1164
+ }
1165
+
1166
+ .SpinningProgress:before {
1167
+ content: "";
1168
+ display: block;
1169
+ padding-top: 100%;
1170
+ }
1171
+
1172
+ .SpinningProgress .circular {
1173
+ animation: rotate 2s linear infinite;
1174
+ height: 100%;
1175
+ transform-origin: center center;
1176
+ width: 100%;
1177
+ position: absolute;
1178
+ top: 0;
1179
+ bottom: 0;
1180
+ left: 0;
1181
+ right: 0;
1182
+ margin: auto;
1183
+ }
1184
+
1185
+ .SpinningProgress .line {
1186
+ stroke: black;
1187
+ stroke-width: 2px;
1188
+ stroke-dasharray: 1, 96;
1189
+ stroke-dashoffset: 0;
1190
+ animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
1191
+ }
1192
+
1193
+ @keyframes rotate {
1194
+ 100% {
1195
+ transform: rotate(360deg);
1196
+ }
1197
+ }
1198
+ @keyframes dash {
1199
+ 0% {
1200
+ stroke-dasharray: 1, 96;
1201
+ stroke-dashoffset: 0;
1202
+ }
1203
+ 50% {
1204
+ stroke-dasharray: 43, 96;
1205
+ stroke-dashoffset: -17px;
1206
+ }
1207
+ 100% {
1208
+ stroke-dasharray: 43, 96;
1209
+ stroke-dashoffset: -53px;
1210
+ }
1211
+ }
1212
+ .Scrollable {
1213
+ max-height: 250px;
1214
+ max-width: 250px;
1215
+ padding-right: 5px;
1216
+ position: relative;
1184
1217
  display: flex;
1185
- flex-wrap: nowrap;
1186
- align-items: center;
1187
- opacity: 0;
1188
- transition: bottom 0.25s ease, opacity 0.2s ease;
1189
- border-radius: 4px;
1190
- box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1218
+ flex-flow: column;
1219
+ align-items: stretch;
1220
+ overflow: hidden;
1191
1221
  }
1192
1222
 
1193
- .Snackbar.shown {
1194
- bottom: 15px;
1223
+ .Scrollable:hover > .scrollbar.auto {
1224
+ transition-delay: 0s;
1195
1225
  opacity: 1;
1196
1226
  }
1197
1227
 
1198
- .Snackbar .message {
1199
- overflow: hidden;
1200
- line-height: 1.2em;
1201
- min-height: 1.2em;
1202
- max-height: 2.4em;
1203
- flex: 1;
1228
+ .Scrollable .viewport {
1229
+ overflow-y: scroll;
1230
+ overflow-x: scroll;
1231
+ max-height: 100%;
1232
+ scroll-behavior: smooth;
1233
+ scrollbar-width: none;
1204
1234
  }
1205
1235
 
1206
- .Snackbar .action {
1207
- text-transform: uppercase;
1208
- font-weight: bold;
1209
- margin-left: 48px;
1210
- color: #bf3727;
1236
+ .Scrollable .viewport::-webkit-scrollbar {
1237
+ display: none;
1211
1238
  }
1212
1239
 
1213
- .Snackbar .action a {
1214
- text-decoration: none;
1215
- color: #bf3727;
1240
+ .Scrollable.without-scroll-horizontal {
1241
+ max-width: unset;
1216
1242
  }
1217
1243
 
1218
- .Switch {
1219
- display: inline-flex;
1220
- padding-top: 5px;
1244
+ .Scrollable.without-scroll {
1245
+ padding-right: 0;
1246
+ max-height: unset;
1221
1247
  }
1222
1248
 
1223
- .Switch .switch-input {
1224
- display: none;
1249
+ .Scrollable.without-scroll > .viewport {
1250
+ padding-right: 0;
1251
+ margin-right: 0;
1225
1252
  }
1226
1253
 
1227
- .Switch .switch-label {
1228
- position: relative;
1229
- display: inline-flex;
1230
- align-items: center;
1231
- min-width: 38px;
1232
- height: 24px;
1233
- cursor: pointer;
1234
- font-weight: 500;
1235
- text-align: left;
1236
- user-select: none;
1237
- margin: 0;
1238
- padding: 0;
1239
- padding-left: 44px;
1240
- box-sizing: border-box;
1254
+ .Scrollable.without-scroll > .scrollbar {
1255
+ visibility: hidden;
1241
1256
  }
1242
1257
 
1243
- .Switch .switch-label:before, .Switch .switch-label:after {
1244
- content: "";
1245
- box-sizing: border-box;
1258
+ .Scrollable .scrollbar {
1246
1259
  position: absolute;
1247
- margin: 0;
1248
- outline: 0;
1249
- top: 50%;
1250
- transform: translate(0, -50%);
1251
- transition: all 0.3s ease;
1260
+ right: 0px;
1261
+ top: 0px;
1262
+ width: 5px;
1263
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1264
+ transition-delay: 0.5s;
1265
+ z-index: 1;
1252
1266
  }
1253
1267
 
1254
- .Switch .switch-label:before {
1255
- left: 1px;
1256
- width: 34px;
1257
- height: 14px;
1258
- background-color: #9E9E9E;
1259
- border-radius: 8px;
1268
+ .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1269
+ opacity: 0;
1260
1270
  }
1261
1271
 
1262
- .Switch .switch-label:after {
1263
- left: 0;
1264
- width: 20px;
1265
- height: 20px;
1266
- background-color: #FAFAFA;
1267
- border-radius: 50%;
1268
- box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.14), 0 2px 2px 0 rgba(0, 0, 0, 0.098), 0 1px 5px 0 rgba(0, 0, 0, 0.084);
1272
+ .Scrollable .scrollbar .thumb {
1273
+ background-color: rgba(0, 0, 0, 0.3);
1274
+ width: 5px;
1275
+ position: absolute;
1276
+ right: 0px;
1277
+ top: 0px;
1278
+ user-select: none;
1279
+ will-change: top;
1280
+ border-radius: 2px;
1269
1281
  }
1270
1282
 
1271
- .Switch .switch-label .toggle--on {
1272
- display: none;
1283
+ .Scrollable .scrollbar .thumb:hover {
1284
+ background-color: rgba(0, 0, 0, 0.5);
1273
1285
  }
1274
1286
 
1275
- .Switch .switch-label .toggle--off {
1276
- display: inline-block;
1287
+ .Scrollable .scrollbar .thumb:active {
1288
+ background-color: rgba(0, 0, 0, 0.7);
1277
1289
  }
1278
1290
 
1279
- .Switch .switch-label .label {
1280
- margin-right: 5px;
1291
+ .Scrollable .scrollbar.horizontal {
1292
+ left: 0px;
1293
+ right: 0px;
1294
+ height: 5px;
1295
+ bottom: 0;
1296
+ width: unset;
1297
+ top: unset;
1281
1298
  }
1282
1299
 
1283
- .Switch .switch-input:checked + .switch-label:before {
1284
- background-color: #A5D6A7;
1300
+ .Scrollable .scrollbar.horizontal .thumb {
1301
+ height: 5px;
1302
+ left: 0px;
1303
+ bottom: 0px;
1304
+ will-change: left;
1285
1305
  }
1286
1306
 
1287
- .Switch .switch-input:checked + .switch-label:after {
1288
- background-color: #4CAF50;
1289
- transform: translate(80%, -50%);
1307
+ .Snackbar {
1308
+ transform: translateX(-50%);
1309
+ overflow: hidden;
1310
+ background-color: #323232;
1311
+ padding: 14px 24px 14px 24px;
1312
+ color: #fff;
1313
+ min-width: 288px;
1314
+ max-width: 568px;
1315
+ position: fixed;
1316
+ bottom: -50px;
1317
+ left: 50%;
1318
+ display: flex;
1319
+ flex-wrap: nowrap;
1320
+ align-items: center;
1321
+ opacity: 0;
1322
+ transition: bottom 0.25s ease, opacity 0.2s ease;
1323
+ border-radius: 4px;
1324
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1290
1325
  }
1291
1326
 
1292
- .Switch .switch-input:checked + .switch-label .toggle--on {
1293
- display: inline-block;
1327
+ .Snackbar.shown {
1328
+ bottom: 15px;
1329
+ opacity: 1;
1294
1330
  }
1295
1331
 
1296
- .Switch .switch-input:checked + .switch-label .toggle--off {
1297
- display: none;
1332
+ .Snackbar .message {
1333
+ overflow: hidden;
1334
+ line-height: 1.2em;
1335
+ min-height: 1.2em;
1336
+ max-height: 2.4em;
1337
+ flex: 1;
1338
+ }
1339
+
1340
+ .Snackbar .action {
1341
+ text-transform: uppercase;
1342
+ font-weight: bold;
1343
+ margin-left: 48px;
1344
+ color: #bf3727;
1345
+ }
1346
+
1347
+ .Snackbar .action a {
1348
+ text-decoration: none;
1349
+ color: #bf3727;
1298
1350
  }
1299
1351
 
1300
1352
  .TextField {
@@ -1440,144 +1492,92 @@
1440
1492
  animation-name: shake;
1441
1493
  }
1442
1494
 
1443
- .FormUploadProgress {
1444
- position: absolute;
1445
- left: 0;
1446
- right: 0;
1447
- top: 0;
1448
- bottom: 0;
1449
- background-color: rgba(255, 255, 255, 0.6);
1450
- z-index: 2;
1451
- }
1452
-
1453
- .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
1454
- transition-delay: 500ms;
1455
- }
1456
-
1457
- .FormUploadProgress .wrapper {
1458
- position: sticky;
1459
- top: 40%;
1460
- margin-top: 40%;
1461
- margin-left: 50%;
1462
- transform: translateX(-50%);
1463
- display: flex;
1464
- flex-flow: column;
1465
- justify-content: center;
1466
- align-items: center;
1467
- }
1468
-
1469
- .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
1470
- position: absolute;
1471
- width: 107px;
1472
- height: 107px;
1473
- top: 0;
1474
- left: 0;
1475
- }
1476
-
1477
- .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
1478
- stroke: #2196F3;
1495
+ .DNDContainer .DroppableList .Draggable {
1496
+ transform: unset;
1497
+ transition: unset;
1498
+ opacity: 1;
1479
1499
  }
1480
1500
 
1481
- .FormUploadProgress .wrapper > .progress {
1482
- width: 107px;
1483
- height: 107px;
1484
- min-height: 107px;
1485
- display: flex;
1486
- justify-content: center;
1487
- align-items: center;
1488
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1489
- border-radius: 50%;
1490
- background: white;
1491
- position: relative;
1501
+ .DNDContainer .DroppableList .Draggable.dragged {
1502
+ transition: unset !important;
1492
1503
  }
1493
1504
 
1494
- .FormUploadProgress .wrapper > .progress > .value {
1495
- display: inline-block;
1496
- margin-top: 5px;
1497
- font-weight: bold;
1498
- line-height: 16px;
1499
- font-size: 13px;
1500
- text-align: center;
1501
- color: #818181;
1505
+ .DNDContainer .DroppableList.hover .Draggable {
1506
+ transition: transform 0.2s ease-in;
1502
1507
  }
1503
1508
 
1504
- .FormUploadProgress .wrapper .cancel {
1505
- min-width: 107px;
1506
- margin-top: 20px;
1507
- background-color: white;
1508
- color: #F96B5C;
1509
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1509
+ .DNDContainer .DroppableList.resetting .Draggable {
1510
+ transition: transform 0.1s ease-in;
1510
1511
  }
1511
1512
 
1512
- .SpinningProgress {
1513
- width: 48px;
1514
- height: 48px;
1515
- position: relative;
1516
- margin: 0 auto;
1513
+ .Modal {
1514
+ display: block;
1515
+ position: fixed;
1516
+ top: 0;
1517
+ left: 0;
1518
+ right: 0;
1519
+ bottom: 100%;
1520
+ overflow-y: scroll;
1521
+ transition: bottom 0ms linear;
1522
+ transition-delay: 0.2s;
1517
1523
  }
1518
1524
 
1519
- .SpinningProgress:before {
1520
- content: "";
1521
- display: block;
1522
- padding-top: 100%;
1525
+ .Modal.show {
1526
+ transition-delay: 0s;
1527
+ bottom: 0;
1523
1528
  }
1524
1529
 
1525
- .SpinningProgress .circular {
1526
- animation: rotate 2s linear infinite;
1527
- height: 100%;
1528
- transform-origin: center center;
1529
- width: 100%;
1530
- position: absolute;
1530
+ .Modal > .overlay {
1531
+ position: fixed;
1531
1532
  top: 0;
1532
- bottom: 0;
1533
+ bottom: 100%;
1533
1534
  left: 0;
1534
1535
  right: 0;
1535
- margin: auto;
1536
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1537
+ opacity: 0;
1538
+ background-color: black;
1539
+ pointer-events: none;
1536
1540
  }
1537
1541
 
1538
- .SpinningProgress .line {
1539
- stroke: black;
1540
- stroke-width: 2px;
1541
- stroke-dasharray: 1, 96;
1542
- stroke-dashoffset: 0;
1543
- animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
1542
+ .Modal > .overlay.show {
1543
+ opacity: 0.5;
1544
+ bottom: 0;
1544
1545
  }
1545
1546
 
1546
- @keyframes rotate {
1547
- 100% {
1548
- transform: rotate(360deg);
1549
- }
1550
- }
1551
- @keyframes dash {
1552
- 0% {
1553
- stroke-dasharray: 1, 96;
1554
- stroke-dashoffset: 0;
1555
- }
1556
- 50% {
1557
- stroke-dasharray: 43, 96;
1558
- stroke-dashoffset: -17px;
1559
- }
1560
- 100% {
1561
- stroke-dasharray: 43, 96;
1562
- stroke-dashoffset: -53px;
1563
- }
1547
+ .Modal > .content {
1548
+ left: 50%;
1549
+ top: 10vh;
1550
+ margin-bottom: 10vh;
1551
+ font-size: 16px;
1552
+ padding: 0;
1553
+ opacity: 0;
1554
+ transition: opacity 0.25s ease, transform 0.25s ease;
1555
+ transform: scaleY(0) translateY(-200px) translateX(-50%);
1556
+ transform-origin: top;
1557
+ position: absolute;
1558
+ border-radius: 2px;
1559
+ box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
1564
1560
  }
1565
- .DNDContainer .DroppableList .Draggable {
1566
- transform: unset;
1567
- transition: unset;
1561
+
1562
+ .Modal > .content.show {
1568
1563
  opacity: 1;
1564
+ transform: scaleY(1) translateY(0px) translateX(-50%);
1569
1565
  }
1570
1566
 
1571
- .DNDContainer .DroppableList .Draggable.dragged {
1572
- transition: unset !important;
1567
+ .Modal > .content > .Scrollable {
1568
+ overflow: visible;
1569
+ max-height: 80vh;
1573
1570
  }
1574
1571
 
1575
- .DNDContainer .DroppableList.hover .Draggable {
1576
- transition: transform 0.2s ease-in;
1572
+ .Modal > .content > .Scrollable > .viewport {
1573
+ min-width: 10px;
1574
+ min-height: 10px;
1577
1575
  }
1578
1576
 
1579
- .DNDContainer .DroppableList.resetting .Draggable {
1580
- transition: transform 0.1s ease-in;
1577
+ .Modal > .content > .Button.close {
1578
+ top: 10px;
1579
+ right: 10px;
1580
+ position: absolute;
1581
1581
  }
1582
1582
 
1583
1583
  .FilteredList {
@@ -1661,6 +1661,14 @@
1661
1661
  margin-bottom: 8px;
1662
1662
  }
1663
1663
 
1664
+ .ScrollableTable .Scrollable .scrollbar {
1665
+ top: 56px;
1666
+ }
1667
+
1668
+ .ScrollableTable .Table {
1669
+ position: static;
1670
+ }
1671
+
1664
1672
  .Table {
1665
1673
  font-family: Roboto, sans-serif;
1666
1674
  font-size: 14px;
@@ -1773,12 +1781,4 @@
1773
1781
  height: 20px;
1774
1782
  padding: 0px;
1775
1783
  background-color: #f0f0f0;
1776
- }
1777
-
1778
- .ScrollableTable .Scrollable .scrollbar {
1779
- top: 56px;
1780
- }
1781
-
1782
- .ScrollableTable .Table {
1783
- position: static;
1784
1784
  }