mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: Improve border-radius stuff in chat-message actions (#25129)
This commit is contained in:
parent
7b81c39a8b
commit
b43bba7dd7
@ -3,12 +3,6 @@
|
|||||||
z-index: z("dropdown");
|
z-index: z("dropdown");
|
||||||
}
|
}
|
||||||
|
|
||||||
.chat-message-actions {
|
|
||||||
.chat-message-reaction {
|
|
||||||
@include chat-reaction;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.chat-message-actions-container {
|
.chat-message-actions-container {
|
||||||
@include unselectable;
|
@include unselectable;
|
||||||
z-index: z("dropdown") - 1;
|
z-index: z("dropdown") - 1;
|
||||||
@ -16,6 +10,7 @@
|
|||||||
|
|
||||||
.chat-message-actions {
|
.chat-message-actions {
|
||||||
background-color: var(--secondary);
|
background-color: var(--secondary);
|
||||||
|
border-radius: var(--d-border-radius);
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
.emoji-picker-anchor {
|
.emoji-picker-anchor {
|
||||||
@ -138,6 +133,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.chat-message-reaction {
|
.chat-message-reaction {
|
||||||
|
@include chat-reaction;
|
||||||
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
border-left-color: transparent;
|
border-left-color: transparent;
|
||||||
|
@ -8,6 +8,12 @@
|
|||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
border-top-color: var(--primary-300);
|
border-top-color: var(--primary-300);
|
||||||
|
|
||||||
|
&:first-child {
|
||||||
|
border-left-color: var(--primary-300);
|
||||||
|
border-top-left-radius: var(--d-border-radius);
|
||||||
|
border-bottom-left-radius: var(--d-border-radius);
|
||||||
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: var(--primary-low);
|
background: var(--primary-low);
|
||||||
border-color: var(--primary-low-mid);
|
border-color: var(--primary-low-mid);
|
||||||
|
Loading…
Reference in New Issue
Block a user