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

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 (90) hide show
  1. package/base/_video-player.scss +65 -0
  2. package/base/utilities/_all.scss +5 -4
  3. package/base/utilities/_colors.scss +408 -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} +165 -311
  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-alert-box.scss +205 -262
  11. package/components/_ac-modal.scss +212 -212
  12. package/components/_ac-multi-select.scss +84 -55
  13. package/components/_ac-options.scss +122 -122
  14. package/components/_ac-table.scss +503 -502
  15. package/components/_ac-tabs.scss +4 -3
  16. package/components/_ac-tags.scss +116 -116
  17. package/components/_accordion.scss +117 -0
  18. package/components/_all.scss +34 -29
  19. package/components/_app-drawer.scss +0 -134
  20. package/components/_breadcumb.scss +0 -71
  21. package/components/_buttons.scss +779 -779
  22. package/components/_dashboard-header.scss +0 -115
  23. package/components/_image-upload.scss +2 -2
  24. package/components/_input-card.scss +232 -0
  25. package/components/_input.scss +947 -0
  26. package/components/_left-sidebar-menu.scss +346 -475
  27. package/components/_navbar.scss +786 -752
  28. package/components/_pagination.scss +9 -27
  29. package/components/_payment-card.scss +1 -1
  30. package/components/_terminal.scss +331 -0
  31. package/components/_widget-menu.scss +247 -247
  32. package/components/_wizard.scss +522 -801
  33. package/components/ac-toaster/_ac-toasted.scss +6 -11
  34. package/components/ui-builder/_ui-builder.scss +17 -21
  35. package/components/ui-builder/_vue-open-api.scss +513 -0
  36. package/main.scss +26 -10
  37. package/package.json +1 -1
  38. package/plugins/theme.js +11 -9
  39. package/plugins/vue-toaster.js +1 -1
  40. package/vue-components/types/importFlow.ts +16 -0
  41. package/vue-components/v2/banner/Banner.vue +1 -1
  42. package/vue-components/v2/card/Card.vue +1 -1
  43. package/vue-components/v2/editor/FilteredFileEditor.vue +2 -2
  44. package/vue-components/v2/modal/Modal.vue +1 -1
  45. package/vue-components/v2/pagination/Pagination.vue +1 -0
  46. package/vue-components/v3/alert/Alert.vue +6 -6
  47. package/vue-components/v3/banner/Banner.vue +2 -2
  48. package/vue-components/v3/breadcrumbs/Breadcrumb.vue +4 -2
  49. package/vue-components/v3/button/Button.vue +12 -0
  50. package/vue-components/v3/cards/Card.vue +1 -1
  51. package/vue-components/v3/cards/Cluster.vue +3 -4
  52. package/vue-components/v3/cards/Counter.vue +12 -0
  53. package/vue-components/v3/cards/FeatureCard.vue +31 -0
  54. package/vue-components/v3/cards/InfoCard.vue +4 -9
  55. package/vue-components/v3/cards/Monitoring.vue +1 -1
  56. package/vue-components/v3/cards/Vendor.vue +67 -5
  57. package/vue-components/v3/content/ContentTable.vue +7 -2
  58. package/vue-components/v3/editor/FilteredFileEditor.vue +200 -3
  59. package/vue-components/v3/footer/FooterItem.vue +4 -1
  60. package/vue-components/v3/footer/Info.vue +10 -8
  61. package/vue-components/v3/footer/Status.vue +27 -23
  62. package/vue-components/v3/footer/Usage.vue +20 -30
  63. package/vue-components/v3/form/Form.vue +0 -3
  64. package/vue-components/v3/form-fields/AcSingleInput.vue +9 -1
  65. package/vue-components/v3/header/Header.vue +4 -3
  66. package/vue-components/v3/loaders/InfoCardLoader.vue +65 -0
  67. package/vue-components/v3/modal/Modal.vue +1 -1
  68. package/vue-components/v3/navbar/Navbar.vue +3 -1
  69. package/vue-components/v3/navbar/User.vue +4 -4
  70. package/vue-components/v3/notification/AlertBox.vue +233 -4
  71. package/vue-components/v3/option-dots/Options.vue +2 -1
  72. package/vue-components/v3/pagination/Pagination.vue +2 -1
  73. package/vue-components/v3/preloader/Preloader.vue +1 -1
  74. package/vue-components/v3/searchbars/SearchBar.vue +10 -2
  75. package/vue-components/v3/sidebar/ClusterSwitcher.vue +18 -14
  76. package/vue-components/v3/sidebar/Sidebar.vue +5 -9
  77. package/vue-components/v3/sidebar/SidebarFooter.vue +3 -3
  78. package/vue-components/v3/sidebar/SidebarHeader.vue +3 -3
  79. package/vue-components/v3/sidebar/Steps.vue +152 -0
  80. package/vue-components/v3/table/InfoTable.vue +6 -4
  81. package/vue-components/v3/table/Table.vue +32 -25
  82. package/vue-components/v3/table/TableRow.vue +2 -2
  83. package/base/utilities/_derived-variables.scss +0 -24
  84. package/base/utilities/_initial-variables.scss +0 -217
  85. package/components/_ac-accordion.scss +0 -117
  86. package/components/_ac-card.scss +0 -597
  87. package/components/_ac-input.scss +0 -876
  88. package/components/_ac-terminal.scss +0 -270
  89. package/components/_basic-card.scss +0 -118
  90. /package/components/{_ac-report.scss → _report.scss} +0 -0
