mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-22 02:19:54 +02:00
Only show button when hovering over the secret section
This commit is contained in:
parent
f80fd701e5
commit
01909692a7
1 changed files with 7 additions and 1 deletions
|
|
@ -603,7 +603,7 @@
|
|||
section.secret {
|
||||
background-color: @red-10;
|
||||
padding: 0;
|
||||
margin-top: var(--spacer-4);
|
||||
margin-top: 0.375rem;
|
||||
&.revealed {
|
||||
background-color: @green-10;
|
||||
}
|
||||
|
|
@ -627,6 +627,12 @@
|
|||
font-size: var(--font-size-10);
|
||||
user-select: none;
|
||||
text-transform: uppercase;
|
||||
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
&:hover button.reveal {
|
||||
visibility: visible;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue