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

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 (43) hide show
  1. package/base/utilities/_colors.scss +31 -98
  2. package/base/utilities/_global.scss +3 -3
  3. package/base/utilities/_typography.scss +2 -2
  4. package/base/utilities/dark-theme.scss +2 -8
  5. package/components/_ac-alert-box.scss +2 -2
  6. package/components/_ac-code-highlight.scss +9 -12
  7. package/components/_ac-drag.scss +4 -4
  8. package/components/_ac-modal.scss +2 -2
  9. package/components/_ac-multi-select.scss +17 -17
  10. package/components/_ac-select-box.scss +5 -5
  11. package/components/_ac-table.scss +7 -7
  12. package/components/_ac-tabs.scss +12 -13
  13. package/components/_buttons.scss +10 -10
  14. package/components/_image-upload.scss +4 -4
  15. package/components/_input-card.scss +2 -2
  16. package/components/_input.scss +7 -7
  17. package/components/_left-sidebar-menu.scss +9 -13
  18. package/components/_monaco-editor.scss +2 -2
  19. package/components/_navbar.scss +7 -7
  20. package/components/_nested-list.scss +2 -2
  21. package/components/_overview-info.scss +3 -3
  22. package/components/_pricing-table.scss +5 -5
  23. package/components/_progress-bar.scss +61 -74
  24. package/components/_subscription-card.scss +8 -10
  25. package/components/_table-of-content.scss +4 -4
  26. package/components/_terminal.scss +6 -6
  27. package/components/_widget-menu.scss +7 -12
  28. package/components/_wizard.scss +13 -9
  29. package/components/bbum/_information-center.scss +8 -10
  30. package/components/bbum/_mobile-desktop.scss +9 -14
  31. package/components/bbum/_single-post-preview.scss +9 -9
  32. package/components/ui-builder/_ui-builder.scss +134 -8
  33. package/components/ui-builder/_vue-open-api.scss +1 -1
  34. package/layouts/_code-preview.scss +6 -7
  35. package/package.json +1 -1
  36. package/vue-components/v3/alert/Alert.vue +1 -1
  37. package/vue-components/v3/button/Button.vue +10 -10
  38. package/vue-components/v3/footer/Status.vue +3 -9
  39. package/vue-components/v3/header/Header.vue +1 -1
  40. package/vue-components/v3/notification/AlertBox.vue +2 -1
  41. package/vue-components/v3/sidebar/ClusterSwitcher.vue +17 -17
  42. package/vue-components/v3/sidebar/Sidebar.vue +2 -2
  43. package/vue-components/v3/table/Table.vue +7 -7
@@ -14,7 +14,7 @@
14
14
  // padding-left: 20px;
15
15
 
16
16
  // &.is-active {
17
- // background-color: $ac-bg;
17
+ // background-color: transparent;
18
18
  // color: $primary;
19
19
  // }
20
20
 
@@ -161,7 +161,7 @@
161
161
  // &:after {
162
162
  // width: 100%;
163
163
  // border-radius: 0;
164
- // background-color: $ac-bg;
164
+ // background-color: transparent;
165
165
  // }
166
166
  // }
167
167
  // }
@@ -252,21 +252,16 @@
252
252
  Responsive Classes
253
253
  *****************************************/
254
254
  // Extra small devices (portrait phones, less than 576px)
255
- @media (max-width: 575.98px) {
256
- }
255
+ @media (max-width: 575.98px) {}
257
256
 
258
257
  // Small devices (landscape phones, 576px and up)
259
- @media (min-width: 576px) and (max-width: 767.98px) {
260
- }
258
+ @media (min-width: 576px) and (max-width: 767.98px) {}
261
259
 
262
260
  // Medium devices (tablets, 768px and up)
263
- @media (min-width: 768px) and (max-width: 991.98px) {
264
- }
261
+ @media (min-width: 768px) and (max-width: 991.98px) {}
265
262
 
266
263
  // Large devices (desktops, 992px and up)
267
- @media (min-width: 992px) and (max-width: 1199.98px) {
268
- }
264
+ @media (min-width: 992px) and (max-width: 1199.98px) {}
269
265
 
