用户域 CSS 整包重切:lists 持有共享列表,modals 只留弹窗,清掉死样式
把 public/private 扁平列表覆写迁到 profile/lists,删除未使用的 stats/signin/level 与 author-page 归档样式,并补 modal 移动端基础规则。
This commit is contained in:
1 parent
f76d4650e5
commit
3ce5306efd
4 files changed
+110
-518
No files matched your search
@@ -658,3 +658,86 @@
|
||||
color: var(--color-ink-4);
|
||||
}
|
||||
|
||||
/* Zibll-style user tabs: one panel outside, flat rows inside. */
|
||||
.dashboard--public .profile-list,
|
||||
.dashboard--public .profile-comment-list,
|
||||
.uc-content #panel-posts .profile-list,
|
||||
.uc-content #panel-favorites .profile-list,
|
||||
.uc-content #panel-comments .profile-comment-list {
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
.dashboard--public .profile-list-item,
|
||||
.dashboard--public .profile-comment-item,
|
||||
.uc-content #panel-posts .profile-list-item,
|
||||
.uc-content #panel-favorites .profile-list-item,
|
||||
.uc-content #panel-favorites .profile-list[data-list="favorites"] .profile-list-item,
|
||||
.uc-content #panel-comments .profile-comment-item {
|
||||
padding: 16px 0;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
border-bottom: 1px solid var(--color-line-soft, rgba(0,0,0,0.06));
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.dashboard--public .profile-list-item:hover,
|
||||
.dashboard--public .profile-comment-item:hover,
|
||||
.uc-content #panel-posts .profile-list-item:hover,
|
||||
.uc-content #panel-favorites .profile-list-item:hover,
|
||||
.uc-content #panel-favorites .profile-list[data-list="favorites"] .profile-list-item:hover,
|
||||
.uc-content #panel-comments .profile-comment-item:hover {
|
||||
background: transparent;
|
||||
border-color: var(--color-line-soft, rgba(0,0,0,0.06));
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.dashboard--public .profile-list-item:first-child,
|
||||
.dashboard--public .profile-comment-item:first-child,
|
||||
.uc-content #panel-posts .profile-list-item:first-child,
|
||||
.uc-content #panel-favorites .profile-list-item:first-child,
|
||||
.uc-content #panel-comments .profile-comment-item:first-child {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.dashboard--public .profile-list-item:last-child,
|
||||
.dashboard--public .profile-comment-item:last-child,
|
||||
.uc-content #panel-posts .profile-list-item:last-child,
|
||||
.uc-content #panel-favorites .profile-list-item:last-child,
|
||||
.uc-content #panel-comments .profile-comment-item:last-child {
|
||||
padding-bottom: 0;
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.dashboard--public .profile-list[data-list="favorites"] .profile-list-item,
|
||||
.dashboard--public .profile-list[data-list="favorites"] .profile-list-item:hover {
|
||||
background: transparent;
|
||||
border-color: var(--color-line-soft, rgba(0,0,0,0.06));
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.dashboard--public .profile-list-item,
|
||||
.dashboard--public .profile-comment-item,
|
||||
.uc-content #panel-posts .profile-list-item,
|
||||
.uc-content #panel-favorites .profile-list-item,
|
||||
.uc-content #panel-comments .profile-comment-item {
|
||||
padding: 14px 0;
|
||||
}
|
||||
|
||||
.dashboard--public .profile-list-item:first-child,
|
||||
.dashboard--public .profile-comment-item:first-child,
|
||||
.uc-content #panel-posts .profile-list-item:first-child,
|
||||
.uc-content #panel-favorites .profile-list-item:first-child,
|
||||
.uc-content #panel-comments .profile-comment-item:first-child {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.dashboard--public .profile-list-item:last-child,
|
||||
.dashboard--public .profile-comment-item:last-child,
|
||||
.uc-content #panel-posts .profile-list-item:last-child,
|
||||
.uc-content #panel-favorites .profile-list-item:last-child,
|
||||
.uc-content #panel-comments .profile-comment-item:last-child {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user