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