@appscode/design-system 1.1.0-alpha.9 → 1.1.0-beta.11

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 +3 -2
  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 -128
  199. package/mixins/stickyContent.js +0 -141
  200. package/plugins/caching.ts +0 -243
@@ -1,4 +1,397 @@
1
1
  // Input fields
2
+
3
+ // .ac-file-upload {
4
+ // margin-bottom: 20px;
5
+
6
+ // &:last-child {
7
+ // margin-bottom: 0;
8
+ // }
9
+
10
+ // &.style-2 {
11
+ // label {
12
+ // &.file-label {
13
+ // position: relative;
14
+ // z-index: 1;
15
+
16
+ // span.ac-placeholder {
17
+ // position: absolute;
18
+ // left: 180px;
19
+ // top: 10px;
20
+ // z-index: 1;
21
+ // font-size: 13px;
22
+ // color: $ac-label-text;
23
+ // font-weight: 400;
24
+ // }
25
+ // }
26
+
27
+ // .file-cta {
28
+ // background-color: $primary;
29
+ // margin-top: 3.5px;
30
+ // margin-left: 3px;
31
+ // height: 26px;
32
+
33
+ // .file-label {
34
+ // color: $white-100;
35
+ // font-weight: 400;
36
+ // }
37
+ // }
38
+ // }
39
+ // }
40
+
41
+ // label {
42
+ // background-color: transparent;
43
+ // height: 36px;
44
+ // font-weight: 400;
45
+ // border-radius: 4px;
46
+ // border: 1px solid $ac-label-text;
47
+ // font-size: 13px;
48
+
49
+ // .file-cta {
50
+ // background-color: transparent;
51
+ // border: none;
52
+ // }
53
+
54
+ // &:hover {
55
+ // border-color: $black-80;
56
+ // }
57
+
58
+ // &.bg-white {
59
+ // background-color: $white-100;
60
+ // }
61
+
62
+ // &:focus {
63
+ // border: 1px solid $primary;
64
+ // outline: none;
65
+ // background-color: $white-100;
66
+ // }
67
+ // }
68
+ // }
69
+
70
+ // input#captcha {
71
+ // background-color: $white-100;
72
+ // height: 36px;
73
+ // font-weight: 400;
74
+ // width: 100%;
75
+ // border-radius: 4px;
76
+ // border: 1px solid $primary-90;
77
+ // padding: 8px 15px;
78
+ // font-size: 13px;
79
+ // transition: background-color 0.3s ease-in-out;
80
+
81
+ // &:focus {
82
+ // outline: none;
83
+ // border-bottom: 1px solid $ac-label-text;
84
+ // }
85
+ // }
86
+
87
+ // // AC-Checkbox
88
+ // .ac-single-checkbox {
89
+ // .is-checkradio {
90
+ // position: unset !important;
91
+ // }
92
+
93
+ // .is-checkradio[type="checkbox"].ac-checkbox + label::before {
94
+ // height: 16px;
95
+ // width: 16px;
96
+ // background-color: $primary-90;
97
+ // }
98
+
99
+ // .is-checkradio[type="checkbox"].ac-checkbox:checked + label::before {
100
+ // background-color: $primary;
101
+ // border-color: $primary;
102
+ // }
103
+
104
+ // .is-checkradio[type="checkbox"].ac-checkbox + label::after {
105
+ // top: 6px;
106
+ // left: 6px;
107
+ // border-color: $black-80;
108
+ // width: 0.3rem;
109
+ // height: 0.5rem;
110
+ // }
111
+
112
+ // .is-checkradio[type="checkbox"].ac-checkbox:checked + label::after {
113
+ // border-color: $white-100;
114
+ // }
115
+
116
+ // .is-checkradio[type="checkbox"].ac-checkbox + label {
117
+ // color: $primary-10;
118
+ // font-size: 13px !important;
119
+ // padding-left: 25px;
120
+ // user-select: none;
121
+ // }
122
+
123
+ // .is-checkradio[type="checkbox"].ac-checkbox:checked + label {
124
+ // color: $primary !important;
125
+ // }
126
+
127
+ // .is-checkradio[type="checkbox"].ac-checkbox + label {
128
+ // color: $primary-10;
129
+ // font-size: 13px;
130
+ // padding-left: 25px;
131
+ // user-select: none;
132
+ // }
133
+
134
+ // .is-checkradio[type="checkbox"],
135
+ // .is-checkradio[type="radio"] {
136
+ // display: none;
137
+ // }
138
+ // }
139
+
140
+ // .ac-single-radio {
141
+ // &.is-selected {
142
+ // .is-checkradio[type="radio"].ac-radio + label {
143
+ // color: $primary;
144
+ // }
145
+ // }
146
+ // }
147
+
148
+ // .is-checkradio[type="checkbox"] + label::before,
149
+ // .is-checkradio[type="checkbox"] + label:before {
150
+ // top: 3px;
151
+ // }
152
+
153
+ // // AC-Switch
154
+ // .ac-single-switch {
155
+ // label {
156
+ // user-select: none;
157
+ // font-size: 13px;
158
+ // font-weight: 400;
159
+ // color: $primary-10;
160
+
161
+ // &::before {
162
+ // background-color: #cad3df;
163
+ // }
164
+ // }
165
+
166
+ // .button.is-information {
167
+ // margin-top: 6px;
168
+ // }
169
+
170
+ // &.is-small {
171
+ // label {
172
+ // font-size: 13px !important;
173
+ // }
174
+ // .switch[type="checkbox"] + label {
175
+ // font-size: 13px;
176
+ // padding-top: 0;
177
+ // padding-left: 40px;
178
+ // height: auto;
179
+
180
+ // &::before {
181
+ // width: 30px;
182
+ // height: 16.2px;
183
+ // }
184
+
185
+ // &::after {
186
+ // top: 2px;
187
+ // left: 2px;
188
+ // width: 12px;
189
+ // height: 12px;
190
+ // }
191
+ // }
192
+
193
+ // .switch[type="checkbox"]:checked + label {
194
+ // &::after {
195
+ // left: 15px;
196
+ // }
197
+ // }
198
+ // }
199
+
200
+ // .switch {
201
+ // &[type="checkbox"] + label {
202
+ // padding-top: 3px;
203
+ // &::before {
204
+ // background-color: $ac-gray-light;
205
+ // }
206
+ // }
207
+
208
+ // &.ac-switch {
209
+ // &.is-primary {
210
+ // @include ac-switch($primary);
211
+ // }
212
+
213
+ // &.is-link {
214
+ // @include ac-switch($info);
215
+ // }
216
+
217
+ // &.is-info {
218
+ // @include ac-switch($info);
219
+ // }
220
+
221
+ // &.is-success {
222
+ // @include ac-switch($success);
223
+ // }
224
+
225
+ // &.is-warning {
226
+ // @include ac-switch($warning);
227
+ // }
228
+
229
+ // &.is-danger {
230
+ // @include ac-switch($danger);
231
+ // }
232
+ // }
233
+ // }
234
+ // }
235
+
236
+ // .ac-single-switch.is-small .switch[type="checkbox"] + label,
237
+ // .buttons.are-small
238
+ // .ac-single-switch.button.ac-button
239
+ // .switch[type="checkbox"]
240
+ // + label {
241
+ // height: 19px;
242
+ // }
243
+
244
+ // // transparent input
245
+ // .transparent-input {
246
+ // display: flex;
247
+ // align-items: center;
248
+ // width: calc(100% - 100px);
249
+
250
+ // span {
251
+ // width: 100%;
252
+ // }
253
+
254
+ // input {
255
+ // border: none;
256
+ // background-color: transparent;
257
+ // font-size: 18px;
258
+ // font-weight: 400;
259
+ // font-family: $font-heading;
260
+ // color: $primary-20;
261
+ // width: 100%;
262
+ // padding: 5px 0;
263
+
264
+ // &:focus {
265
+ // outline: none;
266
+ // border-bottom: 1px solid $ac-label-text;
267
+ // }
268
+ // }
269
+ // }
270
+
271
+ // // AC-Radio
272
+ // .ac-single-radio {
273
+ // .is-checkradio[type="radio"] {
274
+ // & + label {
275
+ // padding-left: 25px;
276
+ // font-size: 13px;
277
+ // padding: 0.3rem 0.5rem 0.2rem 1.5rem;
278
+
279
+ // &::after {
280
+ // background-color: $primary;
281
+ // width: 16px;
282
+ // height: 16px;
283
+ // top: 5px;
284
+ // }
285
+
286
+ // &:after {
287
+ // background-color: $primary;
288
+ // }
289
+
290
+ // &:before {
291
+ // border-color: $primary;
292
+ // width: 16px;
293
+ // height: 16px;
294
+ // top: 5px;
295
+ // }
296
+ // }
297
+
298
+ // &:hover {
299
+ // &:not([disabled]) {
300
+ // & + label {
301
+ // &:before {
302
+ // border-color: $primary !important;
303
+ // }
304
+ // }
305
+ // }
306
+ // }
307
+ // }
308
+
309
+ // .is-checkradio[type="radio"]:checked {
310
+ // & + label {
311
+ // color: $primary;
312
+ // }
313
+ // }
314
+ // }
315
+ // // dark theme start
316
+ // .is-dark-theme {
317
+ // .ac-single-input {
318
+ // input,
319
+ // .file-input,
320
+ // .ac-dropdown-content {
321
+ // background-color: transparent;
322
+ // }
323
+
324
+ // label {
325
+ // color: $ac-label-text;
326
+ // }
327
+ // .button.is-information:focus {
328
+ // background-color: $dark-bg-light;
329
+ // }
330
+ // }
331
+ // }
332
+ // // dark theme end
333
+ // /****************************************
334
+ // Responsive Classes
335
+ // *****************************************/
336
+ // // Extra small devices (portrait phones, less than 576px)
337
+ // @media (max-width: 575.98px) {
338
+ // .ac-single-input {
339
+ // input {
340
+ // height: 36px;
341
+ // font-size: 13px;
342
+ // font-weight: 400;
343
+ // }
344
+
345
+ // label {
346
+ // top: 9px;
347
+ // font-size: 13px;
348
+
349
+ // &.show-label {
350
+ // top: -9px;
351
+ // font-size: 12px;
352
+ // }
353
+ // }
354
+
355
+ // textarea {
356
+ // font-size: 13px;
357
+ // }
358
+
359
+ // span {
360
+ // &.eye {
361
+ // i.fa {
362
+ // padding: 10px;
363
+ // }
364
+ // }
365
+ // }
366
+
367
+ // .ac-search-button {
368
+ // margin-top: -18px;
369
+ // }
370
+ // }
371
+
372
+ // .ac-file-upload {
373
+ // label {
374
+ // height: 36px;
375
+ // font-size: 13px;
376
+ // }
377
+ // }
378
+ // }
379
+
380
+ // // Small devices (landscape phones, 576px and up)
381
+ // @media (min-width: 576px) and (max-width: 767.98px) {
382
+ // }
383
+
384
+ // // Medium devices (tablets, 768px and up)
385
+ // @media (min-width: 768px) and (max-width: 991.98px) {
386
+ // }
387
+
388
+ // // Large devices (desktops, 992px and up)
389
+ // @media (min-width: 992px) and (max-width: 1199.98px) {
390
+ // }
391
+
392
+ // // Extra large devices (large desktops, 1200px and up)
393
+ // @media (min-width: 1200px) {
394
+ // }
2
395
  .ac-single-input {
3
396
  position: relative;
4
397
  z-index: 1;
@@ -29,39 +422,42 @@
29
422
  }
