Sha256: 42e1c5de45d2ec04e0001c654e1d5208c46bb238e4cc6f289f1f5942c165d91c

Contents?: true

Size: 778 Bytes

Versions: 4

Compression:

Stored size: 778 Bytes

Contents

.alert {
  display: flex;
  align-items: center;

  padding-top: 15px;
  padding-bottom: 15px;

  .alert-icon {
    margin-right: 20px;
    font-size: 48px;
    line-height: 1;
  }

  h3 {
    margin-top: 0;
    margin-bottom: 2px;
    font-size: 22px;
    font-weight: 600;
  }

  p {
    margin-bottom: 0;
  }

  @include mobile {
    padding: 5px 10px;

    .alert-icon {
      margin-right: 10px;
      font-size: 42px;
    }

    h3 {
      font-size: 18px;
      margin-top: 3px;
      margin-bottom: 0;
    }

    p {
      font-size: 12px;
    }
  }
}

.alert-dismissable {
  position: relative;

  .close {
    position: absolute;
    top: 8px;
    right: $alert-padding;
    opacity: 0.5;

    &:hover, &:focus {
      color: inherit;
      opacity: 0.75;
    }
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
trestle-0.8.4 app/assets/stylesheets/trestle/components/_alerts.scss
trestle-0.8.3 app/assets/stylesheets/trestle/components/_alerts.scss
trestle-0.8.2 app/assets/stylesheets/trestle/components/_alerts.scss
trestle-0.8.0 app/assets/stylesheets/trestle/components/_alerts.scss