Sha256: c27d16c3efeeac4bcb4e73cdc9c7bfe1db9d06695bb414cd79fd3d8d2785ca91

Contents?: true

Size: 1.28 KB

Versions: 24

Compression:

Stored size: 1.28 KB

Contents

@import "thredded/base";
@import "thredded/components/post";
@import "thredded/components/onebox";

.thredded--email {
  font-family: $thredded-base-font-family;
  color: $thredded-text-color;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.5;

  a {
    @extend %thredded--link;
  }
  hr {
    @extend %thredded--hr;
  }
}

.thredded--email-post {
  margin: 0;

  &--author {
    margin-bottom: 2px;
  }

  .thredded--post--content {
    font-size: inherit;
    margin: 0 0 0.75rem;
    padding-left: 0;

    .onebox-wrapper-table {
      width: 100%;
      td {
        border: $thredded-base-border;
        text-align: left;
        padding: $thredded-small-spacing;
        > aside.onebox {
          margin-bottom: 0;
          padding: 0;
          border: 0;
          box-shadow: none;
        }
      }
    }

    aside.onebox {
      margin-bottom: $thredded-small-spacing;
    }
  }
}

.thredded--post--content--spoiler {
  background-color: $thredded-spoiler-background-color;
  padding: 16px;

  &--summary {
    border-bottom: 1px solid $thredded-dark-gray;
  }

  &--contents {
    color: transparent !important;

    * {
      color: transparent !important;
    }

    a {
      text-decoration: underline;
    }

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

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
thredded-0.15.4 app/assets/stylesheets/thredded/_email.scss
thredded-0.15.3 app/assets/stylesheets/thredded/_email.scss
thredded-0.15.2 app/assets/stylesheets/thredded/_email.scss
thredded-0.15.1 app/assets/stylesheets/thredded/_email.scss