@appscode/design-system 1.1.0-beta.2 → 1.1.0-beta.4

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