Sha256: ddab3dfd54bc79edbee2029655e4fab0c31777d25dfdb463a41e96272e8aed99

Contents?: true

Size: 669 Bytes

Versions: 4

Compression:

Stored size: 669 Bytes

Contents

.alert {
  border-color: var(--alert-border-color, var(--color-border));
  border-radius: var(--rounded-lg);
  border-width: var(--border);
  color: var(--alert-color, var(--color-text));
  padding: var(--size-4);
  inline-size: var(--size-full);

  img:not([class]) {
    filter: var(--alert-icon-color, var(--color-filter-text-reversed));
  }
}

.alert--positive {
  --alert-border-color: var(--color-positive);
  --alert-color: var(--color-positive);
  --alert-icon-color: var(--color-filter-positive);
}

.alert--negative {
  --alert-border-color: var(--color-negative);
  --alert-color: var(--color-negative);
  --alert-icon-color: var(--color-filter-negative);
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
css-zero-0.0.16 lib/generators/css_zero/add/templates/app/assets/stylesheets/alert.css
css-zero-0.0.15 lib/generators/css_zero/add/templates/app/assets/stylesheets/alert.css
css-zero-0.0.14 lib/generators/css_zero/add/templates/app/assets/stylesheets/alert.css
css-zero-0.0.13 lib/generators/css_zero/add/templates/app/assets/stylesheets/alert.css