Sha256: cbdbe95702c285273678dfd4a57a751ce4389d647651b2722805a14a2b560cd7

Contents?: true

Size: 758 Bytes

Versions: 1

Compression:

Stored size: 758 Bytes

Contents

@import "settings.global";

@mixin alerts__alert--color($background-color: $alert-background-color, $color: $alert-color) {
  color: $color;
  background-color: $background-color;
}

@mixin alerts__alert {
  position: relative;
  margin: $alert-margin;
  padding: $alert-padding;
  border-radius: $alert-border-radius;
  @include alerts__alert--color;
}

@mixin alerts__alert--primary {
  @include alerts__alert--color($alert-primary-background-color);
}

@mixin alerts__alert--secondary {
  @include alerts__alert--color($alert-secondary-background-color);
}

@mixin alerts__alert--error {
  @include alerts__alert--color($alert-error-background-color);
}

@mixin alerts__alert--success {
  @include alerts__alert--color($alert-success-background-color);
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blaze-css-rails-0.0.1 app/assets/stylesheets/mixins/_components.alerts.scss