Sha256: 02e396f15e5a70c89589ae7b401ef9906c00413aafb7f42f5bd289f91425cb82

Contents?: true

Size: 1.04 KB

Versions: 6

Compression:

Stored size: 1.04 KB

Contents

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

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

.toast {
  @extend .z-depth-1;
  @include border-radius(2px);
  @include box-sizing(border-box);
  top: 0px;
  width: auto;
  clear: both;
  margin-top: 10px;
  position: relative;
  max-width:100%;
  height: $toast-height;
  line-height: $toast-height;
  background-color: $toast-color;
  padding: 0px 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%;
    @include border-radius(0px);
  }
  @media #{$medium-only} {
    float: left;
  }
  @media #{$large-and-up} {
    float: right;
  }

}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
materialize-sass-0.95.3.3 app/assets/stylesheets/materialize/components/_toast.scss
materialize-sass-0.95.3.2 app/assets/stylesheets/materialize/components/_toast.scss
materialize-sass-0.95.3.1 app/assets/stylesheets/materialize/components/_toast.scss
materialize-sass-0.95.3 app/assets/stylesheets/materialize/components/_toast.scss
materialize-sass-0.95.2 app/assets/stylesheets/materialize/components/_toast.scss
materialize-sass-0.95.1 app/assets/stylesheets/components/_toast.scss