189 lines
3.7 KiB
CSS
189 lines
3.7 KiB
CSS
/* 用户详情组件样式 */
|
|
.tl-rtc-app-user-detail {
|
|
padding: 0;
|
|
height: 100%;
|
|
background-color: #fff;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
/* 用户信息卡片样式 */
|
|
.tl-rtc-app-user-detail .user-info-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
}
|
|
|
|
/* 用户头部区域样式 */
|
|
.tl-rtc-app-user-detail .user-header {
|
|
padding: 24px 20px;
|
|
text-align: center;
|
|
background-color: #f8f8f8;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
/* 用户头像样式 */
|
|
.tl-rtc-app-user-detail .user-avatar {
|
|
width: 88px;
|
|
height: 88px;
|
|
margin: 0 auto 12px;
|
|
border-radius: 50%;
|
|
overflow: hidden;
|
|
background-color: #e1e1e1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
/* 用户头像图片样式 */
|
|
.tl-rtc-app-user-detail .user-avatar img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
/* 用户头像占位符样式 */
|
|
.tl-rtc-app-user-detail .user-avatar-placeholder {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 40px;
|
|
font-weight: bold;
|
|
color: #fff;
|
|
background-color: #1E9FFF;
|
|
}
|
|
|
|
/* 用户名称样式 */
|
|
.tl-rtc-app-user-detail .user-name {
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
margin-bottom: 6px;
|
|
color: #333;
|
|
}
|
|
|
|
/* 用户ID样式 */
|
|
.tl-rtc-app-user-detail .user-id {
|
|
font-size: 13px;
|
|
color: #999;
|
|
margin: 0;
|
|
}
|
|
|
|
/* 用户详情主体部分样式 */
|
|
.tl-rtc-app-user-detail .user-body {
|
|
padding: 20px;
|
|
flex: 1;
|
|
}
|
|
|
|
/* 信息项目样式 */
|
|
.tl-rtc-app-user-detail .info-item {
|
|
display: flex;
|
|
margin-bottom: 16px;
|
|
line-height: 24px;
|
|
}
|
|
|
|
/* 信息标签样式 */
|
|
.tl-rtc-app-user-detail .info-label {
|
|
width: 90px;
|
|
font-weight: 600;
|
|
color: #666;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* 信息值样式 */
|
|
.tl-rtc-app-user-detail .info-value {
|
|
flex: 1;
|
|
color: #333;
|
|
word-break: break-all;
|
|
}
|
|
|
|
/* 用户角色徽章样式 */
|
|
.tl-rtc-app-user-detail .tl-rtc-app-user-role-badge {
|
|
display: inline-block;
|
|
padding: 2px 8px;
|
|
font-size: 12px;
|
|
line-height: 18px;
|
|
border-radius: 10px;
|
|
background-color: #e1f5fe;
|
|
color: #0288d1;
|
|
}
|
|
|
|
/* 链接样式 */
|
|
.tl-rtc-app-user-detail .info-value a {
|
|
color: #1E9FFF;
|
|
text-decoration: none;
|
|
position: relative;
|
|
}
|
|
|
|
.tl-rtc-app-user-detail .info-value a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* 用户链接样式 */
|
|
.tl-rtc-app-user-detail-link {
|
|
color: #1E9FFF;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.tl-rtc-app-user-detail-link:hover {
|
|
color: #0d8bdc;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* 响应式调整 */
|
|
@media screen and (max-width: 768px) {
|
|
.tl-rtc-app-user-detail .user-avatar {
|
|
width: 72px;
|
|
height: 72px;
|
|
}
|
|
|
|
.tl-rtc-app-user-detail .user-name {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.tl-rtc-app-user-detail .user-header {
|
|
padding: 16px;
|
|
}
|
|
|
|
.tl-rtc-app-user-detail .user-body {
|
|
padding: 16px;
|
|
}
|
|
|
|
.tl-rtc-app-user-detail .info-label {
|
|
width: 80px;
|
|
}
|
|
}
|
|
|
|
/* 细节美化 */
|
|
.tl-rtc-app-user-detail .user-header::after {
|
|
content: '';
|
|
display: block;
|
|
position: absolute;
|
|
bottom: -10px;
|
|
left: 0;
|
|
right: 0;
|
|
height: 10px;
|
|
background: linear-gradient(to bottom, rgba(0,0,0,0.05), transparent);
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* 滚动条美化 */
|
|
.tl-rtc-app-user-detail::-webkit-scrollbar {
|
|
width: 5px;
|
|
}
|
|
|
|
.tl-rtc-app-user-detail::-webkit-scrollbar-track {
|
|
background: #f1f1f1;
|
|
}
|
|
|
|
.tl-rtc-app-user-detail::-webkit-scrollbar-thumb {
|
|
background: #c1c1c1;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.tl-rtc-app-user-detail::-webkit-scrollbar-thumb:hover {
|
|
background: #a0a0a0;
|
|
}
|