@appscode/design-system 1.1.0 → 2.0.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 (215) hide show
  1. package/base/_video-player.scss +65 -0
  2. package/base/utilities/_all.scss +7 -5
  3. package/base/utilities/_colors.scss +377 -0
  4. package/base/utilities/_customize-bulma.scss +23 -27
  5. package/base/utilities/_extended.scss +39 -0
  6. package/base/utilities/{_default.scss → _global.scss} +192 -333
  7. package/base/utilities/_layouts.scss +19 -0
  8. package/base/utilities/_mixin.scss +11 -11
  9. package/base/utilities/_spacing.scss +96 -0
  10. package/base/utilities/_typography.scss +56 -24
  11. package/components/_ac-alert-box.scss +205 -263
  12. package/components/_ac-calendar.scss +4 -4
  13. package/components/_ac-code-highlight.scss +13 -16
  14. package/components/_ac-content-layout.scss +165 -165
  15. package/components/_ac-drag.scss +13 -13
  16. package/components/_ac-modal.scss +212 -212
  17. package/components/_ac-options.scss +122 -123
  18. package/components/_ac-select-box.scss +10 -10
  19. package/components/_ac-table.scss +503 -502
  20. package/components/_ac-tabs.scss +65 -61
  21. package/components/_ac-tags.scss +116 -116
  22. package/components/_accordion.scss +117 -0
  23. package/components/_add-card.scss +3 -3
  24. package/components/_all.scss +35 -28
  25. package/components/_app-drawer.scss +0 -134
  26. package/components/_breadcumb.scss +0 -71
  27. package/components/_buttons.scss +779 -779
  28. package/components/_card-body-wrapper.scss +5 -5
  29. package/components/_dashboard-header.scss +0 -115
  30. package/components/_direct-deploy.scss +8 -8
  31. package/components/_getkeeper.scss +110 -0
  32. package/components/_go-to-top.scss +1 -1
  33. package/components/_graph.scss +10 -10
  34. package/components/_image-upload.scss +9 -9
  35. package/components/_input-card.scss +232 -0
  36. package/components/_input.scss +573 -0
  37. package/components/_left-sidebar-menu.scss +452 -587
  38. package/components/_monaco-editor.scss +2 -2
  39. package/components/{_ac-multi-select.scss → _multi-select.scss} +89 -251
  40. package/components/_navbar.scss +786 -752
  41. package/components/_nested-list.scss +3 -3
  42. package/components/_overview-info.scss +10 -10
  43. package/components/_overview-page.scss +4 -4
  44. package/components/_pagination.scss +106 -124
  45. package/components/_payment-card.scss +21 -21
  46. package/components/_preloader.scss +1 -1
  47. package/components/_preview-modal.scss +18 -18
  48. package/components/_pricing-table.scss +14 -14
  49. package/components/_progress-bar.scss +73 -86
  50. package/components/_subscription-card.scss +22 -24
  51. package/components/_table-of-content.scss +8 -8
  52. package/components/{_ac-terminal.scss → _terminal.scss} +114 -81
  53. package/components/_tfa.scss +9 -9
  54. package/components/_transitions.scss +35 -0
  55. package/components/_widget-menu.scss +252 -257
  56. package/components/_wizard.scss +518 -793
  57. package/components/ac-toaster/_ac-toasted.scss +11 -16
  58. package/components/bbum/_activities-header.scss +1 -1
  59. package/components/bbum/_card-team.scss +12 -12
  60. package/components/bbum/_information-center.scss +21 -23
  61. package/components/bbum/_left-sidebar.scss +8 -8
  62. package/components/bbum/_mobile-desktop.scss +16 -21
  63. package/components/bbum/_post.scss +5 -5
  64. package/components/bbum/_sign-up-notification.scss +10 -10
  65. package/components/bbum/_single-post-preview.scss +29 -29
  66. package/components/bbum/_user-profile.scss +10 -10
  67. package/components/ui-builder/_ui-builder.scss +221 -31
  68. package/components/ui-builder/_vue-open-api.scss +565 -7
  69. package/icons/close-icon.svg +3 -0
  70. package/layouts/_code-preview.scss +17 -18
  71. package/main.scss +26 -10
  72. package/package.json +1 -1
  73. package/plugins/theme.js +11 -9
  74. package/plugins/vue-toaster.js +1 -1
  75. package/vue-components/images/icons/cluster-icon.svg +10 -0
  76. package/vue-components/images/icons/org-icon.svg +10 -0
  77. package/vue-components/plugins/time-convert.js +49 -0
  78. package/vue-components/types/cluster.ts +6 -0
  79. package/vue-components/types/importFlow.ts +16 -0
  80. package/vue-components/types/notification.ts +6 -0
  81. package/vue-components/types/previewYaml.ts +8 -0
  82. package/vue-components/types/table.ts +55 -0
  83. package/vue-components/types/theme.ts +10 -0
  84. package/vue-components/types/user.ts +22 -0
  85. package/vue-components/v2/banner/Banner.vue +1 -1
  86. package/vue-components/v2/button/Buttons.vue +1 -1
  87. package/vue-components/v2/card/Card.vue +1 -1
  88. package/vue-components/v2/card/OverviewCards.vue +17 -2
  89. package/vue-components/v2/content/ContentTable.vue +14 -9
  90. package/vue-components/v2/editor/FilteredFileEditor.vue +2 -2
  91. package/vue-components/v2/editor/ResourceKeyValueEditor.vue +21 -21
  92. package/vue-components/v2/icons/Ellipsis.vue +2 -1
  93. package/vue-components/v2/modal/Modal.vue +2 -6
  94. package/vue-components/v2/navbar/Appdrawer.vue +37 -12
  95. package/vue-components/v2/navbar/Navbar.vue +3 -3
  96. package/vue-components/v2/navbar/NavbarItem.vue +3 -1
  97. package/vue-components/v2/navbar/NavbarItemContent.vue +1 -1
  98. package/vue-components/v2/navbar/User.vue +5 -22
  99. package/vue-components/v2/pagination/Pagination.vue +66 -0
  100. package/vue-components/v2/sidebar/SidebarItem.vue +10 -7
  101. package/{components/_ac-accordion.scss → vue-components/v3/accordion/Accordion.vue} +40 -6
  102. package/vue-components/v3/alert/Alert.vue +238 -0
  103. package/vue-components/v3/alert/Toast.vue +79 -0
  104. package/vue-components/v3/banner/Banner.vue +10 -0
  105. package/vue-components/v3/breadcrumbs/Breadcrumb.vue +166 -0
  106. package/vue-components/v3/button/Button.vue +110 -57
  107. package/vue-components/v3/button/Buttons.vue +22 -0
  108. package/vue-components/v3/button/DownloadBtn.vue +31 -0
  109. package/vue-components/v3/cards/Card.vue +32 -0
  110. package/vue-components/v3/cards/CardContent.vue +7 -0
  111. package/vue-components/v3/cards/CardHeader.vue +14 -0
  112. package/vue-components/v3/cards/Cards.vue +7 -0
  113. package/vue-components/v3/cards/Cluster.vue +159 -0
  114. package/vue-components/v3/cards/Counter.vue +39 -0
  115. package/vue-components/v3/cards/FeatureCard.vue +67 -0
  116. package/vue-components/v3/cards/FeatureCards.vue +6 -0
  117. package/vue-components/v3/cards/InfoCard.vue +242 -0
  118. package/vue-components/v3/cards/Monitoring.vue +90 -0
  119. package/vue-components/v3/cards/OrgClusterCard.vue +86 -0
  120. package/vue-components/v3/cards/OverviewCard.vue +28 -0
  121. package/vue-components/v3/cards/OverviewCards.vue +39 -0
  122. package/vue-components/v3/cards/Payment.vue +62 -0
  123. package/vue-components/v3/cards/Vendor.vue +89 -0
  124. package/vue-components/v3/content/ContentHeader.vue +39 -30
  125. package/vue-components/v3/content/ContentLayout.vue +20 -0
  126. package/vue-components/v3/content/ContentTable.vue +44 -58
  127. package/vue-components/v3/dropdown/DropdownAction.vue +95 -0
  128. package/vue-components/v3/dropdown/DropdownDivider.vue +2 -0
  129. package/vue-components/v3/dropdown/DropdownItem.vue +2 -0
  130. package/vue-components/v3/dropdown/DropdownMenu.vue +85 -91
  131. package/vue-components/v3/editor/Editor.vue +117 -115
  132. package/vue-components/v3/editor/FilteredFileEditor.vue +325 -128
  133. package/vue-components/v3/editor/ResourceKeyValueEditor.vue +73 -94
  134. package/vue-components/v3/footer/FooterArea.vue +40 -0
  135. package/vue-components/v3/footer/FooterItem.vue +32 -0
  136. package/vue-components/v3/footer/FooterItems.vue +15 -0
  137. package/vue-components/v3/footer/Info.vue +25 -0
  138. package/vue-components/v3/footer/Status.vue +43 -0
  139. package/vue-components/v3/footer/Usage.vue +34 -0
  140. package/vue-components/v3/form/Form.vue +24 -36
  141. package/vue-components/v3/form/FormFooter.vue +24 -0
  142. package/vue-components/v3/form/FormFooterControl.vue +7 -0
  143. package/vue-components/v3/form/FormFooterControls.vue +7 -0
  144. package/vue-components/v3/form-fields/AcSingleInput.vue +21 -0
  145. package/vue-components/v3/form-fields/FileUpload.vue +89 -0
  146. package/vue-components/v3/form-fields/Input.vue +19 -15
  147. package/vue-components/v3/header/Header.vue +120 -26
  148. package/vue-components/v3/header/HeaderItem.vue +18 -0
  149. package/vue-components/v3/header/HeaderItems.vue +4 -0
  150. package/vue-components/v3/icons/Ellipsis.vue +2 -0
  151. package/vue-components/v3/loaders/ClusterSwitcherLoader.vue +13 -0
  152. package/vue-components/v3/loaders/InfoCardLoader.vue +19 -0
  153. package/vue-components/v3/loaders/ResourceLoader.vue +4 -12
  154. package/vue-components/v3/loaders/SidebarLoader.vue +4 -12
  155. package/vue-components/v3/loaders/SingleInfoCardLoader.vue +24 -0
  156. package/vue-components/v3/modal/Modal.vue +294 -95
  157. package/vue-components/v3/modals/DeleteConfirmationModal.vue +37 -50
  158. package/vue-components/v3/modals/JsonShowModal.vue +63 -68
  159. package/vue-components/v3/navbar/Appdrawer.vue +198 -51
  160. package/vue-components/v3/navbar/Navbar.vue +139 -0
  161. package/vue-components/v3/navbar/NavbarItem.vue +103 -0
  162. package/vue-components/v3/navbar/NavbarItemContent.vue +282 -0
  163. package/vue-components/v3/navbar/Notification.vue +207 -0
  164. package/vue-components/v3/navbar/ThemeMode.vue +128 -112
  165. package/vue-components/v3/navbar/User.vue +394 -267
  166. package/vue-components/v3/notification/AlertBox.vue +266 -39
  167. package/vue-components/v3/notification/Notification.vue +50 -44
  168. package/vue-components/v3/notification/NotificationItem.vue +51 -19
  169. package/vue-components/v3/option-dots/Options.vue +197 -0
  170. package/vue-components/v3/pagination/Pagination.vue +216 -102
  171. package/vue-components/v3/preloader/Preloader.vue +23 -0
  172. package/vue-components/v3/searchbars/SearchBar.vue +50 -34
  173. package/vue-components/v3/sidebar/AccentColorPicker.vue +97 -0
  174. package/vue-components/v3/sidebar/ClusterSwitcher.vue +71 -86
  175. package/vue-components/v3/sidebar/Sidebar.vue +239 -0
  176. package/vue-components/v3/sidebar/SidebarBody.vue +14 -0
  177. package/vue-components/v3/sidebar/SidebarFooter.vue +89 -0
  178. package/vue-components/v3/sidebar/SidebarHeader.vue +131 -0
  179. package/vue-components/v3/sidebar/SidebarItem.vue +62 -0
  180. package/vue-components/v3/sidebar/SidebarItemWithDropDown.vue +101 -104
  181. package/vue-components/v3/sidebar/SidebarMenuList.vue +9 -0
  182. package/vue-components/v3/sidebar/Steps.vue +152 -0
  183. package/vue-components/v3/sidebar/sidebar-tabs/SidebarTabs.vue +204 -0
  184. package/vue-components/v3/sidebar/sidebar-tabs/SidebarTabsLayout.vue +44 -0
  185. package/vue-components/v3/sidebar/sidebar-tabs/TabsContent.vue +99 -0
  186. package/vue-components/v3/tab/TabItem.vue +10 -12
  187. package/vue-components/v3/tab/Tabs.vue +36 -0
  188. package/vue-components/v3/tab/TabsBody.vue +7 -0
  189. package/vue-components/v3/table/EmptyTableInfo.vue +8 -0
  190. package/vue-components/v3/table/FakeTableCell.vue +22 -31
  191. package/vue-components/v3/table/InfoTable.vue +89 -61
  192. package/vue-components/v3/table/MultiInfoTable.vue +72 -95
  193. package/vue-components/v3/table/Table.vue +596 -157
  194. package/vue-components/v3/table/TableCell.vue +13 -24
  195. package/vue-components/v3/table/TableContainer.vue +50 -28
  196. package/vue-components/v3/table/TableRow.vue +65 -87
  197. package/vue-components/v3/table/table-cell/ArrayCell.vue +94 -103
  198. package/vue-components/v3/table/table-cell/CellValue.vue +74 -106
  199. package/vue-components/v3/table/table-cell/GenericCell.vue +43 -42
  200. package/vue-components/v3/table/table-cell/ObjectCell.vue +91 -101
  201. package/vue-components/v3/table/table-cell/ValueWithModal.vue +22 -31
  202. package/vue-components/v3/tabs/EditorTabs.vue +18 -24
  203. package/vue-components/v3/tag/Tag.vue +16 -12
  204. package/vue-components/v3/tag/Tags.vue +7 -0
  205. package/base/utilities/_derived-variables.scss +0 -25
  206. package/base/utilities/_initial-variables.scss +0 -215
  207. package/base/utilities/dark-theme.scss +0 -26
  208. package/components/_ac-card.scss +0 -597
  209. package/components/_ac-input.scss +0 -876
  210. package/mixins/stickyContent.js +0 -141
  211. package/plugins/caching.ts +0 -243
  212. package/vue-components/v3/long-running-tasks/LongRunningTaskItem.vue +0 -92
  213. package/vue-components/v3/modals/LongRunningTasksModal.vue +0 -400
  214. package/vue-components/v3/terminal/LongRunningTaskTerminal.vue +0 -148
  215. /package/components/{_ac-report.scss → _report.scss} +0 -0
@@ -28,9 +28,10 @@
28
28
 
29
29
  .vue-openapi-form {
30
30
  margin-left: -20px;
31
+
31
32
  .is-warning {
32
33
  font-size: 12px;
33
- color: #ea3d2f;
34
+ color: $warning;
34
35
  padding-left: 10px;
35
36
  }
36
37
 
@@ -50,32 +51,33 @@
50
51
 
51
52
  .ac-single-switch {
52
53
  margin-left: -15px;
54
+ margin-bottom: 35px;
53
55
  }
54
56
 
55
57
  .ac-single-input {
56
58
  margin-left: 25px;
57
59
 
58
60
  &:last-child {
59
- margin-bottom: 15px;
61
+ margin-bottom: 16px;
60
62
  }
61
63
  }
62
64
  }
63
65
 
64
66
  .vue-form-scema-body {
65
67
  .left-content {
66
- width: 650px;
67
- background-color: $ac-white-lighter;
68
+ background-color: $primary-97;
69
+ border-right: 1px solid $primary-90;
68
70
  padding: 30px;
71
+ width: 500px;
69
72
  }
70
73
 
71
74
  .right-content {
72
- width: 100%;
73
75
  margin-top: 30px;
74
76
  }
75
77
  }
76
78
 
77
79
  .v-tooltip-open {
78
- background-color: $ac-white;
80
+ background-color: $white-100;
79
81
  }
80
82
 
81
83
  .ac-nested-elements::after {
@@ -97,8 +99,564 @@
97
99
 
98
100
  .ui-builders-wrapper {
99
101
  .ac-nested-elements::before {
100
- bottom: 6px !important;
102
+ bottom: 10px !important;
101
103
  }
102
104
  }
103
105
 
104
106
  // for vue-tooltip
107
+
108
+ .vue-openapi-form {
109
+ .ac-single-input {
110
+ position: relative;
111
+ z-index: 1;
112
+ margin-bottom: 16px;
113
+
114
+ &.is-disable {
115
+ opacity: 0.5;
116
+
117
+ input,
118
+ .button.is-information,
119
+ .eye i.fa {
120
+ cursor: not-allowed;
121
+ }
122
+ }
123
+
124
+ &.is-information {
125
+ input {
126
+ padding-right: 45px;
127
+
128
+ &[type="password"] {
129
+ padding-right: 80px;
130
+ }
131
+ }
132
+
133
+ span.eye i.fa {
134
+ right: 35px;
135
+ }
136
+ }
137
+
138
+ &.is-success {
139
+ input,
140
+ .ac-card,
141
+ textarea {
142
+ border: 1px solid $primary !important;
143
+ }
144
+
145
+ p {
146
+ color: $primary;
147
+ }
148
+ }
149
+
150
+ &.is-danger {
151
+ input,
152
+ .ac-card,
153
+ textarea {
154
+ border: 1px solid $danger;
155
+ }
156
+
157
+ p {
158
+ color: $danger;
159
+ }
160
+ }
161
+
162
+ &.is-loading {
163
+ input,
164
+ .ac-card,
165
+ textarea {
166
+ border: 1px solid $info;
167
+ opacity: 0.5;
168
+ }
169
+
170
+ p {
171
+ color: $info;
172
+ opacity: 0.5;
173
+ }
174
+ }
175
+
176
+ &.borderless-input {
177
+ input {
178
+ border: none;
179
+ font-size: 13px;
180
+ padding: 4px 7px;
181
+ height: 30px;
182
+ background-color: $white-100;
183
+ padding-right: 30px;
184
+
185
+ &[type="password"] {
186
+ padding-right: 30px;
187
+ }
188
+
189
+ &:focus {
190
+ outline: none;
191
+ border: none;
192
+ }
193
+ }
194
+
195
+ span.eye {
196
+ i.fa {
197
+ padding: 9px;
198
+ font-size: 12px;
199
+ }
200
+ }
201
+ }
202
+
203
+ &.is-normal {
204
+ input {
205
+ height: 45px;
206
+ font-size: 15px;
207
+ font-weight: 400;
208
+ }
209
+
210
+ .button {
211
+ &.is-information {
212
+ height: 45px;
213
+ width: 45px;
214
+ margin-top: 0;
215
+ &:focus {
216
+ outline: none;
217
+ box-shadow: none;
218
+ }
219
+ }
220
+ }
221
+
222
+ span.eye i.fa {
223
+ padding: 14px 10px;
224
+ }
225
+
226
+ .ac-search-button {
227
+ margin-top: -22.5px;
228
+ }
229
+
230
+ label {
231
+ top: 13px;
232
+ font-size: 13px;
233
+
234
+ &.show-label {
235
+ font-size: 12px;
236
+ color: $black-40;
237
+ top: -9px;
238
+ font-weight: 500;
239
+ background-color: $white-100;
240
+ }
241
+ }
242
+
243
+ .control {
244
+ &.has-icons-right {
245
+ .icon {
246
+ height: 45px;
247
+ width: 30px;
248
+ font-size: 13px;
249
+ }
250
+ }
251
+ }
252
+ }
253
+
254
+ &.is-small {
255
+ input {
256
+ height: 36px;
257
+ font-size: 13px;
258
+ font-weight: 400;
259
+ }
260
+
261
+ .button {
262
+ &.is-information {
263
+ height: 36px;
264
+ width: 36px;
265
+ margin-top: 0;
266
+ padding: 10px;
267
+ }
268
+ }
269
+
270
+ span.eye i.fa {
271
+ padding: 10px;
272
+ }
273
+
274
+ .ac-search-button {
275
+ margin-top: -18px;
276
+ }
277
+
278
+ label {
279
+ top: 8px;
280
+ font-size: 13px;
281
+
282
+ &.switch-label {
283
+ top: 0;
284
+ }
285
+
286
+ &.show-label {
287
+ font-size: 12px;
288
+ top: -9px;
289
+ font-weight: 500;
290
+ color: $black-40;
291
+
292
+ &.is-required {
293
+ &:after {
294
+ width: calc(100% + 10px);
295
+ }
296
+ }
297
+ }
298
+ }
299
+
300
+ .control {
301
+ &.has-icons-right {
302
+ .icon {
303
+ height: 36px;
304
+ width: 25px;
305
+ font-size: 13px;
306
+ }
307
+ }
308
+ }
309
+ }
310
+
311
+ &.is-extra-small {
312
+ input {
313
+ height: 32px;
314
+ font-size: 13px;
315
+ font-weight: 400;
316
+ }
317
+
318
+ .button {
319
+ &.is-information {
320
+ height: 32px;
321
+ width: 32px;
322
+ margin-top: 0;
323
+ }
324
+ }
325
+
326
+ span.eye i.fa {
327
+ padding: 10px;
328
+ }
329
+
330
+ .ac-search-button {
331
+ margin-top: 0px;
332
+ top: 0;
333
+ display: flex;
334
+ align-items: center;
335
+ width: 40px;
336
+ justify-content: center;
337
+
338
+ svg {
339
+ width: 18px;
340
+ }
341
+ }
342
+
343
+ label {
344
+ top: 8px;
345
+ font-size: 13px;
346
+
347
+ &.switch-label {
348
+ top: 0;
349
+ }
350
+
351
+ &.show-label {
352
+ font-size: 12px;
353
+ top: -9px;
354
+ }
355
+ }
356
+
357
+ .control {
358
+ &.has-icons-right {
359
+ .icon {
360
+ height: 32px;
361
+ width: 25px;
362
+ font-size: 13px;
363
+ }
364
+ }
365
+ }
366
+ }
367
+
368
+ &:last-child {
369
+ margin-bottom: 0;
370
+ }
371
+
372
+ &.is-dark {
373
+ input {
374
+ background-color: $primary-10;
375
+ border-color: transparent;
376
+ color: $white-100;
377
+
378
+ &::placeholder {
379
+ color: $primary-10;
380
+ }
381
+
382
+ button {
383
+ i.fa {
384
+ color: $white-100;
385
+ }
386
+ }
387
+ }
388
+ }
389
+
390
+ label {
391
+ font-size: 13px;
392
+ left: 15px;
393
+ top: 11px;
394
+ cursor: text;
395
+ color: $primary-10;
396
+ position: absolute;
397
+ z-index: 2;
398
+ transition: 0.3s ease-in-out;
399
+
400
+ .is-required {
401
+ color: $danger;
402
+
403
+ img {
404
+ position: absolute;
405
+ top: 7px;
406
+ padding-left: 3px;
407
+ }
408
+ }
409
+
410
+ &.show-label {
411
+ top: -9px;
412
+ left: 10px;
413
+ padding: 0 5px;
414
+ font-size: 13px;
415
+ color: $black-40;
416
+
417
+ &:after {
418
+ position: absolute;
419
+ content: "";
420
+ left: 0;
421
+ top: 50%;
422
+ background-color: $white-100;
423
+ width: 100%;
424
+ height: 2px;
425
+ margin-top: -1px;
426
+ z-index: -1;
427
+ }
428
+
429
+ // &.is-required {
430
+ // &:after {
431
+ // width: calc(100% + 10px);
432
+ // }
433
+ // }
434
+ }
435
+ }
436
+
437
+ .button {
438
+ &.is-information {
439
+ background-color: transparent;
440
+ border: none;
441
+ position: absolute;
442
+ right: 0;
443
+ height: 32px;
444
+ width: 32px;
445
+ margin-top: 0;
446
+
447
+ &:focus {
448
+ outline: none;
449
+ box-shadow: none;
450
+ background-color: #e4e8ef;
451
+ transform: scale(0.8);
452
+ }
453
+ }
454
+ }
455
+
456
+ .ac-search-button {
457
+ background-color: transparent;
458
+ border: none;
459
+ position: absolute;
460
+ left: 0;
461
+ top: 50%;
462
+ width: 32px;
463
+ height: 100%;
464
+ margin-top: -15px;
465
+ color: $primary-20;
466
+ cursor: pointer;
467
+ }
468
+
469
+ .ac-dropdown-content {
470
+ position: absolute;
471
+ background-color: $primary-90;
472
+ width: 100%;
473
+ height: auto;
474
+ box-shadow: 0px 4px 16px rgba(132, 147, 168, 0.6);
475
+ border-radius: 4px;
476
+ overflow: hidden;
477
+
478
+ ul {
479
+ li {
480
+ a {
481
+ color: $primary-10;
482
+ display: block;
483
+ font-size: 13px;
484
+ padding: 8px 20px;
485
+ transition: 0.3s;
486
+
487
+ &:hover {
488
+ background-color: hsla(
489
+ var(--hsl-hue),
490
+ var(--hsl-saturation),
491
+ var(--hsl-lightness),
492
+ 0.2
493
+ );
494
+ color: $primary;
495
+ }
496
+ }
497
+ }
498
+ }
499
+ }
500
+
501
+ .ac-textarea {
502
+ .ac-label {
503
+ &.is-required {
504
+ &:after {
505
+ width: calc(100% + 10px);
506
+ }
507
+ }
508
+ }
509
+
510
+ textarea {
511
+ border: 1px solid $primary-80;
512
+ background-color: transparent;
513
+ padding: 10px 16px;
514
+ min-height: 50px;
515
+
516
+ &.bg-white {
517
+ background-color: transparent;
518
+ }
519
+
520
+ &:focus {
521
+ outline: none;
522
+ border: 1px solid $primary;
523
+ }
524
+ }
525
+ }
526
+
527
+ input,
528
+ .ac-card,
529
+ textarea {
530
+ background-color: $white-100;
531
+ color: $primary-10;
532
+ height: 45px;
533
+ font-weight: 400;
534
+ width: 100%;
535
+ border-radius: 4px;
536
+ border: 1px solid $primary-80;
537
+ padding: 8px 16px;
538
+ font-size: 13px;
539
+
540
+ &:hover {
541
+ border-color: $black-70;
542
+ }
543
+
544
+ &.bg-white {
545
+ background-color: $white-100;
546
+ }
547
+
548
+ &.StripeElement--focus {
549
+ border: 1px solid $primary;
550
+ }
551
+
552
+ &:focus {
553
+ border: 1px solid $primary;
554
+ outline: none;
555
+ background-color: $white-100;
556
+ }
557
+
558
+ &[type="password"] {
559
+ padding-right: 40px;
560
+ }
561
+
562
+ &[type="search"] {
563
+ padding-left: 30px;
564
+ }
565
+
566
+ transition: background-color 0.3s ease-in-out;
567
+ }
568
+
569
+ .ac-card {
570
+ height: 36px;
571
+ padding: 10px 20px;
572
+ }
573
+
574
+ textarea {
575
+ height: 55px;
576
+ }
577
+
578
+ b.isRequired {
579
+ color: $danger;
580
+ font-size: 13px;
581
+ position: absolute;
582
+ right: 5px;
583
+ z-index: 9;
584
+ }
585
+
586
+ span.eye {
587
+ i.fa {
588
+ color: $primary-80;
589
+ position: absolute;
590
+ cursor: pointer;
591
+ padding: 15px;
592
+ right: 0;
593
+ top: 0;
594
+ }
595
+ }
596
+
597
+ .is-danger {
598
+ font-size: 12px;
599
+ line-height: 22px;
600
+ color: $danger;
601
+ text-align: left;
602
+
603
+ i.fa {
604
+ padding-right: 10px;
605
+ }
606
+ }
607
+ }
608
+
609
+ .ac-input.ac-search {
610
+ width: 42px;
611
+ transition: 0.3s ease-in-out;
612
+ padding: 0;
613
+ }
614
+
615
+ .ac-search:focus {
616
+ width: 200px !important;
617
+ padding-right: 10px;
618
+ }
619
+ }
620
+
621
+ // button scss
622
+ .button {
623
+ &.ac-button {
624
+ padding: 8px 16px;
625
+ font-weight: 500;
626
+ line-height: 1;
627
+
628
+ &.is-light {
629
+ &.is-loading {
630
+ &::after {
631
+ border-color: transparent transparent #1c1c1c #1c1c1c !important;
632
+ }
633
+ }
634
+ }
635
+ &.is-ghost {
636
+ border-color: transparent !important;
637
+ }
638
+ &.is-square {
639
+ border: 1px solid $primary-95;
640
+ }
641
+ &.is-small {
642
+ padding: 4px 9px;
643
+ }
644
+ &.is-medium {
645
+ font-size: 1rem;
646
+ height: 36px;
647
+ }
648
+ }
649
+ &:focus {
650
+ outline: none;
651
+ box-shadow: none;
652
+ }
653
+ }
654
+ button.is-primary {
655
+ background-color: $primary;
656
+ }
657
+
658
+ .is-refresh {
659
+ i.fa {
660
+ color: $primary-10;
661
+ }
662
+ }
@@ -0,0 +1,3 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M1 1L15.2222 15.2222M15.2222 1L1 15.2222" stroke="#54657E" stroke-width="1.5" stroke-linecap="round"/>
3
+ </svg>
@@ -1,15 +1,15 @@
1
1
  .component-wrapper {
2
2
  .component-inner {
3
3
  margin: 20px;
4
- border: 1px solid $ac-white-light;
4
+ border: 1px solid $primary-90;
5
5
  border-radius: 4px;
6
6
  display: flex;
7
7
  align-items: center;
8
8
  justify-content: space-between;
9
- background-color: $ac-white;
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 {
@@ -19,7 +19,7 @@
19
19
  width: 100%;
20
20
 
21
21
  i.is-block {
22
- color: $ac-color-value;
22
+ color: $primary-20;
23
23
  }
24
24
 
25
25
  .ac-navbar-area {
@@ -33,7 +33,7 @@
33
33
  }
34
34
 
35
35
  &.ac-bg-dark {
36
- background-color: $ac-color-heading;
36
+ background-color: $primary-5;
37
37
  }
38
38
 
39
39
  .ac-html-preview {
@@ -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 {
@@ -95,7 +95,7 @@
95
95
  }
96
96
 
97
97
  .ac-code-preview-wrapper {
98
- border: 1px solid $ac-white-light;
98
+ border: 1px solid $primary-90;
99
99
  border-radius: 4px;
100
100
 
101
101
  .ac-code-header {
@@ -110,9 +110,10 @@
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
- border: 1px solid $ac-white-light;
116
+ border: 1px solid $primary-90;
116
117
  border-radius: 4px;
117
118
  margin-bottom: 25px;
118
119
  overflow: hidden;
@@ -120,15 +121,15 @@
120
121
  .component-header {
121
122
  display: flex;
122
123
  justify-content: space-between;
123
- border-bottom: 1px solid $ac-white-light;
124
- background-color: $ac-white;
124
+ border-bottom: 1px solid $primary-90;
125
+ background-color: $white-100;
125
126
 
126
127
  h3 {
127
128
  padding: 10px 20px;
128
129
  font-size: 16px;
129
130
  font-weight: 500;
130
- font-family: $ac-family-paragraph;
131
- color: $ac-color-value;
131
+ font-family: $font-paragraph;
132
+ color: $primary-20;
132
133
  }
133
134
 
134
135
  .component-switch {
@@ -145,7 +146,7 @@
145
146
 
146
147
  .component-body {
147
148
  padding: 20px;
148
- background-color: $ac-white;
149
+ background-color: $white-100;
149
150
 
150
151
  .code-preview {
151
152
  position: relative;
@@ -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) {}