Sha256: f08872934a0ca4eb258d86fdd092f231f2a9801997174f71b7af6de504a7971c

Contents?: true

Size: 747 Bytes

Versions: 5

Compression:

Stored size: 747 Bytes

Contents

// Toasts
.toast {
  @include toast-variant($dark-color);
  border: $border-width solid $dark-color;
  border-radius: $border-radius;
  color: $light-color;
  display: block;
  padding: $layout-spacing;
  width: 100%;

  &.toast-primary {
    @include toast-variant($primary-color);
  }

  &.toast-success {
    @include toast-variant($success-color);
  }

  &.toast-warning {
    @include toast-variant($warning-color);
  }

  &.toast-error {
    @include toast-variant($error-color);
  }

  a {
    color: $light-color;
    text-decoration: underline;
    
    &:focus,
    &:hover,
    &:active,
    &.active {
      opacity: .75;
    }
  }

  .btn-clear {
    margin: $unit-h;
  }

  p {
    &:last-child {
      margin-bottom: 0;
    }
  }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spectre_scss-0.5.9.1 vendor/assets/stylesheets/spectre/_toasts.scss
spectre_scss-0.5.9.0 vendor/assets/stylesheets/spectre/_toasts.scss
spectre_scss-0.5.8.0 vendor/assets/stylesheets/spectre/_toasts.scss
spectre_scss-0.5.7.0 vendor/assets/stylesheets/spectre/_toasts.scss
spectre_scss-0.5.6.0 vendor/assets/stylesheets/spectre/_toasts.scss