Sha256: 6dff2a84acb6fc78f09fc47013b53f02af789fbfe6d11aba5e66151f271a8474

Contents?: true

Size: 807 Bytes

Versions: 2

Compression:

Stored size: 807 Bytes

Contents

.toasts {
  // fixed note
  font-size: $h4-size;
  // mdl
  @include shadow-2dp();

  .title {
    box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.14);
  }

  // fixed
  .content {
    :first-child {
      margin-top: 0;
    }

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

  &.note {
    background-color: lighten($theme-blue, 50%);

    .title {
      background: lighten($theme-blue, 20%);
    }
  }

  &.tip {
    background-color: lighten($theme-offgreen, 50%);

    .title {
      background: lighten($theme-offgreen, 0%);
    }
  }

  &.warning {
    background-color: lighten($theme-orange, 40%);

    .title {
      background: lighten($theme-orange, 20%);
    }
  }

  &.danger {
    background-color: lighten($theme-red, 40%);

    .title {
      background: lighten($theme-red, 20%);
    }
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jekyll-rtd-theme-2.0.7 _sass/class/toasts.scss
jekyll-rtd-theme-2.0.6 _sass/class/toasts.scss