Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions src/app/loading/loading.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="sq sq1"></div>
<div class="sq sq2"></div>
<span>loading&hellip;</span>
<div class="loading-animation">
<div class="sq sq1"></div>
<div class="sq sq2"></div>
<span>loading&hellip;</span>
</div>
</body>
</html>
21 changes: 11 additions & 10 deletions src/app/loading/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,28 @@
}

html, body {
height: 100%;
width: 100%;
font-family: "Akzidenz", "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #333;
font-weight: bold;
-webkit-font-smoothing: antialiased;
margin: 0;
position: relative;
}

.loading-animation {
align-items: center;
display: flex;
height: 100vh;
justify-content: center;
width: 100vw;
}

.sq {
background: #43B1E5;
position: absolute;
top: 50%;
left: 50%;
height: 12px;
width: 12px;
/* So animation does not overlap with loading text */
margin-top: -36px;
}

Expand Down Expand Up @@ -58,14 +64,9 @@ html, body {
}

span {
position: absolute;
top: 50%;
width: 100%;
padding-left: 6px;
text-align: center;
font-size: 11px;
line-height: 1;
text-transform: uppercase;
text-align: center;
-moz-osx-font-smoothing: grayscale;
width: 100%;
}