_shame.scss 2.41 KB
Newer Older
1 2 3 4
// -------------------
// navigation - header
// -------------------

5 6 7 8
// Temporary breadcrumbs
.has-breadcrumbs {
  .breadcrumbs {
    margin: 5px 0 0 0;
9

10 11 12 13 14 15
    .all-topics {
      font-size: 14px;

      .fa {
        @include margin-right(10px);
      }
16
    }
17 18 19
  }
}

20 21 22 23 24 25 26 27 28 29 30
// ------------------------
// navigation - browse menu
// ------------------------

// Override global label rules
.forum-nav-browse-filter label {
  margin-bottom: 0;
}

// Override global input rules
.forum-nav-browse-filter-input {
31 32
  @include padding-left($baseline/4);
  @include padding-right($baseline/2 + 12px); // Leave room for icon
33
  box-shadow: none !important;
34
  border-radius: $forum-border-radius !important;
35
  height: auto !important;
36
  font-size: $forum-small-font-size !important;
37 38
}

39 40 41 42 43
// Override global ul rules
.forum-nav-browse-menu, .forum-nav-browse-submenu {
  margin: 0;
}

Greg Price committed
44
.forum-nav-browse-menu {
45
  @include padding-left(0);
46 47
}

48 49 50 51
// --------------------------------
// navigation - sort and filter bar
// --------------------------------

52 53 54 55 56 57 58 59 60 61
// Override global label rules
.forum-nav-filter-main, .forum-nav-filter-cohort, .forum-nav-sort {
  font: inherit;
  line-height: 1em;
  margin-bottom: 0;
}

// Override global select rules
.forum-nav-filter-main-control, .forum-nav-filter-cohort-control, .forum-nav-sort-control {
  font: inherit;
62 63 64 65 66 67
}

// --------------------------------
// navigation - thread list
// --------------------------------

68 69 70 71 72 73 74 75 76 77 78 79 80 81
// The following rules would be unnecessary but for broadly scoped rules defined
// elsewhere in our CSS.

li[class*=forum-nav-thread-label-] {
  // Override global span rules
  span {
    color: inherit;
  }

  // Override clearfix stuff in .sidebar ul li rules
  &:before, &:after {
    display: none !important;
  }
}
Greg Price committed
82 83 84 85 86

// -------------
// new post form
// -------------

87 88
.forum-new-post-form,
.edit-post-form {
Greg Price committed
89
  // Override global label rules
90 91 92 93
  .post-type {
    text-shadow: none;
  }

94
  .post-type {
Greg Price committed
95 96 97
    margin-bottom: 0;
  }
}
Greg Price committed
98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114

// -------
// Actions
// -------

.discussion.container, .discussion-module {

  // Override courseware
  .post-actions-list, .response-actions-list, .comment-actions-list {
    @extend %t-copy-sub2;
  }

  // Override global span
  .action-label span, .action-icon span {
    color: inherit;
  }
}
115 116 117 118 119

// -------
// Inline Discussion Module Overrides
// -------
.discussion-module {
120

121 122 123 124
  .wrapper-post-header .post-title {
    margin-bottom: 0 !important; // overrides "#seq_content h1" styling
  }
}