Files
web_huangguo_web/app/static/css/editProfile.css
T
fish03andClaude Opus 5.5 bef9f8b4ed Initial commit
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-23 14:43:16 +07:00

348 lines
6.8 KiB
CSS

.edit-profile-layout {
min-height: 100vh;
display: flex;
flex-direction: column;
background: #0A0A0A;
}
.edit-profile-layout .site-header,
.edit-profile-layout .footer-box {
flex-shrink: 0;
}
.edit-profile-page {
width: 100%;
flex: 1 1 auto;
background: #0A0A0A;
display: flex;
flex-direction: column;
align-items: center;
gap: 18px;
box-sizing: border-box;
}
.edit-profile-pc {
display: none;
}
.setting-breadcrumb {
display: inline-flex;
align-items: center;
gap: 10px;
}
.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;
}
.edit-profile-h5 {
width: 100%;
max-width: 480px;
min-height: 100%;
display: flex;
flex-direction: column;
align-items: center;
box-sizing: border-box;
}
.edit-profile-h5-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;
}
.edit-profile-h5-back {
width: 24px;
height: 24px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.edit-profile-h5-back img {
width: 24px;
height: 24px;
display: block;
opacity: 0.65;
filter: brightness(0) invert(1);
}
.edit-profile-h5-nav-title {
flex: 1 1 0;
height: 24px;
display: flex;
justify-content: center;
align-items: center;
color: #F5F5F5;
font-size: 18px;
font-family: "Noto Sans SC", PingFang SC, sans-serif;
font-weight: 700;
line-height: 24px;
overflow: hidden;
}
.edit-profile-h5-nav-spacer {
width: 24px;
height: 24px;
flex-shrink: 0;
}
.edit-profile-h5-body {
width: calc(100% - 32px);
max-width: 343px;
margin: 0 auto;
padding: 16px 0;
display: flex;
flex-direction: column;
align-items: stretch;
gap: 14px;
box-sizing: border-box;
overflow: hidden;
}
.edit-profile-avatar-card {
width: 100%;
height: 112px;
padding: 0 16px;
background: rgba(255, 255, 255, 0.05);
border-radius: 16px;
border: 1px solid rgba(255, 255, 255, 0.08);
overflow: hidden;
display: flex;
justify-content: space-between;
align-items: center;
gap: 12px;
box-sizing: border-box;
}
.edit-profile-avatar-text {
width: 190px;
max-width: 100%;
min-width: 0;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 6px;
overflow: hidden;
}
.edit-profile-avatar-title {
color: rgba(255, 255, 255, 0.95);
font-size: 16px;
font-family: "Noto Sans SC", PingFang SC, sans-serif;
font-weight: 700;
line-height: 22px;
}
.edit-profile-avatar-desc {
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;
}
.edit-profile-avatar-wrap {
position: relative;
width: 64px;
height: 64px;
flex-shrink: 0;
}
.edit-profile-avatar {
width: 64px;
height: 64px;
border-radius: 999px;
object-fit: cover;
display: block;
border: 1px solid rgba(250, 220, 68, 0.35);
}
.edit-profile-field {
width: 100%;
height: 76px;
min-height: 76px;
padding: 12px 14px;
background: rgba(255, 255, 255, 0.05);
border-radius: 16px;
border: 1px solid rgba(255, 255, 255, 0.08);
overflow: hidden;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 8px;
box-sizing: border-box;
}
.edit-profile-field--bio {
height: 96px;
min-height: 96px;
}
.edit-profile-field-label {
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;
}
.edit-profile-field-input {
width: 100%;
padding: 0;
border: none;
background: transparent;
box-shadow: none;
outline: none;
outline-color: transparent;
-webkit-appearance: none;
appearance: none;
color: rgba(255, 255, 255, 0.95);
font-size: 14px;
font-family: "Noto Sans SC", PingFang SC, sans-serif;
font-weight: 400;
line-height: 20px;
box-sizing: border-box;
}
.edit-profile-field-input:focus,
.edit-profile-field-input:focus-visible {
border: none;
outline: none;
outline-color: transparent;
box-shadow: none;
}
.edit-profile-field-input::placeholder {
color: rgba(255, 255, 255, 0.40);
}
.edit-profile-field-input--bio {
resize: none;
min-height: 40px;
}
.edit-profile-submit {
width: 100%;
height: 50px;
background: #EC237F;
border: none;
border-radius: 14px;
color: #171717;
font-size: 16px;
font-family: "Noto Sans SC", PingFang SC, sans-serif;
font-weight: 700;
line-height: 22px;
display: inline-flex;
justify-content: center;
align-items: center;
cursor: pointer;
box-sizing: border-box;
overflow: hidden;
}
.edit-profile-submit:disabled {
opacity: 0.7;
cursor: not-allowed;
}
.edit-profile-tip {
margin: 0;
color: rgba(255, 255, 255, 0.40);
font-size: 12px;
font-family: "Noto Sans SC", PingFang SC, sans-serif;
font-weight: 400;
line-height: 18px;
}
@media (min-width: 768px) {
.edit-profile-page {
padding: 36px 0 60px;
gap: 18px;
}
.edit-profile-pc {
width: 100%;
max-width: calc(100% - 32px);
display: flex;
flex-direction: column;
align-items: flex-start;
}
.edit-profile-h5 {
width: 100%;
max-width: calc(100% - 32px);
}
.edit-profile-h5-nav {
display: none;
}
.edit-profile-h5-body {
width: 100%;
max-width: 480px;
margin: 0;
padding-top: 0;
}
}
@media (max-width: 767px) {
body.is-edit-profile-page {
background: #0A0A0A;
padding-bottom: 0;
}
body.is-edit-profile-page .site-header,
body.is-edit-profile-page .footer-box,
body.is-edit-profile-page .floating-action {
display: none !important;
height: 0 !important;
min-height: 0 !important;
overflow: hidden !important;
margin: 0 !important;
padding: 0 !important;
border: none !important;
}
.edit-profile-pc {
display: none;
}
.edit-profile-h5 {
max-width: 100%;
min-height: 100vh;
}
}