2022-11-02 09:41:30 -04:00
|
|
|
.chat-message-separator {
|
|
|
|
@include unselectable;
|
|
|
|
display: flex;
|
|
|
|
|
2023-03-03 07:09:25 -05:00
|
|
|
&-new {
|
2023-03-09 07:44:02 -05:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
padding: 20px 0 20px 1em;
|
2023-03-03 07:09:25 -05:00
|
|
|
position: relative;
|
2022-11-02 09:41:30 -04:00
|
|
|
|
2023-03-03 07:09:25 -05:00
|
|
|
.chat-message-separator__text-container {
|
|
|
|
text-align: center;
|
|
|
|
position: absolute;
|
|
|
|
height: 40px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
z-index: 1;
|
|
|
|
top: 0;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2023-03-02 10:34:25 -05:00
|
|
|
|
2023-03-03 07:09:25 -05:00
|
|
|
.chat-message-separator__text {
|
|
|
|
color: var(--danger-medium);
|
|
|
|
background-color: var(--secondary);
|
|
|
|
padding: 0.25rem 0.5rem;
|
|
|
|
font-size: var(--font-down-1);
|
|
|
|
}
|
2023-03-02 13:46:03 -05:00
|
|
|
}
|
|
|
|
|
2023-03-03 07:09:25 -05:00
|
|
|
.chat-message-separator__line-container {
|
|
|
|
width: 100%;
|
2023-03-09 07:44:02 -05:00
|
|
|
}
|
2023-03-02 13:46:03 -05:00
|
|
|
|
2023-03-09 07:44:02 -05:00
|
|
|
.chat-message-separator__line {
|
|
|
|
border-top: 1px solid var(--danger-medium);
|
2023-03-03 07:09:25 -05:00
|
|
|
}
|
2023-03-02 14:20:39 -05:00
|
|
|
}
|
2023-03-02 13:46:03 -05:00
|
|
|
|
2023-03-03 07:09:25 -05:00
|
|
|
&-date {
|
2023-03-09 07:44:02 -05:00
|
|
|
box-sizing: border-box;
|
2023-03-02 14:20:39 -05:00
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
2023-03-03 07:09:25 -05:00
|
|
|
z-index: 2;
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-start;
|
|
|
|
justify-content: center;
|
2023-03-09 07:44:02 -05:00
|
|
|
padding-left: 1rem;
|
2023-03-03 07:09:25 -05:00
|
|
|
pointer-events: none;
|
|
|
|
|
2023-03-06 10:42:11 -05:00
|
|
|
&.with-last-visit {
|
2023-03-03 07:09:25 -05:00
|
|
|
& + .chat-message-separator__line-container {
|
|
|
|
.chat-message-separator__line {
|
|
|
|
border-color: var(--danger-medium);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-message-separator__text-container {
|
2023-03-18 13:03:54 -04:00
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
height: 40px;
|
2023-03-03 07:09:25 -05:00
|
|
|
position: sticky;
|
|
|
|
top: -1px;
|
|
|
|
|
2023-03-06 10:42:11 -05:00
|
|
|
&.is-pinned,
|
|
|
|
&.is-force-pinned {
|
2023-03-03 07:09:25 -05:00
|
|
|
.chat-message-separator__text {
|
2023-03-09 07:44:02 -05:00
|
|
|
border: 1px solid var(--secondary-high);
|
2023-03-03 07:09:25 -05:00
|
|
|
border-radius: 3px;
|
|
|
|
}
|
2023-03-06 10:42:11 -05:00
|
|
|
|
|
|
|
.chat-message-separator__last-visit {
|
|
|
|
display: none;
|
|
|
|
}
|
2023-03-03 07:09:25 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-09 07:44:02 -05:00
|
|
|
.chat-message-separator__last-visit {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-message-separator__last-visit-separator {
|
|
|
|
margin: 0 0.25rem;
|
|
|
|
}
|
|
|
|
|
2023-03-03 07:09:25 -05:00
|
|
|
.chat-message-separator__text {
|
|
|
|
@include unselectable;
|
|
|
|
background-color: var(--secondary);
|
|
|
|
border: 1px solid transparent;
|
|
|
|
color: var(--secondary-low);
|
|
|
|
font-size: var(--font-down-1);
|
|
|
|
padding: 0.25rem 0.5rem;
|
|
|
|
box-sizing: border-box;
|
2023-03-08 16:23:24 -05:00
|
|
|
display: flex;
|
2023-03-03 07:09:25 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
& + .chat-message-separator__line-container {
|
2023-03-09 07:44:02 -05:00
|
|
|
padding: 20px 0 20px 1em;
|
2023-03-03 07:09:25 -05:00
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
.chat-message-separator__line {
|
|
|
|
border-top: 1px solid var(--secondary-high);
|
|
|
|
margin: 0 0 -1px;
|
|
|
|
}
|
|
|
|
}
|
2022-11-02 09:41:30 -04:00
|
|
|
}
|
|
|
|
}
|