Make button disappear and handle context menu states

This commit is contained in:
Justin Edmund 2023-01-20 19:40:27 -08:00
parent 6023f9ab6a
commit d4e598e36b
2 changed files with 12 additions and 0 deletions

View file

@ -8,6 +8,7 @@
font-size: $font-button; font-size: $font-button;
font-weight: $normal; font-weight: $normal;
gap: 6px; gap: 6px;
transition: 0.18s opacity ease-in-out;
&:hover, &:hover,
&.Blended:hover, &.Blended:hover,

View file

@ -23,6 +23,17 @@
display: flex; display: flex;
} }
.Button {
pointer-events: none;
opacity: 0;
}
&:hover .Button,
.Button.Clicked {
pointer-events: initial;
opacity: 1;
}
h3, h3,
ul { ul {
display: none; display: none;