feat(back-button): enhance button styles and add variant support; refactor back navigation in sidebar and coins rules screen

This commit is contained in:
2026-06-29 14:54:03 +08:00
parent 096978e703
commit ef18500de3
9 changed files with 104 additions and 119 deletions
@@ -15,36 +15,6 @@
gap: 18px;
}
.backLink {
display: inline-flex;
width: 42px;
height: 42px;
align-items: center;
justify-content: center;
color: #21191d;
text-decoration: none;
border: 1px solid rgba(25, 19, 22, 0.08);
border-radius: 999px;
background: rgba(255, 255, 255, 0.82);
box-shadow: 0 10px 22px rgba(50, 30, 40, 0.08);
transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.16s ease;
}
.backLink:hover {
background: #ffffff;
box-shadow: 0 14px 26px rgba(50, 30, 40, 0.12);
transform: translateY(-1px);
}
.backLink:active {
transform: translateY(1px);
}
.backLink:focus-visible {
outline: 2px solid #f657a0;
outline-offset: 3px;
}
.hero {
position: relative;
overflow: hidden;