Glassmorphism!

Or however it's called, basically all semi-transparent elements are now blurred, see https://daudix.codeberg.page to see why I did this (if this change is still live ofc)
This commit is contained in:
daudix
2024-02-15 23:02:46 +03:00
parent 049cfb7b63
commit 592a486148
7 changed files with 61 additions and 16 deletions

View File

@ -7,8 +7,11 @@
}
.inline-button {
-webkit-backdrop-filter: var(--blur);
backdrop-filter: var(--blur);
background-color: var(--fg-muted-1);
border-radius: var(--rounded-corner);
box-shadow: var(--edge-highlight);
color: var(--fg-color);
display: inline-block;
font-size: 0.9rem;
@ -26,11 +29,17 @@
}
&.colored {
color: var(--primary-color);
-webkit-backdrop-filter: unset;
backdrop-filter: unset;
background-color: transparent;
box-shadow: none;
color: var(--primary-color);
&:hover {
-webkit-backdrop-filter: var(--blur);
backdrop-filter: var(--blur);
background-color: var(--primary-color-alpha);
box-shadow: var(--edge-highlight);
}
}
}