fix: 增强CSS选择器优先级并添加调试日志
- 为所有opacity相关CSS规则添加!important确保优先级 - 为.post-pjax-loading添加position: relative - 添加console.log调试信息,方便排查问题 - 严格遵守设置项,只在启用进入文章动画时生效
This commit is contained in:
13
style.css
13
style.css
@@ -3875,17 +3875,18 @@ html.filter-grayscale {
|
||||
.post-preview.post-pjax-loading {
|
||||
opacity: 1 !important;
|
||||
z-index: 10;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#main.post-list-pjax-loading .post {
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transition: opacity 0.3s ease;
|
||||
#main.post-list-pjax-loading .post-preview {
|
||||
opacity: 0 !important;
|
||||
pointer-events: none !important;
|
||||
transition: opacity 0.3s ease !important;
|
||||
}
|
||||
|
||||
#main.post-list-pjax-loading .post.post-pjax-loading {
|
||||
#main.post-list-pjax-loading .post-preview.post-pjax-loading {
|
||||
opacity: 1 !important;
|
||||
pointer-events: auto;
|
||||
pointer-events: auto !important;
|
||||
}
|
||||
|
||||
.post-title {
|
||||
|
||||
Reference in New Issue
Block a user