hover animation

This commit is contained in:
Dapoolp 2025-06-03 23:47:21 +02:00
parent 94ea9ba185
commit 36c3f8bc53

View file

@ -2,12 +2,17 @@
--primary-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;
--fear-animation : all .3s ease;
}
#resources {
min-height: calc(var(--header-height) + 4rem);
min-width: 4rem;
color: #d3d3d3;
transition: var(--fear-animation);
header, .controls, .window-resize-handle {
transition: var(--fear-animation);
}
.window-content {
padding: .5rem;
#resource-fear {
@ -104,7 +109,7 @@
box-shadow: unset;
border-color: transparent;
header, .controls, .window-resize-handle {
visibility: hidden;
opacity: 0;
}
}
&:has(.fear-bar) {