Fix backdrop blur of dropdowns (fixes #91)
This commit is contained in:
@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
- Recolor list bullets in GitHub-style alerts.
|
- Recolor list bullets in GitHub-style alerts.
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Fix backdrop blur of dropdowns and search container in Chrome (#77 and #91).
|
||||||
|
|
||||||
## [5.3.0](https://codeberg.org/daudix/duckquill/compare/v5.2.0...v5.3.0)
|
## [5.3.0](https://codeberg.org/daudix/duckquill/compare/v5.2.0...v5.3.0)
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
@ -1,19 +1,27 @@
|
|||||||
#site-nav {
|
#site-nav {
|
||||||
-webkit-backdrop-filter: var(--blur);
|
|
||||||
position: sticky;
|
position: sticky;
|
||||||
z-index: 999;
|
z-index: 999;
|
||||||
backdrop-filter: var(--blur);
|
|
||||||
margin: 1rem auto;
|
margin: 1rem auto;
|
||||||
inset-block-start: 1rem;
|
inset-block-start: 1rem;
|
||||||
box-shadow: var(--edge-highlight), var(--shadow-glass);
|
|
||||||
border-radius: 1.625rem;
|
border-radius: 1.625rem;
|
||||||
background-color: var(--nav-bg);
|
|
||||||
max-width: 90%;
|
max-width: 90%;
|
||||||
|
|
||||||
@media only screen and (max-width: 480px) {
|
@media only screen and (max-width: 480px) {
|
||||||
position: static;
|
position: static;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
-webkit-backdrop-filter: var(--blur);
|
||||||
|
position: absolute;
|
||||||
|
z-index: -1;
|
||||||
|
backdrop-filter: var(--blur);
|
||||||
|
inset: 0;
|
||||||
|
box-shadow: var(--edge-highlight), var(--shadow-glass);
|
||||||
|
border-radius: 1.625rem;
|
||||||
|
background-color: var(--nav-bg);
|
||||||
|
content: '';
|
||||||
|
}
|
||||||
|
|
||||||
nav {
|
nav {
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
|
|
||||||
@ -203,7 +211,7 @@
|
|||||||
z-index: 1;
|
z-index: 1;
|
||||||
backdrop-filter: var(--blur);
|
backdrop-filter: var(--blur);
|
||||||
inset-block-start: 3.25rem;
|
inset-block-start: 3.25rem;
|
||||||
box-shadow: var(--edge-highlight),var(--shadow-glass);
|
box-shadow: var(--edge-highlight), var(--shadow-glass);
|
||||||
border-radius: calc(var(--rounded-corner) + 0.25rem);
|
border-radius: calc(var(--rounded-corner) + 0.25rem);
|
||||||
background-color: var(--nav-bg);
|
background-color: var(--nav-bg);
|
||||||
padding: 0.25rem;
|
padding: 0.25rem;
|
||||||
@ -314,8 +322,7 @@
|
|||||||
box-shadow: var(--edge-highlight);
|
box-shadow: var(--edge-highlight);
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 999px;
|
border-radius: 999px;
|
||||||
background-image: none;
|
background: var(--fg-muted-1);
|
||||||
background-color: var(--fg-muted-1);
|
|
||||||
padding: 0.5rem 0.75rem;
|
padding: 0.5rem 0.75rem;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
|
Reference in New Issue
Block a user