@appscode/design-system 1.0.43-alpha.99 → 1.1.0

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 (101) hide show
  1. package/base/utilities/_all.scss +7 -0
  2. package/base/utilities/_customize-bulma.scss +191 -0
  3. package/base/utilities/_default.scss +58 -124
  4. package/base/utilities/_derived-variables.scss +6 -0
  5. package/base/utilities/_grid.scss +29 -0
  6. package/base/utilities/_initial-variables.scss +13 -9
  7. package/base/utilities/_typography.scss +6 -12
  8. package/base/utilities/dark-theme.scss +1 -0
  9. package/components/_ac-accordion.scss +14 -5
  10. package/components/_ac-alert-box.scss +32 -6
  11. package/components/_ac-card.scss +17 -5
  12. package/components/_ac-drag.scss +2 -0
  13. package/components/_ac-input.scss +19 -11
  14. package/components/_ac-modal.scss +1 -1
  15. package/components/_ac-multi-select.scss +60 -4
  16. package/components/_ac-report.scss +53 -0
  17. package/components/_ac-table.scss +60 -2
  18. package/components/_ac-tabs.scss +16 -2
  19. package/components/_ac-tags.scss +85 -0
  20. package/components/_ac-terminal.scss +1 -3
  21. package/components/_all.scss +28 -0
  22. package/components/_buttons.scss +14 -33
  23. package/components/_dashboard-header.scss +32 -0
  24. package/components/_left-sidebar-menu.scss +9 -9
  25. package/components/_navbar.scss +89 -4
  26. package/components/_preview-modal.scss +14 -1
  27. package/components/_transitions.scss +261 -0
  28. package/components/_wizard.scss +1 -0
  29. package/components/bbum/_all.scss +9 -0
  30. package/components/bbum/_single-post-preview.scss +1 -1
  31. package/components/ui-builder/_ui-builder.scss +58 -0
  32. package/components/ui-builder/_vue-open-api.scss +6 -0
  33. package/layouts/_all.scss +2 -0
  34. package/layouts/_code-preview.scss +5 -2
  35. package/main.scss +5 -56
  36. package/package.json +4 -2
  37. package/plugins/caching.ts +243 -0
  38. package/plugins/time-convert.js +49 -0
  39. package/plugins/vue-toaster.js +3 -0
  40. package/vue-components/v2/banner/Banner.vue +2 -2
  41. package/vue-components/v2/breadcrumbs/Breadcrumb.vue +97 -0
  42. package/vue-components/v2/button/Button.vue +5 -0
  43. package/vue-components/v2/button/DownloadBtn.vue +45 -0
  44. package/vue-components/v2/card/Card.vue +1 -0
  45. package/vue-components/v2/content/ContentTable.vue +12 -7
  46. package/vue-components/v2/editor/Editor.vue +37 -24
  47. package/vue-components/v2/editor/FilteredFileEditor.vue +189 -0
  48. package/vue-components/v2/editor/MonacoEditor.vue +125 -0
  49. package/vue-components/v2/editor/ResourceKeyValueEditor.vue +209 -0
  50. package/vue-components/v2/form-fields/Input.vue +1 -1
  51. package/vue-components/v2/loaders/ResourceLoader.vue +101 -0
  52. package/vue-components/v2/loaders/SidebarLoader.vue +43 -0
  53. package/vue-components/v2/modal/Modal.vue +30 -5
  54. package/vue-components/v2/modals/DeleteConfirmationModal.vue +79 -0
  55. package/vue-components/v2/modals/JsonShowModal.vue +12 -2
  56. package/vue-components/v2/navbar/User.vue +229 -17
  57. package/vue-components/v2/notification/Notification.vue +101 -0
  58. package/vue-components/v2/notification/NotificationItem.vue +44 -0
  59. package/vue-components/v2/pagination/Pagination.vue +16 -3
  60. package/vue-components/v2/preloader/Preloader.vue +1 -1
  61. package/vue-components/v2/sidebar/SidebarItemWithDropDown.vue +19 -20
  62. package/vue-components/v2/tab/TabItem.vue +1 -1
  63. package/vue-components/v2/table/Table.vue +49 -8
  64. package/vue-components/v2/table/TableRow.vue +12 -2
  65. package/vue-components/v2/table/table-cell/CellValue.vue +29 -9
  66. package/vue-components/v2/table/table-cell/GenericCell.vue +56 -0
  67. package/vue-components/v2/table/table-cell/ObjectCell.vue +4 -1
  68. package/vue-components/v3/button/Button.vue +6 -1
  69. package/vue-components/v3/content/ContentHeader.vue +2 -1
  70. package/vue-components/v3/content/ContentTable.vue +20 -2
  71. package/vue-components/v3/editor/Editor.vue +36 -33
  72. package/vue-components/v3/editor/FilteredFileEditor.vue +186 -0
  73. package/vue-components/v3/editor/MonacoEditor.vue +131 -0
  74. package/vue-components/v3/editor/ResourceKeyValueEditor.vue +125 -0
  75. package/vue-components/v3/form/Form.vue +63 -0
  76. package/vue-components/v3/form-fields/Input.vue +11 -10
  77. package/vue-components/v3/header/HeaderItem.vue +5 -0
  78. package/vue-components/v3/header/HeaderItems.vue +5 -0
  79. package/vue-components/v3/loaders/ResourceLoader.vue +83 -0
  80. package/vue-components/v3/loaders/SidebarLoader.vue +34 -0
  81. package/vue-components/v3/long-running-tasks/LongRunningTaskItem.vue +92 -0
  82. package/vue-components/v3/modal/Modal.vue +30 -7
  83. package/vue-components/v3/modals/DeleteConfirmationModal.vue +85 -0
  84. package/vue-components/v3/modals/JsonShowModal.vue +25 -16
  85. package/vue-components/v3/modals/LongRunningTasksModal.vue +400 -0
  86. package/vue-components/v3/navbar/ThemeMode.vue +41 -49
  87. package/vue-components/v3/navbar/User.vue +242 -18
  88. package/vue-components/v3/notification/AlertBox.vue +61 -0
  89. package/vue-components/v3/notification/Notification.vue +98 -0
  90. package/vue-components/v3/notification/NotificationItem.vue +52 -0
  91. package/vue-components/v3/pagination/Pagination.vue +16 -3
  92. package/vue-components/v3/sidebar/SidebarItemWithDropDown.vue +120 -0
  93. package/vue-components/v3/tab/TabItem.vue +1 -1
  94. package/vue-components/v3/table/MultiInfoTable.vue +143 -0
  95. package/vue-components/v3/table/Table.vue +52 -13
  96. package/vue-components/v3/table/TableContainer.vue +34 -0
  97. package/vue-components/v3/table/TableRow.vue +93 -6
  98. package/vue-components/v3/table/table-cell/CellValue.vue +23 -7
  99. package/vue-components/v3/table/table-cell/GenericCell.vue +75 -0
  100. package/vue-components/v3/table/table-cell/ObjectCell.vue +7 -2
  101. package/vue-components/v3/terminal/LongRunningTaskTerminal.vue +148 -0
