All checks were successful
CI / update (push) Successful in 1m34s
Replace 30 border-radius: 1000px → var(--radius-pill), 6 border-radius: 20px → var(--radius-card), 21 transition: 100ms → var(--transition-fast), and 32 transition: 200ms → var(--transition-normal) across the codebase.
31 lines
582 B
CSS
31 lines
582 B
CSS
@import "./shake.css";
|
|
|
|
:root{
|
|
--angle: 15deg;
|
|
}
|
|
.action_button{
|
|
border: none;
|
|
cursor: pointer;
|
|
background-color: var(--red);
|
|
transition: var(--transition-normal);
|
|
box-shadow: 0 0 1em 0.2em rgba(0,0,0,0.3);
|
|
padding: 1rem;
|
|
border-radius: var(--radius-pill);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
.action_button:hover,
|
|
.action_button:focus
|
|
{
|
|
background-color: var(--nord0);
|
|
transform: scale(1.2,1.2);
|
|
box-shadow: 0 0 1em 0.4em rgba(0,0,0,0.3);
|
|
animation: shake 0.5s ease forwards;
|
|
}
|
|
|
|
.action_button:focus{
|
|
transition: 50ms;
|
|
scale: 0.8 0.8;
|
|
}
|