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

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 (105) hide show
  1. package/base/_video-player.scss +65 -0
  2. package/base/utilities/_all.scss +5 -4
  3. package/base/utilities/_colors.scss +341 -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} +167 -313
  7. package/base/utilities/_layouts.scss +157 -0
  8. package/base/utilities/_spacing.scss +96 -0
  9. package/base/utilities/_typography.scss +36 -4
  10. package/base/utilities/dark-theme.scss +2 -8
  11. package/components/_ac-alert-box.scss +205 -262
  12. package/components/_ac-code-highlight.scss +9 -12
  13. package/components/_ac-drag.scss +4 -4
  14. package/components/_ac-modal.scss +212 -212
  15. package/components/_ac-multi-select.scss +101 -72
  16. package/components/_ac-options.scss +122 -122
  17. package/components/_ac-select-box.scss +5 -5
  18. package/components/_ac-table.scss +503 -502
  19. package/components/_ac-tabs.scss +16 -16
  20. package/components/_ac-tags.scss +116 -116
  21. package/components/_accordion.scss +117 -0
  22. package/components/_all.scss +34 -29
  23. package/components/_app-drawer.scss +0 -134
  24. package/components/_breadcumb.scss +0 -71
  25. package/components/_buttons.scss +779 -779
  26. package/components/_dashboard-header.scss +0 -115
  27. package/components/_image-upload.scss +6 -6
  28. package/components/_input-card.scss +232 -0
  29. package/components/_input.scss +947 -0
  30. package/components/_left-sidebar-menu.scss +350 -483
  31. package/components/_monaco-editor.scss +2 -2
  32. package/components/_navbar.scss +786 -752
  33. package/components/_nested-list.scss +2 -2
  34. package/components/_overview-info.scss +3 -3
  35. package/components/_pagination.scss +9 -27
  36. package/components/_payment-card.scss +1 -1
  37. package/components/_pricing-table.scss +5 -5
  38. package/components/_progress-bar.scss +61 -74
  39. package/components/_subscription-card.scss +8 -10
  40. package/components/_table-of-content.scss +4 -4
  41. package/components/_terminal.scss +331 -0
  42. package/components/_widget-menu.scss +252 -257
  43. package/components/_wizard.scss +522 -801
  44. package/components/ac-toaster/_ac-toasted.scss +6 -11
  45. package/components/bbum/_information-center.scss +8 -10
  46. package/components/bbum/_mobile-desktop.scss +9 -14
  47. package/components/bbum/_single-post-preview.scss +9 -9
  48. package/components/ui-builder/_ui-builder.scss +18 -22
  49. package/components/ui-builder/_vue-open-api.scss +514 -1
  50. package/layouts/_code-preview.scss +6 -7
  51. package/main.scss +26 -10
  52. package/package.json +1 -1
  53. package/plugins/theme.js +11 -9
  54. package/plugins/vue-toaster.js +1 -1
  55. package/vue-components/types/importFlow.ts +16 -0
  56. package/vue-components/v2/banner/Banner.vue +1 -1
  57. package/vue-components/v2/card/Card.vue +1 -1
  58. package/vue-components/v2/editor/FilteredFileEditor.vue +2 -2
  59. package/vue-components/v2/modal/Modal.vue +1 -1
  60. package/vue-components/v2/pagination/Pagination.vue +1 -0
  61. package/vue-components/v3/alert/Alert.vue +7 -7
  62. package/vue-components/v3/banner/Banner.vue +2 -2
  63. package/vue-components/v3/breadcrumbs/Breadcrumb.vue +4 -2
  64. package/vue-components/v3/button/Button.vue +22 -10
  65. package/vue-components/v3/cards/Card.vue +1 -1
  66. package/vue-components/v3/cards/Cluster.vue +3 -4
  67. package/vue-components/v3/cards/Counter.vue +12 -0
  68. package/vue-components/v3/cards/FeatureCard.vue +31 -0
  69. package/vue-components/v3/cards/InfoCard.vue +4 -9
  70. package/vue-components/v3/cards/Monitoring.vue +1 -1
  71. package/vue-components/v3/cards/Vendor.vue +67 -5
  72. package/vue-components/v3/content/ContentTable.vue +7 -2
  73. package/vue-components/v3/editor/FilteredFileEditor.vue +200 -3
  74. package/vue-components/v3/footer/FooterItem.vue +4 -1
  75. package/vue-components/v3/footer/Info.vue +10 -8
  76. package/vue-components/v3/footer/Status.vue +21 -23
  77. package/vue-components/v3/footer/Usage.vue +20 -30
  78. package/vue-components/v3/form/Form.vue +0 -3
  79. package/vue-components/v3/form-fields/AcSingleInput.vue +9 -1
  80. package/vue-components/v3/header/Header.vue +5 -4
  81. package/vue-components/v3/loaders/InfoCardLoader.vue +65 -0
  82. package/vue-components/v3/modal/Modal.vue +1 -1
  83. package/vue-components/v3/navbar/Navbar.vue +3 -1
  84. package/vue-components/v3/navbar/User.vue +4 -4
  85. package/vue-components/v3/notification/AlertBox.vue +233 -4
  86. package/vue-components/v3/option-dots/Options.vue +2 -1
  87. package/vue-components/v3/pagination/Pagination.vue +2 -1
  88. package/vue-components/v3/preloader/Preloader.vue +1 -1
  89. package/vue-components/v3/searchbars/SearchBar.vue +10 -2
  90. package/vue-components/v3/sidebar/ClusterSwitcher.vue +35 -31
  91. package/vue-components/v3/sidebar/Sidebar.vue +7 -11
  92. package/vue-components/v3/sidebar/SidebarFooter.vue +3 -3
  93. package/vue-components/v3/sidebar/SidebarHeader.vue +3 -3
  94. package/vue-components/v3/sidebar/Steps.vue +152 -0
  95. package/vue-components/v3/table/InfoTable.vue +6 -4
  96. package/vue-components/v3/table/Table.vue +38 -31
  97. package/vue-components/v3/table/TableRow.vue +2 -2
  98. package/base/utilities/_derived-variables.scss +0 -24
  99. package/base/utilities/_initial-variables.scss +0 -217
  100. package/components/_ac-accordion.scss +0 -117
  101. package/components/_ac-card.scss +0 -597
  102. package/components/_ac-input.scss +0 -876
  103. package/components/_ac-terminal.scss +0 -270
  104. package/components/_basic-card.scss +0 -118
  105. /package/components/{_ac-report.scss → _report.scss} +0 -0
