@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
@@ -1,262 +1,205 @@
1
- // for alert message
2
- .ac-notification {
3
- background-color: #dee7f5;
4
- font-size: 13px;
5
- color: $primary;
6
- min-height: 36px;
7
- display: flex;
8
- align-items: center;
9
- padding: 8px 16px;
10
- overflow: hidden;
11
- border: 1px solid $primary;
12
- border-radius: 4px;
13
- justify-content: flex-start;
14
- position: relative;
15
- z-index: 1;
16
- min-width: 280px;
17
-
18
- p {
19
- color: $primary;
20
-
21
- .close-icon {
22
- padding-right: 10px;
23
- font-size: 15px;
24
- }
25
-
26
- a {
27
- text-decoration: underline;
28
- color: $primary;
29
-
30
- &:hover {
31
- color: hsla(
32
- var(--hsl-hue),
33
- var(--hsl-saturation),
34
- calc(var(--hsl-lightness) - 10%),
35
- 1
36
- );
37
- }
38
- }
39
- }
40
-
41
- button.close {
42
- background-color: transparent;
43
- cursor: pointer;
44
- right: 0px;
45
- position: absolute;
46
- box-shadow: none;
47
- border: none;
48
- font-size: 14px;
49
- color: $danger;
50
- width: 40px;
51
- height: 100%;
52
- display: flex;
53
- align-items: center;
54
- justify-content: center;
55
- }
56
- }
57
-
58
- .toast {
59
- box-shadow: $ac-shadow-sm;
60
- border: 1px solid $primary-90;
61
- width: 350px;
62
-
63
- .toast-header {
64
- padding: 8px 12px;
65
- border-bottom: 1px solid $primary-90;
66
-
67
- .button {
68
- &:hover {
69
- color: #000000;
70
- }
71
- }
72
- }
73
-
74
- .toast-body {
75
- padding: 8px 12px;
76
- }
77
- }
78
-
79
- // mixin for .ac-notification
80
- @mixin acNotification($colorName) {
81
- background-color: scale-color($color: $colorName, $lightness: 80%);
82
- color: $white-100;
83
- border-color: $colorName;
84
-
85
- p {
86
- color: $colorName;
87
-
88
- a {
89
- color: $colorName;
90
-
91
- &:hover {
92
- color: $colorName;
93
- opacity: 0.8;
94
- }
95
- }
96
- }
97
- }
98
- @mixin acPrimaryNotification() {
99
- background-color: hsla(
100
- var(--hsl-hue),
101
- var(--hsl-saturation),
102
- var(--hsl-lightness),
103
- 0.2
104
- );
105
- color: $white-100;
106
- border-color: $primary;
107
-
108
- p {
109
- color: $primary;
110
-
111
- a {
112
- color: $primary;
113
-
114
- &:hover {
115
- color: $primary;
116
- opacity: 0.8;
117
- }
118
- }
119
- }
120
- }
121
-
122
- // is-primary
123
- .ac-notification.is-primary {
124
- @include acPrimaryNotification();
125
- }
126
-
127
- // is.info
128
- .ac-notification.is-info {
129
- @include acNotification($info);
130
- }
131
-
132
- // is.success
133
- .ac-notification.is-success {
134
- @include acNotification($success);
135
- }
136
-
137
- // is-error
138
- .ac-notification.is-error {
139
- @include acNotification($danger);
140
- }
141
-
142
- // is-warning
143
- .ac-notification.is-warning {
144
- @include acNotification($warning);
145
- }
146
-
147
- /*====================================
148
- AC Toast
149
- =====================================*/
150
-
151
- .ac-toast {
152
- width: 350px;
153
- display: flex;
154
- align-items: center;
155
- justify-content: space-between;
156
- font-size: 13px;
157
- border-radius: 4px;
158
- position: relative;
159
- padding-right: 30px;
160
- margin-bottom: 10px;
161
-
162
- * {
163
- color: $white-100;
164
- }
165
-
166
- p {
167
- padding-left: 16px;
168
-
169
- i.fa {
170
- padding-right: 0 !important;
171
- margin-right: 4px;
172
- }
173
- }
174
-
175
- a {
176
- font-weight: 500;
177
- text-decoration: underline;
178
- padding: 0 15px;
179
-
180
- &:hover {
181
- color: $white-100-lighter;
182
- }
183
- }
184
-
185
- button.close-button {
186
- border-radius: 0px;
187
- background-color: transparent;
188
- border: none;
189
- color: $white-100;
190
- position: absolute;
191
- right: 0;
192
- top: 0;
193
- padding: 5px;
194
- height: 100%;
195
- width: 30px;
196
- z-index: 1;
197
- cursor: pointer;
198
- border-left: 1px solid #dddddd;
199
- }
200
- }
201
-
202
- // mixin for .ac-toast
203
- @mixin acToast($colorName) {
204
- background-color: $colorName;
205
- color: $white-100;
206
- border-color: $colorName;
207
- }
208
-
209
- // is-primary
210
- .ac-toast.is-primary {
211
- @include acToast($primary);
212
- }
213
-
214
- // is-info
215
- .ac-toast.is-info {
216
- @include acToast($info);
217
- }
218
-
219
- // is.success
220
- .ac-toast.is-success {
221
- @include acToast($success);
222
- }
223
-
224
- // is-error
225
- .ac-toast.is-error {
226
- @include acToast($danger);
227
- }
228
-
229
- // is-warning
230
- .ac-toast.is-warning {
231
- @include acToast($warning);
232
- }
233
-
234
- // dark theme start
235
- .is-dark-theme {
236
- .ac-notification.is-error {
237
- background-color: $dark-bg-light;
238
- }
239
- }
240
- // dark theme end
241
- /****************************************
242
- Responsive Classes
243
- *****************************************/
244
- // Extra small devices (portrait phones, less than 576px)
245
- @media (max-width: 575.98px) {
246
- }
247
-
248
- // Small devices (landscape phones, 576px and up)
249
- @media (min-width: 576px) and (max-width: 767.98px) {
250
- }
251
-
252
- // Medium devices (tablets, 768px and up)
253
- @media (min-width: 768px) and (max-width: 991.98px) {
254
- }
255
-
256
- // Large devices (desktops, 992px and up)
257
- @media (min-width: 992px) and (max-width: 1199.98px) {
258
- }
259
-
260
- // Extra large devices (large desktops, 1200px and up)
261
- @media (min-width: 1200px) {
262
- }
1
+ // .toast {
2
+ // box-shadow: $ac-shadow-sm;
3
+ // border: 1px solid $primary-90;
4
+ // width: 350px;
5
+
6
+ // .toast-header {
7
+ // padding: 8px 12px;
8
+ // border-bottom: 1px solid $primary-90;
9
+
10
+ // .button {
11
+ // &:hover {
12
+ // color: #000000;
13
+ // }
14
+ // }
15
+ // }
16
+
17
+ // .toast-body {
18
+ // padding: 8px 12px;
19
+ // }
20
+ // }
21
+
22
+ // // mixin for .ac-notification
23
+ // @mixin acNotification($colorName) {
24
+ // background-color: scale-color($color: $colorName, $lightness: 80%);
25
+ // color: $white-100;
26
+ // border-color: $colorName;
27
+
28
+ // p {
29
+ // color: $colorName;
30
+
31
+ // a {
32
+ // color: $colorName;
33
+
34
+ // &:hover {
35
+ // color: $colorName;
36
+ // opacity: 0.8;
37
+ // }
38
+ // }
39
+ // }
40
+ // }
41
+ // @mixin acPrimaryNotification() {
42
+ // background-color: hsla(
43
+ // var(--hsl-hue),
44
+ // var(--hsl-saturation),
45
+ // var(--hsl-lightness),
46
+ // 0.2
47
+ // );
48
+ // color: $white-100;
49
+ // border-color: $primary;
50
+
51
+ // p {
52
+ // color: $primary;
53
+
54
+ // a {
55
+ // color: $primary;
56
+
57
+ // &:hover {
58
+ // color: $primary;
59
+ // opacity: 0.8;
60
+ // }
61
+ // }
62
+ // }
63
+ // }
64
+
65
+ // // is-primary
66
+ // .ac-notification.is-primary {
67
+ // @include acPrimaryNotification();
68
+ // }
69
+
70
+ // // is.info
71
+ // .ac-notification.is-info {
72
+ // @include acNotification($info);
73
+ // }
74
+
75
+ // // is.success
76
+ // .ac-notification.is-success {
77
+ // @include acNotification($success);
78
+ // }
79
+
80
+ // // is-danger
81
+ // .ac-notification.is-danger {
82
+ // @include acNotification($danger);
83
+ // }
84
+
85
+ // // is-warning
86
+ // .ac-notification.is-warning {
87
+ // @include acNotification($warning);
88
+ // }
89
+
90
+ // /*====================================
91
+ // AC Toast
92
+ // =====================================*/
93
+
94
+ // .ac-toast {
95
+ // width: 350px;
96
+ // display: flex;
97
+ // align-items: center;
98
+ // justify-content: space-between;
99
+ // font-size: 13px;
100
+ // border-radius: 4px;
101
+ // position: relative;
102
+ // padding-right: 30px;
103
+ // margin-bottom: 10px;
104
+
105
+ // * {
106
+ // color: $white-100;
107
+ // }
108
+
109
+ // p {
110
+ // padding-left: 16px;
111
+
112
+ // i.fa {
113
+ // padding-right: 0 !important;
114
+ // margin-right: 4px;
115
+ // }
116
+ // }
117
+
118
+ // a {
119
+ // font-weight: 500;
120
+ // text-decoration: underline;
121
+ // padding: 0 15px;
122
+
123
+ // &:hover {
124
+ // color: $primary-90;
125
+ // }
126
+ // }
127
+
128
+ // button.close-button {
129
+ // border-radius: 0px;
130
+ // background-color: transparent;
131
+ // border: none;
132
+ // color: $white-100;
133
+ // position: absolute;
134
+ // right: 0;
135
+ // top: 0;
136
+ // padding: 5px;
137
+ // height: 100%;
138
+ // width: 30px;
139
+ // z-index: 1;
140
+ // cursor: pointer;
141
+ // border-left: 1px solid #dddddd;
142
+ // }
143
+ // }
144
+
145
+ // // mixin for .ac-toast
146
+ // @mixin acToast($colorName) {
147
+ // background-color: $colorName;
148
+ // color: $white-100;
149
+ // border-color: $colorName;
150
+ // }
151
+
152
+ // // is-primary
153
+ // .ac-toast.is-primary {
154
+ // @include acToast($primary);
155
+ // }
156
+
157
+ // // is-info
158
+ // .ac-toast.is-info {
159
+ // @include acToast($info);
160
+ // }
161
+
162
+ // // is.success
163
+ // .ac-toast.is-success {
164
+ // @include acToast($success);
165
+ // }
166
+
167
+ // // is-danger
168
+ // .ac-toast.is-danger {
169
+ // @include acToast($danger);
170
+ // }
171
+
172
+ // // is-warning
173
+ // .ac-toast.is-warning {
174
+ // @include acToast($warning);
175
+ // }
176
+
177
+ // // dark theme start
178
+ // .is-dark-theme {
179
+ // .ac-notification.is-danger {
180
+ // background-color: $black-80;
181
+ // }
182
+ // }
183
+ // // dark theme end
184
+ // /****************************************
185
+ // Responsive Classes
186
+ // *****************************************/
187
+ // // Extra small devices (portrait phones, less than 576px)
188
+ // @media (max-width: 575.98px) {
189
+ // }
190
+
191
+ // // Small devices (landscape phones, 576px and up)
192
+ // @media (min-width: 576px) and (max-width: 767.98px) {
193
+ // }
194
+
195
+ // // Medium devices (tablets, 768px and up)
196
+ // @media (min-width: 768px) and (max-width: 991.98px) {
197
+ // }
198
+
199
+ // // Large devices (desktops, 992px and up)
200
+ // @media (min-width: 992px) and (max-width: 1199.98px) {
201
+ // }
202
+
203
+ // // Extra large devices (large desktops, 1200px and up)
204
+ // @media (min-width: 1200px) {
205
+ // }
@@ -2,8 +2,9 @@
2
2
  pre {
3
3
  font-size: 13px;
4
4
  color: $primary-10;
5
- background-color: $white-100-lighter;
5
+ background-color: $primary-90;
6
6
  }