@@ -0,0 +1,7 @@
1
+ @import "initial-variables";
2
+ @import "derived-variables";
3
+ @import "mixin";
4
+ @import "typography";
5
+ @import "default";
6
+ @import "grid";
7
+ @import "dark-theme";
@@ -0,0 +1,191 @@
1
+ $primary : hsl(208, 77%, 42%);
2
+
3
+ // Colors
4
+ // $black: hsl(0, 0%, 4%) !default;
5
+ // $black-bis: hsl(0, 0%, 7%) !default;
6
+ // $black-ter: hsl(0, 0%, 14%) !default;
7
+
8
+ // $grey-darker: hsl(0, 0%, 21%) !default;
9
+ // $grey-dark: hsl(0, 0%, 29%) !default;
10
+ // $grey: hsl(0, 0%, 48%) !default;
11
+ // $grey-light: hsl(0, 0%, 71%) !default;
12
+ // $grey-lighter: hsl(0, 0%, 86%) !default;
13
+ // $grey-lightest: hsl(0, 0%, 93%) !default;
14
+
15
+ // $white-ter: hsl(0, 0%, 96%) !default;
16
+ // $white-bis: hsl(0, 0%, 98%) !default;
17
+ // $white: hsl(0, 0%, 100%) !default;
18
+
19
+ $orange: hsl(30, 100%, 50%) !default;
20
+ $yellow: hsl(38, 93%, 57%) !default;
21
+ $green: hsl(147, 73%, 31%) !default;
22
+ // $turquoise: hsl(171, 100%, 41%) !default;
23
+ // $cyan: hsl(207, 61%, 53%) !default;
24
+ // $blue: hsl(229, 53%, 53%) !default;
25
+ $purple: hsl(286, 66%, 35%) !default;
26
+ $red: hsl(4, 100%, 58%) !default;
27
+
28
+ // // Typography
29
+ // $family-sans-serif: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif !default;
30
+ // $family-monospace: monospace !default;
31
+ // $render-mode: optimizeLegibility !default;
32
+
33
+ // $size-1: 3rem !default;
34
+ // $size-2: 2.5rem !default;
35
+ // $size-3: 2rem !default;
36
+ // $size-4: 1.5rem !default;
37
+ // $size-5: 1.25rem !default;
38
+ // $size-6: 1rem !default;
39
+ // $size-7: 0.75rem !default;
40
+
41
+ // $weight-light: 300 !default;
42
+ // $weight-normal: 400 !default;
43
+ // $weight-medium: 500 !default;
44
+ // $weight-semibold: 600 !default;
45
+ // $weight-bold: 700 !default;
46
+
47
+ // // Spacing
48
+ // $block-spacing: 1.5rem !default;
49
+
50
+ // // Responsiveness
51
+ // // The container horizontal gap, which acts as the offset for breakpoints
52
+ // $gap: 32px !default;
53
+ // // 960, 1152, and 1344 have been chosen because they are divisible by both 12 and 16
54
+ // $tablet: 769px !default;
55
+ // // 960px container + 4rem
56
+ // $desktop: 960px + (2 * $gap) !default;
57
+ // // 1152px container + 4rem
58
+ // $widescreen: 1152px + (2 * $gap) !default;
59
+ // $widescreen-enabled: true !default;
60
+ // // 1344px container + 4rem
61
+ // $fullhd: 1344px + (2 * $gap) !default;
62
+ // $fullhd-enabled: true !default;
63
+ // $breakpoints: ("mobile": ("until": $tablet), "tablet": ("from": $tablet), "tablet-only": ("from": $tablet, "until": $desktop), "touch": ("from": $desktop), "desktop": ("from": $desktop), "desktop-only": ("from": $desktop, "until": $widescreen), "until-widescreen": ("until": $widescreen), "widescreen": ("from": $widescreen), "widescreen-only": ("from": $widescreen, "until": $fullhd), "until-fullhd": ("until": $fullhd), "fullhd": ("from": $fullhd)) !default;
64
+
65
+ // // Miscellaneous
66
+ // $easing: ease-out !default;
67
+ // $radius-small: 2px !default;
68
+ // $radius: 4px !default;
69
+ // $radius-large: 6px !default;
70
+ // $radius-rounded: 9999px !default;
71
+ // $speed: 86ms !default;
72
+
73
+ // // Flags
74
+ // $variable-columns: true !default;
75
+ // $rtl: false !default;
76
+
77
+
78
+
79
+ // // Derived-Variables
80
+
81
+ // $primary: $turquoise !default;
82
+
83
+ // $info: $cyan !default;
84
+ // $success: $green !default;
85
+ // $warning: $yellow !default;
86
+ // $danger: $red !default;
87
+
88
+ // $light: $white-ter !default;
89
+ // $dark: $grey-darker !default;
90
+
91
+ // // Invert colors
92
+
93
+ // $orange-invert: findColorInvert($orange) !default;
94
+ // $yellow-invert: findColorInvert($yellow) !default;
95
+ // $green-invert: findColorInvert($green) !default;
96
+ // $turquoise-invert: findColorInvert($turquoise) !default;
97
+ // $cyan-invert: findColorInvert($cyan) !default;
98
+ // $blue-invert: findColorInvert($blue) !default;
99
+ // $purple-invert: findColorInvert($purple) !default;
100
+ // $red-invert: findColorInvert($red) !default;
101
+
102
+ // $primary-invert: findColorInvert($primary) !default;
103
+ // $primary-light: findLightColor($primary) !default;
104
+ // $primary-dark: findDarkColor($primary) !default;
105
+ // $info-invert: findColorInvert($info) !default;
106
+ // $info-light: findLightColor($info) !default;
107
+ // $info-dark: findDarkColor($info) !default;
108
+ // $success-invert: findColorInvert($success) !default;
109
+ // $success-light: findLightColor($success) !default;
110
+ // $success-dark: findDarkColor($success) !default;
111
+ // $warning-invert: findColorInvert($warning) !default;
112
+ // $warning-light: findLightColor($warning) !default;
113
+ // $warning-dark: findDarkColor($warning) !default;
114
+ // $danger-invert: findColorInvert($danger) !default;
115
+ // $danger-light: findLightColor($danger) !default;
116
+ // $danger-dark: findDarkColor($danger) !default;
117
+ // $light-invert: findColorInvert($light) !default;
118
+ // $dark-invert: findColorInvert($dark) !default;
119
+
120
+ // // General colors
121
+
122
+ // $scheme-main: $white !default;
123
+ // $scheme-main-bis: $white-bis !default;
124
+ // $scheme-main-ter: $white-ter !default;
125
+ // $scheme-invert: $black !default;
126
+ // $scheme-invert-bis: $black-bis !default;
127
+ // $scheme-invert-ter: $black-ter !default;
128
+
129
+ // $background: $white-ter !default;
130
+
131
+ // $border: $grey-lighter !default;
132
+ // $border-hover: $grey-light !default;
133
+ // $border-light: $grey-lightest !default;
134
+ // $border-light-hover: $grey-light !default;
135
+
136
+ // // Text colors
137
+
138
+ // $text: $grey-dark !default;
139
+ // $text-invert: findColorInvert($text) !default;
140
+ // $text-light: $grey !default;
141
+ // $text-strong: $grey-darker !default;
142
+
143
+ // // Code colors
144
+
145
+ // $code: darken($red, 15%) !default;
146
+ // $code-background: $background !default;
147
+
148
+ // $pre: $text !default;
149
+ // $pre-background: $background !default;
150
+
151
+ // // Link colors
152
+
153
+ // $link: $blue !default;
154
+ // $link-invert: findColorInvert($link) !default;
155
+ // $link-light: findLightColor($link) !default;
156
+ // $link-dark: findDarkColor($link) !default;
157
+ // $link-visited: $purple !default;
158
+
159
+ // $link-hover: $grey-darker !default;
160
+ // $link-hover-border: $grey-light !default;
161
+
162
+ // $link-focus: $grey-darker !default;
163
+ // $link-focus-border: $blue !default;
164
+
165
+ // $link-active: $grey-darker !default;
166
+ // $link-active-border: $grey-dark !default;
167
+
168
+ // // Typography
169
+
170
+ // $family-primary: $family-sans-serif !default;
171
+ // $family-secondary: $family-sans-serif !default;
172
+ // $family-code: $family-monospace !default;
173
+
174
+ // $size-small: $size-7 !default;
175
+ // $size-normal: $size-6 !default;
176
+ // $size-medium: $size-5 !default;
177
+ // $size-large: $size-4 !default;
178
+
179
+ // // Effects
180
+
181
+ // $shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default;
182
+
183
+ // // Lists and maps
184
+ // $custom-colors: null !default;
185
+ // $custom-shades: null !default;
186
+
187
+ // $colors: mergeColorMaps(("white": ($white, $black), "black": ($black, $white), "light": ($light, $light-invert), "dark": ($dark, $dark-invert), "primary": ($primary, $primary-invert, $primary-light, $primary-dark), "link": ($link, $link-invert, $link-light, $link-dark), "info": ($info, $info-invert, $info-light, $info-dark), "success": ($success, $success-invert, $success-light, $success-dark), "warning": ($warning, $warning-invert, $warning-light, $warning-dark), "danger": ($danger, $danger-invert, $danger-light, $danger-dark)), $custom-colors) !default;
188
+
189
+ // $shades: mergeColorMaps(("black-bis": $black-bis, "black-ter": $black-ter, "grey-darker": $grey-darker, "grey-dark": $grey-dark, "grey": $grey, "grey-light": $grey-light, "grey-lighter": $grey-lighter, "white-ter": $white-ter, "white-bis": $white-bis), $custom-shades) !default;
190
+
191
+ // $sizes: $size-1 $size-2 $size-3 $size-4 $size-5 $size-6 $size-7 !default;
@@ -144,6 +144,12 @@
144
144
  }
