Sha256: b5913e88d72744b820494bd29d21de48e2f0ef6a64dbdafc3d29996b2b6b0e74
Contents?: true
Size: 902 Bytes
Versions: 5
Compression:
Stored size: 902 Bytes
Contents
.flash { align-items: center; animation: appear-then-fade 4s 300ms both; backdrop-filter: var(--blur-sm) var(--contrast-75); background-color: rgb(from var(--color-text) r g b / .65); border-radius: var(--rounded-full); color: var(--color-text-reversed); display: flex; font-size: var(--text-fluid-base); gap: var(--size-2); justify-content: center; line-height: var(--leading-none); margin-block-start: var(--flash-position, 0); margin-inline: auto; min-block-size: var(--size-11); padding: var(--size-1) var(--size-4); text-align: center; [data-turbo-preview] & { display: none; } } .flash--extended { animation-name: appear-then-fade-extended; animation-duration: 12s; } @keyframes appear-then-fade { 0%, 100% { opacity: 0; } 5%, 60% { opacity: 1; } } @keyframes appear-then-fade-extended { 0%, 100% { opacity: 0; } 2%, 90% { opacity: 1; } }
Version data entries
5 entries across 5 versions & 1 rubygems