124 lines
2.3 KiB
CSS
124 lines
2.3 KiB
CSS
/* 用户管理样式 */
|
|
.tl-rtc-app-user-area {
|
|
height: 100%;
|
|
}
|
|
|
|
.tl-rtc-app-user-area .layui-card {
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.tl-rtc-app-user-area .layui-card-body {
|
|
flex: 1;
|
|
overflow: auto;
|
|
}
|
|
|
|
.tl-rtc-app-user-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.tl-rtc-app-user-actions .layui-input-inline {
|
|
width: 200px;
|
|
margin-right: 0;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.tl-rtc-app-user-actions .layui-input-inline input{
|
|
height: 30px;
|
|
line-height: 30px;
|
|
}
|
|
|
|
.tl-rtc-app-user-form {
|
|
padding: 20px;
|
|
overflow-y: auto;
|
|
height: calc(100% - 40px);
|
|
}
|
|
|
|
.tl-rtc-app-user-form .layui-form-label {
|
|
width: 80px;
|
|
}
|
|
|
|
.tl-rtc-app-user-form .layui-input-block {
|
|
margin-left: 110px;
|
|
}
|
|
|
|
.tl-rtc-app-avatar-preview {
|
|
max-width: 60px;
|
|
max-height: 60px;
|
|
margin-top: 10px;
|
|
border-radius: 4px;
|
|
border: 1px solid #e6e6e6;
|
|
}
|
|
|
|
.tl-rtc-app-user-avatar-sm {
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
border: 1px solid #eee;
|
|
}
|
|
|
|
/* 用户角色徽章样式 */
|
|
.tl-rtc-app-user-role-badge {
|
|
display: inline-block;
|
|
padding: 2px 8px;
|
|
font-size: 12px;
|
|
border-radius: 10px;
|
|
background-color: #e8e8e8;
|
|
color: #666;
|
|
line-height: 20px;
|
|
}
|
|
|
|
/* 管理员角色特殊样式 */
|
|
.layui-table-cell .tl-rtc-app-user-role-badge:contains('管理员') {
|
|
background-color: #5FB878;
|
|
color: #fff;
|
|
}
|
|
|
|
/* 用户表格头像列样式 */
|
|
.layui-table-cell .tl-rtc-app-user-avatar-sm {
|
|
display: block;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* 用户管理表单响应式调整 */
|
|
@media screen and (max-width: 768px) {
|
|
.tl-rtc-app-user-actions {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.tl-rtc-app-user-actions .layui-input-inline {
|
|
width: 100%;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.tl-rtc-app-user-form .layui-form-label {
|
|
width: 90px;
|
|
}
|
|
|
|
.tl-rtc-app-user-form .layui-input-block {
|
|
margin-left: 120px;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 576px) {
|
|
.tl-rtc-app-user-form .layui-form-label {
|
|
width: 70px;
|
|
}
|
|
|
|
.tl-rtc-app-user-form .layui-input-block {
|
|
margin-left: 100px;
|
|
}
|
|
|
|
.tl-rtc-app-avatar-preview {
|
|
max-width: 40px;
|
|
max-height: 40px;
|
|
}
|
|
}
|