Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
722 lines
14 KiB
CSS
722 lines
14 KiB
CSS
.setting-layout {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: #0A0A0A;
|
|
}
|
|
|
|
.setting-layout .site-header,
|
|
.setting-layout .footer-box {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.setting-page {
|
|
width: 100%;
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
padding: 36px 0;
|
|
background: #0A0A0A;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 18px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.setting-pc {
|
|
width: 100%;
|
|
max-width: calc(100% - 32px);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 18px;
|
|
}
|
|
|
|
.setting-nav {
|
|
display: none;
|
|
}
|
|
|
|
.setting-main {
|
|
width: 100%;
|
|
max-width: calc(100% - 32px);
|
|
height: 370px;
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
align-items: flex-start;
|
|
gap: 18px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.setting-breadcrumb {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.setting-breadcrumb-link {
|
|
color: #EC237F;
|
|
font-size: 14px;
|
|
font-family: PingFang SC;
|
|
font-weight: 400;
|
|
line-height: 20px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.setting-breadcrumb-sep {
|
|
color: #666666;
|
|
font-size: 14px;
|
|
font-family: PingFang SC;
|
|
font-weight: 400;
|
|
line-height: 20px;
|
|
}
|
|
|
|
.setting-breadcrumb-current {
|
|
color: #8A8A8A;
|
|
font-size: 14px;
|
|
font-family: PingFang SC;
|
|
font-weight: 400;
|
|
line-height: 20px;
|
|
}
|
|
|
|
.setting-head {
|
|
align-self: stretch;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.setting-title {
|
|
margin: 0;
|
|
color: white;
|
|
font-size: 30px;
|
|
font-family: PingFang SC;
|
|
font-weight: 400;
|
|
line-height: 36px;
|
|
}
|
|
|
|
.setting-desc {
|
|
margin: 0;
|
|
color: #A3A3A3;
|
|
font-size: 14px;
|
|
font-family: PingFang SC;
|
|
font-weight: 400;
|
|
line-height: 20px;
|
|
}
|
|
|
|
.setting-panel,
|
|
.setting-aside {
|
|
height: 100%;
|
|
min-height: 0;
|
|
padding: 24px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
overflow: hidden;
|
|
border-radius: 20px;
|
|
border: 1px solid rgba(255, 255, 255, 0.10);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 14px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.setting-profile-pc {
|
|
width: 560px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.setting-profile-mobile {
|
|
display: none;
|
|
}
|
|
|
|
.setting-aside {
|
|
flex: 1 1 0;
|
|
align-self: stretch;
|
|
min-width: 0;
|
|
}
|
|
|
|
.setting-panel-title,
|
|
.setting-aside-title {
|
|
margin: 0;
|
|
color: white;
|
|
font-size: 20px;
|
|
font-family: PingFang SC;
|
|
font-weight: 400;
|
|
line-height: 26px;
|
|
}
|
|
|
|
.setting-section-label {
|
|
display: none;
|
|
}
|
|
|
|
.setting-avatar-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.setting-avatar {
|
|
width: 64px;
|
|
height: 64px;
|
|
border-radius: 999px;
|
|
object-fit: cover;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.setting-avatar-text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 3px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.setting-avatar-name {
|
|
color: white;
|
|
font-size: 18px;
|
|
font-family: PingFang SC;
|
|
font-weight: 400;
|
|
line-height: 24px;
|
|
}
|
|
|
|
.setting-avatar-change {
|
|
padding: 0;
|
|
border: none;
|
|
background: none;
|
|
color: #EC237F;
|
|
font-size: 12px;
|
|
font-family: PingFang SC;
|
|
font-weight: 400;
|
|
line-height: 18px;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.setting-field {
|
|
align-self: stretch;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 6px;
|
|
overflow: visible;
|
|
}
|
|
|
|
.setting-label {
|
|
color: #A3A3A3;
|
|
font-size: 12px;
|
|
font-family: PingFang SC;
|
|
font-weight: 400;
|
|
line-height: 18px;
|
|
}
|
|
|
|
.setting-input {
|
|
align-self: stretch;
|
|
width: 100%;
|
|
min-height: 44px;
|
|
padding: 12px 14px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(255, 255, 255, 0.10);
|
|
color: #F5F5F5;
|
|
font-size: 14px;
|
|
font-family: PingFang SC;
|
|
font-weight: 400;
|
|
line-height: 20px;
|
|
box-sizing: border-box;
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
box-shadow: none;
|
|
outline: none;
|
|
outline-color: transparent;
|
|
opacity: 1;
|
|
-webkit-text-fill-color: #F5F5F5;
|
|
}
|
|
|
|
.setting-input--static {
|
|
display: flex;
|
|
align-items: center;
|
|
min-height: 44px;
|
|
}
|
|
|
|
.setting-input:focus,
|
|
.setting-input:focus-visible {
|
|
border-color: rgba(250, 220, 68, 0.55);
|
|
outline: none;
|
|
outline-color: transparent;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.setting-input:read-only,
|
|
.setting-input[readonly] {
|
|
opacity: 1;
|
|
color: #F5F5F5;
|
|
-webkit-text-fill-color: #F5F5F5;
|
|
cursor: default;
|
|
}
|
|
|
|
.setting-input::placeholder {
|
|
color: #A3A3A3;
|
|
-webkit-text-fill-color: #A3A3A3;
|
|
opacity: 1;
|
|
}
|
|
|
|
.setting-save-btn {
|
|
width: 128px;
|
|
height: 40px;
|
|
background: #EC237F;
|
|
border: none;
|
|
border-radius: 20px;
|
|
color: #181818;
|
|
font-size: 14px;
|
|
font-family: PingFang SC;
|
|
font-weight: 400;
|
|
line-height: 20px;
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-decoration: none;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.setting-group {
|
|
align-self: stretch;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.setting-group--security {
|
|
margin: 0;
|
|
}
|
|
|
|
.setting-item {
|
|
align-self: stretch;
|
|
padding: 12px 0;
|
|
border: none;
|
|
background: transparent;
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
grid-template-areas:
|
|
"label action"
|
|
"hint action";
|
|
align-items: center;
|
|
column-gap: 12px;
|
|
row-gap: 2px;
|
|
box-sizing: border-box;
|
|
text-align: left;
|
|
text-decoration: none;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
font: inherit;
|
|
-webkit-tap-highlight-color: transparent;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.setting-group--notify .setting-item {
|
|
display: flex;
|
|
padding: 8px 0;
|
|
cursor: default;
|
|
}
|
|
|
|
.setting-item-label {
|
|
grid-area: label;
|
|
color: white;
|
|
font-size: 14px;
|
|
font-family: PingFang SC;
|
|
font-weight: 400;
|
|
line-height: 20px;
|
|
}
|
|
|
|
.setting-group--notify .setting-item-label {
|
|
color: #DBD7E4;
|
|
}
|
|
|
|
.setting-item-hint {
|
|
grid-area: hint;
|
|
color: #8A8A8A;
|
|
font-size: 12px;
|
|
font-family: PingFang SC;
|
|
font-weight: 400;
|
|
line-height: 18px;
|
|
}
|
|
|
|
.setting-item-action {
|
|
grid-area: action;
|
|
padding: 0;
|
|
border: none;
|
|
background: none;
|
|
color: #EC237F;
|
|
font-size: 12px;
|
|
font-family: PingFang SC;
|
|
font-weight: 400;
|
|
line-height: 18px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.setting-item-right,
|
|
.setting-item-value,
|
|
.setting-item-arrow,
|
|
.setting-item-avatar {
|
|
display: none;
|
|
}
|
|
|
|
.setting-switch {
|
|
width: 42px;
|
|
height: 24px;
|
|
margin-left: auto;
|
|
position: relative;
|
|
background: rgba(255, 255, 255, 0.12);
|
|
border: none;
|
|
border-radius: 12px;
|
|
cursor: pointer;
|
|
flex-shrink: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.setting-switch::after {
|
|
content: "";
|
|
width: 18px;
|
|
height: 18px;
|
|
position: absolute;
|
|
left: 3px;
|
|
top: 3px;
|
|
background: white;
|
|
border-radius: 9999px;
|
|
transition: left 0.15s ease;
|
|
}
|
|
|
|
.setting-switch--on {
|
|
background: #EC237F;
|
|
}
|
|
|
|
.setting-switch--on::after {
|
|
left: 21px;
|
|
}
|
|
|
|
.setting-logout {
|
|
width: 130px;
|
|
height: 40px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
overflow: hidden;
|
|
border-radius: 20px;
|
|
border: 1px solid #EC237F;
|
|
display: inline-flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
color: #EC237F;
|
|
font-size: 14px;
|
|
font-family: PingFang SC;
|
|
font-weight: 400;
|
|
line-height: 20px;
|
|
text-decoration: none;
|
|
box-sizing: border-box;
|
|
cursor: pointer;
|
|
}
|
|
|
|
@media (max-width: 1100px) {
|
|
.setting-main {
|
|
height: auto;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.setting-profile-pc,
|
|
.setting-aside {
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
body.is-setting-page {
|
|
background: #0A0A0A;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
body.is-setting-page .site-header,
|
|
body.is-setting-page .footer-box,
|
|
body.is-setting-page .floating-action,
|
|
body.is-setting-page .download-fab {
|
|
display: none !important;
|
|
height: 0 !important;
|
|
min-height: 0 !important;
|
|
overflow: hidden !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
border: none !important;
|
|
}
|
|
|
|
.setting-layout {
|
|
min-height: 100vh;
|
|
background: #0A0A0A;
|
|
}
|
|
|
|
.setting-page {
|
|
padding: 0;
|
|
background: #0A0A0A;
|
|
align-items: stretch;
|
|
justify-content: flex-start;
|
|
gap: 0;
|
|
min-height: 100vh;
|
|
height: auto;
|
|
overflow: visible;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.setting-pc {
|
|
display: none;
|
|
}
|
|
|
|
.setting-nav {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 40;
|
|
width: 100%;
|
|
height: 48px;
|
|
padding: 0 16px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
box-sizing: border-box;
|
|
flex-shrink: 0;
|
|
background: #181818;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.setting-nav-back {
|
|
width: 24px;
|
|
height: 24px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.setting-nav-back img {
|
|
width: 24px;
|
|
height: 24px;
|
|
display: block;
|
|
opacity: 0.55;
|
|
filter: brightness(0) invert(1);
|
|
}
|
|
|
|
.setting-nav-title {
|
|
margin: 0;
|
|
flex: 1 1 0;
|
|
height: 24px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
color: #fff;
|
|
font-size: 16px;
|
|
font-family: "Noto Sans SC", PingFang SC, sans-serif;
|
|
font-weight: 700;
|
|
line-height: 22px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.setting-nav-spacer {
|
|
width: 24px;
|
|
height: 24px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.setting-main {
|
|
width: calc(100% - 32px);
|
|
max-width: 343px;
|
|
height: auto;
|
|
margin: 0 auto;
|
|
padding: 14px 0;
|
|
flex: 1 1 auto;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 10px;
|
|
box-sizing: border-box;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.setting-profile-pc {
|
|
display: none;
|
|
}
|
|
|
|
.setting-profile-mobile {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 10px;
|
|
flex: none;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.setting-aside {
|
|
flex: none;
|
|
width: 100%;
|
|
min-height: 0;
|
|
height: auto;
|
|
padding: 0;
|
|
background: transparent;
|
|
border: none;
|
|
border-radius: 0;
|
|
overflow: visible;
|
|
gap: 10px;
|
|
align-self: stretch;
|
|
}
|
|
|
|
.setting-aside-title {
|
|
display: none;
|
|
}
|
|
|
|
.setting-section-label {
|
|
display: block;
|
|
color: rgba(255, 255, 255, 0.60);
|
|
font-size: 12px;
|
|
font-family: "Noto Sans SC", PingFang SC, sans-serif;
|
|
font-weight: 700;
|
|
line-height: 18px;
|
|
}
|
|
|
|
.setting-group {
|
|
width: 100%;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-radius: 16px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.setting-item {
|
|
width: 100%;
|
|
height: 52px;
|
|
padding: 0 14px;
|
|
border-bottom: 1px rgba(255, 255, 255, 0.10) solid;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 12px;
|
|
box-sizing: border-box;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.setting-group .setting-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.setting-item--avatar {
|
|
height: 76px;
|
|
}
|
|
|
|
.setting-item-hint,
|
|
.setting-item-action {
|
|
display: none;
|
|
}
|
|
|
|
.setting-item-label {
|
|
color: rgba(255, 255, 255, 0.90);
|
|
font-size: 14px;
|
|
font-family: "Noto Sans SC", PingFang SC, sans-serif;
|
|
font-weight: 700;
|
|
line-height: 20px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.setting-item-right {
|
|
min-width: 0;
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
gap: 6px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.setting-item-value {
|
|
display: block;
|
|
color: rgba(255, 255, 255, 0.60);
|
|
font-size: 12px;
|
|
font-family: "Noto Sans SC", PingFang SC, sans-serif;
|
|
font-weight: 400;
|
|
line-height: 18px;
|
|
max-width: 180px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.setting-item-avatar {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 999px;
|
|
object-fit: cover;
|
|
display: block;
|
|
flex-shrink: 0;
|
|
border: 1px solid rgba(250, 220, 68, 0.35);
|
|
}
|
|
|
|
.setting-item-arrow {
|
|
width: 18px;
|
|
height: 18px;
|
|
display: block;
|
|
flex-shrink: 0;
|
|
opacity: 0.55;
|
|
filter: brightness(0) invert(1);
|
|
}
|
|
|
|
.setting-group--security .setting-item {
|
|
height: 52px;
|
|
}
|
|
|
|
.setting-group--notify .setting-item {
|
|
height: 52px;
|
|
padding: 0 14px;
|
|
cursor: default;
|
|
}
|
|
|
|
.setting-group--notify .setting-item-label {
|
|
color: rgba(255, 255, 255, 0.90);
|
|
font-size: 14px;
|
|
font-family: "Noto Sans SC", PingFang SC, sans-serif;
|
|
font-weight: 700;
|
|
line-height: 20px;
|
|
}
|
|
|
|
.setting-switch {
|
|
width: 44px;
|
|
height: 24px;
|
|
margin-left: 0;
|
|
background: rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
.setting-switch::after {
|
|
width: 20px;
|
|
height: 20px;
|
|
left: 2px;
|
|
top: 2px;
|
|
background: #fff;
|
|
}
|
|
|
|
.setting-switch--on {
|
|
background: #EC237F;
|
|
}
|
|
|
|
.setting-switch--on::after {
|
|
left: 22px;
|
|
}
|
|
|
|
.setting-logout {
|
|
width: 100%;
|
|
height: 48px;
|
|
margin-top: 0;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-radius: 14px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
color: rgba(255, 255, 255, 0.90);
|
|
font-size: 14px;
|
|
font-family: "Noto Sans SC", PingFang SC, sans-serif;
|
|
font-weight: 700;
|
|
line-height: 20px;
|
|
}
|
|
}
|