BringingAnyone.vue
1 month ago
DescriptionItem.vue
1 month ago
EmptyState.vue
1 month ago
EventCard.vue
3 weeks ago
EventEmployee.vue
1 month ago
EventTicket.vue
1 month ago
GalleryCarousel.vue
3 weeks ago
EmptyState.vue
63 lines
| 1 | <template> |
| 2 | <div class="am-ev-empty" :style="cssVars" role="status" aria-live="polite" aria-atomic="true"> |
| 3 | <span class="am-icon-search-close" aria-hidden="true"></span> |
| 4 | <p> |
| 5 | {{ labels.no_results }} |
| 6 | </p> |
| 7 | </div> |
| 8 | </template> |
| 9 | |
| 10 | <script setup> |
| 11 | // * Import from Vue |
| 12 | import { inject, computed } from 'vue' |
| 13 | |
| 14 | // * Composables |
| 15 | import { useColorTransparency } from '../../../../../assets/js/common/colorManipulation' |
| 16 | |
| 17 | // * Global labels |
| 18 | let labels = inject('labels') |
| 19 | |
| 20 | // * Colors |
| 21 | let amColors = inject('amColors') |
| 22 | |
| 23 | // * Css Vars |
| 24 | let cssVars = computed(() => { |
| 25 | return { |
| 26 | '--am-c-ev-empty-text-op60': useColorTransparency(amColors.value.colorMainText, 0.6), |
| 27 | '--am-c-ev-empty-text': amColors.value.colorMainText, |
| 28 | } |
| 29 | }) |
| 30 | </script> |
| 31 | |
| 32 | <script> |
| 33 | export default { |
| 34 | name: 'EmptyState', |
| 35 | } |
| 36 | </script> |
| 37 | |
| 38 | <style lang="scss"> |
| 39 | .amelia-v2-booking #amelia-container { |
| 40 | .am-ev-empty { |
| 41 | display: flex; |
| 42 | flex-direction: column; |
| 43 | align-items: center; |
| 44 | justify-content: center; |
| 45 | |
| 46 | span { |
| 47 | display: flex; |
| 48 | font-size: 122px; |
| 49 | line-height: 1; |
| 50 | color: var(--am-c-ev-empty-text-op60); |
| 51 | } |
| 52 | |
| 53 | p { |
| 54 | font-size: 24px; |
| 55 | line-height: 1; |
| 56 | color: var(--am-c-ev-empty-text); |
| 57 | padding: 0; |
| 58 | margin: 0 0 24px; |
| 59 | } |
| 60 | } |
| 61 | } |
| 62 | </style> |
| 63 |