Sha256: ea99cab1f9a44ddb60addb8a2401eea7bf98d72e761d5d0d93b13735b4185a20

Contents?: true

Size: 737 Bytes

Versions: 13

Compression:

Stored size: 737 Bytes

Contents

.popover {
  background-color: var(--color-bg);
  border-radius: var(--rounded-md);
  border-width: var(--border);
  box-shadow: var(--shadow-md);
  color: var(--color-text);
  inline-size: var(--popover-size, max-content);

  /* Setup animation */
  opacity: 0;
  transform: var(--scale-95);
  transition-behavior: allow-discrete;
  transition-duration: var(--time-150);
  transition-property: display, overlay, opacity, transform;

  /* In animation */
  &:popover-open {
    opacity: 1; transform: var(--scale-100);
  }

  /* Out animation */
  @starting-style {
    &:popover-open {
      opacity: 0; transform: var(--scale-95);
    }
  }
}

.popover--tooltip {
  font-size: var(--text-sm); padding: var(--size-1_5) var(--size-3);
}

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
css-zero-0.0.92 lib/generators/css_zero/add/templates/app/assets/stylesheets/popover.css
css-zero-0.0.91 lib/generators/css_zero/add/templates/app/assets/stylesheets/popover.css
css-zero-0.0.90 lib/generators/css_zero/add/templates/app/assets/stylesheets/popover.css
css-zero-0.0.89 lib/generators/css_zero/add/templates/app/assets/stylesheets/popover.css
css-zero-0.0.88 lib/generators/css_zero/add/templates/app/assets/stylesheets/popover.css
css-zero-0.0.87 lib/generators/css_zero/add/templates/app/assets/stylesheets/popover.css
css-zero-0.0.86 lib/generators/css_zero/add/templates/app/assets/stylesheets/popover.css
css-zero-0.0.85 lib/generators/css_zero/add/templates/app/assets/stylesheets/popover.css
css-zero-0.0.84 lib/generators/css_zero/add/templates/app/assets/stylesheets/popover.css
css-zero-0.0.83 lib/generators/css_zero/add/templates/app/assets/stylesheets/popover.css
css-zero-0.0.82 lib/generators/css_zero/add/templates/app/assets/stylesheets/popover.css
css-zero-0.0.81 lib/generators/css_zero/add/templates/app/assets/stylesheets/popover.css
css-zero-0.0.80 lib/generators/css_zero/add/templates/app/assets/stylesheets/popover.css