Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: style fixes #100

Merged
merged 1 commit into from
Jun 24, 2024
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
2 changes: 1 addition & 1 deletion src/client/src/app/components/app/app.component.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="bg-image pointer-events-none absolute bottom-0"></div>
<div class="bg-image pointer-events-none absolute bottom-0 -z-10 opacity-30 dark:opacity-15"></div>

<header class="p-4">
<app-menu />
Expand Down
21 changes: 20 additions & 1 deletion src/client/src/app/components/app/app.component.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
:host {
@apply flex flex-col h-full;
@apply flex h-full flex-col;
}

.bg-image {
background-image: url('/icons/icon512_maskable.png');

/* Center and scale the image nicely */
background-position: center;
background-repeat: no-repeat;
background-size: cover;

/* Add the blur effect */
filter: blur(15px);
-webkit-filter: blur(15px);

/* little overshoot to make blur edges invisible */
height: 110%;
width: 110%;
left: -5%;
top: -5%;
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<footer
class="flex flex-row flex-wrap justify-around gap-x-8 bg-primary-700 px-2 py-1 text-xs sm:px-4 md:text-xs lg:text-sm"
class="flex flex-row flex-wrap justify-around gap-x-8 bg-surface-50 px-2 py-1 text-xs sm:px-4 md:text-xs lg:text-sm"
>
<div class="truncate">
<span>{{ translations.footer_developedBy() }} Marc Schmidt </span>
Expand Down
1 change: 1 addition & 0 deletions src/client/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<!-- iOS -->
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<link rel="apple-touch-icon" href="icons/icon512_maskable.png" />

<link
rel="icon"
Expand Down
21 changes: 0 additions & 21 deletions src/client/src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -118,27 +118,6 @@
a {
color: inherit;
}

.bg-image {
background-image: url('/icons/icon512_maskable.png');

/* Center and scale the image nicely */
background-position: center;
background-repeat: no-repeat;
background-size: cover;

opacity: 33%;

/* Add the blur effect */
filter: blur(15px);
-webkit-filter: blur(15px);

/* little overshoot to make blur edges invisible */
height: 110%;
width: 110%;
left: -5%;
top: -5%;
}
}

@layer adjustments {
Expand Down
Loading