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

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