30
423
 
31
424
  &.is-success {
425
+
32
426
  input,
33
427
  .ac-card,
34
428
  textarea {
35
- border: 1px solid $ac-primary !important;
429
+ border: 1px solid $primary !important;
36
430
  }
37
431
 
38
432
  p {
39
- color: $ac-primary;
433
+ color: $primary;
40
434
  }
41
435
  }
42
436
 
43
437
  &.is-danger {
438
+
44
439
  input,
45
440
  .ac-card,
46
441
  textarea {
47
- border: 1px solid $ac-danger;
442
+ border: 1px solid $danger;
48
443
  }
49
444
 
50
445
  p {
51
- color: $ac-danger;
446
+ color: $danger;
52
447
  }
53
448
  }
54
449
 
55
450
  &.is-loading {
451
+
56
452
  input,
57
453
  .ac-card,
58
454
  textarea {
59
- border: 1px solid $ac-info;
455
+ border: 1px solid $info;
60
456
  opacity: 0.5;
61
457
  }
62
458
 
63
459
  p {
64
- color: $ac-info;
460
+ color: $info;
65
461
  opacity: 0.5;
66
462
  }
67
463
  }
@@ -69,10 +465,10 @@
69
465
  &.borderless-input {
70
466
  input {
71
467
  border: none;
72
- font-size: $font-size-small;
468
+ font-size: 13px;
73
469
  padding: 4px 7px;
74
470
  height: 30px;
75
- background-color: $ac-white;
471
+ background-color: $white-100;
76
472
  padding-right: 30px;
77
473
 
78
474
  &[type="password"] {
@@ -97,7 +493,6 @@
97
493
  input {
98
494
  height: 45px;
99
495
  font-size: 15px;
100
- font-family: $ac-family-paragraph;
101
496
  font-weight: 400;
102
497
  }
103
498
 
@@ -119,14 +514,14 @@
119
514
 
120
515
  label {
121
516
  top: 13px;
122
- font-size: $font-size-small;
517
+ font-size: 13px;
123
518
 
124
519
  &.show-label {
125
520
  font-size: 12px;
126
- color: $ac-color-value;
521
+ color: $black-40;
127
522
  top: -9px;
128
523
  font-weight: 500;
129
- background-color: $ac-white;
524
+ background-color: $white-100;
130
525
  }
131
526
  }
132
527
 
@@ -135,7 +530,7 @@
135
530
  .icon {
136
531
  height: 45px;
137
532
  width: 30px;
138
- font-size: $font-size-small;
533
+ font-size: 13px;
139
534
  }
140
535
  }
141
536
  }
@@ -144,8 +539,7 @@
144
539
  &.is-small {
145
540
  input {
146
541
  height: 36px;
147
- font-size: $font-size-small;
148
- font-family: $ac-family-paragraph;
542
+ font-size: 13px;
149
543
  font-weight: 400;
150
544
  }
151
545
 
@@ -168,7 +562,8 @@
168
562
 
169
563
  label {
170
564
  top: 8px;
171
- font-size: $font-size-small;
565
+ font-size: 13px;
566
+
172
567
  &.switch-label {
173
568
  top: 0;
174
569
  }
@@ -177,7 +572,8 @@
177
572
  font-size: 12px;
178
573
  top: -9px;
179
574
  font-weight: 500;
180
- color: $ac-color-value;
575
+ color: $black-40;
576
+
181
577
  &.is-required {
182
578
  &:after {
183
579
  width: calc(100% + 10px);
@@ -191,7 +587,7 @@
191
587
  .icon {
192
588
  height: 36px;
193
589
  width: 25px;
194
- font-size: $font-size-small;
590
+ font-size: 13px;
195
591
  }
196
592
  }
197
593
  }
@@ -200,8 +596,7 @@
200
596
  &.is-extra-small {
201
597
  input {
202
598
  height: 32px;
203
- font-size: $font-size-small;
204
- font-family: $ac-family-paragraph;
599
+ font-size: 13px;
205
600
  font-weight: 400;
206
601
  }
207
602
 
@@ -218,12 +613,22 @@
218
613
  }
219
614
 
220
615
  .ac-search-button {
221
- margin-top: -16px;
616
+ margin-top: 0px;
617
+ top: 0;
618
+ display: flex;
619
+ align-items: center;
620
+ width: 40px;
621
+ justify-content: center;
622
+
623
+ svg {
624
+ width: 18px;
625
+ }
222
626
  }
223
627
 
224
628
  label {
225
629
  top: 8px;
226
- font-size: $font-size-small;
630
+ font-size: 13px;
631
+
227
632
  &.switch-label {
228
633
  top: 0;
229
634
  }
@@ -239,7 +644,7 @@
239
644
  .icon {
240
645
  height: 32px;
241
646
  width: 25px;
242
- font-size: $font-size-small;
647
+ font-size: 13px;
243
648
  }
244
649
  }
245
650
  }
@@ -251,34 +656,34 @@
251
656
 
252
657
  &.is-dark {
253
658
  input {
254
- background-color: $ac-color-heading;
659
+ background-color: $primary-10;
255
660
  border-color: transparent;
256
- color: $ac-white;
661
+ color: $white-100;
257
662
 
258
663
  &::placeholder {
259
- color: $ac-white-light;
664
+ color: $primary-10;
260
665
  }
261
666
 
262
667
  button {
263
668
  i.fa {
264
- color: $ac-white;
669
+ color: $white-100;
265
670
  }
266
671
  }
267
672
  }
268
673
  }
269
674
 
270
675
  label {
271
- font-size: $font-size-small;
676
+ font-size: 13px;
272
677
  left: 15px;
273
678
  top: 11px;
274
679
  cursor: text;
275
- color: $ac-label-text;
680
+ color: $primary-10;
276
681
  position: absolute;
277
682
  z-index: 2;
278
683
  transition: 0.3s ease-in-out;
279
684
 
280
685
  .is-required {
281
- color: $ac-danger;
686
+ color: $danger;
282
687
 
283
688
  img {
284
689
  position: absolute;
@@ -291,15 +696,15 @@
291
696
  top: -9px;
292
697
  left: 10px;
293
698
  padding: 0 5px;
294
- font-size: $font-size-small;
295
- color: $ac-color-value;
699
+ font-size: 13px;
700
+ color: $black-40;
296
701
 
297
702
  &:after {
298
703
  position: absolute;
299
704
  content: "";
300
705
  left: 0;
301
706
  top: 50%;
302
- background-color: $ac-white;
707
+ background-color: $white-100;
303
708
  width: 100%;
304
709
  height: 2px;
305
710
  margin-top: -1px;
@@ -339,16 +744,16 @@
339
744
  position: absolute;
340
745
  left: 0;
341
746
  top: 50%;
342
- width: 35px;
747
+ width: 32px;
343
748
  height: 100%;
344
- margin-top: -22.5px;
345
- color: $ac-label-text;
749
+ margin-top: -15px;
750
+ color: $primary-20;
346
751
  cursor: pointer;
347
752
  }
348
753
 
349
754
  .ac-dropdown-content {
350
755
  position: absolute;
351
- background-color: $ac-blue-light;
756
+ background-color: $primary-90;
352
757
  width: 100%;
353
758
  height: auto;
354
759
  box-shadow: 0px 4px 16px rgba(132, 147, 168, 0.6);
@@ -358,20 +763,18 @@
358
763
  ul {
359
764
  li {
360
765
  a {
361
- color: $ac-color-text;
766
+ color: $primary-10;
362
767
  display: block;
363
- font-size: $font-size-small;
768
+ font-size: 13px;
364
769
  padding: 8px 20px;
365
770
  transition: 0.3s;
366
771
 
367
772
  &:hover {
368
- background-color: hsla(
369
- var(--hsl-hue),
370
- var(--hsl-saturation),
371
- var(--hsl-lightness),
372
- 0.2
373
- );
374
- color: $ac-primary;
773
+ background-color: hsla(var(--hsl-hue),
774
+ var(--hsl-saturation),
775
+ var(--hsl-lightness),
776
+ 0.2);
777
+ color: $primary;
375
778
  }
376
779
  }
377
780
  }
@@ -386,18 +789,20 @@
386
789
  }
387
790
  }
388
791
  }
792
+
389
793
  textarea {
390
- border: 1px solid $ac-label-text;
794
+ border: 1px solid $primary-80;
391
795
  background-color: transparent;
392
796
  padding: 10px 15px;
393
797
  min-height: 50px;
798
+
394
799
  &.bg-white {
395
800
  background-color: transparent;
396
801
  }
397
802
 
398
803
  &:focus {
399
804
  outline: none;
400
- border: 1px solid $ac-primary;
805
+ border: 1px solid $primary;
401
806
  }
402
807
  }
403
808
  }
@@ -405,30 +810,32 @@
405
810
  input,
406
811
  .ac-card,
407
812
  textarea {
408
- background-color: $ac-white;
409
- color: $ac-color-text;
813
+ background-color: $white-100;
814
+ color: $primary-10;
410
815
  height: 45px;
411
816
  font-weight: 400;
412
817
  width: 100%;
413
818
  border-radius: 4px;
414
- border: 1px solid $ac-label-text;
819
+ border: 1px solid $primary-80;
415
820
  padding: 8px 15px;
416
- font-size: $font-size-small;
821
+ font-size: 13px;
417
822
 
418
823
  &:hover {
419
- border-color: $ac-gray-lightest;
824
+ border-color: $black-70;
420
825
  }
421
826
 
422
827
  &.bg-white {
423
- background-color: $ac-white;
828
+ background-color: $white-100;
424
829
  }
830
+
425
831
  &.StripeElement--focus {
426
- border: 1px solid $ac-primary;
832
+ border: 1px solid $primary;
427
833
  }
834
+
428
835
  &:focus {
429
- border: 1px solid $ac-primary;
836
+ border: 1px solid $primary;
430
837
  outline: none;
431
- background-color: $ac-white;
838
+ background-color: $white-100;
432
839
  }
433
840
 
434
841
  &[type="password"] {
@@ -452,8 +859,8 @@
452
859
  }
453
860
 
454
861
  b.isRequired {
455
- color: $ac-red;
456
- font-size: $font-size-small;
862
+ color: $danger;
863
+ font-size: 13px;
457
864
  position: absolute;
458
865
  right: 5px;
459
866
  z-index: 9;
@@ -461,7 +868,7 @@
461
868
 
462
869
  span.eye {
463
870
  i.fa {
464
- color: $ac-label-text;
871
+ color: $primary-80;
465
872
  position: absolute;
466
873
  cursor: pointer;
467
874
  padding: 15px;
@@ -470,10 +877,10 @@
470
877
  }
471
878
  }
472
879
 
473
- .is-error {
880
+ .is-danger {
474
881
  font-size: 12px;
475
882
  line-height: 22px;
476
- color: $ac-red;
883
+ color: $danger;
477
884
  text-align: left;
478
885
 
479
886
  i.fa {
@@ -482,395 +889,13 @@
482
889
  }
483
890
  }
484
891
 
485
- .ac-file-upload {
486
- margin-bottom: 20px;
487
-
488
- &:last-child {
489
- margin-bottom: 0;
490
- }
491
-
492
- &.style-2 {
493
- label {
494
- &.file-label {
495
- position: relative;
496
- z-index: 1;
497
-
498
- span.ac-placeholder {
499
- position: absolute;
500
- left: 180px;
501
- top: 10px;
502
- z-index: 1;
503
- font-size: $font-size-small;
504
- color: $ac-label-text;
505
- font-weight: 400;
506
- }
507
- }
508
-
509
- .file-cta {
510
- background-color: $ac-primary;
511
- margin-top: 3.5px;
512
- margin-left: 3px;
513
- height: 26px;
514
-
515
- .file-label {
516
- color: $ac-white;
517
- font-weight: 400;
518
- }
519
- }
520
- }
521
- }
522
-
523
- label {
524
- background-color: transparent;
525
- height: 36px;
526
- font-weight: 400;
527
- border-radius: 4px;
528
- border: 1px solid $ac-label-text;
529
- font-size: $font-size-small;
530
-
531
- .file-cta {
532
- background-color: transparent;
533
- border: none;
534
- }
535
-
536
- &:hover {
537
- border-color: $ac-gray-lightest;
538
- }
539
-
540
- &.bg-white {
541
- background-color: $ac-white;
542
- }
543
-
544
- &:focus {
545
- border: 1px solid $ac-primary;
546
- outline: none;
547
- background-color: $ac-white;
548
- }
549
- }
550
- }
551
-
552
- input#captcha {
553
- background-color: $ac-white;
554
- height: 36px;
555
- font-weight: 400;
556
- width: 100%;
557
- border-radius: 4px;
558
- border: 1px solid $ac-white-light;
559
- padding: 8px 15px;
560
- font-size: 13px;
561
- transition: background-color 0.3s ease-in-out;
562
-
563
- &:focus {
564
- outline: none;
565
- border-bottom: 1px solid $ac-label-text;
566
- }
892
+ .ac-input.ac-search {
893
+ width: 42px;
894
+ transition: 0.3s ease-in-out;
895
+ padding: 0;
567
896
  }
568
897
 
569
- // AC-Checkbox
570
- .ac-single-checkbox {
571
- .is-checkradio {
572
- position: unset !important;
573
- }
574
-
575
- .is-checkradio[type="checkbox"].ac-checkbox + label::before {
576
- height: 16px;
577
- width: 16px;
578
- background-color: $ac-white-light;
579
- }
580
-
581
- .is-checkradio[type="checkbox"].ac-checkbox:checked + label::before {
582
- background-color: $ac-primary;
583
- border-color: $ac-primary;
584
- }
585
-
586
- .is-checkradio[type="checkbox"].ac-checkbox + label::after {
587
- top: 6px;
588
- left: 6px;
589
- border-color: $ac-gray-lightest;
590
- width: 0.3rem;
591
- height: 0.5rem;
592
- }
593
-
594
- .is-checkradio[type="checkbox"].ac-checkbox:checked + label::after {
595
- border-color: $ac-white;
596
- }
597
-
598
- .is-checkradio[type="checkbox"].ac-checkbox + label {
599
- color: $ac-color-text;
600
- font-size: 13px !important;
601
- padding-left: 25px;
602
- user-select: none;
603
- }
604
-
605
- .is-checkradio[type="checkbox"].ac-checkbox:checked + label {
606
- color: $ac-primary !important;
607
- }
608
-
609
- .is-checkradio[type="checkbox"].ac-checkbox + label {
610
- color: $ac-color-text;
611
- font-size: 13px;
612
- padding-left: 25px;
613
- user-select: none;
614
- }
615
-
616
- .is-checkradio[type="checkbox"],
617
- .is-checkradio[type="radio"] {
618
- display: none;
619
- }
620
- }
621
-
622
- .ac-single-radio {
623
- &.is-selected {
624
- .is-checkradio[type="radio"].ac-radio + label {
625
- color: $ac-primary;
626
- }
627
- }
628
- }
629
-
630
- .is-checkradio[type="checkbox"] + label::before,
631
- .is-checkradio[type="checkbox"] + label:before {
632
- top: 3px;
633
- }
634
-
635
- // AC-Switch
636
- .ac-single-switch {
637
- label {
638
- user-select: none;
639
- font-size: 13px;
640
- font-weight: 400;
641
- color: $ac-color-text;
642
-
643
- &::before {
644
- background-color: #cad3df;
645
- }
646
- }
647
-
648
- .button.is-information {
649
- margin-top: 6px;
650
- }
651
-
652
- &.is-small {
653
- label {
654
- font-size: 13px !important;
655
- }
656
- .switch[type="checkbox"] + label {
657
- font-size: 13px;
658
- padding-top: 0;
659
- padding-left: 40px;
660
- height: auto;
661
-
662
- &::before {
663
- width: 30px;
664
- height: 16.2px;
665
- }
666
-
667
- &::after {
668
- top: 2px;
669
- left: 2px;
670
- width: 12px;
671
- height: 12px;
672
- }
673
- }
674
-
675
- .switch[type="checkbox"]:checked + label {
676
- &::after {
677
- left: 15px;
678
- }
679
- }
680
- }
681
-
682
- .switch {
683
- &[type="checkbox"] + label {
684
- padding-top: 3px;
685
- &::before {
686
- background-color: $ac-gray-light;
687
- }
688
- }
689
-
690
- &.ac-switch {
691
- &.is-primary {
692
- @include ac-switch($ac-primary);
693
- }
694
-
695
- &.is-link {
696
- @include ac-switch($ac-blue);
697
- }
698
-
699
- &.is-info {
700
- @include ac-switch($ac-info);
701
- }
702
-
703
- &.is-success {
704
- @include ac-switch($ac-success);
705
- }
706
-
707
- &.is-warning {
708
- @include ac-switch($ac-warning);
709
- }
710
-
711
- &.is-danger {
712
- @include ac-switch($ac-danger);
713
- }
714
- }
715
- }
716
- }
717
-
718
- .ac-single-switch.is-small .switch[type="checkbox"] + label,
719
- .buttons.are-small
720
- .ac-single-switch.button.ac-button
721
- .switch[type="checkbox"]
722
- + label {
723
- height: 19px;
724
- }
725
-
726
- // transparent input
727
- .transparent-input {
728
- display: flex;
729
- align-items: center;
730
- width: calc(100% - 100px);
731
-
732
- span {
733
- width: 100%;
734
- }
735
-
736
- input {
737
- border: none;
738
- background-color: transparent;
739
- font-size: 18px;
740
- font-weight: 400;
741
- font-family: $ac-family-heading;
742
- color: $ac-color-value;
743
- width: 100%;
744
- padding: 5px 0;
745
-
746
- &:focus {
747
- outline: none;
748
- border-bottom: 1px solid $ac-label-text;
749
- }
750
- }
751
- }
752
-
753
- // AC-Radio
754
- .ac-single-radio {
755
- .is-checkradio[type="radio"] {
756
- & + label {
757
- padding-left: 25px;
758
- font-size: 13px;
759
- padding: 0.3rem 0.5rem 0.2rem 1.5rem;
760
-
761
- &::after {
762
- background-color: $ac-primary;
763
- width: 16px;
764
- height: 16px;
765
- top: 5px;
766
- }
767
-
768
- &:after {
769
- background-color: $ac-primary;
770
- }
771
-
772
- &:before {
773
- border-color: $ac-primary;
774
- width: 16px;
775
- height: 16px;
776
- top: 5px;
777
- }
778
- }
779
-
780
- &:hover {
781
- &:not([disabled]) {
782
- & + label {
783
- &:before {
784
- border-color: $ac-primary !important;
785
- }
786
- }
787
- }
788
- }
789
- }
790
-
791
- .is-checkradio[type="radio"]:checked {
792
- & + label {
793
- color: $ac-primary;
794
- }
795
- }
796
- }
797
- // dark theme start
798
- .is-dark-theme {
799
- .ac-single-input {
800
- input,
801
- .file-input,
802
- .ac-dropdown-content {
803
- background-color: transparent;
804
- }
805
-
806
- label {
807
- color: $ac-label-text;
808
- }
809
- .button.is-information:focus {
810
- background-color: $dark-bg-light;
811
- }
812
- }
813
- }
814
- // dark theme end
815
- /****************************************
816
- Responsive Classes
817
- *****************************************/
818
- // Extra small devices (portrait phones, less than 576px)
819
- @media (max-width: 575.98px) {
820
- .ac-single-input {
821
- input {
822
- height: 36px;
823
- font-size: $font-size-small;
824
- font-weight: 400;
825
- }
826
-
827
- label {
828
- top: 9px;
829
- font-size: $font-size-small;
830
-
831
- &.show-label {
832
- top: -9px;
833
- font-size: $font-size-extra-small;
834
- }
835
- }
836
-
837
- textarea {
838
- font-size: $font-size-small;
839
- }
840
-
841
- span {
842
- &.eye {
843
- i.fa {
844
- padding: 10px;
845
- }
846
- }
847
- }
848
-
849
- .ac-search-button {
850
- margin-top: -18px;
851
- }
852
- }
853
-
854
- .ac-file-upload {
855
- label {
856
- height: 36px;
857
- font-size: $font-size-small;
858
- }
859
- }
860
- }
861
-
862
- // Small devices (landscape phones, 576px and up)
863
- @media (min-width: 576px) and (max-width: 767.98px) {
864
- }
865
-
866
- // Medium devices (tablets, 768px and up)
867
- @media (min-width: 768px) and (max-width: 991.98px) {
868
- }
869
-
870
- // Large devices (desktops, 992px and up)
871
- @media (min-width: 992px) and (max-width: 1199.98px) {
872
- }
873
-
874
- // Extra large devices (large desktops, 1200px and up)
875
- @media (min-width: 1200px) {
876
- }
898
+ .ac-search:focus {
899
+ width: 200px !important;
900
+ padding-right: 10px;
901
+ }