@appscode/design-system 1.1.0-beta.3 → 1.1.0-beta.5

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 (37) hide show
  1. package/base/utilities/_global.scss +15 -10
  2. package/components/_ac-alert-box.scss +6 -6
  3. package/components/_ac-card.scss +0 -589
  4. package/components/_ac-input.scss +788 -281
  5. package/components/_ac-multi-select.scss +1 -1
  6. package/components/_ac-table.scss +3 -3
  7. package/components/_all.scss +2 -2
  8. package/components/_image-upload.scss +2 -2
  9. package/components/_wizard.scss +529 -531
  10. package/components/ac-toaster/_ac-toasted.scss +6 -11
  11. package/components/ui-builder/_vue-open-api.scss +2 -1
  12. package/main.scss +4 -4
  13. package/package.json +1 -1
  14. package/plugins/theme.js +11 -9
  15. package/plugins/vue-toaster.js +1 -1
  16. package/vue-components/v3/alert/Alert.vue +5 -5
  17. package/vue-components/v3/button/Button.vue +8 -0
  18. package/vue-components/v3/cards/Cluster.vue +1 -5
  19. package/vue-components/v3/cards/Counter.vue +12 -0
  20. package/vue-components/v3/cards/FeatureCard.vue +31 -0
  21. package/vue-components/v3/cards/InfoCard.vue +4 -9
  22. package/vue-components/v3/cards/Monitoring.vue +1 -1
  23. package/vue-components/v3/cards/Vendor.vue +67 -5
  24. package/vue-components/v3/content/ContentTable.vue +7 -2
  25. package/vue-components/v3/editor/FilteredFileEditor.vue +195 -2
  26. package/vue-components/v3/form-fields/AcSingleInput.vue +1 -500
  27. package/vue-components/v3/header/Header.vue +3 -2
  28. package/vue-components/v3/loaders/InfoCardLoader.vue +65 -0
  29. package/vue-components/v3/navbar/Navbar.vue +3 -1
  30. package/vue-components/v3/notification/AlertBox.vue +4 -4
  31. package/vue-components/v3/searchbars/SearchBar.vue +10 -2
  32. package/vue-components/v3/sidebar/ClusterSwitcher.vue +9 -14
  33. package/vue-components/v3/sidebar/Sidebar.vue +1 -6
  34. package/vue-components/v3/sidebar/SidebarFooter.vue +3 -3
  35. package/vue-components/v3/sidebar/SidebarHeader.vue +3 -3
  36. package/vue-components/v3/sidebar/Steps.vue +148 -0
  37. package/vue-components/v3/table/Table.vue +27 -20
@@ -6,14 +6,16 @@ $positions: (
6
6
  "r": "right",
7
7
  );
8
8
 
9
- @each $key, $position in $positions {
9
+ @each $key,
10
+ $position in $positions {
10
11
  .b-#{$key}-n {
11
12
  border-#{$position}: none !important;
12
13
  }
13
14
  }
14
15
 
15
16
  // border position 1px
