svelte-common
Version:
common components and utils used in svelte apps
33 lines (27 loc) • 417 B
CSS
.show {
transform: translateY(0%);
}
.hide {
transform: translateY(-100%);
}
.peer {
display: inline-block;
background-color: var(--color-primary-400);
border-radius: 0.5em;
padding: 0.2em;
margin: 0.2em;
}
.acc {
position: absolute;
z-index: 99;
pointer-events: none;
}
.acc:hover {
stroke-width: 6;
}
.acc path {
stroke: red;
stroke-width: 2;
fill: #eee7;
pointer-events: auto;
}