Spoilers: Several fixes

This commit is contained in:
Alexander Zinchuk 2022-01-27 06:08:46 +01:00
parent 46d214f854
commit 22401f5490
3 changed files with 12 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@ -1,6 +1,10 @@
.Spoiler { .Spoiler {
transition: color 250ms ease; transition: color 250ms ease;
.text-entity-link {
transition: color 250ms ease;
}
&:not(.is-revealed) { &:not(.is-revealed) {
cursor: pointer; cursor: pointer;
color: transparent; color: transparent;
@ -11,9 +15,16 @@
&.animate { &.animate {
animation: pulse-opacity-light 1.75s linear infinite; animation: pulse-opacity-light 1.75s linear infinite;
} }
.text-entity-link {
color: transparent !important;
pointer-events: none;
}
} }
html.theme-dark &:not(.is-revealed), html.theme-light .ListItem.selected &:not(.is-revealed) { html.theme-dark &:not(.is-revealed),
html.theme-light .ListItem.selected &:not(.is-revealed),
html.theme-light .ActionMessage &:not(.is-revealed) {
background-image: url('../../../assets/spoiler-dots-white.png'); background-image: url('../../../assets/spoiler-dots-white.png');
} }
} }