145
145
  }
146
146
 
147
+ .ac-system-body {
148
+ &.is-preview-step {
149
+ grid-template-columns: calc(100% - 270px) 270px !important;
150
+ }
151
+ }
152
+
147
153
  .form-content {
148
154
  width: 720px;
149
155
  }
@@ -164,18 +170,22 @@ input[type="color"] {
164
170
  padding: 2px;
165
171
  cursor: pointer;
166
172
  }
173
+
167
174
  input[type="color"]::-webkit-color-swatch-wrapper {
168
175
  padding: 0;
169
176
  }
177
+
170
178
  // input[type="color"]::-moz-color-swatch,
171
179
  input[type="color"]::-webkit-color-swatch {
172
180
  border: none;
173
181
  border-radius: 50%;
174
182
  }
183
+
175
184
  input[type="color"]::-moz-color-swatch {
176
185
  border: none;
177
186
  border-radius: 50%;
178
187
  }
188
+
179
189
  // color swatch end
180
190
 
181
191
  .is-dark-theme {
@@ -222,45 +232,47 @@ input[type="color"]::-moz-color-swatch {
222
232
  position: inherit !important;
223
233
  }
224
234
 
225
- .b-1 {
226
- border: 1px solid $ac-white-light;
227
- }
228
-
229
- .b-t-1 {
230
- border-top: 1px solid $ac-white-light;
231
- }
232
-
233
- .b-b-1 {
234
- border-bottom: 1px solid $ac-white-light;
235
- }
236
-
237
- .b-l-1 {
238
- border-left: 1px solid $ac-white-light;
239
- }
240
-
241
- .b-r-1 {
242
- border-right: 1px solid $ac-white-light;
243
- }
244
-
245
235
  // border none
246
236
  .is-border-none {
247
237
  border: none !important;
248
238
  }
249
239
 
250
- .b-b-n {
251
- border-bottom: none !important;
240
+ .b-1 {
241
+ border: 1px solid $ac-white-light;
252
242
  }
253
243
 
254
- .b-t-n {
255
- border-top: none !important;
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
256
  }
257
257
 
258
- .b-l-n {
259
- border-left: none !important;
258
+ // border 1px
259
+ @each $key, $position in $positions {
260
+ .b-#{$key}-1 {
261
+ border-#{$position}: 1px solid $ac-white-light;
262
+ }
260
263
  }
261
264
 
262
- .b-r-n {
263
- border-right: none !important;
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
+ }
264
276
  }
265
277
 
266
278
  .is-disabled {
@@ -276,28 +288,18 @@ input[type="color"]::-moz-color-swatch {
276
288
  }
277
289
  }
278
290
 
279
- // for ellipsis
280
- @for $i from 0 through 10 {
281
- .is-ellipsis-#{$i} {
282
- overflow: hidden;
283
- text-overflow: ellipsis;
284
- display: -webkit-box;
285
- line-clamp: #{$i};
286
- -webkit-line-clamp: #{$i};
287
- box-orient: vertical;
288
- -webkit-box-orient: vertical;
289
- }
290
- }
291
291
  // toast css third-party
