mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-10 05:53:08 +02:00
revert: blur f or now to be properly added at later date
This commit is contained in:
parent
8507d5a1db
commit
aac4c8be60
1 changed files with 0 additions and 21 deletions
|
@ -165,7 +165,6 @@ import MkOmit from '@/components/MkOmit.vue';
|
||||||
import MkInfo from '@/components/MkInfo.vue';
|
import MkInfo from '@/components/MkInfo.vue';
|
||||||
import MkButton from '@/components/MkButton.vue';
|
import MkButton from '@/components/MkButton.vue';
|
||||||
import { getScrollPosition } from '@/scripts/scroll.js';
|
import { getScrollPosition } from '@/scripts/scroll.js';
|
||||||
import { getStaticImageUrl } from '@/scripts/media-proxy.js';
|
|
||||||
import { getUserMenu } from '@/scripts/get-user-menu.js';
|
import { getUserMenu } from '@/scripts/get-user-menu.js';
|
||||||
import number from '@/filters/number.js';
|
import number from '@/filters/number.js';
|
||||||
import { userPage } from '@/filters/user.js';
|
import { userPage } from '@/filters/user.js';
|
||||||
|
@ -178,7 +177,6 @@ import { confetti } from '@/scripts/confetti.js';
|
||||||
import MkNotes from '@/components/MkNotes.vue';
|
import MkNotes from '@/components/MkNotes.vue';
|
||||||
import { api } from '@/os.js';
|
import { api } from '@/os.js';
|
||||||
import { isFfVisibleForMe } from '@/scripts/isFfVisibleForMe.js';
|
import { isFfVisibleForMe } from '@/scripts/isFfVisibleForMe.js';
|
||||||
import { defaultStore } from '@/store.js';
|
|
||||||
|
|
||||||
function calcAge(birthdate: string): number {
|
function calcAge(birthdate: string): number {
|
||||||
const date = new Date(birthdate);
|
const date = new Date(birthdate);
|
||||||
|
@ -256,9 +254,6 @@ const style = $computed(() => {
|
||||||
if (props.user.bannerUrl == null) return {};
|
if (props.user.bannerUrl == null) return {};
|
||||||
return {
|
return {
|
||||||
backgroundImage: `url(${ props.user.bannerUrl })`,
|
backgroundImage: `url(${ props.user.bannerUrl })`,
|
||||||
'--backgroundImageStatic': defaultStore.state.useBlurEffect && props.user.bannerUrl
|
|
||||||
? `url('${getStaticImageUrl(props.user.bannerUrl,)}')`
|
|
||||||
: null,
|
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -371,16 +366,6 @@ onUnmounted(() => {
|
||||||
background-position: center;
|
background-position: center;
|
||||||
box-shadow: 0 0 128px rgba(0, 0, 0, 0.5) inset;
|
box-shadow: 0 0 128px rgba(0, 0, 0, 0.5) inset;
|
||||||
will-change: background-position;
|
will-change: background-position;
|
||||||
&::before {
|
|
||||||
content: "";
|
|
||||||
position: fixed;
|
|
||||||
inset: 0;
|
|
||||||
background: var(--backgroundImageStatic);
|
|
||||||
background-size: cover;
|
|
||||||
background-position: center;
|
|
||||||
pointer-events: none;
|
|
||||||
filter: blur(12px) opacity(0.1);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
> .fade {
|
> .fade {
|
||||||
|
@ -729,12 +714,6 @@ onUnmounted(() => {
|
||||||
padding: calc(var(--margin) / 2) 0;
|
padding: calc(var(--margin) / 2) 0;
|
||||||
background: var(--bg);
|
background: var(--bg);
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
|
|
||||||
> button {
|
|
||||||
border-radius: 8px;
|
|
||||||
margin-left: 0.4rem;
|
|
||||||
margin-right: 0.4rem;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.verifiedLink {
|
.verifiedLink {
|
||||||
|
|
Loading…
Reference in a new issue