Sha256: 15b418839f7e2e8875971f61fa2e20af79908a71e8bd2002e8e6aa12e6759c32
Contents?: true
Size: 1.01 KB
Versions: 3
Compression:
Stored size: 1.01 KB
Contents
:where(.accordion) { inline-size: var(--size-full); details { border-block-end-width: var(--border); transition: padding var(--time-150) var(--ease-in-out); &[open] { padding-block-end: var(--size-4); } &[open] summary::after { transform: var(--rotate-180); } } summary { align-items: center; cursor: pointer; display: flex; font-weight: var(--font-medium); justify-content: space-between; padding-block: var(--size-4); &:hover { text-decoration: underline; } &:focus-visible { outline: var(--border-2) solid var(--color-selected-dark); outline-offset: var(--border-2); } &::-webkit-details-marker { display: none; } &::after { background-image: url("chevron-down.svg"); background-size: cover; block-size: var(--size-4); content: ""; filter: var(--color-filter-text); inline-size: var(--size-4); transition: transform var(--time-200) var(--ease-in-out); } } }
Version data entries
3 entries across 3 versions & 1 rubygems