diff options
| author | Eltrac <hi@guhub.cn> | 2025-09-15 12:17:08 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-09-15 12:17:08 +0800 |
| commit | 24caf557520aa02b4c6625bfd28456667682728d (patch) | |
| tree | e24eccd3787f4a809f8b3681dc498753ad37395a | |
| parent | a2084d696bdb69c605ac1f53a15c8ed5d57c915a (diff) | |
feat: quicker transition, cursor pointer
| -rw-r--r-- | src/libo.css | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/src/libo.css b/src/libo.css index 5e0dece..c68dc44 100644 --- a/src/libo.css +++ b/src/libo.css @@ -4,27 +4,22 @@ left: 0; width: 100%; height: 100%; + padding: 1rem; background-color: #fff; - transition: opacity 0.3s ease-in-out; + transition: opacity 0.2s ease-in-out; display: flex; justify-content: center; align-items: center; + + cursor: pointer; } .libo-shadow { position: absolute; - transition-duration: 0.3s; + transition-duration: 0.2s; transition-property: transform; display: block; -} - -.libo-shadow.open { - position: static; - margin: 0 auto; max-width: 100%; - width: auto; - height: auto; - - box-shadow: 0 0 1rem rgba(0, 0, 0, 0.3); + cursor: pointer; } |
