Skip to content
This repository has been archived by the owner on Jun 12, 2022. It is now read-only.

Commit

Permalink
Loading indicator moved to the left top corner, blur -> grayscale
Browse files Browse the repository at this point in the history
  • Loading branch information
jirkavrba committed Apr 20, 2020
1 parent 1698ad1 commit 3931b5c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
),
mounted() {
this.update()
window.setInterval(() => this.update(), 2 * 60 * 1000);
window.setInterval(() => this.update(), 5 * 60 * 1000);
}
}
</script>
Expand All @@ -182,7 +182,7 @@
}
.app > div.loading {
filter: blur(5px)
filter: grayscale(100%)
}
.app .menu {
Expand Down
7 changes: 4 additions & 3 deletions src/components/Loading.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,16 @@
<style scoped>
.loading {
display: flex;
flex-flow: column nowrap;
justify-content: center;
align-items: center;
flex-flow: row nowrap;
justify-content: flex-start;
align-items: flex-start;
background: rgba(255, 255, 255, 0.5);
position: fixed;
left: 0;
top: 0;
width: 100vw;
height: 100vh;
padding: 2rem;
z-index: 10000;
}
Expand Down

0 comments on commit 3931b5c

Please sign in to comment.