mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-24 03:19:55 +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 {
|
section.secret {
|
||||||
background-color: @red-10;
|
background-color: @red-10;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin-top: var(--spacer-4);
|
margin-top: 0.375rem;
|
||||||
&.revealed {
|
&.revealed {
|
||||||
background-color: @green-10;
|
background-color: @green-10;
|
||||||
}
|
}
|
||||||
|
|
@ -627,6 +627,12 @@
|
||||||
font-size: var(--font-size-10);
|
font-size: var(--font-size-10);
|
||||||
user-select: none;
|
user-select: none;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
|
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover button.reveal {
|
||||||
|
visibility: visible;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue