2022-11-02 21:41:30 +08:00
|
|
|
.chat-channel-preview-card {
|
2024-05-28 21:00:04 +08:00
|
|
|
margin: 1rem 0 2rem 0;
|
2022-11-02 21:41:30 +08:00
|
|
|
padding: 1.5rem 1rem;
|
2022-12-15 23:58:42 +08:00
|
|
|
background-color: var(--secondary-very-high);
|
2022-11-02 21:41:30 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
2023-03-03 20:09:25 +08:00
|
|
|
z-index: 3;
|
2022-11-02 21:41:30 +08:00
|
|
|
|
|
|
|
&.-no-description {
|
|
|
|
.chat-channel-title {
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-10 19:45:13 +08:00
|
|
|
&.-no-button {
|
|
|
|
.chat-channel-preview-card__browse-all {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-11-02 21:41:30 +08:00
|
|
|
&__description {
|
|
|
|
color: var(--primary-600);
|
|
|
|
text-align: center;
|
2023-04-18 10:20:25 +08:00
|
|
|
overflow-wrap: break-word;
|
|
|
|
max-width: 100%;
|
2022-11-02 21:41:30 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.chat-channel-title__name {
|
|
|
|
font-size: var(--font-up-2);
|
|
|
|
}
|
|
|
|
|
|
|
|
&__join-channel-btn {
|
|
|
|
font-size: var(--font-up-2);
|
|
|
|
border: 1px solid transparent;
|
2023-07-10 21:07:38 +08:00
|
|
|
border-radius: var(--d-button-border-radius);
|
2022-11-02 21:41:30 +08:00
|
|
|
line-height: normal;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 0.5em 0.65em;
|
|
|
|
font-weight: normal;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__browse-all {
|
|
|
|
margin-top: 1rem;
|
|
|
|
font-size: var(--font-down-1);
|
|
|
|
}
|
|
|
|
}
|