Sha256: a0b619083ed29358bcb220d358b33bbc43c82d5697be5e88440167f51e897bcf

Contents?: true

Size: 1.14 KB

Versions: 9

Compression:

Stored size: 1.14 KB

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;
  }

  a {
    color: white;
  }

  @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;
    }
  }
}

.toggle-debug-errors {
  &:hover, &:focus {
    text-decoration: none;
  }

  &:after {
    @extend .ion;
    content: $ionicon-var-chevron-down;
    font-size: 10px;
    margin-left: 5px;
  }
}

.debug-errors {
  overflow: hidden;

  ul {
    list-style: none;
    margin: 5px 0 0 0;
    padding: 0 0 0 5px;
    border-left: 4px solid rgba(white, 0.25);
  }
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
trestle-0.8.13 app/assets/stylesheets/trestle/components/_alerts.scss
trestle-0.8.12 app/assets/stylesheets/trestle/components/_alerts.scss
trestle-0.8.11 app/assets/stylesheets/trestle/components/_alerts.scss
trestle-0.8.10 app/assets/stylesheets/trestle/components/_alerts.scss
trestle-0.8.9 app/assets/stylesheets/trestle/components/_alerts.scss
trestle-0.8.8 app/assets/stylesheets/trestle/components/_alerts.scss
trestle-0.8.7 app/assets/stylesheets/trestle/components/_alerts.scss
trestle-0.8.6 app/assets/stylesheets/trestle/components/_alerts.scss
trestle-0.8.5 app/assets/stylesheets/trestle/components/_alerts.scss