Skip to content

Commit

Permalink
Merge pull request #244 from TAMULib/footer-upgrade
Browse files Browse the repository at this point in the history
Fade in using opacity and update body and main styles
  • Loading branch information
wwelling authored Jul 5, 2024
2 parents 0af49fd + e9ff4e4 commit 1a19e16
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/config/runTime.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
app.run(function ($location) {

angular.element("body").fadeIn(300);
angular.element("body").css('opacity', 0).animate({ opacity: 1 }, 1000);
// Add runtime tasks here

// Allow the passing of an additional parameter which
Expand Down
10 changes: 4 additions & 6 deletions app/resources/styles/sass/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,14 @@ html {

body {
font-family: "Lato", sans-serif;
margin-right: 0 !important;
padding-right: 0 !important;
height: 100%;
opacity: 0;
min-height: 100%;
display: grid;
grid-template-rows: 1fr auto;
}

main {
display: block;
height: auto;
min-height: 94%;
margin-bottom: -50px;
}

main footer {
Expand Down

0 comments on commit 1a19e16

Please sign in to comment.