diff --git a/profile.html b/profile.html index 689bffaa38..1ed517b2a8 100644 --- a/profile.html +++ b/profile.html @@ -1,11 +1,71 @@ <%inherit file="main.html" /> + +<%include file="navigation.html" /> + +
+
+ +
+

Course Progress

+ +
    + % for hw in homeworks: +
  1. +

    ${ hw['chapter'] }

    + +
    +

    ${ hw['section'] }

    + +
      + % for score in hw['scores']: +
    • ${ score[0] }/${ score[1] }
    • + % endfor +
    +
    +
  2. + % endfor +
+
+ + +
+
+ - -<%include file="navigation.html" /> - -
-
- - -
-

Course Progress

- - - -
    - % for hw in homeworks: -
  1. -

    ${ hw['chapter'] }

    -

    ${ hw['section'] }

    - -
      - % for score in hw['scores']: -
    • ${ score[0] }/${ score[1] }
    • - % endfor -
    -
  2. - % endfor -
-
-
-
diff --git a/sass/_profile.scss b/sass/_profile.scss index 5ba10ab283..504185b055 100644 --- a/sass/_profile.scss +++ b/sass/_profile.scss @@ -1,20 +1,33 @@ div.profile-wrapper { @extend .table-wrapper; + color: #000; section.user-info { @extend .sidebar; - padding: lh(); + @include border-radius(0px 4px 0px 4px); + border-left: 1px solid #d3d3d3; + border-right: 0; + + h1 { + padding: lh(); + } ul { list-style: none; li { - margin-bottom: lh(.5); + @include transition(); + color: lighten($text-color, 10%); + display: block; + text-decoration: none; + @include box-shadow(0 1px 0 #eee); + padding: 7px lh(); + border-bottom: 1px solid #d3d3d3; } } - div #change_password_pop { - border-top: 1px; + div#change_password_pop { + padding: 7px lh(); } } @@ -23,15 +36,39 @@ div.profile-wrapper { ol { list-style: none; - } - ul { - list-style: none; + > li { + border-bottom: 1px solid #e3e3e3; + padding: lh() 0; + @extend .clearfix; - li { - display: inline-block; - padding-right: 1em; + h2 { + float: left; + padding: 0; + margin: 0; + width: flex-grid(2, 9); + margin-right: flex-gutter(9); + } + + div.scores { + float: left; + width: flex-grid(7, 9); + + h3 { + color: #666; + } + + ul { + list-style: none; + + li { + display: inline-block; + padding-right: 1em; + } + } + } } } + } }