@fle-ui/plus-im-record
Version:
296 lines (280 loc) • 5.44 kB
text/less
@prefix: chart-messages-item;
.@{prefix} {
&-text {
padding: 8px;
}
&-ref {
padding: 12px;
padding-bottom: 4px;
&-body {
border-left: 3px solid #eee;
padding-left: 8px;
}
&-text-body {
// width: 328px;
max-height: 115px;
font-size: 12px;
color: #777;
overflow: hidden;
display: -webkit-box;
word-break: break-all;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
text-overflow: ellipsis;
}
&-img-body {
width: 170px;
height: 115px;
img {
width: 100%;
height: 100%;
object-fit: contain;
}
}
&-video-body {
width: 170px;
height: 115px;
video {
width: 100%;
height: 100%;
object-fit: contain;
}
}
&-nickname {
font-size: 12px;
color: #777;
font-weight: 600;
margin-bottom: 8px;
}
}
&-image {
// padding: 4px;
border-radius: 6px;
max-width: 200px;
max-height: 200px;
}
video {
width: 100%;
height: 100%;
max-width: 200px;
max-height: 200px;
border-radius: 6px;
object-fit: fill;
}
&-audio {
padding: 8px;
&-in,
&-out {
max-width: 90px;
min-width: 64px;
display: flex;
justify-content: space-between;
cursor: pointer;
.@{prefix}-audio-icon {
display: flex;
justify-content: center;
align-items: center;
margin-top: 2px;
width: 16px;
height: 16px;
font-size: 16px;
img {
display: block;
height: 100%;
transform: translate(2px, 0);
}
}
}
&-in {
flex-direction: row-reverse;
.@{prefix}-audio-icon {
transform: rotate(180deg);
}
}
}
&-file {
display: flex;
justify-content: space-between;
padding: 8px 8px 8px 12px;
&-icon {
font-size: 28px;
color: #2c6bffff;
}
&-info {
padding-left: 10px;
display: flex;
flex-direction: column;
color: #777;
}
}
&-helps {
width: 276px;
color: #333;
img {
display: block;
width: 276px;
}
p {
margin: 0;
padding: 10px 8px;
font-size: 14px;
border-top: 1px solid #e4ecff;
cursor: pointer;
display: flex;
gap: 8px;
.title {
flex: 1;
word-break: break-all;
}
}
}
&-faqlink {
padding: 8px;
h3 {
margin: 0;
font-size: 14px;
color: #333;
font-weight: 600;
}
}
&-form {
width: 272px;
.fx-form {
padding: 0 10px 10px 10px;
}
img {
display: block;
width: 272px;
margin-bottom: 16px;
}
&-code {
display: flex;
justify-content: space-between;
}
.fx-form-item {
margin-bottom: 20px;
.fx-form-item-explain-error {
font-size: 12px;
}
.fx-input[disabled] {
color: #999;
}
}
.fx-btn-primary:disabled {
color: #999;
}
}
&-charthistory {
padding: 8px;
min-width: 272px;
max-width: 400px;
cursor: pointer;
h4 {
font-weight: 600;
margin-bottom: 5px;
color: #333;
}
p {
margin-bottom: 4px;
font-size: 12px;
color: #777;
}
&-from {
display: flex;
align-items: center;
border-top: 1px solid #eee;
padding-top: 5px;
color: #777;
font-size: 12px;
&-icon {
display: flex;
justify-content: center;
align-items: center;
width: 16px;
height: 16px;
border-radius: 50%;
margin-right: 3px;
background-color: #2c6bffff;
}
}
}
&-afs-faq {
padding: 16px;
width: 272px;
&-title {
font-size: 14px;
color: #333;
font-weight: 500;
}
&-list {
margin-top: 16px;
border-top: 1px solid #eee;
color: #2c6bff;
&-item {
cursor: default;
padding: 16px 0 0 0;
display: flex;
align-items: center;
transition: color 0.3s, transform 0.3s;
// &:active {
// color: #1a4d99;
// transform: scale(1.05);
// }
&::before {
content: '';
display: inline-block;
width: 6px;
height: 6px;
border-radius: 50%;
background-color: #2c6bff;
margin-right: 8px;
}
}
}
}
&-feedback {
padding: 16px;
width: 272px;
}
&-live-support {
padding: 16px;
width: 272px;
&-title {
font-size: 14px;
color: #333;
font-weight: 400;
}
&-operate {
cursor: default;
font-size: 14px;
color: #2c6bff;
font-weight: 400;
margin-top: 16px;
transition: color 0.3s, transform 0.3s;
// &:active {
// color: #1a4d99;
// transform: scale(1.05);
// }
&::before {
content: '';
display: inline-block;
width: 6px;
height: 6px;
border-radius: 50%;
background-color: #2c6bff;
margin-right: 8px;
}
}
}
}
.fx-preview-toolbar-wrapper {
position: fixed;
bottom: 32px;
left: 50%;
padding: 0 24px;
color: #fff;
font-size: 20px;
background-color: rgba(0, 0, 0, 0.1);
border-radius: 100px;
transform: translateX(-50%);
}