diff --git a/templates/overview.html b/templates/overview.html index 771d5dc..6801f7f 100644 --- a/templates/overview.html +++ b/templates/overview.html @@ -39,28 +39,22 @@ } } - .image { - max-width: 100%; - height: auto; - cursor: pointer; - } - - #imageContainer { - display: none; - justify-content: center; - align-items: center; + #global-blur { + background-color: rgba(255, 255, 255, 0.5); position: fixed; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - z-index: 9999; - max-height: 90%; - max-width: 90%; - } - - #imageContainer img { - max-width: 100%; - height: auto; + top: 0; + left: 0; + width: 100%; + height: 100%; + backdrop-filter: blur(10px); + /* 模糊度可以根据需要调整 */ + transition: display; + z-index: 1; + /* 保证遮罩在页面上方 */ + pointer-events: none; + /* 确保遮罩不影响下方元素的交互 */ + opacity: 0; + transition: opacity 0.3s ease } @@ -68,33 +62,41 @@
- +
-
+