7
+
7
8
  &.is-dark {
8
9
  pre {
9
10
  background-color: $primary-10;
@@ -11,6 +12,7 @@
11
12
  }
12
13
  }
13
14
  }
15
+
14
16
  code[class*="language-"],
15
17
  pre[class*="language-"] {
16
18
  font-size: 14px !important;
@@ -19,7 +21,7 @@ pre[class*="language-"] {
19
21
  .editor-writable {
20
22
  width: 100%;
21
23
  border-radius: 4px !important;
22
- border: 1px solid $white-100-light !important;
24
+ border: 1px solid $white-100 !important;
23
25
  }
24
26
 
25
27
  .monaco-editor {
@@ -32,21 +34,16 @@ pre[class*="language-"] {
32
34
  Responsive Classes
33
35
  *****************************************/
34
36
  // Extra small devices (portrait phones, less than 576px)
35
- @media (max-width: 575.98px) {
36
- }
37
+ @media (max-width: 575.98px) {}
37
38
 
38
39
  // Small devices (landscape phones, 576px and up)
39
- @media (min-width: 576px) and (max-width: 767.98px) {
40
- }
40
+ @media (min-width: 576px) and (max-width: 767.98px) {}
41
41
 
42
42
  // Medium devices (tablets, 768px and up)
43
- @media (min-width: 768px) and (max-width: 991.98px) {
44
- }
43
+ @media (min-width: 768px) and (max-width: 991.98px) {}
45
44
 
46
45
  // Large devices (desktops, 992px and up)
47
- @media (min-width: 992px) and (max-width: 1199.98px) {
48
- }
46
+ @media (min-width: 992px) and (max-width: 1199.98px) {}
49
47
 
50
48
  // Extra large devices (large desktops, 1200px and up)
51
- @media (min-width: 1200px) {
52
- }
49
+ @media (min-width: 1200px) {}
@@ -19,7 +19,7 @@
19
19
  }
20
20
 
21
21
  .dragable-list-items {
22
- background-color: $white-100-lighter;
22
+ background-color: $primary-90;
23
23
  border-radius: 4px;
24
24
  max-height: 400px;
25
25
 
@@ -38,7 +38,7 @@
38
38
  padding-bottom: 4px;
39
39
 
40
40
  &.is-not-change {
41
- background-color: $white-100-lighter;
41
+ background-color: $primary-90;
42
42
  margin-left: -40px !important;
43
43
  padding-left: 80px;
44
44
  }
@@ -135,6 +135,7 @@
135
135
 
136
136
  ul {
137
137
  li {
138
+
138
139
  span,
139
140
  strong {
140
141
  font-weight: 400;
@@ -243,5 +244,4 @@ Responsive Classes
243
244
  }
244
245
 
245
246
  // Extra large devices (large desktops, 1200px and up)
246
- @media (min-width: 1200px) {
247
- }
247
+ @media (min-width: 1200px) {}