2022-11-02 21:41:30 +08:00
|
|
|
.chat-onebox {
|
|
|
|
.chat-onebox-body {
|
|
|
|
.chat-onebox-title {
|
2023-10-25 20:30:39 +08:00
|
|
|
display: inline;
|
2022-11-02 21:41:30 +08:00
|
|
|
margin-bottom: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-onebox-description {
|
|
|
|
color: var(--primary-medium);
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-onebox-members-count {
|
|
|
|
color: var(--primary-medium);
|
|
|
|
margin-top: 1em;
|
|
|
|
margin-bottom: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-onebox-members {
|
|
|
|
align-items: center;
|
|
|
|
color: var(--primary-medium);
|
|
|
|
display: flex;
|
2023-01-30 20:59:25 +08:00
|
|
|
flex-wrap: wrap;
|
2022-11-02 21:41:30 +08:00
|
|
|
|
|
|
|
.avatar {
|
|
|
|
aspect-ratio: 30 / 30;
|
|
|
|
margin-right: 0.25rem;
|
|
|
|
}
|
|
|
|
}
|
2023-10-25 20:30:39 +08:00
|
|
|
|
|
|
|
.chat-onebox-images.onebox {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
img {
|
|
|
|
width: auto;
|
|
|
|
max-height: 150px;
|
|
|
|
margin-right: 0.5rem;
|
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
2022-11-02 21:41:30 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-06-19 15:50:54 +08:00
|
|
|
.chat-drawer-container .chat-message .onebox {
|
|
|
|
width: 85%;
|
|
|
|
border: 2px solid var(--primary-low);
|
|
|
|
|
|
|
|
header {
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.onebox-body {
|
|
|
|
grid-template-rows: auto auto auto;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
@include line-clamp(2);
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: var(--font-down-1);
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-full-page-chat .chat-message .onebox:not(img),
|
|
|
|
.chat-drawer-container .chat-message .onebox {
|
|
|
|
margin: 0.5em 0;
|
|
|
|
border-width: 2px;
|
|
|
|
|
|
|
|
header {
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 a,
|
|
|
|
h4 a {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
display: flex;
|
|
|
|
max-height: 150px;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
overflow: hidden;
|
2022-11-02 21:41:30 +08:00
|
|
|
}
|
|
|
|
}
|