Sha256: a2e4c8014d62607a910631bf4354e21fb6722ddbe4484ea2e3011c8807bc7345

Contents?: true

Size: 933 Bytes

Versions: 2

Compression:

Stored size: 933 Bytes

Contents

.nitro-notify {
  $notifyHeight: 64px;
  position: fixed;
  left: 0;
  top: -$notifyHeight;
  right: 0;
  z-index: 1000;
  text-align: center;
  height: $notifyHeight;
  padding: $space-base * 1.5 $space-base * 2;
  color: white;
  font-size: $font-large;
  @include transition-property(top);
  @include transition-duration(.5s);
  @include transition-timing-function(ease);

  @include tablet-and-below {
    font-size: $font-base;
    padding: $space-base * 2;
    .close {
      font-size: $font-small;
    }
  }

  a {
    color: #fff;
    text-decoration: underline;
  }

  .close {
    color: #fff;
    opacity: 1;
    font-size: $font-largest;
    font-weight: 300;
  }

  &.show {
    top: 0px;
  }
  &.hide {
    top: -$notifyHeight;
  }

  &-info {
    background: $power-blue;
  }
  &-success {
    background: $power-green;
  }
  &-warning {
    background: $dark-orange;
  }
  &-error {
    background: $power-red;
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nitro_sg-3.0.2 sass-mixins/nitro-ui/_notify.scss
nitro_sg-3.0.1 sass-mixins/nitro-ui/_notify.scss