165 lines
2.5 KiB
Plaintext
165 lines
2.5 KiB
Plaintext
.kefu-movable-area {
|
|
position: fixed;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
pointer-events: none;
|
|
z-index: 900;
|
|
}
|
|
|
|
.kefu-movable-view {
|
|
width: auto;
|
|
height: auto;
|
|
pointer-events: auto;
|
|
position: absolute;
|
|
right: 20rpx;
|
|
top: 0;
|
|
}
|
|
|
|
.kefu-wrap {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.kefu-float {
|
|
position: relative;
|
|
}
|
|
|
|
.kefu-float--full {
|
|
display: flex;
|
|
align-items: stretch;
|
|
background: #fff;
|
|
border-radius: 16rpx;
|
|
box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.1);
|
|
border: 1rpx solid rgba(124, 58, 237, 0.18);
|
|
overflow: visible;
|
|
}
|
|
|
|
.kefu-unread-badge {
|
|
position: absolute;
|
|
top: -10rpx;
|
|
right: -6rpx;
|
|
min-width: 32rpx;
|
|
height: 32rpx;
|
|
line-height: 32rpx;
|
|
padding: 0 6rpx;
|
|
background: #fa5151;
|
|
color: #fff;
|
|
font-size: 18rpx;
|
|
text-align: center;
|
|
border-radius: 16rpx;
|
|
border: 2rpx solid #fff;
|
|
z-index: 2;
|
|
}
|
|
|
|
.kefu-unread-badge--mini {
|
|
top: -6rpx;
|
|
right: -4rpx;
|
|
}
|
|
|
|
.kefu-float-main {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 14rpx 16rpx;
|
|
flex: 1;
|
|
}
|
|
|
|
.kefu-float-main:active {
|
|
opacity: 0.88;
|
|
}
|
|
|
|
.kefu-float-icon-img {
|
|
width: 36rpx;
|
|
height: 36rpx;
|
|
margin-right: 10rpx;
|
|
flex-shrink: 0;
|
|
border-radius: 8rpx;
|
|
}
|
|
|
|
.kefu-text-col {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
}
|
|
|
|
.kefu-float-text {
|
|
font-size: 24rpx;
|
|
color: #333;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.kefu-float-sub {
|
|
font-size: 18rpx;
|
|
color: #fa5151;
|
|
margin-top: 2rpx;
|
|
}
|
|
|
|
.kefu-float-close {
|
|
width: 48rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: #f5f3ff;
|
|
color: #999;
|
|
font-size: 32rpx;
|
|
line-height: 1;
|
|
border-left: 1rpx solid rgba(124, 58, 237, 0.1);
|
|
}
|
|
|
|
.kefu-float-close:active {
|
|
background: #ede9fe;
|
|
}
|
|
|
|
.kefu-permanent-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
margin-top: 6rpx;
|
|
padding: 4rpx 10rpx;
|
|
}
|
|
|
|
.kefu-permanent-row:active {
|
|
opacity: 0.75;
|
|
}
|
|
|
|
.kefu-permanent-row--mini {
|
|
margin-top: 4rpx;
|
|
padding: 2rpx 8rpx;
|
|
}
|
|
|
|
.kefu-permanent-label {
|
|
font-size: 20rpx;
|
|
color: #aaa;
|
|
}
|
|
|
|
.kefu-wrap--mini {
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.kefu-float--mini {
|
|
width: 72rpx;
|
|
height: 72rpx;
|
|
padding: 0;
|
|
border-radius: 50%;
|
|
background: #fff;
|
|
box-shadow: 0 4rpx 14rpx rgba(0, 0, 0, 0.1);
|
|
border: 1rpx solid rgba(124, 58, 237, 0.2);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.kefu-float--mini:active {
|
|
transform: scale(0.96);
|
|
}
|
|
|
|
.kefu-float-mini-icon-img {
|
|
width: 40rpx;
|
|
height: 40rpx;
|
|
border-radius: 8rpx;
|
|
}
|