120 lines
1.8 KiB
CSS
120 lines
1.8 KiB
CSS
/* .menu>div{
|
|
display:block;
|
|
font-size:1.2rem;
|
|
color:white;
|
|
padding:1rem 2rem;
|
|
} */
|
|
|
|
.real-name{
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.user-img {
|
|
position: relative;
|
|
width: 5rem;
|
|
height: 5rem;
|
|
line-height: 5rem;
|
|
border-radius: 50%;
|
|
margin: auto;
|
|
}
|
|
|
|
.user-img img {
|
|
width: 50%;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
margin: auto;
|
|
}
|
|
|
|
.menu .item {
|
|
display: flex;
|
|
display: -webkit-flex;
|
|
align-items:center;
|
|
justify-content: space-between;
|
|
height: 4.5rem;
|
|
line-height: 4.5rem;
|
|
padding: 0 2rem 0 2rem;
|
|
border-bottom: 1px solid #dfdfdf;
|
|
font-size:1.1rem;
|
|
}
|
|
|
|
.item .left img {
|
|
width: 2.0rem;
|
|
height: 2.0rem;
|
|
margin-right: 1.6rem;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.item .right{
|
|
text-align: right;
|
|
height:4.5rem;
|
|
line-height: 4.5rem;
|
|
}
|
|
.item .right img {
|
|
width: 1.25rem;
|
|
height: 1.25rem;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
/* add s 2023/7/11 */
|
|
#roles {
|
|
/* border-bottom: 0; */
|
|
}
|
|
|
|
#roles .right img {
|
|
width: 1rem;
|
|
height: 0.6rem;
|
|
}
|
|
|
|
#role-list {
|
|
border-bottom: 1px solid #dfdfdf;
|
|
max-height: 10rem;
|
|
overflow-y: scroll;
|
|
display: none;
|
|
}
|
|
|
|
.role-item {
|
|
padding: 0 2rem 0 6rem;
|
|
margin:0;
|
|
/* width:100%; */
|
|
height:3rem;
|
|
line-height:3rem;
|
|
font-size:1.1rem;
|
|
text-align:left;
|
|
}
|
|
|
|
.role-item b, .role-item span {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.role-item b {
|
|
font-weight: normal;
|
|
}
|
|
|
|
.role-item span {
|
|
display: inline-block;
|
|
border-radius: 50%;
|
|
width: 0.6rem;
|
|
height: 0.6rem;
|
|
background: #fff;
|
|
border: 0.1rem solid #555;
|
|
position: relative;
|
|
margin-right: 1rem;
|
|
}
|
|
.role-item-active i {
|
|
display: inline-block;
|
|
border-radius: 50%;
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
margin: auto;
|
|
width: 0;
|
|
height: 0;
|
|
border: 0.2rem solid #555;
|
|
}
|
|
/* add e 2023/7/11 */
|