mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-16 13:41:07 +01:00
hover animation
This commit is contained in:
parent
94ea9ba185
commit
36c3f8bc53
1 changed files with 6 additions and 1 deletions
|
|
@ -2,12 +2,17 @@
|
||||||
--primary-color-fear: rgba(9, 71, 179, .75);
|
--primary-color-fear: rgba(9, 71, 179, .75);
|
||||||
--secondary-color-fear: rgba(9, 71, 179, .75);
|
--secondary-color-fear: rgba(9, 71, 179, .75);
|
||||||
--shadow-text-stroke: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
|
--shadow-text-stroke: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
|
||||||
|
--fear-animation : all .3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
#resources {
|
#resources {
|
||||||
min-height: calc(var(--header-height) + 4rem);
|
min-height: calc(var(--header-height) + 4rem);
|
||||||
min-width: 4rem;
|
min-width: 4rem;
|
||||||
color: #d3d3d3;
|
color: #d3d3d3;
|
||||||
|
transition: var(--fear-animation);
|
||||||
|
header, .controls, .window-resize-handle {
|
||||||
|
transition: var(--fear-animation);
|
||||||
|
}
|
||||||
.window-content {
|
.window-content {
|
||||||
padding: .5rem;
|
padding: .5rem;
|
||||||
#resource-fear {
|
#resource-fear {
|
||||||
|
|
@ -104,7 +109,7 @@
|
||||||
box-shadow: unset;
|
box-shadow: unset;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
header, .controls, .window-resize-handle {
|
header, .controls, .window-resize-handle {
|
||||||
visibility: hidden;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&:has(.fear-bar) {
|
&:has(.fear-bar) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue