Sha256: c3053afdd94ddc8e2412da1b7a80e0f7d23b49afccd238e8e7c3351d58074132

Contents?: true

Size: 1.04 KB

Versions: 2

Compression:

Stored size: 1.04 KB

Contents

@import "../variables";

.alert {

  outline: none;
  /*
   * Alerts placement
   */
  &.top, &.top-left, &.top-right, &.bottom, &.bottom-left, &.bottom-right {
    position: fixed;
    z-index: $zindex-modal;
    margin: 20px;
  }

  &.top, &.top-left, &.top-right {
    top: $navbar-brand-height;
  }
  &.top {
    right: 0;
    left: 0;
  }
  &.top-right {
    right: 0;
    .close {
      padding-left: 10px;
    }
  }
  &.top-left {
    left: 0;
    .close {
      padding-right: 10px;
    }
  }

  &.bottom, &.bottom-right, &.bottom-left {
    bottom: 0;
  }
  &.bottom {
    right: 0;
    left: 0;
  }
  &.bottom-right {
    right: 0;
    .close {
      padding-left: 10px;
    }
  }
  &.bottom-left {
    left: 0;
    .close {
      padding-right: 10px;
    }
  }
  /*
   * Alerts sizes
   */

  &.alert-sm {
    font-size: $alert-sm-font-size;
    .alert-heading {
      font-size: $alert-sm-heading-font-size;
    }
  }
  &.alert-lg {
    font-size: $alert-sm-font-size;
    .alert-heading {
      font-size: $alert-sm-heading-font-size;
    }
  }

}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
railsstrap-4.0.0.beta3 vendor/assets/stylesheets/alert/alert.scss
railsstrap-4.0.0.beta2 vendor/assets/stylesheets/alert/alert.scss