_help.scss 1.66 KB
Newer Older
1 2
.static-container.help {
  section.questions {
3
    @include clearfix();
4

5
    nav.categories {
6
      border: 1px solid rgb(220, 220, 220);
7

8
      @include box-sizing(border-box);
9 10
      @include float(left);
      @include margin-left(flex-gutter());
11

12 13
      padding: 20px;
      width: flex-grid(3);
14

15 16 17
      a {
        display: block;
        letter-spacing: 1px;
18 19 20
        margin: 0 -20px;

        @include padding(12px, 0, 12px, 20px);
21
        @include text-align(left);
22

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

31
    .responses {
32
      @include float(left);
33

34
      width: flex-grid(9);
35

36 37
      .category {
        padding-top: 40px;
38

39
        &:first-child {
40
          padding-top: 0;
41 42 43
        }

        > h2 {
44
          border-bottom: 1px solid rgb(220, 220, 220);
45 46
          margin-bottom: ($baseline*2);
          padding-bottom: $baseline;
47 48 49 50
        }
      }

      .response {
51
        margin-bottom: ($baseline*2);
52 53 54

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

        .answer {
          display: none;
          color: #3c3c3c;
65

66
          @include padding-left(16px);
67

68
          font-family: $serif;
69

70 71 72 73 74 75 76 77 78 79 80
          li {
            line-height: 1.6em;
          }
        }

        // opened states
        &.opened {
          h3 {
            background: url('/static/images/bullet-open.png') no-repeat left 0.25em;
          }
        }
81 82 83 84
      }
    }
  }
}