@appscode/design-system 1.1.0-alpha.8 → 1.1.0-beta.10

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 (200) hide show
  1. package/base/_video-player.scss +65 -0
  2. package/base/utilities/_all.scss +6 -5
  3. package/base/utilities/_colors.scss +408 -0
  4. package/base/utilities/_customize-bulma.scss +23 -27
  5. package/base/utilities/_extended.scss +9 -4
  6. package/base/utilities/{_default.scss → _global.scss} +185 -331
  7. package/base/utilities/_layouts.scss +157 -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/base/utilities/dark-theme.scss +1 -1
  12. package/components/_ac-accordion.scss +117 -117
  13. package/components/_ac-alert-box.scss +205 -263
  14. package/components/_ac-calendar.scss +4 -4
  15. package/components/_ac-card.scss +0 -597
  16. package/components/_ac-code-highlight.scss +6 -6
  17. package/components/_ac-content-layout.scss +165 -165
  18. package/components/_ac-drag.scss +11 -11
  19. package/components/_ac-input.scss +477 -452
  20. package/components/_ac-modal.scss +212 -212
  21. package/components/_ac-multi-select.scss +780 -751
  22. package/components/_ac-options.scss +122 -123
  23. package/components/_ac-select-box.scss +5 -5
  24. package/components/_ac-table.scss +503 -502
  25. package/components/_ac-tabs.scss +39 -38
  26. package/components/_ac-tags.scss +116 -116
  27. package/components/_ac-terminal.scss +95 -51
  28. package/components/_add-card.scss +3 -3
  29. package/components/_all.scss +29 -26
  30. package/components/_app-drawer.scss +0 -134
  31. package/components/_breadcumb.scss +0 -71
  32. package/components/_buttons.scss +779 -779
  33. package/components/_card-body-wrapper.scss +5 -5
  34. package/components/_dashboard-header.scss +0 -115
  35. package/components/_direct-deploy.scss +8 -8
  36. package/components/_go-to-top.scss +1 -1
  37. package/components/_image-upload.scss +5 -5
  38. package/components/_left-sidebar-menu.scss +448 -579
  39. package/components/_monaco-editor.scss +1 -1
  40. package/components/_navbar.scss +786 -752
  41. package/components/_nested-list.scss +1 -1
  42. package/components/_overview-info.scss +7 -7
  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 +10 -10
  49. package/components/_progress-bar.scss +12 -12
  50. package/components/_subscription-card.scss +14 -14
  51. package/components/_table-of-content.scss +4 -4
  52. package/components/_tfa.scss +9 -9
  53. package/components/_widget-menu.scss +247 -247
  54. package/components/_wizard.scss +557 -559
  55. package/components/ac-toaster/_ac-toasted.scss +7 -12
  56. package/components/bbum/_activities-header.scss +1 -1
  57. package/components/bbum/_card-team.scss +12 -12
  58. package/components/bbum/_information-center.scss +13 -13
  59. package/components/bbum/_left-sidebar.scss +8 -8
  60. package/components/bbum/_mobile-desktop.scss +7 -7
  61. package/components/bbum/_post.scss +5 -5
  62. package/components/bbum/_sign-up-notification.scss +10 -10
  63. package/components/bbum/_single-post-preview.scss +21 -21
  64. package/components/bbum/_user-profile.scss +10 -10
  65. package/components/ui-builder/_ui-builder.scss +15 -15
  66. package/components/ui-builder/_vue-open-api.scss +515 -2
  67. package/layouts/_code-preview.scss +11 -11
  68. package/main.scss +26 -10
  69. package/package.json +1 -1
  70. package/plugins/theme.js +11 -9
  71. package/plugins/vue-toaster.js +1 -1
  72. package/vue-components/plugins/time-convert.js +49 -0
  73. package/vue-components/text.vue +1 -0
  74. package/vue-components/types/cluster.ts +6 -0
  75. package/vue-components/types/importFlow.ts +16 -0
  76. package/vue-components/types/longRunningTasks.ts +20 -0
  77. package/vue-components/types/notification.ts +6 -0
  78. package/vue-components/types/previewYaml.ts +8 -0
  79. package/vue-components/types/table.ts +54 -0
  80. package/vue-components/types/theme.ts +10 -0
  81. package/vue-components/types/user.ts +22 -0
  82. package/vue-components/v2/card/Card.vue +1 -1
  83. package/vue-components/v2/card/OverviewCards.vue +17 -2
  84. package/vue-components/v2/editor/FilteredFileEditor.vue +2 -2
  85. package/vue-components/v2/editor/ResourceKeyValueEditor.vue +21 -21
  86. package/vue-components/v2/icons/Ellipsis.vue +2 -1
  87. package/vue-components/v2/modal/Modal.vue +0 -5
  88. package/vue-components/v2/navbar/Appdrawer.vue +37 -12
  89. package/vue-components/v2/navbar/Navbar.vue +3 -3
  90. package/vue-components/v2/navbar/NavbarItem.vue +3 -1
  91. package/vue-components/v2/navbar/NavbarItemContent.vue +1 -1
  92. package/vue-components/v2/navbar/User.vue +5 -22
  93. package/vue-components/v2/pagination/Pagination.vue +66 -0
  94. package/vue-components/v2/sidebar/SidebarItem.vue +10 -7
  95. package/vue-components/v3/accordion/Accordion.vue +151 -0
  96. package/vue-components/v3/alert/Alert.vue +238 -0
  97. package/vue-components/v3/alert/Toast.vue +79 -0
  98. package/vue-components/v3/banner/Banner.vue +10 -0
  99. package/vue-components/v3/breadcrumbs/Breadcrumb.vue +104 -0
  100. package/vue-components/v3/button/Button.vue +839 -58
  101. package/vue-components/v3/button/Buttons.vue +6 -0
  102. package/vue-components/v3/button/DownloadBtn.vue +31 -0
  103. package/vue-components/v3/cards/Card.vue +32 -0
  104. package/vue-components/v3/cards/CardContent.vue +7 -0
  105. package/vue-components/v3/cards/CardHeader.vue +14 -0
  106. package/vue-components/v3/cards/Cards.vue +7 -0
  107. package/vue-components/v3/cards/Cluster.vue +149 -0
  108. package/vue-components/v3/cards/Counter.vue +39 -0
  109. package/vue-components/v3/cards/FeatureCard.vue +71 -0
  110. package/vue-components/v3/cards/FeatureCards.vue +6 -0
  111. package/vue-components/v3/cards/InfoCard.vue +243 -0
  112. package/vue-components/v3/cards/Monitoring.vue +94 -0
  113. package/vue-components/v3/cards/OverviewCard.vue +24 -0
  114. package/vue-components/v3/cards/OverviewCards.vue +31 -0
  115. package/vue-components/v3/cards/Payment.vue +62 -0
  116. package/vue-components/v3/cards/Vendor.vue +85 -0
  117. package/vue-components/v3/content/ContentHeader.vue +39 -30
  118. package/vue-components/v3/content/ContentLayout.vue +20 -0
  119. package/vue-components/v3/content/ContentTable.vue +43 -62
  120. package/vue-components/v3/dropdown/DropdownDivider.vue +2 -0
  121. package/vue-components/v3/dropdown/DropdownItem.vue +2 -0
  122. package/vue-components/v3/dropdown/DropdownMenu.vue +85 -91
  123. package/vue-components/v3/editor/Editor.vue +100 -113
  124. package/vue-components/v3/editor/FilteredFileEditor.vue +317 -127
  125. package/vue-components/v3/editor/ResourceKeyValueEditor.vue +70 -94
  126. package/vue-components/v3/footer/FooterArea.vue +34 -0
  127. package/vue-components/v3/footer/FooterItem.vue +32 -0
  128. package/vue-components/v3/footer/FooterItems.vue +15 -0
  129. package/vue-components/v3/footer/Info.vue +23 -0
  130. package/vue-components/v3/footer/Status.vue +42 -0
  131. package/vue-components/v3/footer/Usage.vue +44 -0
  132. package/vue-components/v3/form/Form.vue +24 -33
  133. package/vue-components/v3/form/FormFooterControl.vue +7 -0
  134. package/vue-components/v3/form/FormFooterControls.vue +7 -0
  135. package/vue-components/v3/form-fields/AcSingleInput.vue +528 -0
  136. package/vue-components/v3/form-fields/Input.vue +19 -14
  137. package/vue-components/v3/header/Header.vue +119 -25
  138. package/vue-components/v3/header/HeaderItem.vue +18 -0
  139. package/vue-components/v3/header/HeaderItems.vue +4 -0
  140. package/vue-components/v3/icons/Ellipsis.vue +2 -0
  141. package/vue-components/v3/loaders/InfoCardLoader.vue +65 -0
  142. package/vue-components/v3/loaders/ResourceLoader.vue +4 -12
  143. package/vue-components/v3/loaders/SidebarLoader.vue +4 -12
  144. package/vue-components/v3/long-running-tasks/LongRunningTaskItem.vue +17 -15
  145. package/vue-components/v3/modal/Modal.vue +292 -96
  146. package/vue-components/v3/modals/DeleteConfirmationModal.vue +37 -50
  147. package/vue-components/v3/modals/JsonShowModal.vue +62 -68
  148. package/vue-components/v3/modals/LongRunningTasksModal.vue +145 -143
  149. package/vue-components/v3/navbar/Appdrawer.vue +196 -51
  150. package/vue-components/v3/navbar/Navbar.vue +298 -0
  151. package/vue-components/v3/navbar/NavbarItem.vue +81 -0
  152. package/vue-components/v3/navbar/NavbarItemContent.vue +284 -0
  153. package/vue-components/v3/navbar/Notification.vue +179 -0
  154. package/vue-components/v3/navbar/ThemeMode.vue +128 -112
  155. package/vue-components/v3/navbar/User.vue +383 -268
  156. package/vue-components/v3/notification/AlertBox.vue +41 -44
  157. package/vue-components/v3/notification/Notification.vue +49 -43
  158. package/vue-components/v3/notification/NotificationItem.vue +51 -19
  159. package/vue-components/v3/option-dots/Options.vue +188 -0
  160. package/vue-components/v3/pagination/Pagination.vue +203 -99
  161. package/vue-components/v3/preloader/Preloader.vue +23 -0
  162. package/vue-components/v3/searchbars/SearchBar.vue +59 -34
  163. package/vue-components/v3/sidebar/AccentColorPicker.vue +97 -0
  164. package/vue-components/v3/sidebar/ClusterSwitcher.vue +835 -81
  165. package/vue-components/v3/sidebar/Sidebar.vue +267 -0
  166. package/vue-components/v3/sidebar/SidebarBody.vue +7 -0
  167. package/vue-components/v3/sidebar/SidebarFooter.vue +80 -0
  168. package/vue-components/v3/sidebar/SidebarHeader.vue +124 -0
  169. package/vue-components/v3/sidebar/SidebarItem.vue +62 -0
  170. package/vue-components/v3/sidebar/SidebarItemWithDropDown.vue +101 -104
  171. package/vue-components/v3/sidebar/SidebarMenuList.vue +9 -0
  172. package/vue-components/v3/sidebar/Steps.vue +152 -0
  173. package/vue-components/v3/sidebar/sidebar-tabs/SidebarTabs.vue +128 -0
  174. package/vue-components/v3/sidebar/sidebar-tabs/SidebarTabsLayout.vue +29 -0
  175. package/vue-components/v3/sidebar/sidebar-tabs/TabsContent.vue +99 -0
  176. package/vue-components/v3/tab/TabItem.vue +10 -12
  177. package/vue-components/v3/tab/Tabs.vue +9 -0
  178. package/vue-components/v3/tab/TabsBody.vue +7 -0
  179. package/vue-components/v3/table/EmptyTableInfo.vue +8 -0
  180. package/vue-components/v3/table/FakeTableCell.vue +22 -31
  181. package/vue-components/v3/table/InfoTable.vue +89 -61
  182. package/vue-components/v3/table/MultiInfoTable.vue +72 -95
  183. package/vue-components/v3/table/Table.vue +589 -151
  184. package/vue-components/v3/table/TableCell.vue +20 -23
  185. package/vue-components/v3/table/TableContainer.vue +50 -28
  186. package/vue-components/v3/table/TableRow.vue +63 -85
  187. package/vue-components/v3/table/table-cell/ArrayCell.vue +67 -79
  188. package/vue-components/v3/table/table-cell/CellValue.vue +97 -103
  189. package/vue-components/v3/table/table-cell/GenericCell.vue +43 -42
  190. package/vue-components/v3/table/table-cell/ObjectCell.vue +67 -79
  191. package/vue-components/v3/table/table-cell/ValueWithModal.vue +22 -31
  192. package/vue-components/v3/tabs/EditorTabs.vue +18 -24
  193. package/vue-components/v3/tag/Tag.vue +15 -12
  194. package/vue-components/v3/tag/Tags.vue +7 -0
  195. package/vue-components/v3/terminal/LongRunningTaskTerminal.vue +26 -23
  196. package/base/utilities/_derived-variables.scss +0 -25
  197. package/base/utilities/_initial-variables.scss +0 -215
  198. package/components/_basic-card.scss +0 -124
  199. package/mixins/stickyContent.js +0 -141
  200. package/plugins/caching.ts +0 -243
@@ -17,10 +17,10 @@
17
17
  margin-bottom: 10px;
18
18
  }
19
19
 
20
- p :not(.ac-notification *){
20
+ p {
21
21
  font-size: 13px;
22
22
  margin-bottom: 10px;
23
- color: $ac-color-value;
23
+ color: $primary-20;
24
24
  }
25
25
  }
26
26
 
@@ -61,18 +61,18 @@
61
61
 
62
62
  &.is-active {
63
63
  &::after {
64
- border: 1px dashed $ac-primary;
64
+ border: 1px dashed $primary;
65
65
  }
66
66
 
67
67
  &::before {
68
- background-color: $ac-primary;
68
+ background-color: $primary;
69
69
  }
70
70
 
71
71
  .nested-header {
72
72
  h6 {
73
73
  .collaps-icon {
74
- border: 1px solid $ac-primary !important;
75
- color: $ac-primary !important;
74
+ border: 1px solid $primary !important;
75
+ color: $primary !important;
76
76
  }
77
77
  }
78
78
  }
@@ -85,7 +85,7 @@
85
85
  top: 10px;
86
86
  width: 1px;
87
87
  height: calc(100% - 20px);
88
- border: 1px dashed $ac-white-light;
88
+ border: 1px dashed $primary-90;
89
89
  z-index: -1;
90
90
  }
91
91
 
@@ -96,7 +96,7 @@
96
96
  bottom: 6px;
97
97
  width: 12px;
98
98
  height: 12px;
99
- background-color: $ac-white-light;
99
+ background-color: $primary-90;
100
100
  border-radius: 50%;
101
101
  z-index: -1;
102
102
  }
@@ -119,12 +119,12 @@
119
119
  display: inline-block;
120
120
  text-align: center;
121
121
  font-size: 10px;
122
- border: 1px solid $ac-white-light;
122
+ border: 1px solid $primary-90;
123
123
  border-radius: 50%;
124
124
  margin-right: 10px;
125
125
  cursor: pointer;
126
- background-color: $ac-white;
127
- color: $ac-color-value;
126
+ background-color: $white-100;
127
+ color: $primary-20;
128
128
 
129
129
  &.is-disabled {
130
130
  cursor: not-allowed;
@@ -153,7 +153,7 @@
153
153
  min-width: 630px;
154
154
 
155
155
  .thead {
156
- background-color: $ac-white-lighter;
156
+ background-color: $white-100-lighter;
157
157
 
158
158
  .tr {
159
159
  .th {
@@ -185,14 +185,14 @@
185
185
 
186
186
  .tbody {
187
187
  .tr {
188
- border-bottom: 1px solid $ac-white-light;
188
+ border-bottom: 1px solid $primary-90;
189
189
  }
190
190
  }
191
191
  }
192
192
 
193
193
  .is-selected {
194
- border: 1px solid $ac-primary;
195
- border-bottom: 1px solid $ac-primary !important;
194
+ border: 1px solid $primary;
195
+ border-bottom: 1px solid $primary !important;
196
196
  border-radius: 4px;
197
197
  }
198
198
  }
@@ -28,6 +28,7 @@
28
28
 
29
29
  .vue-openapi-form {
30
30
  margin-left: -20px;
31
+
31
32
  .is-warning {
32
33
  font-size: 12px;
33
34
  color: #ea3d2f;
@@ -50,6 +51,7 @@
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 {
@@ -64,7 +66,7 @@
64
66
  .vue-form-scema-body {
65
67
  .left-content {
66
68
  width: 650px;
67
- background-color: $ac-white-lighter;
69
+ background-color: $white-100-lighter;
68
70
  padding: 30px;
69
71
  }
70
72
 
@@ -75,7 +77,7 @@
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 {
@@ -89,6 +91,7 @@
89
91
  }
90
92
 
91
93
  .is-collapsed {
94
+
92
95
  &.ac-nested-elements::before,
93
96
  &.ac-nested-elements::after {
94
97
  display: none;
@@ -102,3 +105,513 @@
102
105
  }
103
106
 
104
107
  // for vue-tooltip
108
+
109
+ .vue-openapi-form {
110
+ .ac-single-input {
111
+ position: relative;
112
+ z-index: 1;
113
+ margin-bottom: 15px;
114
+
115
+ &.is-disable {
116
+ opacity: 0.5;
117
+
118
+ input,
119
+ .button.is-information,
120
+ .eye i.fa {
121
+ cursor: not-allowed;
122
+ }
123
+ }
124
+
125
+ &.is-information {
126
+ input {
127
+ padding-right: 45px;
128
+
129
+ &[type="password"] {
130
+ padding-right: 80px;
131
+ }
132
+ }
133
+
134
+ span.eye i.fa {
135
+ right: 35px;
136
+ }
137
+ }
138
+
139
+ &.is-success {
140
+
141
+ input,
142
+ .ac-card,
143
+ textarea {
144
+ border: 1px solid $primary !important;
145
+ }
146
+
147
+ p {
148
+ color: $primary;
149
+ }
150
+ }
151
+
152
+ &.is-danger {
153
+
154
+ input,
155
+ .ac-card,
156
+ textarea {
157
+ border: 1px solid $danger;
158
+ }
159
+
160
+ p {
161
+ color: $danger;
162
+ }
163
+ }
164
+
165
+ &.is-loading {
166
+
167
+ input,
168
+ .ac-card,
169
+ textarea {
170
+ border: 1px solid $info;
171
+ opacity: 0.5;
172
+ }
173
+
174
+ p {
175
+ color: $info;
176
+ opacity: 0.5;
177
+ }
178
+ }
179
+
180
+ &.borderless-input {
181
+ input {
182
+ border: none;
183
+ font-size: 13px;
184
+ padding: 4px 7px;
185
+ height: 30px;
186
+ background-color: $white-100;
187
+ padding-right: 30px;
188
+
189
+ &[type="password"] {
190
+ padding-right: 30px;
191
+ }
192
+
193
+ &:focus {
194
+ outline: none;
195
+ border: none;
196
+ }
197
+ }
198
+
199
+ span.eye {
200
+ i.fa {
201
+ padding: 9px;
202
+ font-size: 12px;
203
+ }
204
+ }
205
+ }
206
+
207
+ &.is-normal {
208
+ input {
209
+ height: 45px;
210
+ font-size: 15px;
211
+ font-weight: 400;
212
+ }
213
+
214
+ .button {
215
+ &.is-information {
216
+ height: 45px;
217
+ width: 45px;
218
+ margin-top: 0;
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(var(--hsl-hue),
489
+ var(--hsl-saturation),
490
+ var(--hsl-lightness),
491
+ 0.2);
492
+ color: $primary;
493
+ }
494
+ }
495
+ }
496
+ }
497
+ }
498
+
499
+ .ac-textarea {
500
+ .ac-label {
501
+ &.is-required {
502
+ &:after {
503
+ width: calc(100% + 10px);
504
+ }
505
+ }
506
+ }
507
+
508
+ textarea {
509
+ border: 1px solid $primary-80;
510
+ background-color: transparent;
511
+ padding: 10px 15px;
512
+ min-height: 50px;
513
+
514
+ &.bg-white {
515
+ background-color: transparent;
516
+ }
517
+
518
+ &:focus {
519
+ outline: none;
520
+ border: 1px solid $primary;
521
+ }
522
+ }
523
+ }
524
+
525
+ input,
526
+ .ac-card,
527
+ textarea {
528
+ background-color: $white-100;
529
+ color: $primary-10;
530
+ height: 45px;
531
+ font-weight: 400;
532
+ width: 100%;
533
+ border-radius: 4px;
534
+ border: 1px solid $primary-80;
535
+ padding: 8px 15px;
536
+ font-size: 13px;
537
+
538
+ &:hover {
539
+ border-color: $black-70;
540
+ }
541
+
542
+ &.bg-white {
543
+ background-color: $white-100;
544
+ }
545
+
546
+ &.StripeElement--focus {
547
+ border: 1px solid $primary;
548
+ }
549
+
550
+ &:focus {
551
+ border: 1px solid $primary;
552
+ outline: none;
553
+ background-color: $white-100;
554
+ }
555
+
556
+ &[type="password"] {
557
+ padding-right: 40px;
558
+ }
559
+
560
+ &[type="search"] {
561
+ padding-left: 30px;
562
+ }
563
+
564
+ transition: background-color 0.3s ease-in-out;
565
+ }
566
+
567
+ .ac-card {
568
+ height: 36px;
569
+ padding: 10px 20px;
570
+ }
571
+
572
+ textarea {
573
+ height: 55px;
574
+ }
575
+
576
+ b.isRequired {
577
+ color: $danger;
578
+ font-size: 13px;
579
+ position: absolute;
580
+ right: 5px;
581
+ z-index: 9;
582
+ }
583
+
584
+ span.eye {
585
+ i.fa {
586
+ color: $primary-80;
587
+ position: absolute;
588
+ cursor: pointer;
589
+ padding: 15px;
590
+ right: 0;
591
+ top: 0;
592
+ }
593
+ }
594
+
595
+ .is-danger {
596
+ font-size: 12px;
597
+ line-height: 22px;
598
+ color: $danger;
599
+ text-align: left;
600
+
601
+ i.fa {
602
+ padding-right: 10px;
603
+ }
604
+ }
605
+ }
606
+
607
+ .ac-input.ac-search {
608
+ width: 42px;
609
+ transition: 0.3s ease-in-out;
610
+ padding: 0;
611
+ }
612
+
613
+ .ac-search:focus {
614
+ width: 200px !important;
615
+ padding-right: 10px;
616
+ }
617
+ }
@@ -1,12 +1,12 @@
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
12
  background-color: $ac-bg;
@@ -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 {
@@ -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 {
@@ -112,7 +112,7 @@
112
112
  margin: 20px;
113
113
  .single-component {
114
114
  // box-shadow: $ac-shadow-1;
115
- border: 1px solid $ac-white-light;
115
+ border: 1px solid $primary-90;
116
116
  border-radius: 4px;
117
117
  margin-bottom: 25px;
118
118
  overflow: hidden;
@@ -120,15 +120,15 @@
120
120
  .component-header {
121
121
  display: flex;
122
122
  justify-content: space-between;
123
- border-bottom: 1px solid $ac-white-light;
124
- background-color: $ac-white;
123
+ border-bottom: 1px solid $primary-90;
124
+ background-color: $white-100;
125
125
 
126
126
  h3 {
127
127
  padding: 10px 20px;
128
128
  font-size: 16px;
129
129
  font-weight: 500;
130
- font-family: $ac-family-paragraph;
131
- color: $ac-color-value;
130
+ font-family: $font-paragraph;
131
+ color: $primary-20;
132
132
  }
133
133
 
134
134
  .component-switch {
@@ -145,7 +145,7 @@
145
145
 
146
146
  .component-body {
147
147
  padding: 20px;
148
- background-color: $ac-white;
148
+ background-color: $white-100;
149
149
 
150
150
  .code-preview {
151
151
  position: relative;