2022-11-02 10:41:30 -03:00
|
|
|
.chat-message-separator {
|
|
|
|
@include unselectable;
|
|
|
|
display: flex;
|
|
|
|
|
2023-03-03 13:09:25 +01:00
|
|
|
&-new {
|
2023-03-09 13:44:02 +01:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2023-06-27 18:49:45 +02:00
|
|
|
padding: 20px 0 20px var(--scrollbarWidth);
|
2023-03-03 13:09:25 +01:00
|
|
|
position: relative;
|
2022-11-02 10:41:30 -03:00
|
|
|
|
2023-03-03 13:09:25 +01: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 16:34:25 +01:00
|
|
|
|
2023-03-03 13:09:25 +01: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 19:46:03 +01:00
|
|
|
}
|
|
|
|
|
2023-03-03 13:09:25 +01:00
|
|
|
.chat-message-separator__line-container {
|
|
|
|
width: 100%;
|
2023-03-09 13:44:02 +01:00
|
|
|
}
|
2023-03-02 19:46:03 +01:00
|
|
|
|
2023-03-09 13:44:02 +01:00
|
|
|
.chat-message-separator__line {
|
|
|
|
border-top: 1px solid var(--danger-medium);
|
2023-03-03 13:09:25 +01:00
|
|
|
}
|
2023-03-02 20:20:39 +01:00
|
|
|
}
|
2023-03-02 19:46:03 +01:00
|
|
|
|
2023-03-03 13:09:25 +01:00
|
|
|
&-date {
|
2023-03-09 13:44:02 +01:00
|
|
|
box-sizing: border-box;
|
2023-03-02 20:20:39 +01:00
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
2023-03-03 13:09:25 +01:00
|
|
|
z-index: 2;
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-start;
|
|
|
|
justify-content: center;
|
2023-06-27 18:49:45 +02:00
|
|
|
padding-left: var(--scrollbarWidth);
|
2023-03-03 13:09:25 +01:00
|
|
|
pointer-events: none;
|
|
|
|
|
2023-03-06 16:42:11 +01:00
|
|
|
&.with-last-visit {
|
2023-03-03 13:09:25 +01:00
|
|
|
& + .chat-message-separator__line-container {
|
|
|
|
.chat-message-separator__line {
|
|
|
|
border-color: var(--danger-medium);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-message-separator__text-container {
|
2023-03-18 18:03:54 +01:00
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
height: 40px;
|
2023-03-03 13:09:25 +01:00
|
|
|
position: sticky;
|
|
|
|
top: -1px;
|
|
|
|
|
2023-03-06 16:42:11 +01:00
|
|
|
&.is-pinned,
|
|
|
|
&.is-force-pinned {
|
2023-03-03 13:09:25 +01:00
|
|
|
.chat-message-separator__text {
|
2023-04-19 08:54:02 +09:00
|
|
|
border: 1px solid var(--primary-200);
|
2023-07-10 15:07:38 +02:00
|
|
|
border-radius: var(--d-border-radius);
|
2023-04-19 08:54:02 +09:00
|
|
|
color: var(--primary-800);
|
|
|
|
background: var(--primary-50);
|
2023-06-20 10:58:38 -03:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border: 1px solid var(--secondary-high);
|
|
|
|
}
|
2023-03-03 13:09:25 +01:00
|
|
|
}
|
2023-03-06 16:42:11 +01:00
|
|
|
|
|
|
|
.chat-message-separator__last-visit {
|
|
|
|
display: none;
|
|
|
|
}
|
2023-03-03 13:09:25 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-09 13:44:02 +01:00
|
|
|
.chat-message-separator__last-visit {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-message-separator__last-visit-separator {
|
|
|
|
margin: 0 0.25rem;
|
|
|
|
}
|
|
|
|
|
2023-03-03 13:09:25 +01: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 22:23:24 +01:00
|
|
|
display: flex;
|
2023-06-20 10:58:38 -03:00
|
|
|
cursor: pointer;
|
|
|
|
pointer-events: all;
|
|
|
|
|
|
|
|
.no-touch & {
|
|
|
|
&:hover {
|
|
|
|
border: 1px solid var(--secondary-high);
|
2023-07-10 15:07:38 +02:00
|
|
|
border-radius: var(--d-border-radius);
|
2023-06-20 10:58:38 -03:00
|
|
|
color: var(--primary-800);
|
|
|
|
background: var(--primary-50);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.touch & {
|
|
|
|
&:active {
|
|
|
|
border: 1px solid var(--secondary-high);
|
2023-07-10 15:07:38 +02:00
|
|
|
border-radius: var(--d-border-radius);
|
2023-06-20 10:58:38 -03:00
|
|
|
color: var(--primary-800);
|
|
|
|
background: var(--primary-50);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
transform: scale(0.98);
|
|
|
|
}
|
2023-03-03 13:09:25 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
& + .chat-message-separator__line-container {
|
2024-02-28 16:12:13 +02:00
|
|
|
padding: 20px var(--scrollbarWidth) 20px var(--scrollbarWidth);
|
2023-03-03 13:09:25 +01:00
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
.chat-message-separator__line {
|
|
|
|
border-top: 1px solid var(--secondary-high);
|
|
|
|
margin: 0 0 -1px;
|
|
|
|
}
|
|
|
|
}
|
2022-11-02 10:41:30 -03:00
|
|
|
}
|
|
|
|
}
|