Skip to content

Commit

Permalink
Update splash screen
Browse files Browse the repository at this point in the history
  • Loading branch information
sungaila committed Sep 3, 2023
1 parent 9fba8a4 commit f82c232
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/WebConverter/Pages/Index.razor
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
</div>
<div class="card mt-3">
<div class="card-body">
<img id="outputImage" class="card-img-bottom" alt="The converted PDF output." style="max-width: 100%; width: auto; height: auto" />
<img id="outputImage" class="card-img-bottom" alt="The converted PDF output." style="max-width: 100%; width: auto; height: auto; border-radius: 8px" />
</div>
</div>
</div>
Expand Down
6 changes: 6 additions & 0 deletions src/WebConverter/wwwroot/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,9 @@ a, .btn-link {
.label-nowrap {
word-wrap: normal !important;
}

@media (prefers-color-scheme: dark) {
.invert-on-dark {
filter: invert(1);
}
}
4 changes: 2 additions & 2 deletions src/WebConverter/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@

<body>
<div id="app">
<img src="icon-512-monochrome.png" style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 4rem; height: 4rem; opacity: 0.2" alt="PDFtoImage Logo" />
<svg class="loading-progress" style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: 0.5">
<img src="icon-512-monochrome.png" class="invert-on-dark" style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 4rem; height: 4rem" alt="PDFtoImage Logo" />
<svg class="loading-progress" style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: 0.8">
<circle r="40%" cx="50%" cy="50%" />
<circle r="40%" cx="50%" cy="50%" />
</svg>
Expand Down
2 changes: 1 addition & 1 deletion src/WebConverter/wwwroot/manifest.webmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "PDFtoImage",
"short_name": "PDFtoImage",
"start_url": "/",
"background_color": "#212529",
"background_color": "#FFFFFF",
"theme_color": "#1B5E20",
"description": "Converts PDF files into images.",
"lang": "en",
Expand Down

0 comments on commit f82c232

Please sign in to comment.