_profile.scss 4.73 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
div.profile-wrapper {
  @extend .table-wrapper;
  color: #000;

  section.user-info {
    @extend .sidebar;
    border-left: 1px solid #d3d3d3;
    @include border-radius(0px 4px 4px 0);
    border-right: 0;

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

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

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

    ul {
      list-style: none;
29 30
      padding: 0;
      margin: 0;
31 32 33 34 35 36

      li {
        border-bottom: 1px solid #d3d3d3;
        @include box-shadow(0 1px 0 #eee);
        color: lighten($text-color, 10%);
        display: block;
37
        padding: lh(.5) 0 lh(.5) lh(.5);
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140
        position: relative;
        text-decoration: none;
        @include transition();

        div#location_sub, div#language_sub {
          font-weight: bold;
          @include inline-block();

          form {
            width: 100%;
          }

          input {

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

            &[type="input"]{
            }
          }

          &:empty {
            padding: 0;
          }
        }

        div#description {
          font-size: 12px;
        }

        a#change_language,
        a#change_location,
        a.edit-email,
        a.name-edit,
        a.email-edit {
          color: #999;
          font-size: 12px;
          position: absolute;
          right: lh(.5);
          text-transform: uppercase;
          top: 9px;

          &:hover {
            color: #555;
          }
        }

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

        a.deactivate {
          color: #aaa;
          font-style: italic;
        }

        input#pwd_reset_button {
          background: none;
          border: none;
          @include box-shadow(none);
          color: #999;
          font-size: 12px;
          font-weight: normal;
          margin: 0;
          padding: 0;
          position: absolute;
          right: lh(.5);
          text-transform: uppercase;
          top: 9px;

          &:hover {
            color: #555;
          }
        }
      }
    }

    div#change_password_pop {
      border-bottom: 1px solid #d3d3d3;
      @include box-shadow(0 1px 0 #eee);
      color: #4D4D4D;
      padding: 7px lh();

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

  section.course-info {
    @extend .content;

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

      h1 {
        float: left;
146 147
        font-size: 1em;
        font-weight: 100;
148 149 150 151 152 153 154 155 156 157 158 159 160
        margin: 0;
      }
    }

    div#grade-detail-graph {
      min-height: 300px;
      width: 100%;
    }

    > ol {
      border-top: 1px solid #e3e3e3;
      list-style: none;
      margin-top: lh();
161
      padding-left: 0;
162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177

      > li {
        @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;
178
          letter-spacing: 0;
179 180 181
          margin: 0;
          padding: 0;
          padding-right: flex-gutter(9);
182
          text-transform: none;
183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204
          width: flex-grid(2, 9);
        }

        ol.sections {
          display: table-cell;
          list-style: none;
          padding-left: flex-gutter(9);
          width: flex-grid(7, 9);

          > li {
            padding:0 0 lh() 0;

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

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

            h3 {
              color: #666;
205 206 207 208 209 210 211 212 213 214 215

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

            p {
              color: #999;
              font-size: em(14);
216 217
            }

218 219 220 221 222 223 224
            section.scores {
              margin: lh(.5) 0;

              h3 {
                font-size: em(14);
                @include inline-block;
              }
225

226 227 228 229 230 231 232 233 234 235 236 237
              ol {
                list-style: none;
                margin: 0;
                padding: 0;
                @include inline-block;

                li {
                  @include inline-block;
                  font-size: em(14);
                  font-weight: normal;
                  padding-right: 1em;
                }
238 239 240 241 242 243 244 245
              }
            }
          }
        }
      }
    }
  }
}