mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
compose: Highlight topic box on new-topic hover.
This commit is contained in:
@@ -1238,6 +1238,14 @@ textarea.new_message_textarea {
|
||||
transition-property: background-color, border-color;
|
||||
}
|
||||
|
||||
#recipient_box_clear_topic_button {
|
||||
transition: var(--compose-muted-recipient-row-transition);
|
||||
transition-delay: var(
|
||||
--compose-muted-recipient-row-transition-delay
|
||||
);
|
||||
transition-property: color, background-color, opacity;
|
||||
}
|
||||
|
||||
#compose-direct-recipient .pill {
|
||||
transition: var(--compose-muted-recipient-row-transition);
|
||||
transition-delay: var(
|
||||
@@ -1288,15 +1296,6 @@ textarea.new_message_textarea {
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.pill {
|
||||
outline-color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
/* We don't want to trigger the recipient-box-wide hover
|
||||
effects when someone is just hovering the new-topic
|
||||
button. */
|
||||
&:not(:has(#recipient_box_clear_topic_button:hover)):hover {
|
||||
background-color: var(
|
||||
--color-compose-recipient-box-background-color
|
||||
);
|
||||
@@ -1309,6 +1308,10 @@ textarea.new_message_textarea {
|
||||
#stream_message_recipient_topic {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.pill {
|
||||
outline-color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
#recipient_box_clear_topic_button:hover {
|
||||
|
||||
Reference in New Issue
Block a user