fix(user): align badge entry with medal settings
This commit is contained in:
1 parent
e1dc9ab277
commit
51b52affae
7 files changed
+143
-25
No files matched your search
@@ -7,7 +7,63 @@
|
||||
* 加载条件与 user-badges.js 一致(badge surface 页面)。
|
||||
* ============================================================ */
|
||||
|
||||
/* ---------- 分类分组(zibll .medal-cat-box / .medal-cat-name) ---------- */
|
||||
/* ---------- 顶部资料卡入口(zibll user-medal-info parity) ---------- */
|
||||
.aksrt-medal-entry {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
min-width: 0;
|
||||
margin: 2px 8px 2px 0;
|
||||
padding: 2px 0;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
color: var(--muted-2-color, var(--color-ink-4));
|
||||
font: inherit;
|
||||
font-size: 12px;
|
||||
line-height: 1.4;
|
||||
cursor: pointer;
|
||||
white-space: nowrap;
|
||||
transition: color .15s ease, opacity .15s ease;
|
||||
}
|
||||
.aksrt-medal-entry:hover,
|
||||
.aksrt-medal-entry:focus-visible {
|
||||
color: var(--focus-color);
|
||||
opacity: 1;
|
||||
}
|
||||
.aksrt-medal-entry:focus-visible {
|
||||
outline: 2px solid var(--focus-color);
|
||||
outline-offset: 2px;
|
||||
border-radius: var(--mini-radius, 6px);
|
||||
}
|
||||
.aksrt-medal-entry__icons {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
flex: none;
|
||||
min-width: 0;
|
||||
}
|
||||
.aksrt-medal-entry__icon {
|
||||
width: auto;
|
||||
height: 1.45em;
|
||||
max-width: 2.2em;
|
||||
margin: 0 1px;
|
||||
object-fit: contain;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.aksrt-medal-entry__icon + .aksrt-medal-entry__icon { margin-left: -1px; }
|
||||
.aksrt-medal-entry__fallback {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 1.6em;
|
||||
height: 1.6em;
|
||||
color: var(--focus-color);
|
||||
background: var(--focus-color-opacity1);
|
||||
border-radius: 50%;
|
||||
}
|
||||
.aksrt-medal-entry__count { margin-left: 2px; }
|
||||
.aksrt-medal-entry__arrow { margin-left: 1px; font-size: .9em; }
|
||||
|
||||
|
||||
.medal-cat-box {
|
||||
position: relative;
|
||||
text-align: center;
|
||||
|
||||
@@ -738,8 +738,7 @@
|
||||
}
|
||||
.aksrt-author-card__badge img { border-radius: 50%; }
|
||||
|
||||
/* 徽章远程弹窗样式已迁至 assets/css/frontend/medal.css(zibll medal 风格)。 */
|
||||
.aksrt-author-hero__badges { margin-top: 8px; }
|
||||
/* 徽章入口与弹窗样式统一由 assets/css/frontend/medal.css 提供。 */
|
||||
|
||||
/* Forum tab topics (batch6) */
|
||||
.aksrt-ftab__nav {
|
||||
|
||||
Reference in new issue
Block a user