@appscode/design-system 1.1.0-beta.8 → 1.1.0-beta.81

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 (117) hide show
  1. package/base/utilities/_all.scss +2 -2
  2. package/base/utilities/_colors.scss +105 -136
  3. package/base/utilities/_global.scss +25 -20
  4. package/base/utilities/_layouts.scss +0 -138
  5. package/base/utilities/_typography.scss +2 -2
  6. package/components/_ac-alert-box.scss +2 -2
  7. package/components/_ac-code-highlight.scss +9 -12
  8. package/components/_ac-drag.scss +4 -4
  9. package/components/_ac-modal.scss +2 -2
  10. package/components/_ac-select-box.scss +5 -5
  11. package/components/_ac-table.scss +7 -7
  12. package/components/_ac-tabs.scss +29 -26
  13. package/components/_all.scss +8 -5
  14. package/components/_buttons.scss +10 -10
  15. package/components/_getkeeper.scss +110 -0
  16. package/components/_graph.scss +10 -10
  17. package/components/_image-upload.scss +4 -4
  18. package/components/_input-card.scss +232 -0
  19. package/components/_input.scss +573 -0
  20. package/components/_left-sidebar-menu.scss +9 -13
  21. package/components/_monaco-editor.scss +2 -2
  22. package/components/_multi-select.scss +589 -0
  23. package/components/_navbar.scss +7 -7
  24. package/components/_nested-list.scss +2 -2
  25. package/components/_overview-info.scss +3 -3
  26. package/components/_pricing-table.scss +5 -5
  27. package/components/_progress-bar.scss +61 -74
  28. package/components/_subscription-card.scss +8 -10
  29. package/components/_table-of-content.scss +4 -4
  30. package/components/{_ac-terminal.scss → _terminal.scss} +63 -74
  31. package/components/_widget-menu.scss +7 -12
  32. package/components/_wizard.scss +13 -286
  33. package/components/ac-toaster/_ac-toasted.scss +4 -4
  34. package/components/bbum/_information-center.scss +8 -10
  35. package/components/bbum/_mobile-desktop.scss +9 -14
  36. package/components/bbum/_single-post-preview.scss +9 -9
  37. package/components/ui-builder/_ui-builder.scss +202 -18
  38. package/components/ui-builder/_vue-open-api.scss +63 -18
  39. package/icons/close-icon.svg +3 -0
  40. package/layouts/_code-preview.scss +6 -7
  41. package/package.json +1 -1
  42. package/vue-components/types/importFlow.ts +16 -0
  43. package/vue-components/types/notification.ts +3 -3
  44. package/vue-components/types/table.ts +1 -0
  45. package/vue-components/v2/banner/Banner.vue +1 -1
  46. package/vue-components/v2/button/Buttons.vue +1 -1
  47. package/vue-components/v2/modal/Modal.vue +1 -1
  48. package/vue-components/v3/alert/Alert.vue +2 -2
  49. package/vue-components/v3/banner/Banner.vue +2 -2
  50. package/vue-components/v3/breadcrumbs/Breadcrumb.vue +66 -4
  51. package/vue-components/v3/button/Button.vue +49 -786
  52. package/vue-components/v3/button/Buttons.vue +18 -2
  53. package/vue-components/v3/cards/Cluster.vue +37 -26
  54. package/vue-components/v3/cards/FeatureCard.vue +7 -11
  55. package/vue-components/v3/cards/FeatureCards.vue +1 -1
  56. package/vue-components/v3/cards/InfoCard.vue +1 -2
  57. package/vue-components/v3/cards/Monitoring.vue +6 -10
  58. package/vue-components/v3/cards/OverviewCard.vue +4 -0
  59. package/vue-components/v3/cards/OverviewCards.vue +10 -2
  60. package/vue-components/v3/cards/Vendor.vue +10 -6
  61. package/vue-components/v3/content/ContentHeader.vue +1 -1
  62. package/vue-components/v3/content/ContentTable.vue +1 -1
  63. package/vue-components/v3/dropdown/DropdownAction.vue +92 -0
  64. package/vue-components/v3/editor/Editor.vue +1 -1
  65. package/vue-components/v3/editor/FilteredFileEditor.vue +7 -0
  66. package/vue-components/v3/editor/ResourceKeyValueEditor.vue +3 -0
  67. package/vue-components/v3/footer/FooterArea.vue +8 -2
  68. package/vue-components/v3/footer/Info.vue +10 -8
  69. package/vue-components/v3/footer/Status.vue +24 -23
  70. package/vue-components/v3/footer/Usage.vue +20 -30
  71. package/vue-components/v3/form/Form.vue +0 -3
  72. package/vue-components/v3/form/FormFooter.vue +24 -0
  73. package/vue-components/v3/form-fields/AcSingleInput.vue +1 -508
  74. package/vue-components/v3/form-fields/FileUpload.vue +89 -0
  75. package/vue-components/v3/form-fields/Input.vue +2 -3
  76. package/vue-components/v3/header/Header.vue +1 -1
  77. package/vue-components/v3/loaders/InfoCardLoader.vue +18 -60
  78. package/vue-components/v3/loaders/SingleInfoCardLoader.vue +24 -0
  79. package/vue-components/v3/modal/Modal.vue +7 -12
  80. package/vue-components/v3/modals/JsonShowModal.vue +1 -0
  81. package/vue-components/v3/navbar/Navbar.vue +0 -159
  82. package/vue-components/v3/navbar/NavbarItem.vue +37 -15
  83. package/vue-components/v3/navbar/NavbarItemContent.vue +6 -3
  84. package/vue-components/v3/navbar/Notification.vue +35 -9
  85. package/vue-components/v3/navbar/User.vue +35 -31
  86. package/vue-components/v3/notification/AlertBox.vue +233 -3
  87. package/vue-components/v3/notification/Notification.vue +2 -2
  88. package/vue-components/v3/option-dots/Options.vue +17 -8
  89. package/vue-components/v3/pagination/Pagination.vue +27 -17
  90. package/vue-components/v3/preloader/Preloader.vue +1 -1
  91. package/vue-components/v3/searchbars/SearchBar.vue +1 -10
  92. package/vue-components/v3/sidebar/ClusterSwitcher.vue +1 -765
  93. package/vue-components/v3/sidebar/Sidebar.vue +3 -30
  94. package/vue-components/v3/sidebar/SidebarBody.vue +9 -2
  95. package/vue-components/v3/sidebar/SidebarFooter.vue +6 -3
  96. package/vue-components/v3/sidebar/SidebarHeader.vue +6 -2
  97. package/vue-components/v3/sidebar/Steps.vue +55 -51
  98. package/vue-components/v3/sidebar/sidebar-tabs/SidebarTabs.vue +78 -2
  99. package/vue-components/v3/sidebar/sidebar-tabs/SidebarTabsLayout.vue +12 -3
  100. package/vue-components/v3/table/Table.vue +14 -16
  101. package/vue-components/v3/table/TableCell.vue +1 -9
  102. package/vue-components/v3/table/TableRow.vue +2 -2
  103. package/vue-components/v3/table/table-cell/ArrayCell.vue +35 -32
  104. package/vue-components/v3/table/table-cell/CellValue.vue +14 -40
  105. package/vue-components/v3/table/table-cell/ObjectCell.vue +40 -38
  106. package/vue-components/v3/tag/Tag.vue +1 -0
  107. package/base/utilities/dark-theme.scss +0 -26
  108. package/components/_ac-card.scss +0 -0
  109. package/components/_ac-input.scss +0 -901
  110. package/components/_ac-multi-select.scss +0 -780
  111. package/vue-components/text.vue +0 -1
  112. package/vue-components/types/longRunningTasks.ts +0 -20
  113. package/vue-components/v3/long-running-tasks/LongRunningTaskItem.vue +0 -94
  114. package/vue-components/v3/modals/LongRunningTasksModal.vue +0 -402
  115. package/vue-components/v3/terminal/LongRunningTaskTerminal.vue +0 -151
  116. /package/components/{_ac-accordion.scss → _accordion.scss} +0 -0
  117. /package/components/{_ac-report.scss → _report.scss} +0 -0
