Sha256: 5a1a51926a876228e6b2b46aa08bfbe654797e62f22a1847e59a253489e0d217

Contents?: true

Size: 904 Bytes

Versions: 4

Compression:

Stored size: 904 Bytes

Contents

.flash {
  align-items: center;
  animation: appear-then-fade 4s 300ms both;
  backdrop-filter: var(--blur) 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-base-responsive);
  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

4 entries across 4 versions & 1 rubygems

Version Path
css-zero-0.0.79 lib/generators/css_zero/add/templates/app/assets/stylesheets/flash.css
css-zero-0.0.78 lib/generators/css_zero/add/templates/app/assets/stylesheets/flash.css
css-zero-0.0.77 lib/generators/css_zero/add/templates/app/assets/stylesheets/flash.css
css-zero-0.0.76 lib/generators/css_zero/add/templates/app/assets/stylesheets/flash.css