292
292
 
293
293
  .toasted-container {
294
294
  .ac-toast-action.mr-10 {
295
295
  text-decoration: underline !important;
296
296
  }
297
+
297
298
  .has-report-issue {
298
299
  padding-right: 140px !important;
299
300
  }
300
301
  }
302
+
301
303
  .is-dark-theme {
302
304
  .toasted-container {
303
305
  i.fa {
@@ -346,13 +348,13 @@ input[type="color"]::-moz-color-swatch {
346
348
  }
347
349
 
348
350
  &::-webkit-scrollbar-thumb {
349
- background-color: $ac-gray-light;
351
+ background-color: $ac-gray-lightest;
350
352
  border-radius: 50px;
351
353
  height: 2px !important;
352
354
  }
353
355
 
354
356
  &::-webkit-scrollbar-thumb:hover {
355
- background-color: $ac-gray-light;
357
+ background-color: $ac-gray-lightest;
356
358
  }
357
359
 
358
360
  &:hover::-webkit-scrollbar-corner {
@@ -393,33 +395,33 @@ input[type="color"]::-moz-color-swatch {
393
395
  }
394
396
 
395
397
  &::-webkit-scrollbar-thumb {
396
- background-color: $ac-gray-light;
398
+ background-color: $ac-gray-lightest;
397
399
  border-radius: 50px;
398
400
  height: 2px !important;
399
401
  }
400
402
 
401
403
  &::-moz-scrollbar-thumb {
402
- background-color: $ac-gray-light;
404
+ background-color: $ac-gray-lightest;
403
405
  border-radius: 50px;
404
406
  height: 2px !important;
405
407
  }
406
408
 
407
409
  &::-ms-scrollbar-thumb {
408
- background-color: $ac-gray-light;
410
+ background-color: $ac-gray-lightest;
409
411
  border-radius: 50px;
410
412
  height: 2px !important;
411
413
  }
412
414
 
413
415
  &::-webkit-scrollbar-thumb:hover {
414
- background-color: $ac-gray-light;
416
+ background-color: $ac-gray-lightest;
415
417
  }
416
418
 
417
419
  &::-moz-scrollbar-thumb:hover {
418
- background-color: $ac-gray-light;
420
+ background-color: $ac-gray-lightest;
419
421
  }
420
422
 
421
423
  &::-ms-scrollbar-thumb:hover {
422
- background-color: $ac-gray-light;
424
+ background-color: $ac-gray-lightest;
423
425
  }
424
426
 
425
427
  &:hover::-webkit-scrollbar-corner {
@@ -450,13 +452,13 @@ input[type="color"]::-moz-color-swatch {
450
452
  }
451
453
 
452
454
  &::-webkit-scrollbar-thumb {
453
- background-color: $ac-gray-light;
455
+ background-color: $ac-gray-lightest;
454
456
  border-radius: 50px;
455
457
  width: 2px !important;
456
458
  }
457
459
 
458
460
  &::-webkit-scrollbar-thumb:hover {
459
- background-color: $ac-gray-light;
461
+ background-color: $ac-gray-lightest;
460
462
  }
461
463
 
462
464
  &:hover::-webkit-scrollbar-corner {
@@ -489,6 +491,10 @@ input[type="color"]::-moz-color-swatch {
489
491
  text-align: left;
490
492
  }
491
493
 
494
+ p.is-error {
495
+ color: $ac-red;
496
+ }
497
+
492
498
  code {
493
499
  color: $ac-color-heading;
494
500
  }
@@ -500,7 +506,7 @@ code {
500
506
  }
501
507
  }
502
508
 
503
- .is-danger:not(.ac-button) {
509
+ .has-text-danger{
504
510
  color: $ac-danger !important;
505
511
  }
506
512
 
@@ -515,77 +521,6 @@ button {
515
521
  }
516
522
  }
517
523
 
518
- .tag:not(body) {
519
- background-color: $ac-white-light;
520
- font-size: 11px;
521
- height: 18px;
522
- letter-spacing: 0.1px;
523
- color: $ac-color-heading;
524
-
525
- a {
526
- &:hover {
527
- color: $ac-color-text;
528
- }
529
- }
530
-
531
- &.is-available {
532
- background-color: #27b064;
533
- color: $ac-white;
534
- }
535
-
536
- &.is-success {
537
- background-color: $ac-green;
538
- color: $ac-white;
539
-
540
- &.is-light {
541
- background-color: rgba(39, 176, 100, 0.2);
542
- color: $ac-green;
543
- }
544
- }
545
-
546
- &.is-primary {
547
- background-color: $ac-primary;
548
- color: $ac-white;
549
-
550
- &.is-light {
551
- background-color: rgba(25, 113, 189, 0.2);
552
- color: $ac-primary;
553
- }
554
- }
555
-
556
- &.is-gray {
557
- background-color: #e5e9f2;
558
- color: $ac-gray-darker;
559
- }
560
-
561
- &.is-warning {
562
- background-color: $ac-warning;
563
- color: $ac-white !important;
564
- }
565
-
566
- &.is-danger {
567
- background-color: $ac-red;
568
- color: $ac-white !important;
569
-
570
- &.is-light {
571
- background-color: rgba(234, 61, 47, 0.2);
572
- color: $ac-red !important;
573
- }
574
- }
575
- }
576
-
577
- .tags {
578
- .icon {
579
- margin-bottom: 0.5rem;
580
- }
581
-
582
- .tag {
583
- a {
584
- font-weight: 500;
585
- }
586
- }
587
- }
588
-
589
524
  // line title global start
590
525
  .ac-line-title {
591
526
  position: relative;
@@ -756,6 +691,7 @@ $border_color_4: transparent transparent #585d6e transparent;
756
691
  }
757
692
  }
758
693
  }
694
+
759
695
  // tooltip in vue-open-api
760
696
  .tooltip {
761
697
  display: block !important;
@@ -946,8 +882,6 @@ $border_color_4: transparent transparent #585d6e transparent;
946
882
  // Status css
947
883
  // ac-footer sticky end
948
884
 
949
-
950
-
951
885
  // terminal scss end
952
886
  .is-dark-theme {
953
887
  a {
@@ -17,3 +17,9 @@ $ac-shadow-1: 0 1px 4px rgba(26, 80, 151, 0.16);
17
17
  $ac-shadow-2: 0px 8px 57px rgba(0, 0, 0, 0.16);
18
18
  $ac-shadow-3: 0 3px 4px 0 rgba(0, 0, 0, 0.18),
19
19
  0 3px 3px -2px rgba(0, 0, 0, 0.16), 0 1px 6px 0 rgba(0, 0, 0, 0.12);
20
+
21
+ $ac-shadow-sm: 0 1px 4px rgba(26, 80, 151, 0.16);
22
+ $ac-shadow-xl: 0px 8px 57px rgba(0, 0, 0, 0.16);
23
+ $ac-shadow-lg: 0 3px 4px 0 rgba(0, 0, 0, 0.18),
24
+ 0 3px 3px -2px rgba(0, 0, 0, 0.16), 0 1px 6px 0 rgba(0, 0, 0, 0.12);
25
+
@@ -0,0 +1,29 @@
1
+ .grid {
2
+ display: grid;
3
+ }
4
+
5
+ @for $i from 1 through 12 {
6
+ .grid-cols-#{$i} {
7
+ grid-template-columns: repeat(#{$i}, minmax(0, 1fr));
8
+ }
9
+ }
10
+
11
+ .grid-cols-none {
12
+ grid-template-columns: none;
13
+ }
14
+
15
+ @for $i from 1 through 12 {
16
+ .col-span-#{$i} {
17
+ grid-column: span #{$i} / span #{$i};
18
+ }
19
+ }
20
+
21
+ .col-auto {
22
+ grid-column: auto;
23
+ }
24
+
25
+ @for $i from 0 through 30 {
26
+ .gap-#{$i} {
27
+ gap: #{$i}px;
28
+ }
29
+ }
@@ -4,14 +4,6 @@
4
4
  $ac-family-heading: "Roboto", sans-serif;
5
5
  $ac-family-paragraph: "Roboto", sans-serif;
6
6
 
7
- $ac-size-1: 48px;
8
- $ac-size-2: 36px;
9
- $ac-size-3: 28px;
10
- $ac-size-4: 22px;
11
- $ac-size-5: 18px;
12
- $ac-size-6: 16px;
13
- $ac-size-7: 14px;
14
-
15
7
  // body font size
16
8
  $font-size-medium: 16px;
17
9
  $font-size-semi-normal: 15px;
@@ -56,7 +48,8 @@ $swift-primary: #3f51b6;
56
48
  --ac-gray-light: #8d8d8d;
57
49
  --ac-gray-lightest: #d1d1d1;
58
50
  --ac-white-light: #e7e7e7;
59
- --ac-white-lighter: #f1f1f1;
51
+ --ac-white-lighter: #f2f5f8;
52
+ --ac-white-lightest: #f8f9fb;
60
53
 
61
54
  --ac-black: #000000;
62
55
  --ac-color-text-90: #323232;
@@ -121,6 +114,7 @@ $ac-gray-lighter: var(--ac-gray-lighter);
121
114
  $ac-gray-lightest: var(--ac-gray-lightest);
122
115
  $ac-white-light: var(--ac-white-light);
123
116
  $ac-white-lighter: var(--ac-white-lighter);
117
+ $ac-white-lightest: var(--ac-white-lightest);
124
118
  $ac-white: var(--ac-white);
125
119
  $ac-full-white: var(--ac-full-white);
126
120
 
@@ -188,6 +182,16 @@ $dark-bg-light: var(--dark-bg-light);
188
182
  }
189
183
  }
190
184
 
185
+ .mx-auto {
186
+ margin: 0 auto;
187
+ }
188
+ .mr-auto{
189
+ margin-right: auto;
190
+ }
191
+ .ml-auto{
192
+ margin-left: auto;
193
+ }
194
+
191
195
  /* Deafult height & widht */
192
196
  @for $i from 0 through 300 {
193
197
  .height-#{$i} {
@@ -21,33 +21,27 @@ h6 {
21
21
  }
22
22
 
23
23
  h1 {
24
- font-size: $ac-size-1;
25
- line-height: $ac-size-1 + 10;
24
+ font-size: $size-1;
26
25
  }
27
26
 
28
27
  h2 {
29
- font-size: $ac-size-2;
30
- line-height: $ac-size-2 + 10;
28
+ font-size: $size-2;
31
29
  }
32
30
 
33
31
  h3 {
34
- font-size: $ac-size-3;
35
- line-height: $ac-size-3 + 10;
32
+ font-size: $size-3;
36
33
  }
37
34
 
38
35
  h4 {
39
- font-size: $ac-size-4;
40
- line-height: $ac-size-4 + 10;
36
+ font-size: $size-4;
41
37
  }
42
38
 
43
39
  h5 {
44
- font-size: $ac-size-5;
45
- line-height: $ac-size-5 + 10;
40
+ font-size: $size-5;
46
41
  }
47
42
 
48
43
  h6 {
49
- font-size: $ac-size-6;
50
- line-height: $ac-size-6 + 10;
44
+ font-size: $size-6;
51
45
  }
52
46
 
53
47
  h6 {
@@ -14,6 +14,7 @@ $dark-bg-light: var(--dark-bg-light);
14
14
  --ac-gray-lightest: #777777;
15
15
  --ac-white-light: #3f3f3f;
16
16
  --ac-white-lighter: #2e323c;
17
+ --ac-white-lightest: #1f2229;
17
18
  --ac-label-text: #8c8c8c;
18
19
  --ac-bg-light-gray: #252830;
19
20
 
@@ -27,6 +27,13 @@
27
27
  padding: 15px 20px;
28
28
  margin-bottom: 15px;
29
29
  border-radius: 4px;
30
+ border: 1px solid $ac-white-light;
31
+
32
+ &.open {
33
+ .accordion-heading {
34
+ margin-bottom: 10px;
35
+ }
36
+ }
30
37
 
31
38
  &:last-child {
32
39
  margin-bottom: 0;
@@ -36,7 +43,6 @@
36
43
  display: flex;
37
44
  align-items: center;
38
45
  justify-content: space-between;
39
- margin-bottom: 10px;
40
46
 
41
47
  h3 {
42
48
  cursor: pointer;
@@ -48,10 +54,13 @@
48
54
  }
49
55
 
50
56
  .icon {
51
- width: 16px;
52
- height: 16px;
53
- border: 1px solid $ac-color-heading;
54
- line-height: 16px;
57
+ width: 20px;
58
+ height: 20px;
59
+ border: 1px solid $ac-white-light;
60
+ line-height: 20px;
61
+ display: flex;
62
+ justify-content: center;
63
+ align-items: center;
55
64
  font-size: 10px;
56
65
  border-radius: 50%;
57
66
  cursor: pointer;