_info.scss 4.53 KB
Newer Older
1 2 3 4
div.info-wrapper {

  section.updates {
    @extend .content;
5
    line-height: lh();
6 7 8 9 10 11 12 13 14

    > h1 {
      @extend .top-header;
    }

    > p {
      margin-bottom: lh();
    }

15
    > ol,section {
16
      list-style: none;
17
      margin-bottom: lh();
18
      padding-left: 0;
19

20
      > li,article {
21
        @extend .clearfix;
22
        border-bottom: 1px solid lighten($border-color, 10%);
23
        list-style-type: none;
24 25
        margin-bottom: lh(1.5);
        padding-bottom: lh(.75);
26 27

        ol, ul {
28
          ol,ul {
Kyle Fiedler committed
29
            list-style-type: disc;
30
          }
31 32 33
        }

        h2 {
34
          font-size: $body-font-size;
35
          font-weight: bold;
Kyle Fiedler committed
36 37
          background: url('../images/calendar-icon.png') 0 center no-repeat;
          padding-left: 20px;
38 39 40
        }

        section.update-description {
Kyle Fiedler committed
41 42 43 44 45
          section {
            &.primary {
              border: 1px solid #DDD;
              background: #F6F6F6;
              padding: 20px;
46

Kyle Fiedler committed
47 48 49 50 51 52 53 54
              p {
                font-weight: bold;
              }
              .author {
                font-weight: normal;
                font-style: italic;
              }
            }
55 56
          }

Kyle Fiedler committed
57 58 59 60 61 62 63
          h3 {
            font-size: 1em;
            font-weight: bold;
            margin: lh(1.5) 0 lh(.5);
          }

          > ul {
kimth committed
64
            list-style-type: disc;
Kyle Fiedler committed
65 66
          }

67 68
          > ol {
            list-style: decimal outside none;
69
            padding: 0 0 0 1em;
70 71
          }

Kyle Fiedler committed
72 73
          li {
            margin-bottom: lh(.5);
74 75 76 77 78 79 80 81
          }
        }
      }
    }
  }

  section.handouts {
    @extend .sidebar;
82
    border-radius: 0 4px 4px 0;
83
    border-left: 1px solid #ddd;
84
    box-shadow: none;
85
    font-size: 14px;
86

87 88 89 90 91
    &:after {
      left: -1px;
      right: auto;
    }

92
    h1 {
93
      margin-bottom: 0;
94
      padding: 32px 26px 20px 26px;
95 96 97
      font-size: 18px;
      font-style: normal;
      font-weight: bold;
98 99 100 101
    }

    ol {
      li {
102
        margin: 0 26px 14px 26px;
103

104 105
        a {
          display: block;
106 107
          padding: 0;

108
          &:hover, &:focus {
109 110
            background: transparent;
          }
111
        }
112 113 114

        &.expandable,
        &.collapsable {
115
          margin: 0 16px 14px 16px;
116
          @include transition(all .2s linear 0s);
117

118
          h4 {
119
            color: $link-color;
120
            font-size: 1em;
121
            font-weight: normal;
122 123 124 125 126 127 128 129
            padding-left: 30px;
          }
        }

        &.collapsable {
          background: #fff;
          border-radius: 3px;
          padding: 14px 0;
130
          box-shadow: 0 0 1px 1px rgba(0, 0, 0, .1), 0 1px 3px rgba(0, 0, 0, .25);
131 132 133

          h4 {
            margin-bottom: 16px;
134 135 136 137 138 139
          }
        }

        &.multiple {

          a {
140
            display: inline-block;
141 142
            padding: 0;

143
            &:hover, &:focus {
144 145
              background: transparent;
            }
146 147 148 149 150
          }
        }

        ul {
          background: none;
151
          margin: 0;
152 153 154

          li {
            border-bottom: 0;
155 156 157 158
            border-top: 1px solid #e6e6e6;
            font-size: 0.9em;
            margin: 0;
            padding: 15px 30px;
159 160

            a {
161
              display: inline-block;
162 163
              padding: 0;

164
              &:hover, &:focus {
165 166 167
                background: transparent;
              }
            }
168 169 170 171
          }
        }

        div.hitarea {
172
          background-image: url('../images/treeview-default.gif') no-repeat;
173 174 175
          display: block;
          height: 100%;
          margin-left: 0;
176
          max-height: 20px;
177 178 179
          position: absolute;
          width: 100%;

180
          &:hover, &:focus {
181 182
            opacity: 0.6;
            filter: alpha(opacity=60);
183 184

            + h4 {
185 186
              @extend a:hover;
              text-decoration: underline;
187
            }
188 189 190
          }

          &.expandable-hitarea {
191
            background-position: -72px 0px;
192 193 194
          }

          &.collapsable-hitarea {
195
            background-position: -55px -23px;
196 197 198 199 200
          }
        }

        h3 {
          border-bottom: 0;
201
          box-shadow: none;
202
          color: #888;
203
          font-size: 1em;
204
          margin-bottom: 0;
205 206 207 208 209 210 211 212 213 214 215 216 217
        }

        p {
          letter-spacing: 0;
          margin: 0;
          text-transform: none;

          a {
            padding-right: 8px;

            &:before {
              color: #ccc;
              content: "•";
218
              display: inline-block;
219 220 221 222 223 224 225 226 227 228 229 230 231 232 233
              padding-right: 8px;
            }

            &:first-child {
              &:before {
                content: "";
                padding-right: 0;
              }
            }
          }
        }
      }
    }
  }
}