@@ -1,4 +1,6 @@
1
1
  <script setup lang="ts">
2
+ import { computed } from "vue";
3
+
2
4
  interface Props {
3
5
  title?: string;
4
6
  tooltip?: string;
@@ -18,6 +20,7 @@ const props = withDefaults(defineProps<Props>(), {
18
20
  disabled: false,
19
21
  iconClass: "",
20
22
  iconImage: "",
23
+
21
24
  iconImageWidth: undefined,
22
25
  modifierClasses: "is-primary",
23
26
  titleModifierClass: "",
@@ -28,6 +31,11 @@ const emit = defineEmits(["click"]);
28
31
  const handleClick = (e: Event) => {
29
32
  if (!props.disabled) emit("click", e);
30
33
  };
34
+
35
+ const showUnpluginIcon = computed(() => {
36
+ if (props.iconClass.includes("unplugin")) return true;
37
+ else return false;
38
+ });
31
39
  </script>
32
40
 
33
41
  <template>
@@ -38,15 +46,23 @@ const handleClick = (e: Event) => {
38
46
  @click="handleClick"
39
47
  :title="tooltip"
40
48
  >
41
- <span v-if="iconClass || iconImage" class="icon is-small">
49
+ <span
50
+ v-if="iconClass || iconImage"
51
+ class="icon is-small"
52
+ :class="showUnpluginIcon ? iconClass : ''"
53
+ >
42
54
  <img
43
55
  v-if="iconImage"
44
56
  :src="iconImage"
45
57
  alt="icon"
46
58
  :width="iconImageWidth"
47
59
  />
60
+
61
+ <slot name="icon" v-else-if="showUnpluginIcon" />
62
+
48
63
  <i v-else :class="`fa fa-${iconClass}`" aria-hidden="true" />
49
64
  </span>
65
+
50
66
  <span v-if="title" :class="titleModifierClass">{{ title }}</span>
51
67
  <slot />
52
68
  </button>
@@ -55,805 +71,52 @@ const handleClick = (e: Event) => {
55
71
  <style lang="scss" scoped>
56
72
  .button {
57
73
  &.ac-button {
58
- padding: 8px 18px;
74
+ padding: 8px 16px;
59
75
  font-weight: 500;
60
76
  line-height: 1;
61
77
 
78
+ &.is-primary {
79
+ &.is-light {
80
+ color: $primary;
81
+ }
82
+ }
83
+ &.is-warning {
84
+ &.is-light {
85
+ color: $yellow-30;
86
+ }
87
+ }
88
+
89
+ &.is-success {
90
+ &.is-light {
91
+ color: $green-30;
92
+ }
93
+ }
62
94
  &.is-light {
63
95
  &.is-loading {
64
96
  &::after {
65
97
  border-color: transparent transparent #1c1c1c #1c1c1c !important;
66
98
  }
67
99
  }
100
+ &.is-outlined {
101
+ &:hover {
102
+ border-color: inherit;
103
+ }
104
+ }
68
105
  }
69
- &.is-square {
70
- border: 1px solid $primary-95;
71
- }
106
+
72
107
  &.is-small {
73
- padding: 4px 9px;
108
+ padding: 4px 12px;
109
+ &:not(.is-rounded) {
110
+ border-radius: 4px;
111
+ }
112
+ }
113
+ &.is-medium {
114
+ font-size: 1rem;
115
+ height: 36px;
74
116
  }
75
117
  }
76
118
  }
77
119
  button.is-primary {
78
- background-color: $ac-primary;
120
+ background-color: $primary;
79
121
  }
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
122
  </style>