mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 12:53:42 +08:00
UX: chat thread hover (#21181)
* UX: switch standard message hover to new hover colour var * UX: chat thread indication minor design changes
This commit is contained in:
parent
a03f85ad4a
commit
ba2adc7793
|
@ -5,16 +5,12 @@
|
|||
display: flex;
|
||||
cursor: pointer;
|
||||
grid-area: threadindicator;
|
||||
border: 1px solid transparent;
|
||||
margin: 4px 0 -2px calc(var(--message-left-width) - 5px);
|
||||
padding: 4px;
|
||||
|
||||
&:hover {
|
||||
.chat-message:hover & {
|
||||
border-color: var(--primary-low);
|
||||
background-color: var(--secondary);
|
||||
}
|
||||
}
|
||||
background-color: var(--primary-very-low);
|
||||
margin: 4px 0 -2px calc(var(--message-left-width) - 0.25rem);
|
||||
padding-block: 0.25rem;
|
||||
padding-inline: 0.5rem;
|
||||
max-width: 500px;
|
||||
border-radius: 4px;
|
||||
|
||||
&__replies-count {
|
||||
color: var(--primary-medium);
|
||||
|
|
|
@ -213,13 +213,13 @@
|
|||
|
||||
.touch & {
|
||||
&:active {
|
||||
background: var(--primary-very-low);
|
||||
background: var(--d-hover);
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
&.chat-message-bookmarked {
|
||||
&:active {
|
||||
background: var(--highlight-medium);
|
||||
background: var(--highlight-low);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -228,7 +228,7 @@
|
|||
&.is-active,
|
||||
&:hover,
|
||||
&:active {
|
||||
background: var(--primary-very-low);
|
||||
background: var(--d-hover);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
|
|
Loading…
Reference in New Issue
Block a user