imeeting/frontend/src/pages/profile/index.less

163 lines
2.8 KiB
Plaintext

.profile-page {
width: 100%;
}
.profile-side-stack {
width: 100%;
}
.profile-summary-card,
.profile-help-card,
.profile-tabs-card {
overflow: hidden;
}
.profile-summary-card__header {
display: flex;
flex-direction: column;
align-items: center;
gap: 16px;
padding-bottom: 20px;
}
.profile-summary-card__avatar-trigger {
width: fit-content;
cursor: pointer;
}
.profile-summary-card__avatar.ant-avatar {
background: linear-gradient(135deg, #1677ff 0%, #57a7ff 100%);
box-shadow: 0 16px 28px rgba(22, 119, 255, 0.22);
}
.profile-summary-card__identity {
text-align: center;
}
.profile-summary-card__title.ant-typography {
margin: 0 0 4px;
}
.profile-summary-card__tags {
justify-content: center;
width: 100%;
margin: 0;
}
.profile-summary-card__meta {
margin-top: 16px;
padding-top: 20px;
border-top: 1px solid rgba(148, 163, 184, 0.16);
}
.profile-summary-card__meta .ant-descriptions-view {
border-radius: 14px;
overflow: hidden;
}
.profile-summary-card__meta .ant-descriptions-item-label {
width: 96px;
color: #64748b;
}
.profile-help-card__title.ant-typography {
margin-bottom: 12px;
}
.profile-help-card__list {
display: flex;
flex-direction: column;
gap: 10px;
color: #475569;
line-height: 1.7;
}
.profile-help-card__alert {
margin-top: 16px;
border-radius: 14px;
}
.profile-tabs-card .ant-card-body {
padding: 0;
}
.profile-tabs .ant-tabs-nav {
margin: 0;
padding: 0 24px;
border-bottom: 1px solid rgba(148, 163, 184, 0.16);
background: linear-gradient(180deg, rgba(248, 250, 252, 0.95) 0%, rgba(255, 255, 255, 0.75) 100%);
}
.profile-tabs .ant-tabs-content-holder {
padding: 24px;
}
.profile-form .ant-form-item {
margin-bottom: 20px;
}
.profile-upload-panel {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 16px 18px;
border-radius: 16px;
border: 1px dashed rgba(59, 130, 246, 0.25);
background: rgba(248, 250, 252, 0.9);
}
.profile-upload-panel__hint {
margin-top: 4px;
color: #64748b;
font-size: 13px;
}
.profile-security-alert,
.profile-credential-panel__card {
margin-bottom: 20px;
}
.profile-security-alert {
border-radius: 14px;
}
.profile-credential-panel {
display: flex;
flex-direction: column;
}
.profile-credential-panel__card {
padding: 0;
background: transparent;
box-shadow: none;
}
.profile-credential-panel__card .ant-card-body {
padding: 0;
}
.profile-credential-panel__descriptions .ant-descriptions-view {
border-radius: 14px;
overflow: hidden;
}
.profile-tab-actions {
margin: 8px 0 0;
}
@media (max-width: 768px) {
.profile-tabs .ant-tabs-nav {
padding: 0 16px;
}
.profile-tabs .ant-tabs-content-holder {
padding: 16px;
}
.profile-upload-panel {
align-items: flex-start;
flex-direction: column;
}
}