180 lines
2.9 KiB
Plaintext
180 lines
2.9 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: 24rpx;
|
|
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: linear-gradient(135deg, #07c160 0%, #06ad56 100%);
|
|
border-radius: 20rpx;
|
|
box-shadow: 0 8rpx 28rpx rgba(7, 193, 96, 0.35);
|
|
overflow: visible;
|
|
}
|
|
|
|
.kefu-unread-badge {
|
|
position: absolute;
|
|
top: -12rpx;
|
|
right: -8rpx;
|
|
min-width: 36rpx;
|
|
height: 36rpx;
|
|
line-height: 36rpx;
|
|
padding: 0 8rpx;
|
|
background: #fa5151;
|
|
color: #fff;
|
|
font-size: 20rpx;
|
|
text-align: center;
|
|
border-radius: 18rpx;
|
|
border: 2rpx solid #fff;
|
|
z-index: 2;
|
|
}
|
|
|
|
.kefu-unread-badge--mini {
|
|
top: -8rpx;
|
|
right: -4rpx;
|
|
}
|
|
|
|
.kefu-float-main {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 20rpx 24rpx;
|
|
flex: 1;
|
|
}
|
|
|
|
.kefu-float-main:active {
|
|
opacity: 0.88;
|
|
}
|
|
|
|
.kefu-float-icon {
|
|
font-size: 36rpx;
|
|
margin-right: 14rpx;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.kefu-text-col {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
}
|
|
|
|
.kefu-float-text {
|
|
font-size: 28rpx;
|
|
color: #fff;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.kefu-float-sub {
|
|
font-size: 20rpx;
|
|
color: rgba(255, 255, 255, 0.95);
|
|
margin-top: 4rpx;
|
|
}
|
|
|
|
.kefu-float-sub--muted {
|
|
color: rgba(255, 255, 255, 0.75);
|
|
}
|
|
|
|
.kefu-float-close {
|
|
width: 64rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(0, 0, 0, 0.12);
|
|
color: rgba(255, 255, 255, 0.95);
|
|
font-size: 38rpx;
|
|
line-height: 1;
|
|
}
|
|
|
|
.kefu-float-close:active {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.kefu-permanent-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
margin-top: 10rpx;
|
|
padding: 8rpx 12rpx;
|
|
background: rgba(255, 255, 255, 0.92);
|
|
border-radius: 24rpx;
|
|
box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
.kefu-permanent-row:active {
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.kefu-permanent-row--mini {
|
|
margin-top: 8rpx;
|
|
padding: 6rpx 14rpx;
|
|
}
|
|
|
|
.kefu-permanent-label {
|
|
font-size: 22rpx;
|
|
color: #888;
|
|
margin-right: 8rpx;
|
|
}
|
|
|
|
.kefu-permanent-x {
|
|
font-size: 28rpx;
|
|
color: #bbb;
|
|
line-height: 1;
|
|
}
|
|
|
|
.kefu-wrap--mini {
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.kefu-float--mini {
|
|
width: auto;
|
|
min-width: 160rpx;
|
|
padding: 16rpx 24rpx;
|
|
border-radius: 48rpx;
|
|
background: linear-gradient(135deg, #07c160 0%, #06ad56 100%);
|
|
box-shadow: 0 6rpx 20rpx rgba(7, 193, 96, 0.3);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.kefu-float--mini:active {
|
|
transform: scale(0.96);
|
|
}
|
|
|
|
.kefu-float-mini-icon {
|
|
font-size: 36rpx;
|
|
}
|
|
|
|
.kefu-mini-label {
|
|
font-size: 22rpx;
|
|
color: #fff;
|
|
font-weight: 500;
|
|
margin-top: 4rpx;
|
|
white-space: nowrap;
|
|
}
|