3.2.27: 评论嵌套引导线按层变色(1层浅蓝/2层深蓝/3层点赞色/更深扩展色轮换,深层线恢复绘制);导航多级下拉修复(depth=2 截断改 0,深层父项 dropdown-submenu + hover 右侧弹出,移动端平铺)
This commit is contained in:
@@ -653,7 +653,11 @@
|
||||
bottom: 0;
|
||||
left: calc(var(--yq-my-indent, 55px) - var(--yq-guide-w, 2px) - var(--yq-guide-gap, 8px));
|
||||
width: var(--yq-guide-w, 2px);
|
||||
background-color: var(--yq-guide, var(--yq-primary, #00a2ff));
|
||||
/* 3.2.27:颜色按嵌套层区分 —— 由各评论 li 注入的 --yq-guide-c 决定
|
||||
(PHP 端 yang_comment_guide_color():第1层保持浅蓝、第2层深蓝、
|
||||
第3层点赞按钮色 #fb5235、更深扩展色板循环)。
|
||||
未注入时回落到主题浅蓝,老缓存/插件渲染的评论不受影响。 */
|
||||
background-color: var(--yq-guide-c, var(--yq-guide, var(--yq-primary, #00a2ff)));
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@@ -714,9 +718,10 @@
|
||||
padding-left: var(--yq-my-indent);
|
||||
}
|
||||
|
||||
.yang-children .yang-children .yang-children::before {
|
||||
content: none;
|
||||
}
|
||||
/* 3.2.27:第三层起的引导线**不再关闭**。
|
||||
* 原来 content:none 的理由是"三条同色竖线叠成表格观感";现在线按层
|
||||
* 变色(浅蓝→深蓝→橙红→…),颜色本身就是层级信号,同色重复的
|
||||
* 前提不复存在,这条规则跟着过期 —— 保留它第三层就没有线可变色了。 */
|
||||
|
||||
/* 新提交的评论:淡入 + 短暂底色,让用户看到自己刚发的那条 */
|
||||
@keyframes yang-comment-in {
|
||||
|
||||
Reference in New Issue
Block a user