Sha256: 8d171c2157776e1a11c1cfd33c0b136f809ab953aa77ebd04120497351c96810

Contents?: true

Size: 1.67 KB

Versions: 5

Compression:

Stored size: 1.67 KB

Contents

@import "font-awesome-sprockets";
@import "font-awesome";

/* Allow pagination to be centered */
.forum-threads-nav nav {
  display: inline-block;
}

/* Highlight the active navigation item in the sidebar */
.forum-thread-filters {
  a {
    color: #555;
  }

  .active {
    color: #222;
    font-weight: bolder;
  }
}

/* Formatting for the forum threads */
.forum-thread {
  margin-bottom: -20px;

  h4 {
    margin-bottom: 4px;

    a {
      color: #222;
      font-size: 16px;
      font-weight: normal;
      line-height: 1.1;
    }
  }
}

.forum-thread-filters a {
  color: #555555;
  display: block;

  &:hover {
    color: #222222;
    font-weight: bold;
    text-decoration: none
  }
}

.thread-details {
  color: #999;
  font-size: 12px;
  text-transform: uppercase;
}

/* Display the forum post count above the "posts" text on the index page */
.thread-posts-count {
  color: #222;
  text-align: center;

  span, small {
    display: block;
  }

  .count {
    font-size: 1.5em;
    font-weight: 300;
    line-height: 1em;
  }

  &:hover {
    color: #222;
    text-decoration: none;
  }
}

/* Formatting for the forum posts themselves */
.forum-post {
  position: relative;

  /* When the URL anchor matches a post id, highlight that item */
  &:target {
    background-color: rgb(248, 238, 199);
  }

  /* Fill this out if you want to highlight the OPs posts */
  &.original-poster {
  }

  &.solved {
    border: 2px solid #5cb85c;
  }
}

/* Formatting for the forum hr to match card border */
.simple_discussion hr {
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.125);
  margin: 24px -20px;
}

.simple_discussion .text-muted {
  color: #999;
  margin-top: 6px;
  font-size: 13px;
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
simple_discussion-1.3.0 app/assets/stylesheets/simple_discussion.scss
simple_discussion-1.2.0 app/assets/stylesheets/simple_discussion.scss
simple_discussion-1.0.1 app/assets/stylesheets/simple_discussion.scss
simple_discussion-1.0.0 app/assets/stylesheets/simple_discussion.scss
simple_discussion-0.9.5 app/assets/stylesheets/simple_discussion.scss