Sha256: 03daa5e79fecd21f22ba0a12a7a705cfc4fe4784f5376b0787ab772665cf459b

Contents?: true

Size: 1.05 KB

Versions: 2

Compression:

Stored size: 1.05 KB

Contents

#toast-container {
  display:block;
  position: fixed;
  z-index: 10000;

  @media #{$small-and-down} {
    min-width: 100%;
    bottom: 0%;
  }
  @media #{$medium-only} {
    min-width: 30%;
    left: 5%;
    right: 5%;
    bottom: 7%;
  }
  @media #{$large-and-up} {
    min-width: 8%;
    top: 10%;
    right: 7%;
    left: 7%;
  }
}

.toast {
  @extend .z-depth-1;
  border-radius: 2px;
  top: 0;
  width: auto;
  clear: both;
  margin-top: 10px;
  position: relative;
  max-width:100%;
  height: auto;
  min-height: $toast-height;
  line-height: 1.5em;
  word-break: break-all;
  background-color: $toast-color;
  padding: 10px 25px;
  font-size: 1.1rem;
  font-weight: 300;
  color: $toast-text-color;

  @include flexbox();
  @include align(center);
  @include justify-content(space-between);

  .btn, .btn-flat {
    margin: 0;
    margin-left: 3rem;
  }

  &.rounded{
    border-radius: 24px;
  }

  @media #{$small-and-down} {
    width:100%;
    border-radius: 0;
  }
  @media #{$medium-only} {
    float: left;
  }
  @media #{$large-and-up} {
    float: right;
  }

}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
materialize-sass-0.97.3 app/assets/stylesheets/materialize/components/_toast.scss
materialize-sass-0.97.2 app/assets/stylesheets/materialize/components/_toast.scss