mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 19:15:04 +08:00
0a5f548635
As part of this move, we are also renaming `discourse-chat` to `chat`.
43 lines
709 B
SCSS
43 lines
709 B
SCSS
.chat-message-separator {
|
|
@include unselectable;
|
|
margin: 0.25rem 0 0.25rem 1rem;
|
|
display: flex;
|
|
font-size: var(--font-down-1);
|
|
position: relative;
|
|
transform: translateZ(0);
|
|
position: relative;
|
|
|
|
&.new-message {
|
|
color: var(--danger-medium);
|
|
|
|
.divider {
|
|
background-color: var(--danger-medium);
|
|
}
|
|
}
|
|
|
|
&.first-daily-message {
|
|
.text {
|
|
color: var(--secondary-low);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.divider {
|
|
background-color: var(--secondary-high);
|
|
}
|
|
}
|
|
|
|
.text {
|
|
margin: 0 auto;
|
|
padding: 0 0.75rem;
|
|
z-index: 1;
|
|
background: var(--secondary);
|
|
}
|
|
|
|
.divider {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 1px;
|
|
top: 50%;
|
|
}
|
|
}
|