125 lines
2.5 KiB
SCSS
125 lines
2.5 KiB
SCSS
// 球友卡片样式
|
|
.follow_user_card {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 8px 20px;
|
|
background: #ffffff;
|
|
height: 56px;
|
|
margin-top: 12px;
|
|
box-sizing: border-box;
|
|
|
|
.user_info {
|
|
display: flex;
|
|
align-items: center;
|
|
flex: 1;
|
|
gap: 12px;
|
|
|
|
.avatar {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.user_details {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
flex: 1;
|
|
max-width: 200px;
|
|
|
|
.nickname {
|
|
font-family: PingFang SC;
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
line-height: 16px;
|
|
color: rgba(0, 0, 0, 0.8);
|
|
}
|
|
|
|
.signature {
|
|
font-family: PingFang SC;
|
|
font-weight: 400;
|
|
font-size: 12px;
|
|
line-height: 16px;
|
|
color: rgba(60, 60, 67, 0.6);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
}
|
|
|
|
.action_button {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 6px 16px;
|
|
border-radius: 20px;
|
|
white-space: nowrap;
|
|
|
|
.button_text {
|
|
font-family: PingFang SC;
|
|
font-weight: 400;
|
|
font-size: 12px;
|
|
line-height: 16px;
|
|
}
|
|
|
|
&.follow_button {
|
|
border: 0.5px solid #000000 !important;
|
|
background: transparent !important;
|
|
|
|
.button_text {
|
|
color: #000000 !important;
|
|
}
|
|
}
|
|
|
|
&.following_button {
|
|
border: 0.5px solid rgba(120, 120, 128, 0.12) !important;
|
|
background: transparent !important;
|
|
|
|
.button_text {
|
|
color: rgba(0, 0, 0, 0.8) !important;
|
|
}
|
|
}
|
|
|
|
&.mutual_button {
|
|
border: 0.5px solid rgba(120, 120, 128, 0.12) !important;
|
|
background: transparent !important;
|
|
|
|
.button_text {
|
|
color: rgba(0, 0, 0, 0.8) !important;
|
|
}
|
|
}
|
|
|
|
&.processing {
|
|
opacity: 0.6;
|
|
pointer-events: none;
|
|
}
|
|
}
|
|
|
|
.delete_button {
|
|
width: 20px;
|
|
height: 20px;
|
|
margin-left: 4px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
&::before, &::after {
|
|
content: "";
|
|
display: block;
|
|
width: 13px;
|
|
height: 2px;
|
|
border-radius: 2px;
|
|
background: #8c8c8c;
|
|
position: absolute;
|
|
}
|
|
&::before {
|
|
transform: rotate(45deg);
|
|
}
|
|
&::after {
|
|
transform: rotate(-45deg);
|
|
}
|
|
}
|
|
} |