270
266
  // Extra large devices (large desktops, 1200px and up)
271
- @media (min-width: 1200px) {
272
- }
267
+ @media (min-width: 1200px) {}
@@ -15,7 +15,7 @@
15
15
  // margin-bottom: 10px;
16
16
  // }
17
17
 
18
- // label action start
18
+ // // label action start
19
19
  // .label-action {
20
20
  // align-items: center;
21
21
  // height: 21px;
@@ -112,7 +112,6 @@
112
112
 
113
113
  // select card start
114
114
 
115
-
116
115
  // select card end
117
116
 
118
117
  // final state start
@@ -298,7 +297,7 @@
298
297
  // .wizard-title,
299
298
  // .wizard-title.has-line {
300
299
  // span {
301
- // background-color: $ac-label-text;
300
+ // background-color: $primary-10;
302
301
  // }
303
302
  // }
304
303
 
@@ -457,7 +456,7 @@
457
456
  // .card-checkbox {
458
457
  // width: 358px;
459
458
  // height: 115px;
460
- // border: 1px solid $ac-label-text;
459
+ // border: 1px solid $primary-10;
461
460
  // }
462
461
 
463
462
  // checkbox card end
@@ -566,16 +565,21 @@
566
565
  Responsive Classes
567
566
  *****************************************/
568
567
  // Extra small devices (portrait phones, less than 576px)
569
- @media (max-width: 575.98px) {}
568
+ @media (max-width: 575.98px) {
569
+ }
570
570
 
571
571
  // Small devices (landscape phones, 576px and up)
572
- @media (min-width: 576px) and (max-width: 767.98px) {}
572
+ @media (min-width: 576px) and (max-width: 767.98px) {
573
+ }
573
574
 
574
575
  // Medium devices (tablets, 768px and up)
575
- @media (min-width: 768px) and (max-width: 991.98px) {}
576
+ @media (min-width: 768px) and (max-width: 991.98px) {
577
+ }
576
578
 
577
579
  // Large devices (desktops, 992px and up)
578
- @media (min-width: 992px) and (max-width: 1199.98px) {}
580
+ @media (min-width: 992px) and (max-width: 1199.98px) {
581
+ }
579
582
 
580
583
  // Extra large devices (large desktops, 1200px and up)
581
- @media (min-width: 1200px) {}
584
+ @media (min-width: 1200px) {
585
+ }
@@ -81,7 +81,7 @@
81
81
  content: "";
82
82
  width: 100%;
83
83
  height: 100%;
84
- background-color: $ac-black;
84
+ background-color: $black-5;
85
85
  z-index: -1;
86
86
  opacity: 0.2;
87
87
  }
@@ -111,7 +111,7 @@
111
111
  top: 0;
112
112
  width: 100%;
113
113
  height: 100%;
114
- background-color: $ac-black;
114
+ background-color: $black-5;
115
115
  opacity: 0.3;
116
116
  z-index: -1;
117
117
  }
@@ -169,6 +169,7 @@
169
169
  }
170
170
  }
171
171
  }
172
+
172
173
  .ac-system-body.has-ui-builder {
173
174
  .information-center .information-center-inner {
174
175
  top: 140px;
@@ -187,6 +188,7 @@
187
188
  }
188
189
  }
189
190
  }
191
+
190
192
  // dark theme end
191
193
  // Extra small devices (portrait phones, less than 576px)
192
194
  @media (max-width: 575.98px) {
@@ -196,17 +198,13 @@
196
198
  }
197
199
 
198
200
  // Small devices (landscape phones, 576px and up)
199
- @media (min-width: 576px) and (max-width: 767.98px) {
200
- }
201
+ @media (min-width: 576px) and (max-width: 767.98px) {}
201
202
 
202
203
  // Medium devices (tablets, 768px and up)
203
- @media (min-width: 768px) and (max-width: 991.98px) {
204
- }
204
+ @media (min-width: 768px) and (max-width: 991.98px) {}
205
205
 