@@ -0,0 +1,157 @@
1
+ // default layout css
2
+ .ac-system-body {
3
+ display: grid;
4
+ grid-gap: 0px;
5
+ grid-template-columns: 250px calc(100% - 250px);
6
+ padding-top: 50px;
7
+ transition: 0.3s ease-in-out;
8
+
9
+ &.is-fullwidth {
10
+ grid-template-columns: auto !important;
11
+
12
+ // &.has-info-content {
13
+ // grid-template-columns: 250px calc(100% - 540px) 250px;
14
+ // }
15
+ }
16
+
17
+ // &.has-info-content {
18
+ // grid-template-columns: 250px calc(100% - 540px) 250px;
19
+
20
+ // .ac-system-content {
21
+ // &.pr-15 {
22
+ // padding-right: 0 !important;
23
+ // }
24
+ // }
25
+ // }
26
+
27
+ // &.in-ui-builder {
28
+ // grid-template-columns: calc(100% - 250px) 250px !important;
29
+ // }
30
+
31
+ // &.has-ui-builder {
32
+ // grid-template-columns: 70px calc(100% - 70px);
33
+ // grid-gap: 0;
34
+
35
+ // .inner-header {
36
+ // position: sticky;
37
+ // top: 100px;
38
+ // background-color: $white-100;
39
+ // z-index: 997;
40
+ // }
41
+
42
+ // .ac-system-content {
43
+ // &.pr-15 {
44
+ // padding-right: 0 !important;
45
+ // }
46
+
47
+ // .ac-terminal {
48
+ // width: calc(100% - 290px);
49
+ // left: 289px;
50
+ // }
51
+ // }
52
+
53
+ // // .ac-system-left-sidebar.is-expanded {
54
+ // // z-index: 998;
55
+ // // }
56
+
57
+ // // &.expanded-sidebar {
58
+ // // grid-gap: 0px;
59
+ // // z-index: 9;
60
+ // // grid-template-columns: 250px calc(100% - 250px);
61
+
62
+ // // .is-fullwidth {
63
+ // // .ac-system-content {
64
+ // // padding-left: 0;
65
+ // // }
66
+ // // }
67
+ // // }
68
+
69
+ // // .is-fullwidth {
70
+ // // grid-template-columns: auto;
71
+
72
+ // // &.has-info-content {
73
+ // // grid-template-columns: calc(100% - 260px) 240px;
74
+ // // }
75
+
76
+ // // .ac-system-content {
77
+ // // padding-left: 20px;
78
+ // // }
79
+ // // }
80
+
81
+ // // .ac-system-body {
82
+ // // padding-top: 0;
83
+ // // grid-template-columns: 220px calc(100% - 440px) 220px;
84
+
85
+ // // .ac-system-left-sidebar {
86
+ // // // border-right: none !important;
87
+ // // // height: calc(100vh - 60px);
88
+
89
+ // // .ac-left-sidebar-wrapper {
90
+ // // position: fixed;
91
+ // // top: 140px;
92
+ // // width: 219px;
93
+ // // border-right: 1px solid $primary-90;
94
+ // // height: 100%;
95
+
96
+ // // ul.menu-list-wrapper {
97
+ // // padding-top: 10px;
98
+ // // }
99
+ // // }
100
+ // // }
101
+ // // }
102
+ // }
103
+
104
+ // &.has-deploy-flow {
105
+ // grid-template-columns: 65% 35%;
106
+ // }
107
+
108
+ // .ac-system-left-sidebar {
109
+ // // border-right: 1px solid $primary-90;
110
+ // // box-shadow: none;
111
+
112
+ // &.is-expanded {
113
+ // z-index: 998;
114
+
115
+ // .ac-product-logo {
116
+ // width: 250px !important;
117
+ // justify-content: flex-start !important;
118
+ // }
119
+
120
+ // .menu-list {
121
+ // box-shadow: 2px -1px 8px rgba(26, 80, 151, 0.16);
122
+
123
+ // &.ac-menu-list {
124
+ // width: 250px !important;
125
+ // background-color: $white-100;
126
+
127
+ // li {
128
+ // a {
129
+ // strong {
130
+ // display: block !important;
131
+ // }
132
+ // }
133
+
134
+ // ul {
135
+ // li {
136
+ // a {
137
+ // padding-left: 50px !important;
138
+ // }
139
+ // }
140
+ // }
141
+ // }
142
+ // }
143
+ // }
144
+ // }
145
+ // }
146
+ }
147
+ // sidebar collapsed
148
+ .sidebar-collapsed {
149
+ .ac-system-body {
150
+ grid-template-columns: 60px calc(100% - 60px);
151
+ }
152
+ }
153
+ // .ac-system-body {
154
+ // &.is-preview-step {
155
+ // grid-template-columns: calc(100% - 250px) 250px !important;
156
+ // }
157
+ // }
@@ -0,0 +1,96 @@
1
+ /* Margin & Padding view-height & view-width */
2
+ @for $i from 0 through 100 {
3
+ .m-#{$i} {
4
+ margin: #{$i}px !important;
5
+ }
6
+
7
+ .mt-#{$i} {
8
+ margin-top: #{$i}px !important;
9
+ }
10
+
11
+ .mb-#{$i} {
12
+ margin-bottom: #{$i}px !important;
13
+ }
14
+
15
+ .ml-#{$i} {
16
+ margin-left: #{$i}px !important;
17
+ }
18
+
19
+ .mr-#{$i} {
20
+ margin-right: #{$i}px !important;
21
+ }
22
+
23
+ .p-#{$i} {
24
+ padding: #{$i}px !important;
25
+ }
26
+
27
+ .pt-#{$i} {
28
+ padding-top: #{$i}px !important;
29
+ }
30
+
31
+ .pb-#{$i} {
32
+ padding-bottom: #{$i}px !important;
33
+ }
34
+
35
+ .pl-#{$i} {
36
+ padding-left: #{$i}px !important;
37
+ }
38
+
39
+ .pr-#{$i} {
40
+ padding-right: #{$i}px !important;
41
+ }
42
+
43
+ .vh-#{$i} {
44
+ height: #{$i}vh !important;
45
+ }
46
+
47
+ .vw-#{$i} {
48
+ width: #{$i}vw !important;
49
+ }
50
+
51
+ .font-#{$i} {
52
+ font-size: #{$i}px !important;
53
+ }
54
+ }
55
+
56
+ /* Deafult height & widht */
57
+ @for $i from 0 through 300 {
58
+ .height-#{$i} {
59
+ height: #{$i}px !important;
60
+ }
61
+
62
+ .width-#{$i} {
63
+ width: #{$i}px !important;
64
+ }
65
+ }
66
+
67
+ .height-auto {
68
+ height: auto !important;
69
+ }
70
+
71
+ .width-auto {
72
+ width: auto !important;
73
+ }
74
+
75
+ /* Deafult z-index and font-weight*/
76
+ @for $i from 0 through 10 {
77
+ .z-index-#{$i} {
78
+ z-index: #{$i} !important;
79
+ }
80
+
81
+ .font-weight-#{$i*100} {
82
+ font-weight: #{$i * 100} !important;
83
+ }
84
+ }
85
+
86
+ .mx-auto {
87
+ margin: 0 auto;
88
+ }
89
+
90
+ .mr-auto {
91
+ margin-right: auto;
92
+ }
93
+
94
+ .ml-auto {
95
+ margin-left: auto;
96
+ }
@@ -1,14 +1,25 @@
1
+ // Typography
2
+ @import url("https://fonts.googleapis.com/css2?family=Inconsolata:wght@200;300;400;500;600;700&family=Roboto:ital,wght@0,400;0,500;0,700;0,900;1,400;1,500;1,700&display=swap");
3
+
4
+ $font-heading: "Roboto", sans-serif;
5
+ $font-paragraph: "Roboto", sans-serif;
6
+
1
7
  html,
