Skip to content

Commit

Permalink
added fading open screen
Browse files Browse the repository at this point in the history
  • Loading branch information
Blarfnip committed Apr 26, 2020
1 parent 4107007 commit ca1d78f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion application/body.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ function onOpen() {
currentDateString = fileName;
updateCalendar();
updateTheme();

$('.loadScreen').fadeOut(500);
}

//updates calendar with colors depending on if entry exists
Expand Down
1 change: 1 addition & 0 deletions application/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
<div id="yearSelectNext" class="yearButton noselect">></div>
</div>
</div>
<div class="loadScreen"></div>

</body>
</html>
10 changes: 10 additions & 0 deletions application/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ body {
margin: 2px;
width: 8px;
height: 8px;
border-radius: 2px;
}

.yearSelection {
Expand All @@ -82,6 +83,15 @@ body {
right: 3%;
}

.loadScreen {
position: absolute;
top: 0%;
left: 0%;
right: 0%;
bottom: 0%;
background-color: #836c89 ;
}

.yearButtonHolder {
margin: auto;
width: fit-content;
Expand Down

0 comments on commit ca1d78f

Please sign in to comment.