@@ -1,152 +1,41 @@
1
- // default layout css
2
- .ac-system-body {
3
- display: grid;
4
- grid-gap: 0px;
5
- grid-template-columns: 270px calc(100% - 270px);
6
- padding-top: 50px;
7
-
8
- &.is-fullwidth {
9
- grid-template-columns: auto !important;
10
-
11
- &.has-info-content {
12
- grid-template-columns: 270px calc(100% - 540px) 270px;
13
- }
14
- }
15
-
16
- &.has-info-content {
17
- grid-template-columns: 270px calc(100% - 540px) 270px;
18
-
19
- .ac-system-content {
20
- &.pr-15 {
21
- padding-right: 0 !important;
22
- }
23
- }
24
- }
25
-
26
- &.in-ui-builder {
27
- grid-template-columns: calc(100% - 270px) 270px !important;
28
- }
29
-
30
- &.has-ui-builder {
31
- grid-template-columns: 70px calc(100% - 70px);
32
- grid-gap: 0;
33
-
34
- .inner-header {
35
- position: sticky;
36
- top: 100px;
37
- background-color: $white-100;
38
- z-index: 997;
39
- }
40
-
41
- .ac-system-content {
42
- &.pr-15 {
43
- padding-right: 0 !important;
44
- }
45
-
46
- .ac-terminal {
47
- width: calc(100% - 290px);
48
- left: 289px;
49
- }
50
- }
51
-
52
- .ac-system-left-sidebar.is-expanded {
53
- z-index: 998;
54
- }
55
-
56
- &.expanded-sidebar {
57
- grid-gap: 0px;
58
- z-index: 9;
59
- grid-template-columns: 270px calc(100% - 270px);
60
-
61
- .is-fullwidth {
62
- .ac-system-content {
63
- padding-left: 0;
64
- }
65
- }
66
- }
67
-
68
- .is-fullwidth {
69
- grid-template-columns: auto;
70
-
71
- &.has-info-content {
72
- grid-template-columns: calc(100% - 260px) 240px;
73
- }
74
-
75
- .ac-system-content {
76
- padding-left: 20px;
77
- }
78
- }
79
-
80
- .ac-system-body {
81
- padding-top: 0;
82
- grid-template-columns: 220px calc(100% - 440px) 220px;
83
-
84
- .ac-system-left-sidebar {
85
- border-right: none !important;
86
- height: calc(100vh - 60px);
87
-
88
- .ac-left-sidebar-wrapper {
89
- position: fixed;
90
- top: 140px;
91
- width: 219px;
92
- border-right: 1px solid $primary-90;
93
- height: 100%;
1
+ // border left, right, top, bottom none
2
+ $positions: (
3
+ "b": "bottom",
4
+ "t": "top",
5
+ "l": "left",
6
+ "r": "right",
7
+ );
94
8
 
95
- ul.menu-list-wrapper {
96
- padding-top: 10px;
97
- }
98
- }
99
- }
100
- }
9
+ @each $key,
10
+ $position in $positions {
11
+ .b-#{$key}-n {
12
+ border-#{$position}: none !important;
101
13
  }
14
+ }
102
15
 
103
- &.has-deploy-flow {
104
- grid-template-columns: 65% 35%;
16
+ // border position 1px
17
+ @each $key,
18
+ $position in $positions {
19
+ .b-#{$key}-1 {
20
+ border-#{$position}: 1px solid $primary-90;
105
21
  }
22
+ }
106
23
 
107
- .ac-system-left-sidebar {
108
- // border-right: 1px solid $primary-90;
109
- // box-shadow: none;
110
-
111
- &.is-expanded {
112
- z-index: 998;
113
-
114
- .ac-product-logo {
115
- width: 270px !important;
116
- justify-content: flex-start !important;
117
- }
118
-
119
- .menu-list {
120
- box-shadow: 2px -1px 8px rgba(26, 80, 151, 0.16);
121
-
122
- &.ac-menu-list {
123
- width: 270px !important;
124
- background-color: $white-100;
125
-
126
- li {
127
- a {
128
- strong {
129
- display: block !important;
130
- }
131
- }
132
-
133
- ul {
134
- li {
135
- a {
136
- padding-left: 50px !important;
137
- }
138
- }
139
- }
140
- }
141
- }
142
- }
143
- }
144
- }
24
+ // border 1px
25
+ .b-1 {
26
+ border: 1px solid $primary-90;
145
27
  }
146
28
 
147
- .ac-system-body {
148
- &.is-preview-step {
149
- grid-template-columns: calc(100% - 270px) 270px !important;
29
+ // for ellipsis
30
+ @for $i from 0 through 10 {
31
+ .is-ellipsis-#{$i} {
32
+ overflow: hidden;
33
+ text-overflow: ellipsis;
34
+ display: -webkit-box;
35
+ line-clamp: #{$i};
36
+ -webkit-line-clamp: #{$i};
37
+ box-orient: vertical;
38
+ -webkit-box-orient: vertical;
150
39
  }
151
40
  }
152
41
 
@@ -154,9 +43,9 @@
154
43
  width: 720px;
155
44
  }
156
45
 
157
- .dropdown-content {
158
- background-color: $white-100;
159
- }
46
+ // .dropdown-content {
47
+ // background-color: $white-100;
48
+ // }
160
49
 
161
50
  // color swatch start
162
51
  input[type="color"] {
@@ -186,33 +75,37 @@ input[type="color"]::-moz-color-swatch {
186
75
  border-radius: 50%;
187
76
  }
188
77
 
78
+ hr {
79
+ background-color: $primary-90;
80
+ }
81
+
189
82
  // color swatch end
190
83
 
191
- .is-dark-theme {
192
- .dropdown-content {
193
- background-color: $dark-bg-light;
194
- }
195
- }
84
+ // .is-dark-theme {
85
+ // .dropdown-content {
86
+ // background-color: $dark-bg-light;
87
+ // }
88
+ // }
196
89
 
197
- .ac-preloader {
198
- color: $primary-10;
199
- }
90
+ // .ac-preloader {
91
+ // color: $primary-10;
92
+ // }
200
93
 
201
- .section-padding {
202
- padding: 100px 0;
203
- }
94
+ // .section-padding {
95
+ // padding: 100px 0;
96
+ // }
204
97
 
205
- .section-padding-60 {
206
- padding: 60px 0;
207
- }
98
+ // .section-padding-60 {
99
+ // padding: 60px 0;
100
+ // }
208
101
 
209
- .short-section-padding {
210
- padding: 50px 0;
211
- }
102
+ // .short-section-padding {
103
+ // padding: 50px 0;
104
+ // }
212
105
 
213
- .section-divider {
214
- background-color: $primary-90;
215
- }
106
+ // .section-divider {
107
+ // background-color: $primary-90;
108
+ // }
216
109
 
217
110
  .is-auto-hight {
218
111
  height: auto !important;
@@ -237,44 +130,6 @@ input[type="color"]::-moz-color-swatch {
237
130
  border: none !important;
238
131
  }
239
132
 
240
- .b-1 {
241
- border: 1px solid $primary-90;
242
- }
243
-
244
- // border left, right, top, bottom none
245
- $positions: (
246
- "b": "bottom",
247
- "t": "top",
248
- "l": "left",
249
- "r": "right",
250
- );
251
-
252
- @each $key, $position in $positions {
253
- .b-#{$key}-n {
254
- border-#{$position}: none !important;
255
- }
256
- }
257
-
258
- // border 1px
259
- @each $key, $position in $positions {
260
- .b-#{$key}-1 {
261
- border-#{$position}: 1px solid $primary-90;
262
- }
263
- }
264
-
265
- // for ellipsis
266
- @for $i from 0 through 10 {
267
- .is-ellipsis-#{$i} {
268
- overflow: hidden;
269
- text-overflow: ellipsis;
270
- display: -webkit-box;
271
- line-clamp: #{$i};
272
- -webkit-line-clamp: #{$i};
273
- box-orient: vertical;
274
- -webkit-box-orient: vertical;
275
- }
276
- }
277
-
278
133
  .is-disabled {
279
134
  opacity: 0.5;
280
135
  cursor: not-allowed;
@@ -315,17 +170,17 @@ $positions: (
315
170
  vertical-align: middle;
316
171
  }
317
172
 
318
- .is-flex-start {
319
- justify-content: flex-start !important;
320
- }
173
+ // .is-flex-start {
174
+ // justify-content: flex-start !important;
175
+ // }
321
176
 
322
- .is-flex-center {
323
- justify-content: center !important;
324
- }
177
+ // .is-flex-center {
178
+ // justify-content: center !important;
179
+ // }
325
180
 
326
- .is-flex-end {
327
- justify-content: flex-end;
328
- }
181
+ // .is-flex-end {
182
+ // justify-content: flex-end;
183
+ // }
329
184
 
330
185
  .ac-vcentered {
331
186
  display: flex;
@@ -333,6 +188,7 @@ $positions: (
333
188
  align-items: center;
334
189
  }
335
190
 
191
+
336
192
  .ac-hscrollbar {
337
193
  padding: 15px;
338
194
  transition: 0.3s ease-in-out;
@@ -466,7 +322,6 @@ $positions: (
466
322
  }
467
323
  }
468
324
 
469
- // flex end
470
325
  .is-transparent-bg {
471
326
  background-color: transparent !important;
472
327
  }
@@ -484,14 +339,14 @@ $positions: (
484
339
  background-color: transparent;
485
340
  }
486
341
 
487
- .is-error {
488
- font-size: 12px;
489
- line-height: 22px;
490
- color: $danger;
491
- text-align: left;
492
- }
342
+ // .is-danger {
343
+ // font-size: 12px;
344
+ // line-height: 22px;
345
+ // color: $danger;
346
+ // text-align: left;
347
+ // }
493
348
 
494
- p.is-error {
349
+ p.is-danger {
495
350
  color: $danger;
496
351
  }
497
352
 
@@ -510,9 +365,9 @@ code {
510
365
  color: $danger !important;
511
366
  }
512
367
 
513
- .responsive-only {
514
- display: none;
515
- }
368
+ // .responsive-only {
369
+ // display: none;
370
+ // }
516
371
 
517
372
  button {
518
373
  &:focus {
@@ -522,44 +377,44 @@ button {
522
377
  }
523
378
 
524
379
  // line title global start
525
- .ac-line-title {
526
- position: relative;
527
- z-index: 1;
528
- margin-bottom: 10px;
529
-
530
- &:after {
531
- position: absolute;
532
- content: "";
533
- left: 0;
534
- top: 12px;
535
- width: 100%;
536
- height: 1px;
537
- background-color: $primary-90;
538
- }
539
-
540
- h5 {
541
- color: $primary-10;
542
- background-color: $white-100;
543
- z-index: 2;
544
- display: inline-block;
545
- position: relative;
546
- padding-right: 5px;
547
- font-family: "roboto";
548
- }
549
- }
380
+ // .ac-line-title {
381
+ // position: relative;
382
+ // z-index: 1;
383
+ // margin-bottom: 10px;
384
+
385
+ // &:after {
386
+ // position: absolute;
387
+ // content: "";
388
+ // left: 0;
389
+ // top: 12px;
390
+ // width: 100%;
391
+ // height: 1px;
392
+ // background-color: $primary-90;
393
+ // }
394
+
395
+ // h5 {
396
+ // color: $primary-10;
397
+ // background-color: $white-100;
398
+ // z-index: 2;
399
+ // display: inline-block;
400
+ // position: relative;
401
+ // padding-right: 5px;
402
+ // font-family: "roboto";
403
+ // }
404
+ // }
550
405
 
551
406
  // line title global end
552
407
  // docs preview start
553
- .docs-preview {
554
- pre {
555
- margin: 0;
556
- display: inline-flex;
557
- align-items: center;
558
- font-size: 12px;
559
- font-weight: 600;
560
- padding: 2px 5px;
561
- }
562
- }
408
+ // .docs-preview {
409
+ // pre {
410
+ // margin: 0;
411
+ // display: inline-flex;
412
+ // align-items: center;
413
+ // font-size: 12px;
414
+ // font-weight: 600;
415
+ // padding: 2px 5px;
416
+ // }
417
+ // }
563
418
 
564
419
  // docs preview end
565
420
  // background color start
@@ -575,6 +430,7 @@ button {
575
430
 
576
431
  // Shake animation
577
432
  @keyframes shake {
433
+
578
434
  10%,
579
435
  90% {
580
436
  transform: translate3d(-1px, 0, 0);
@@ -837,29 +693,29 @@ $border_color_4: transparent transparent #585d6e transparent;
837
693
  // Customize tooltip end
838
694
 
839
695
  // ac-footer sticky start
840
- .ac-footer-action {
841
- margin-top: 10px;
842
- padding-top: 10px;
843
- background-color: $white-100;
844
- padding: 10px 20px;
845
- margin-left: 0;
846
- margin-right: 0;
847
- margin-left: -20px;
848
- border: none;
849
- border-radius: 0;
850
- border-top: 1px solid $primary-90;
851
-
852
- &.is-sticky {
853
- position: sticky;
854
- bottom: 0;
855
- width: calc(100% + 20px);
856
- margin-bottom: -4px;
857
- z-index: 999;
858
- border: none;
859
- border-top: 1px solid $primary-90;
860
- box-shadow: none;
861
- }
862
- }
696
+ // .ac-footer-action {
697
+ // margin-top: 10px;
698
+ // padding-top: 10px;
699
+ // background-color: $white-100;
700
+ // padding: 10px 20px;
701
+ // margin-left: 0;
702
+ // margin-right: 0;
703
+ // margin-left: -20px;
704
+ // border: none;
705
+ // border-radius: 0;
706
+ // border-top: 1px solid $primary-90;
707
+
708
+ // &.is-sticky {
709
+ // position: sticky;
710
+ // bottom: 0;
711
+ // width: calc(100% + 20px);
712
+ // margin-bottom: -4px;
713
+ // z-index: 999;
714
+ // border: none;
715
+ // border-top: 1px solid $primary-90;
716
+ // box-shadow: none;
717
+ // }
718
+ // }
863
719
 
864
720
  // status css
865
721
  .status {
@@ -874,7 +730,7 @@ $border_color_4: transparent transparent #585d6e transparent;
874
730
  background-color: #27ae60;
875
731
  }
876
732
 
877
- &.is-error {
733
+ &.is-danger {
878
734
  background-color: #eb5757;
879
735
  }
880
736
  }
@@ -897,50 +753,48 @@ Responsive Classes
897
753
 
898
754
  // Extra small devices (portrait phones, less than 576px)
899
755
  @media (max-width: 575.98px) {
900
- .responsive-only {
901
- display: block;
902
- }
756
+ // .responsive-only {
757
+ // display: block;
758
+ // }
903
759
 
904
- .ac-system-body {
905
- grid-gap: 15px;
906
- grid-template-columns: 70px calc(100% - 100px);
760
+ // .ac-system-body {
761
+ // grid-gap: 15px;
762
+ // grid-template-columns: 70px calc(100% - 100px);
907
763
 
908
- .ac-system-content {
909
- &.mr-20 {
910
- margin-right: 0 !important;
911
- }
912
- }
913
- }
764
+ // .ac-system-content {
765
+ // &.mr-20 {
766
+ // margin-right: 0 !important;
767
+ // }
768
+ // }
769
+ // }
914
770
  }
915
771
 
916
772
  // Small devices (landscape phones, 576px and up)
917
- @media (min-width: 576px) and (max-width: 767.98px) {
918
- }
773
+ @media (min-width: 576px) and (max-width: 767.98px) {}
919
774
 
920
775
  // Medium devices (tablets, 768px and up)
921
776
  @media (min-width: 768px) and (max-width: 991.98px) {
922
- .ac-system-body {
923
- grid-gap: 15px;
924
- grid-template-columns: 240px calc(100% - 255px);
925
- }
777
+ // .ac-system-body {
778
+ // grid-gap: 15px;
779
+ // grid-template-columns: 240px calc(100% - 255px);
780
+ // }
926
781
  }
927
782
 
928
783
  // Large devices (desktops, 992px and up)
929
784
  @media (min-width: 992px) and (max-width: 1199.98px) {
930
- .ac-system-body {
931
- grid-gap: 0px;
932
- grid-template-columns: 240px calc(100% - 260px);
933
- }
785
+ // .ac-system-body {
786
+ // grid-gap: 0px;
787
+ // grid-template-columns: 240px calc(100% - 260px);
788
+ // }
934
789
  }
935
790
 
936
791
  // Extra large devices (large desktops, 1200px and up)
937
- @media (min-width: 1200px) {
938
- }
792
+ @media (min-width: 1200px) {}
939
793
 
940
794
  // FHD devices
941
795
  @media (min-width: 1408px) and (max-width: 1600) {
942
- .ac-system-body {
943
- grid-gap: 0px;
944
- grid-template-columns: 240px calc(100% - 260px);
945
- }
946
- }
796
+ // .ac-system-body {
797
+ // grid-gap: 0px;
798
+ // grid-template-columns: 240px calc(100% - 260px);
799
+ // }
800
+ }