206
206
  // Large devices (desktops, 992px and up)
207
- @media (min-width: 992px) and (max-width: 1199.98px) {
208
- }
207
+ @media (min-width: 992px) and (max-width: 1199.98px) {}
209
208
 
210
209
  // Extra large devices (large desktops, 1200px and up)
211
- @media (min-width: 1200px) {
212
- }
210
+ @media (min-width: 1200px) {}
@@ -30,7 +30,7 @@
30
30
  left: 50%;
31
31
  top: 7px;
32
32
  transform: translate(-50%, -50%);
33
- background-color: $ac-bg;
33
+ background-color: transparent;
34
34
  border-radius: 10px;
35
35
  }
36
36
 
@@ -44,7 +44,7 @@
44
44
  width: 10px;
45
45
  height: 10px;
46
46
  border-radius: 50%;
47
- background-color: $ac-bg;
47
+ background-color: transparent;
48
48
  display: block;
49
49
  position: absolute;
50
50
  top: 2px;
@@ -120,7 +120,7 @@
120
120
  .left-content {
121
121
  padding: 20px;
122
122
  border-radius: 4px;
123
- background-color: $ac-bg;
123
+ background-color: transparent;
124
124
 
125
125
  h3 {
126
126
  margin-bottom: 30px;
@@ -131,7 +131,7 @@
131
131
 
132
132
  .right-content {
133
133
  border-radius: 4px;
134
- background-color: $ac-bg;
134
+ background-color: transparent;
135
135
  }
136
136
  }
137
137
 
@@ -139,21 +139,16 @@
139
139
  Responsive Classes
140
140
  *****************************************/
141
141
  // Extra small devices (portrait phones, less than 576px)
142
- @media (max-width: 575.98px) {
143
- }
142
+ @media (max-width: 575.98px) {}
144
143
 
145
144
  // Small devices (landscape phones, 576px and up)
146
- @media (min-width: 576px) and (max-width: 767.98px) {
147
- }
145
+ @media (min-width: 576px) and (max-width: 767.98px) {}
148
146
 
149
147
  // Medium devices (tablets, 768px and up)
150
- @media (min-width: 768px) and (max-width: 991.98px) {
151
- }
148
+ @media (min-width: 768px) and (max-width: 991.98px) {}
152
149
 
153
150
  // Large devices (desktops, 992px and up)
154
- @media (min-width: 992px) and (max-width: 1199.98px) {
155
- }
151
+ @media (min-width: 992px) and (max-width: 1199.98px) {}
156
152
 
157
153
  // Extra large devices (large desktops, 1200px and up)
158
- @media (min-width: 1200px) {
159
- }
154
+ @media (min-width: 1200px) {}
@@ -180,17 +180,21 @@
180
180
  left: 24px;
181
181
  z-index: -2;
182
182
  }
183
+
183
184
  &:hover {
184
185
  &:nth-child(2) {
185
186
  z-index: 1;
186
187
  }
188
+
187
189
  &:nth-child(3) {
188
190
  z-index: 2;
189
191
  }
192
+
190
193
  img {
191
194
  transform: scale(1.2);
192
195
  }
193
196
  }
