Message / Reactions: Use pattern background in light theme
This commit is contained in:
parent
9a07fd1b73
commit
d34c610493
@ -34,6 +34,8 @@
|
||||
overflow: visible;
|
||||
line-height: 1.75rem;
|
||||
|
||||
transition: background-color 150ms, color 150ms, backdrop-filter 150ms, filter 150ms;
|
||||
|
||||
.ReactionStaticEmoji {
|
||||
width: 1.25rem;
|
||||
}
|
||||
@ -79,6 +81,12 @@
|
||||
|
||||
&:hover {
|
||||
--reaction-background: var(--reaction-background-hover) !important;
|
||||
|
||||
backdrop-filter: var(--reaction-background-hover-filter);
|
||||
|
||||
@supports not (backdrop-filter: var(--reaction-background-hover-filter)) {
|
||||
filter: var(--reaction-background-hover-filter);
|
||||
}
|
||||
}
|
||||
|
||||
&:first-of-type {
|
||||
@ -111,8 +119,9 @@
|
||||
}
|
||||
|
||||
.theme-light &.is-outside .Button {
|
||||
--reaction-background: rgb(0, 0, 0, 0.15);
|
||||
--reaction-background-hover: rgba(0, 0, 0, 0.2);
|
||||
--reaction-background: var(--pattern-color);
|
||||
--reaction-background-hover: var(--pattern-color);
|
||||
--reaction-background-hover-filter: brightness(115%);
|
||||
--reaction-text-color: white;
|
||||
|
||||
&.chosen {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user