_help.scss 1.63 KB
Newer Older
1
.static-container.help {
2

3
  section.questions {
4
    @include clearfix();
5

6 7 8
    nav.categories {
      border: 1px solid rgb(220,220,220);
      @include box-sizing(border-box);
9 10
      @include float(left);
      @include margin-left(flex-gutter());
11 12
      padding: 20px;
      width: flex-grid(3);
13

14 15 16 17
      a {
        display: block;
        letter-spacing: 1px;
        margin: 0px -20px;
18 19
        @include padding(12px, 0px, 12px, 20px);
        @include text-align(left);
20

21
        &:hover, &:focus {
22 23 24
          background: rgb(245,245,245);
          text-decoration: none;
        }
25
      }
26 27
    }

28
    .responses {
29
      @include float(left);
30
      width: flex-grid(9);
31

32 33
      .category {
        padding-top: 40px;
34

35 36 37 38 39 40
        &:first-child {
          padding-top: 0px;
        }

        > h2 {
          border-bottom: 1px solid rgb(220,220,220);
41 42
          margin-bottom: ($baseline*2);
          padding-bottom: $baseline;
43 44 45 46
        }
      }

      .response {
47
        margin-bottom: ($baseline*2);
48 49 50 51 52

        h3 {
          background: url('/static/images/bullet-closed.png') no-repeat left 0.25em;
          font-family: $sans-serif;
          font-weight: 700;
53 54
          margin-bottom: ($baseline/2);
          padding-left: $baseline;
55 56 57 58 59 60
          cursor: pointer;
        }

        .answer {
          display: none;
          color: #3c3c3c;
61
          @include padding-left(16px);
62 63 64 65 66 67 68 69 70 71 72 73 74
          font-family: $serif;
          li {
            line-height: 1.6em;
          }
        }

        // opened states
        &.opened {

          h3 {
            background: url('/static/images/bullet-open.png') no-repeat left 0.25em;
          }
        }
75 76 77 78
      }
    }
  }
}