profile as bg
This commit is contained in:
parent
5adf4c2b8a
commit
319e7f4d2c
4 changed files with 26 additions and 13 deletions
|
@ -20,7 +20,6 @@
|
||||||
|
|
||||||
## Work in progress
|
## Work in progress
|
||||||
|
|
||||||
- Profile background as banner
|
|
||||||
- Less cluttered notification summary
|
- Less cluttered notification summary
|
||||||
- Better timeline top bar
|
- Better timeline top bar
|
||||||
|
|
||||||
|
@ -31,6 +30,7 @@
|
||||||
- Star as default reaction
|
- Star as default reaction
|
||||||
- Rosé Pine by default (+ non-themable elements made Rosé Pine)
|
- Rosé Pine by default (+ non-themable elements made Rosé Pine)
|
||||||
- Better sidebar/navbar
|
- Better sidebar/navbar
|
||||||
|
- Profile background as banner
|
||||||
- Mark as read from notifications widget
|
- Mark as read from notifications widget
|
||||||
- Better welcome screen (not logged in)
|
- Better welcome screen (not logged in)
|
||||||
- Ability to turn off "Connection lost" message
|
- Ability to turn off "Connection lost" message
|
||||||
|
|
|
@ -48,17 +48,6 @@ defineProps<{
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
|
|
||||||
&::after {
|
|
||||||
content: "";
|
|
||||||
background-image: inherit;
|
|
||||||
position: fixed;
|
|
||||||
inset: 0;
|
|
||||||
background-size: cover;
|
|
||||||
background-position: center;
|
|
||||||
pointer-events: none;
|
|
||||||
opacity: .1;
|
|
||||||
filter: blur(10px);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
> .avatar {
|
> .avatar {
|
||||||
|
|
|
@ -120,6 +120,18 @@ export default defineComponent({
|
||||||
background-color: rgba(0, 0, 0, 0.1);
|
background-color: rgba(0, 0, 0, 0.1);
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
content: "";
|
||||||
|
background-image: inherit;
|
||||||
|
position: fixed;
|
||||||
|
inset: 0;
|
||||||
|
background-size: cover;
|
||||||
|
background-position: center;
|
||||||
|
pointer-events: none;
|
||||||
|
opacity: .1;
|
||||||
|
filter: blur(10px);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
> .avatar {
|
> .avatar {
|
||||||
|
|
|
@ -213,11 +213,23 @@ onUnmounted(() => {
|
||||||
|
|
||||||
> .banner {
|
> .banner {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: #4c5e6d;
|
background-color: #26233a;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
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;
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
content: "";
|
||||||
|
background-image: inherit;
|
||||||
|
position: fixed;
|
||||||
|
inset: 0;
|
||||||
|
background-size: cover;
|
||||||
|
background-position: center;
|
||||||
|
pointer-events: none;
|
||||||
|
opacity: .1;
|
||||||
|
filter: blur(10px);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
> .fade {
|
> .fade {
|
||||||
|
|
Loading…
Reference in a new issue