Sha256: 1c5cadaba4d230985b423c884ab8c01dd184f27ea53379c8e55679bd5bc6a34c

Contents?: true

Size: 801 Bytes

Versions: 5

Compression:

Stored size: 801 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-green, 50%);

    .title {
      background: lighten($theme-green, 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

5 entries across 5 versions & 2 rubygems

Version Path
truesight-rtd-theme-1.0.1 _sass/core/toasts.scss
truesight-rtd-theme-1.0.0 _sass/core/toasts.scss
jekyll-rtd-theme-2.0.10 _sass/core/toasts.scss
jekyll-rtd-theme-2.0.9 _sass/class/toasts.scss
jekyll-rtd-theme-2.0.8 _sass/class/toasts.scss