16
- @each $key, $position in $positions {
17
+ @each $key,
18
+ $position in $positions {
17
19
  .b-#{$key}-1 {
18
20
  border-#{$position}: 1px solid $primary-90;
19
21
  }
@@ -73,6 +75,10 @@ input[type="color"]::-moz-color-swatch {
73
75
  border-radius: 50%;
74
76
  }
75
77
 
78
+ hr {
79
+ background-color: $primary-90;
80
+ }
81
+
76
82
  // color swatch end
77
83
 
78
84
  // .is-dark-theme {
@@ -332,14 +338,14 @@ input[type="color"]::-moz-color-swatch {
332
338
  background-color: transparent;
333
339
  }
334
340
 
335
- .is-error {
341
+ .is-danger {
336
342
  font-size: 12px;
337
343
  line-height: 22px;
338
344
  color: $danger;
339
345
  text-align: left;
340
346
  }
341
347
 
342
- p.is-error {
348
+ p.is-danger {
343
349
  color: $danger;
344
350
  }
345
351
 
@@ -423,6 +429,7 @@ button {
423
429
 
424
430
  // Shake animation
425
431
  @keyframes shake {
432
+
426
433
  10%,
427
434
  90% {
428
435
  transform: translate3d(-1px, 0, 0);
@@ -722,7 +729,7 @@ $border_color_4: transparent transparent #585d6e transparent;
722
729
  background-color: #27ae60;
723
730
  }
724
731
 
725
- &.is-error {
732
+ &.is-danger {
726
733
  background-color: #eb5757;
727
734
  }
728
735
  }
@@ -762,8 +769,7 @@ Responsive Classes
762
769
  }
763
770
 
764
771
  // Small devices (landscape phones, 576px and up)
765
- @media (min-width: 576px) and (max-width: 767.98px) {
766
- }
772
+ @media (min-width: 576px) and (max-width: 767.98px) {}
767
773
 
768
774
  // Medium devices (tablets, 768px and up)
769
775
  @media (min-width: 768px) and (max-width: 991.98px) {
@@ -782,8 +788,7 @@ Responsive Classes
782
788
  }
783
789
 
784
790
  // Extra large devices (large desktops, 1200px and up)
785
- @media (min-width: 1200px) {
786
- }
791
+ @media (min-width: 1200px) {}
787
792
 
788
793
  // FHD devices
789
794
  @media (min-width: 1408px) and (max-width: 1600) {
@@ -791,4 +796,4 @@ Responsive Classes
791
796
  // grid-gap: 0px;
792
797
  // grid-template-columns: 240px calc(100% - 260px);
793
798
  // }
794
- }
799
+ }
@@ -77,8 +77,8 @@
77
77
  // @include acNotification($success);
78
78
  // }
79
79
 
80
- // // is-error
81
- // .ac-notification.is-error {
80
+ // // is-danger
81
+ // .ac-notification.is-danger {
82
82
  // @include acNotification($danger);
83
83
  // }
84
84
 
@@ -164,8 +164,8 @@
164
164
  // @include acToast($success);
165
165
  // }
166
166
 
167
- // // is-error
168
- // .ac-toast.is-error {
167
+ // // is-danger
168
+ // .ac-toast.is-danger {
169
169
  // @include acToast($danger);
170
170
  // }
171
171
 
@@ -176,7 +176,7 @@
176
176
 
177
177
  // // dark theme start
178
178
  // .is-dark-theme {
179
- // .ac-notification.is-error {
179
+ // .ac-notification.is-danger {
180
180
  // background-color: $dark-bg-light;
181
181
  // }
182
182
  // }
@@ -202,4 +202,4 @@
202
202
 
203
203
  // // Extra large devices (large desktops, 1200px and up)
204
204
  // @media (min-width: 1200px) {
205
- // }
205
+ // }
@@ -1,589 +0,0 @@
1
- .ac-card-wrapper {
2
- display: flex;
3
- align-items: center;
4
- flex-wrap: wrap;
5
- }
6
-
7
- .ac-single-card {
8
- border: 1px solid $primary-90;
9
- transition: 0.3s ease-in-out;
10
-
11
- &.is-selected {
12
- border: 1px solid $primary !important;
13
- }
14
-
15
- // &.style-two {
16
- // padding: 10px;
17
-
18
- // .ac-card-header {
19
- // margin-bottom: 13px;
20
-
21
- // .ac-card-logo {
22
- // margin-right: 10px;
23
- // position: relative;
24
- // z-index: 1;
25
-
26
- // img {
27
- // width: 100%;
28
- // }
29
-
30
- // .card-status {
31
- // position: absolute;
32
- // content: "";
33
- // background-color: #27ae60;
34
- // border: 2px solid $white-100;
35
- // box-sizing: border-box;
36
- // box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
37
- // width: 10px;
38
- // height: 10px;
39
- // border-radius: 50%;
40
- // right: 0;
41
- // top: 5px;
42
- // }
43
- // }
44
-
45
- // .ac-card-title {
46
- // h4 {
47
- // font-size: 12px;
48
- // font-family: $font-paragraph;
49
- // line-height: 140%;
50
- // }
51
- // }
52
- // }
53
-
54
- // .ac-card-body {
55
- // p {
56
- // font-size: 12px;
57
- // color: $primary-10;
58
- // font-weight: 400;
59
-
60
- // &:not(:last-child) {
61
- // margin-bottom: 8px;
62
- // }
63
- // }
64
- // }
65
- // }
66
-
67
- &.vendor-card {
68
- background-color: $primary-97;
69
- width: 190px;
70
- margin-bottom: 20px;
71
- margin-right: 20px;
72
- padding: 30px 20px 20px;
73
- height: 140px;
74
- cursor: pointer;
75
-
76
- .ac-card-logo {
77
- max-width: 50px;
78
- // margin: 0 auto 20px;
79
- margin-inline: auto;
80
- margin-bottom: 10px;
81
- display: flex;
82
- align-items: center;
83
-
84
- img {
85
- width: 100%;
86
- }
87
- }
88
-
89
- .ac-card-name {
90
- p {
91
- font-size: 13px;
92
- color: $primary-10;
93
- line-height: 1;
94
-
95
- &.free {
96
- color: $primary;
97
- }
98
- }
99
- }
100
-
101
- // &:hover {
102
- // background-color: $black-60;
103
- // }
104
- }
105
-
106
- &.card-counter {
107
-
108
- padding: 16px;
109
-
110
- .card-header {
111
- display: flex;
112
- justify-content: space-between;
113
- align-items: center;
114
- box-shadow: none;
115
- background-color: transparent;
116
- margin-bottom: 60px;
117
-
118
- h3 {
119
- font-size: 16px;
120
- line-height: 1;
121
- font-family: $font-paragraph;
122
- }
123
- }
124
-
125
- .card-body {
126
- text-align: left;
127
-
128
- .count {
129
- font-size: 36px;
130
- line-height: 1;
131
- font-weight: 600;
132
- color: $primary-5;
133
- display: inline-block;
134
- position: relative;
135
- z-index: 1;
136
-
137
- &:after {
138
- position: absolute;
139
- content: "";
140
- left: 0;
141
- bottom: 0;
142
- width: 100%;
143
- height: 5px;
144
- background-color: #fceaee;
145
- }
146
-
147
- &.subscription {
148
- &:after {
149
- background-color: #fceaee;
150
- }
151
- }
152
-
153
- &.member {
154
- &:after {
155
- background-color: #e5f6ee;
156
- }
157
- }
158
-
159
- &.active-product {
160
- &:after {
161
- background-color: #ededfa;
162
- }
163
- }
164
- }
165
- }
166
- }
167
-
168
- &.is-disabled {
169
- opacity: 0.5;
170
- cursor: not-allowed;
171
- }
172
-
173
- &:hover {
174
- border: 1px solid $primary;
175
-
176
- .ac-card-title {
177
- h4 {
178
- a {
179
- color: $primary;
180
- }
181
- }
182
- }
183
- }
184
-
185
- .ac-card-header {
186
- display: flex;
187
- align-items: center;
188
- margin-bottom: 16px;
189
-
190
- .ac-card-logo {
191
- width: 40px;
192
- overflow: hidden;
193
- margin-right: 15px;
194
- background: $white-100;
195
- padding: 8px;
196
- height: 40px;
197
- border-radius: 50%;
198
- display: flex;
199
- align-items: center;
200
- border: 1px solid $primary-90;
201
- }
202
-
203
- .ac-card-title {
204
- width: calc(100% - 55px);
205
-
206
- h4 {
207
- a {
208
- color: $primary-5;
209
- }
210
-
211
- font-size: 16px;
212
- margin-bottom: 0;
213
- line-height: 24px;
214
- }
215
-
216
- p {
217
- font-size: 13px;
218
- color: $ac-gray;
219
- }
220
- }
221
- }
222
-
223
- .ac-card-body {
224
- p {
225
- color: $black-30;
226
- font-size: 13px;
227
- line-height: 140%;
228
- }
229
- }
230
- }
231
-
232
- .ac-card-logo {
233
- position: relative;
234
- z-index: 1;
235
-
236
- .card-status {
237
- position: absolute;
238
- content: "";
239
- background-color: #27ae60;
240
- border: 2px solid $white-100;
241
- box-sizing: border-box;
242
- box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
243
- width: 10px;
244
- height: 10px;
245
- border-radius: 50%;
246
- right: 0;
247
- top: 5px;
248
- }
249
- }
250
-
251
- // offer card scss start
252
- .pricing-card-wrpper {
253
- &.offer-card {
254
- background-color: $white-100-lighter;
255
- border: 1px solid $primary-90;
256
- border-radius: 4px;
257
- display: flex;
258
- position: relative;
259
- z-index: 1;
260
-
261
- &:after {
262
- @include absulate-shape($primary, 100%, 4px);
263
- background: linear-gradient(90deg, #f99a00 0%, #3f19ad 98.84%);
264
- }
265
-
266
- .offer-highlight {
267
- width: 25%;
268
-
269
- .offer-discount {
270
- p {
271
- font-size: 24px;
272
- font-weight: 600;
273
- background: linear-gradient(90deg, #f99a00 0%, #3f19ad 98.84%);
274
- background-clip: text;
275
- -webkit-background-clip: text;
276
- -webkit-text-fill-color: transparent;
277
- }
278
- }
279
- }
280
- }
281
-
282
- .ac-card {
283
- padding: 0 10px 10px;
284
- width: 100%;
285
- position: relative;
286
- z-index: 1;
287
-
288
- &.offer-pricing {
289
- width: 75%;
290
- }
291
-
292
- &.is-primary {
293
- &:after {
294
- @include absulate-shape($primary, 100%, 4px);
295
- border-radius: 4px 4px 0 0;
296
- }
297
- }
298
-
299
- &.is-warning {
300
- &.is-selected {
301
- &.pricing {
302
- border: 1px solid $warning;
303
- }
304
- }
305
-
306
- &:after {
307
- @include absulate-shape($warning, 100%, 4px);
308
- border-radius: 4px 4px 0 0;
309
- }
310
- }
311
-
312
- &.is-green {
313
- &.is-selected {
314
- &.pricing {
315
- border: 1px solid $success;
316
- }
317
- }
318
-
319
- &:after {
320
- @include absulate-shape($success, 100%, 4px);
321
- border-radius: 4px 4px 0 0;
322
- }
323
- }
324
-
325
- &.is-danger {
326
- &.is-selected {
327
- &.pricing {
328
- border: 1px solid $danger;
329
- }
330
- }
331
-
332
- &:after {
333
- @include absulate-shape($danger, 100%, 4px);
334
- border-radius: 4px 4px 0 0;
335
- }
336
- }
337
-
338
- &.pricing {
339
- border: 1px solid $primary-90;
340
- border-radius: 4px;
341
-
342
- &.is-selected {
343
- border: 1px solid $primary;
344
- }
345
- }
346
-
347
- ul {
348
- li {
349
- display: flex;
350
- justify-content: space-between;
351
- padding: 10px;
352
- border-bottom: 1px solid $primary-90;
353
-
354
- &:last-child {
355
- border-bottom: 1px dashed $primary-90;
356
- }
357
-
358
- a.inline-button {
359
- font-size: 12px;
360
- color: $primary-10;
361
- text-decoration: underline;
362
- }
363
-
364
- span {
365
- color: $primary-10;
366
- font-size: 12px;
367
- font-weight: 600;
368
- }
369
-
370
- p {
371
- font-weight: 500;
372
- font-size: 13px;
373
- color: $primary-10;
374
-
375
- span {
376
- font-size: 12px;
377
- font-weight: 300;
378
- }
379
- }
380
- }
381
- }
382
- }
383
- }
384
-
385
- .button.ac-button {
386
- &.grediant-1 {
387
- border-radius: 4px;
388
- color: $white-100;
389
- letter-spacing: 0;
390
- font-size: 12px;
391
- border: none;
392
- background-color: #f99a00;
393
- /* Old browsers */
394
- background: -moz-linear-gradient(left, #f99a00 0%, #3f19ad 100%);
395
- /* FF3.6-15 */
396
- background: -webkit-linear-gradient(left, #f99a00 0%, #3f19ad 100%);
397
- /* Chrome10-25,Safari5.1-6 */
398
- background: linear-gradient(to right, #f99a00 0%, #3f19ad 100%);
399
- /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
400
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f99a00', endColorstr='#3f19ad', GradientType=1);
401
- /* IE6-9 */
402
- background: linear-gradient(90deg, #f99a00 0%, #3f19ad 98.84%);
403
-
404
- &:hover {
405
- opacity: 0.8;
406
- letter-spacing: 0.2px;
407
- }
408
- }
409
- }
410
-
411
- // offer card scss end
412
-
413
- // recent card start
414
- .recent-cluster-wrapper {
415
- flex-wrap: wrap;
416
-
417
- .ac-single-card {
418
- border: 1px solid $primary-90;
419
-
420
- &:hover {
421
- border: 1px solid transparent;
422
- }
423
-
424
- &.vendor-card {
425
- background-color: $white-100-lighter;
426
- width: 183px;
427
- padding: 15px 15px 20px;
428
- height: 115px;
429
-
430
- .ac-card-logo {
431
- max-width: 36px;
432
- height: auto;
433
- margin: 0 auto 15px;
434
-
435
- .card-status {
436
- width: 16px;
437
- height: 16px;
438
- right: -5px;
439
- top: 0;
440
- }
441
- }
442
-
443
- .ac-card-name {
444
- p {
445
- font-weight: normal;
446
- font-size: 12px;
447
- line-height: 14px;
448
- text-align: center;
449
- color: $primary-10;
450
- }
451
- }
452
- }
453
- }
454
- }
455
-
456
- // recent card end
457
-
458
- // features card start
459
- .features-card-wrapper {
460
- background-color: $white-100;
461
- padding: 10px;
462
- border-radius: 4px;
463
- border: 1px solid $primary-90;
464
-
465
- .f-header {
466
- display: grid;
467
- grid-template-columns: 40px auto 20px;
468
- grid-gap: 15px;
469
- border-bottom: 1px solid $primary-90;
470
- padding-bottom: 10px;
471
- margin-bottom: 10px;
472
- align-items: flex-start;
473
-
474
- .f-title-tag {
475
- .tag {
476
- background-color: $primary;
477
- color: $white-100;
478
- }
479
- }
480
- }
481
-
482
- p {
483
- font-style: normal;
484
- font-weight: normal;
485
- font-size: 13px;
486
- line-height: 160%;
487
- color: $primary-10;
488
- margin-bottom: 25px;
489
- }
490
-
491
- .features-name {
492
- display: flex;
493
- justify-content: space-between;
494
-
495
- .name,
496
- .f-number {
497
- font-weight: 500;
498
- font-size: 13px;
499
- line-height: 16px;
500
- color: $primary-10;
501
- margin-bottom: 10px;
502
- }
503
- }
504
-
505
- .features-list {
506
- ul {
507
- li {
508
- font-style: normal;
509
- font-weight: normal;
510
- font-size: 13px;
511
- line-height: 163%;
512
- color: $primary-10;
513
- margin-bottom: 5px;
514
-
515
- i.fa {
516
- padding-right: 10px;
517
- }
518
- }
519
- }
520
- }
521
- }
522
-
523
- // features card end
524
- // dark theme start
525
- .is-dark-theme {
526
- .ac-single-card {
527
- background-color: var(--dark-bg-light);
528
-
529
- &.vendor-card {
530
- background-color: var(--dark-bg-light);
531
- }
532
-
533
- .ac-card-body {
534
- p {
535
- color: $ac-label-text;
536
- }
537
- }
538
- }
539
-
540
- .pricing-card-wrpper {
541
- &.offer-card {
542
- background-color: var(--dark-bg-light);
543
- }
544
-
545
- .ac-card {
546
- background-color: var(--dark-bg-light);
547
- }
548
- }
549
- }
550
-
551
- // dark theme end
552
- /****************************************
553
- Responsive Classes
554
- *****************************************/
555
- // Extra small devices (portrait phones, less than 576px)
556
- @media (max-width: 575.98px) {}
557
-
558
- // Small devices (landscape phones, 576px and up)
559
- @media (min-width: 576px) and (max-width: 767.98px) {}
560
-
561
- // Medium devices (tablets, 768px and up)
562
- @media (min-width: 768px) and (max-width: 991.98px) {}
563
-
564
- // Large devices (desktops, 992px and up)
565
- @media (min-width: 992px) and (max-width: 1199.98px) {}
566
-
567
- // Extra large devices (large desktops, 1200px and up)
568
- @media (min-width: 1200px) {
569
- .pricing-card-wrpper {
570
- .ac-card {
571
- ul {
572
- li {
573
- p {
574
- font-size: 13px;
575
- line-height: 1;
576
- }
577
- }
578
- }
579
- }
580
- }
581
-
582
- .ac-single-card {
583
- &.card-counter {
584
- .card-header {
585
- margin-bottom: 30px;
586
- }
587
- }
588
- }
589
- }