aboutsummaryrefslogtreecommitdiff
path: root/src/components/panel_loading/panel_loading.vue
blob: 4efebb3ca608df17be4f43bc655761361f75bc4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<template>
  <div class="panel-loading">
    <span class="loading-text">
      <i class="icon-spin4 animate-spin" />
      {{ $t('general.loading') }}
    </span>
  </div>
</template>

<style lang="scss">
@import 'src/_variables.scss';

.panel-loading {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  color: $fallback--text;
  color: var(--text, $fallback--text);
  .loading-text i {
    font-size: 3em;
    line-height: 0;
    vertical-align: middle;
    color: $fallback--text;
    color: var(--text, $fallback--text);
  }
}
</style>