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:
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user