197
+
194
198
  img {
195
199
  width: 18px;
196
200
  transition: 0.3s ease-in-out;
@@ -226,7 +230,7 @@
226
230
  cursor: pointer;
227
231
  display: block;
228
232
  width: 50%;
229
- border-right: 1px solid $white-100-light !important;
233
+ border-right: 1px solid $white-100 !important;
230
234
  padding: 10px;
231
235
 
232
236
  &:last-child {
@@ -278,17 +282,13 @@
278
282
  }
279
283
 
280
284
  // Small devices (landscape phones, 576px and up)
281
- @media (min-width: 576px) and (max-width: 767.98px) {
282
- }
285
+ @media (min-width: 576px) and (max-width: 767.98px) {}
283
286
 
284
287
  // Medium devices (tablets, 768px and up)
285
- @media (min-width: 768px) and (max-width: 991.98px) {
286
- }
288
+ @media (min-width: 768px) and (max-width: 991.98px) {}
287
289
 
288
290
  // Large devices (desktops, 992px and up)
289
- @media (min-width: 992px) and (max-width: 1199.98px) {
290
- }
291
+ @media (min-width: 992px) and (max-width: 1199.98px) {}
291
292
 
292
293
  // Extra large devices (large desktops, 1200px and up)
293
- @media (min-width: 1200px) {
294
- }
294
+ @media (min-width: 1200px) {}
@@ -153,7 +153,7 @@
153
153
  min-width: 630px;
154
154
 
155
155
  .thead {
156
- background-color: $white-100-lighter;
156
+ background-color: $primary-90;
157
157
 
158
158
  .tr {
159
159
  .th {
@@ -198,7 +198,6 @@
198
198
  }
199
199
 
200
200
  .is-collapsed {
201
-
202
201
  &.ac-nested-elements::before,
203
202
  &.ac-nested-elements::after {
204
203
  display: none;
@@ -211,7 +210,16 @@
211
210
  flex-wrap: wrap;
212
211
  gap: 15px;
213
212
  }
214
-
213
+ .table {
214
+ tr {
215
+ &.is-selected {
216
+ background-color: $primary-97;
217
+ strong {
218
+ color: $primary;
219
+ }
220
+ }
221
+ }
222
+ }
215
223
  // dark theme start
216
224
  // .is-dark-theme {
217
225
  // .nested-body {
@@ -221,6 +229,81 @@
221
229
  // }
222
230
  // }
223
231
 
232
+ // label action start
233
+ .label-action {
234
+ align-items: center;
235
+ height: 21px;
236
+
237
+ .ac-single-input {
238
+ label {
239
+ margin-top: 2px;
240
+ }
241
+ }
242
+
243
+ button:not(.is-text) {
244
+ opacity: 0;
245
+ visibility: hidden;
246
+ transition: 0.3s ease-in-out;
247
+
248
+ img {
249
+ width: 15px;
250
+ }
251
+
252
+ &.label-icon {
253
+ border: none;
254
+ background-color: transparent;
255
+ cursor: pointer;
256
+ padding: 0;
257
+ transition: 0.3s ease-in-out;
258
+
259
+ &:hover {
260
+ opacity: 0.8;
261
+ }
262
+ }
263
+ }
264
+
265
+ &:hover {
266
+ button {
267
+ opacity: 1;
268
+ visibility: visible;
269
+ }
270
+ }
271
+
272
+ .ms-close-button,
273
+ .ac-modal-footer {
274
+ .buttons {
275
+ button {
276
+ opacity: 1;
277
+ visibility: visible;
278
+
279
+ &:hover {
280
+ opacity: 0.7;
281
+ }
282
+ }
283
+ }
284
+ }
285
+
286
+ .label-icon {
287
+ display: flex;
288
+ align-items: center;
289
+ margin-right: 10px;
290
+
291
+ img {
292
+ width: 16px;
293
+ }
294
+ }
295
+
296
+ strong {
297
+ font-family: $font-paragraph;
298
+ font-style: normal;
299
+ font-weight: 500;
300
+ font-size: 13px;
301
+ line-height: 16px;
302
+ color: $primary-10;
303
+ margin-right: 16px;
304
+ }
305
+ }
306
+
224
307
  //For resource input from
225
308
  .resource-input {
226
309
  display: grid;
@@ -244,21 +327,64 @@
244
327
  top: 7px;
245
328
  }
246
329
 
330
+ .ac-final-state {
331
+ margin-bottom: 10px;
332
+
333
+ &:last-child {
334
+ margin-bottom: 0;
335
+ }
336
+
337
+ .state-left {
338
+ h5 {
339
+ font-family: $font-paragraph;
340
+ font-style: normal;
341
+ font-weight: 500;
342
+ font-size: 14px;
343
+ line-height: 19px;
344
+ color: $primary-10;
345
+ }
346
+
347
+ button {
348
+ &.ac-button {
349
+ opacity: 0;
350
+ visibility: hidden;
351
+ transition: 0.3s ease-in-out;
352
+ }
353
+ }
354
+ }
355
+
356
+ &:hover {
357
+ .state-left {
358
+ button {
359
+ &.ac-button {
360
+ opacity: 1;
361
+ visibility: visible;
362
+ }
363
+ }
364
+ }
365
+ }
366
+ }
367
+
247
368
  // dark theme end
248
369
  /****************************************
249
370
  Responsive Classes
250
371
  *****************************************/
251
372
  // Extra small devices (portrait phones, less than 576px)
252
- @media (max-width: 575.98px) {}
373
+ @media (max-width: 575.98px) {
374
+ }
253
375
 
254
376
  // Small devices (landscape phones, 576px and up)
255
- @media (min-width: 576px) and (max-width: 767.98px) {}
377
+ @media (min-width: 576px) and (max-width: 767.98px) {
378
+ }
256
379
 
257
380
  // Medium devices (tablets, 768px and up)
258
- @media (min-width: 768px) and (max-width: 991.98px) {}
381
+ @media (min-width: 768px) and (max-width: 991.98px) {
382
+ }
259
383
 
260
384
  // Large devices (desktops, 992px and up)
261
- @media (min-width: 992px) and (max-width: 1199.98px) {}
385
+ @media (min-width: 992px) and (max-width: 1199.98px) {
386
+ }
262
387
 
263
388
  // Extra large devices (large desktops, 1200px and up)
264
- @media (min-width: 1200px) {}
389
+ @media (min-width: 1200px) {
390
+ }
@@ -66,7 +66,7 @@
66
66
  .vue-form-scema-body {
67
67
  .left-content {
68
68
  width: 650px;
69
- background-color: $white-100-lighter;
69
+ background-color: $primary-90;
70
70
  padding: 30px;
71
71
  }
72
72
 
@@ -9,7 +9,7 @@
9
9
  background-color: $white-100;
10
10
 
11
11
  &.ac-bg {
12
- background-color: $ac-bg;
12
+ background-color: transparent;
13
13
  }
14
14
 
15
15
  &.is-fullwidth {
@@ -58,13 +58,13 @@
58
58
 
59
59
  /* Handle */
60
60
  &::-webkit-scrollbar-thumb {
61
- background-color: $ac-gray-light;
61
+ background-color: $black-50;
62
62
  border-radius: 10px;
63
63
  }
64
64
 
65
65
  /* Handle on hover */
66
66
  &::-webkit-scrollbar-thumb:hover {
67
- background-color: $ac-gray-light;
67
+ background-color: $black-50;
68
68
  }
69
69
 
70
70
  .number {
@@ -110,6 +110,7 @@
110
110
  // new code preview
111
111
  .ac-components {
112
112
  margin: 20px;
113
+
113
114
  .single-component {
114
115
  // box-shadow: $ac-shadow-1;
115
116
  border: 1px solid $primary-90;
@@ -253,9 +254,7 @@ Responsive Classes
253
254
  }
254
255
 
255
256
  // Large devices (desktops, 992px and up)
256
- @media (min-width: 992px) and (max-width: 1199.98px) {
257
- }
257
+ @media (min-width: 992px) and (max-width: 1199.98px) {}
258
258
 
259
259
  // Extra large devices (large desktops, 1200px and up)
260
- @media (min-width: 1200px) {
261
- }
260
+ @media (min-width: 1200px) {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appscode/design-system",
3
- "version": "1.1.0-beta.20",
3
+ "version": "1.1.0-beta.26",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -232,7 +232,7 @@ AC Toast
232
232
  // dark theme start
233
233
  // .is-dark-theme {
234
234
  // .ac-notification.is-danger {
235
- // background-color: $dark-bg-light;
235
+ // background-color: $black-80;
236
236
  // }
237
237
  // }
238
238
  </style>
@@ -79,7 +79,7 @@ const handleClick = (e: Event) => {
79
79
  }
80
80
  }
81
81
  button.is-primary {
82
- background-color: $ac-primary;
82
+ background-color: $primary;
83
83
  }
84
84
  // .button {
85
85
  // transition: 86ms ease-in-out;
@@ -252,19 +252,19 @@ button.is-primary {
252
252
  // color: $black-40;
253
253
 
254
254
  // &:hover {
255
- // background-color: $white-100-lighter;
256
- // color: $ac-black;
255
+ // background-color: $primary-90;
256
+ // color: $black-5;
257
257
  // }
258
258
 
259
259
  // &:focus {
260
- // background-color: $white-100-lighter;
261
- // color: $ac-black;
260
+ // background-color: $primary-90;
261
+ // color: $black-5;
262
262
  // }
263
263
  // }
264
264
 
265
265
  // &.transparent-bg {
266
266
  // background-color: transparent;
267
- // border: 1px solid $ac-label-text;
267
+ // border: 1px solid $primary-10;
268
268
 
269
269
  // img {
270
270
  // &:hover {
@@ -540,7 +540,7 @@ button.is-primary {
540
540
  // // counter button start
541
541
  // .ac-counter-button {
542
542
  // background-color: transparent;
543
- // border: 1px solid $ac-label-text;
543
+ // border: 1px solid $primary-10;
544
544
  // border-radius: 4px;
545
545
  // height: 46px;
546
546
  // overflow: hidden;
@@ -587,13 +587,13 @@ button.is-primary {
587
587
  // .ac-counter-arrow-wrapper {
588
588
  // height: 100%;
589
589
  // color: $primary-10;
590
- // border-left: 1px solid $ac-label-text;
590
+ // border-left: 1px solid $primary-10;
591
591
 
592
592
  // .ac-counter-arrow {
593
593
  // background-color: transparent;
594
594
  // border: none;
595
595
  // cursor: pointer;
596
- // color: $ac-label-text;
596
+ // color: $primary-10;
597
597
  // height: 23px;
598
598
 
599
599
  // &:hover {
@@ -601,7 +601,7 @@ button.is-primary {
601
601
  // }
602
602
 
603
603
  // &:first-child {
604
- // border-bottom: 1px solid $ac-label-text;
604
+ // border-bottom: 1px solid $primary-10;
605
605
  // }
606
606
  // }
607
607
  // }
@@ -28,15 +28,9 @@ withDefaults(defineProps<Props>(), {
28
28
  :modifier-classes="item.color"
29
29
  >
30
30
  <span class="icon">
31
- <HeroiconsCheckBadge
32
- v-if="item.color === `has-text-success`"
33
- :size="20"
34
- />
35
- <HeroiconsLoadingBadge
36
- v-else-if="item.color === `has-text-warning`"
37
- :size="20"
38
- />
39
- <HeroiconsCrossBadge v-else :size="20" />
31
+ <HeroiconsCheckBadge v-if="item.color === `has-text-success`" />
32
+ <HeroiconsLoadingBadge v-else-if="item.color === `has-text-warning`" />
33
+ <HeroiconsCrossBadge v-else />
40
34
  </span>
41
35
  <span>{{ item.label }}</span>
42
36
  </footer-item>
@@ -26,7 +26,7 @@ withDefaults(defineProps<Props>(), {
26
26
  <header-items>
27
27
  <header-item>
28
28
  <transition name="fade" mode="out-in" appear>
29
- <h5 :key="title">{{ title }}</h5>
29
+ <h4 :key="title">{{ title }}</h4>
30
30
  </transition>
31
31
  </header-item>
32
32
  <slot name="header-left-controls" />
@@ -85,6 +85,7 @@ const getSanitizedHtml = (content: string) => {
85
85
 
86
86
  p {
87
87
  color: $primary;
88
+ margin-bottom: 0;
88
89
 
89
90
  .close-icon {
90
91
  padding-right: 10px;
@@ -281,7 +282,7 @@ AC Toast
281
282
  // dark theme start
282
283
  // .is-dark-theme {
283
284
  // .ac-notification.is-danger {
284
- // background-color: $dark-bg-light;
285
+ // background-color: $black-80;
285
286
  // }
286
287
  // }
287
288
  </style>