2
8
  body {
3
- background-color: $ac-bg;
9
+ background-color: transparent;
4
10
  font-family: $font-paragraph;
5
11
  font-weight: 400;
6
12
  font-size: 13px;
7
13
  color: $primary-10;
8
14
  }
15
+
9
16
  p {
10
- font-size: 13px;
17
+ font-size: 1rem;
18
+ font-family: $font-paragraph;
19
+ font-weight: 400;
20
+ line-height: 150%;
11
21
  }
22
+
12
23
  h1,
13
24
  h2,
14
25
  h3,
@@ -16,7 +27,7 @@ h4,
16
27
  h5,
17
28
  h6 {
18
29
  font-family: $font-heading;
19
- font-weight: 500;
30
+ font-weight: 600;
20
31
  color: $primary-5;
21
32
  }
22
33
 
@@ -81,6 +92,26 @@ a {
81
92
  color: $primary;
82
93
  }
83
94
 
95
+ .text-xm {
96
+ font-size: 0.769rem; //10px
97
+ }
98
+
99
+ .text-sm {
100
+ font-size: 0.846rem; //11px
101
+ }
102
+
103
+ .text-base {
104
+ font-size: 1rem; //13px
105
+ }
106
+
107
+ .text-lg {
108
+ font-size: 1.077rem; //14px
109
+ }
110
+
111
+ .text-xl {
112
+ font-size: 1.231rem; //16px
113
+ }
114
+
84
115
  hr {
85
116
  background-color: $black-60;
86
117
  border: none;
@@ -100,6 +131,7 @@ strong {
100
131
  .is-font-bold {
101
132
  font-weight: 700;
102
133
  }
134
+
103
135
  .material-icons {
104
136
  font-size: 1em;
105
- }
137
+ }
@@ -1,5 +1,5 @@
1
1
  $dark-bg: var(--dark-bg);
2
- $dark-bg-light: var(--dark-bg-light);
2
+ $black-8: var(--dark-bg-light);
3
3
 
4
4
  .is-dark-theme {
5
5
  --ac-bg: var(--dark-bg);
@@ -17,10 +17,4 @@ $dark-bg-light: var(--dark-bg-light);
17
17
  --ac-white-lightest: #1f2229;
18
18
  --ac-label-text: #8c8c8c;
19
19
  --ac-bg-light-gray: #252830;
20
-
21
- --ac-color-value: hsl(
22
- var(--font-hsl-hue),
23
- var(--font-hsl-saturation),
24
- calc(var(--font-hsl-lightness) + 60%)
25
- );
26
- }
20
+ }