_profile.scss 5.02 KB
Newer Older
1
.profile-wrapper {
2 3
  color: #000;

4
  .user-info {
5 6
    @extend .sidebar;
    border-left: 1px solid #d3d3d3;
7
    border-radius: 0px 4px 4px 0;
8 9
    border-right: 0;

10 11 12 13 14
    &:after {
      left: -1px;
      right: auto;
    }

15 16
    header {
      @extend .bottom-border;
17 18
      margin: 0;
      padding: lh(.5);
19 20 21 22 23 24 25 26 27

      h1 {
        margin: 0;
        padding-right: 30px;
      }
    }

    ul {
      list-style: none;
28 29
      padding: 0;
      margin: 0;
30 31 32

      li {
        border-bottom: 1px solid #d3d3d3;
33
        box-shadow: 0 1px 0 #eee;
34 35
        color: lighten($text-color, 10%);
        display: block;
36
        padding: lh(.5) 0 lh(.5) lh(.5);
37 38
        position: relative;
        text-decoration: none;
39
        @include transition(none);
40 41 42

        div#location_sub, div#language_sub {
          font-weight: bold;
43
          display: inline-block;
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65

          form {
            width: 100%;
          }

          input {

            &[type="text"] {
              @include box-sizing(border-box);
              margin: lh(.5) 0;
              width: 100%;
            }

            &[type="input"]{
            }
          }

          &:empty {
            padding: 0;
          }
        }

66
        #description {
67 68 69
          font-size: 12px;
        }

70 71 72 73 74
        #change_language,
        #change_location,
        .edit-email,
        .name-edit,
        .email-edit {
75 76 77 78 79 80 81
          color: #999;
          font-size: 12px;
          position: absolute;
          right: lh(.5);
          text-transform: uppercase;
          top: 9px;

82
          &:hover, &:focus {
83 84 85 86 87 88 89 90 91 92 93
            color: #555;
          }
        }

        p {
          color: #999;
          font-size: 12px;
          margin-bottom: 0;
          margin-top: 4px;
        }

94
        .deactivate {
95 96 97 98
          color: #aaa;
          font-style: italic;
        }

99
        #pwd_reset_button {
100 101
          background: none;
          border: none;
102
          box-shadow: none;
103 104 105 106 107 108 109 110 111 112
          color: #999;
          font-size: 12px;
          font-weight: normal;
          margin: 0;
          padding: 0;
          position: absolute;
          right: lh(.5);
          text-transform: uppercase;
          top: 9px;

113
          &:hover, &:focus {
114 115 116 117 118 119
            color: #555;
          }
        }
      }
    }

120
    #change_password_pop {
121
      border-bottom: 1px solid #d3d3d3;
122
      box-shadow: 0 1px 0 #eee;
123 124 125 126 127 128 129 130 131 132 133 134
      color: #4D4D4D;
      padding: 7px lh();

      h2 {
        font-size: $body-font-size;
        font-weight: bold;
        margin-top: 0;
        text-transform: uppercase;
      }
    }
  }

135
  .course-info {
136 137 138 139
    @extend .content;

    header {
      @extend .clearfix;
140 141
      @extend h1.top-header;
      margin-bottom: lh();
142 143 144

      h1 {
        float: left;
145 146
        font-size: 1em;
        font-weight: 100;
147 148 149 150
        margin: 0;
      }
    }

151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168
    #course-success {
      margin-bottom: 30px;
      text-align: center;
      > a {
        @include button(simple, $button-color);
        @include box-sizing(border-box);
        border-radius: 3px;
        font: normal 15px/1.6rem $sans-serif;
        letter-spacing: 0;
        padding: 5px 18px 6px;
        text-align: center;

        &:hover, &:focus {
          text-decoration: none;
        }
      }
    }

169
    #grade-detail-graph {
170
      min-height: 400px;
171 172 173
      width: 100%;
    }

174
    > .chapters {
175 176
      border-top: 1px solid #e3e3e3;
      margin-top: lh();
177
      padding-left: 0;
178

179
      > section {
180 181 182 183 184 185 186 187 188 189 190 191 192 193
        @extend .clearfix;
        border-bottom: 1px solid #e3e3e3;
        display: table;
        padding: lh() 0;
        width: 100%;

        &:last-child {
          border-bottom: 0px;
        }

        h2 {
          border-right: 1px dashed #ddd;
          @include box-sizing(border-box);
          display: table-cell;
194
          letter-spacing: 0;
195 196 197
          margin: 0;
          padding: 0;
          padding-right: flex-gutter(9);
198
          text-transform: none;
199 200 201
          width: flex-grid(2, 9);
        }

202
        .sections {
203 204 205 206
          display: table-cell;
          padding-left: flex-gutter(9);
          width: flex-grid(7, 9);

207
          > div {
208 209 210 211 212 213 214 215 216 217 218 219
            padding:0 0 lh() 0;

            &:first-child {
              padding-top: 0;
            }

            &:last-child {
              border-bottom: 0;
            }

            h3 {
              color: #666;
220 221 222 223 224 225 226 227 228 229 230

              span {
                color: #999;
                font-size: em(14);
                font-weight: 100;
              }
            }

            p {
              color: #999;
              font-size: em(14);
231 232
            }

233
            .scores {
234 235 236 237
              margin: lh(.5) 0;

              h3 {
                font-size: em(14);
238
                display: inline-block;
239
              }
240

241 242 243 244
              ol {
                list-style: none;
                margin: 0;
                padding: 0;
245
                display: inline-block;
246 247

                li {
248
                  display: inline-block;
249 250 251 252
                  font-size: em(14);
                  font-weight: normal;
                  padding-right: 1em;
                }
253 254 255 256 257 258 259 260
              }
            }
          }
        }
      }
    }
  }
}