diff options
| author | Eltrac <hi@guhub.cn> | 2025-09-18 23:29:57 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-09-18 23:29:57 +0800 |
| commit | c2dccbb09dcfbf12eaf22e6633c2a7aec1a39168 (patch) | |
| tree | 1c769694795c27a309eb230b11890b4b03b7ad32 | |
| parent | b9aeb769ae41337c1524baea11947d7022e57bd6 (diff) | |
fix: libra.css not up to date
Former-commit-id: 4cb3dc338d21bc61b0f38e8749a62cc2f8749a77
| -rw-r--r-- | assets/css/components/_libra.scss | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/assets/css/components/_libra.scss b/assets/css/components/_libra.scss index 1c7277c5..f3d6e7b5 100644 --- a/assets/css/components/_libra.scss +++ b/assets/css/components/_libra.scss @@ -5,7 +5,7 @@ width: 100%; height: 100%; padding: 1rem; - transition: opacity 0.2s ease-in-out; + transition: opacity ease-in-out; backdrop-filter: blur(2rem); background-color: rgba(255, 255, 255, 0.75); @@ -17,6 +17,16 @@ cursor: pointer; } +.libra-overlay.libra-visible { + opacity: 1; + z-index: 900; +} + +.libra-overlay.libra-hidden { + opacity: 0; + z-index: -100; +} + @media (prefers-color-scheme: dark) { .libra-overlay { background-color: rgba(0, 0, 0, 0.75); @@ -25,9 +35,9 @@ .libra-shadow { position: absolute; - transition-duration: 0.2s; transition-property: transform; cursor: pointer; + z-index: 1000; } .libra-shadow.open { |
