logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git

panel_loading.vue (690B)


  1. <template>
  2. <div class="panel-loading">
  3. <span class="loading-text">
  4. <FAIcon
  5. icon="circle-notch"
  6. spin
  7. size="3x"
  8. />
  9. {{ $t('general.loading') }}
  10. </span>
  11. </div>
  12. </template>
  13. <script>
  14. import { library } from '@fortawesome/fontawesome-svg-core'
  15. import { faCircleNotch } from '@fortawesome/free-solid-svg-icons'
  16. library.add(
  17. faCircleNotch
  18. )
  19. export default {}
  20. </script>
  21. <style lang="scss">
  22. .panel-loading {
  23. display: flex;
  24. height: 100%;
  25. align-items: center;
  26. justify-content: center;
  27. font-size: 2em;
  28. color: var(--text);
  29. .loading-text svg {
  30. line-height: 0;
  31. vertical-align: middle;
  32. color: var(--text);
  33. }
  34. }
  35. </style>