-
+
+
+
-
-<%include file="navigation.html" />
-
-
-
diff --git a/sass/_base.scss b/sass/_base.scss
index f0e86c7624..8ea0957ac3 100644
--- a/sass/_base.scss
+++ b/sass/_base.scss
@@ -41,12 +41,24 @@ em {
}
}
-a:link, a:visited {
- text-decoration:none;
-}
+a {
+ color: $mit-red;
-a:hover {
- text-decoration:underline;
+ &:link {
+ color: $mit-red;
+ }
+
+ &:visited {
+ color: darken($mit-red, 10%);
+ }
+
+ &:link, &:visited {
+ text-decoration:none;
+ }
+
+ &:hover, &:focus {
+ text-decoration:underline;
+ }
}
input[type="submit"], input[type="button"], button {
diff --git a/sass/_info.scss b/sass/_info.scss
new file mode 100644
index 0000000000..4f7a0b8d1a
--- /dev/null
+++ b/sass/_info.scss
@@ -0,0 +1,39 @@
+div.info-wrapper {
+ @extend .table-wrapper;
+
+ section.updates {
+ @extend .content;
+ }
+
+ section.handouts {
+ @extend .sidebar;
+ @include border-radius(0px 4px 0px 4px);
+ border-right: 0;
+ border-left: 1px solid #d3d3d3;
+
+ h1 {
+ padding: 0 lh();
+ }
+
+ ol {
+ list-style: none;
+
+ li {
+ a {
+ @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;
+
+ &:hover {
+ @include box-shadow(0 1px 0 #fff);
+ background: #efefef;
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/sass/_layout.scss b/sass/_layout.scss
index 8867ef5348..89c216e26d 100644
--- a/sass/_layout.scss
+++ b/sass/_layout.scss
@@ -122,6 +122,14 @@ html {
a {
color: #444;
+
+ &:link, &:visited {
+ color: #444;
+ }
+
+ &:hover, &:focus {
+ color: #000;
+ }
}
}
@@ -134,6 +142,14 @@ html {
a {
color: #444;
+
+ &:link, &:visited {
+ color: #444;
+ }
+
+ &:hover, &:focus {
+ color: #000;
+ }
}
}
}
diff --git a/sass/_profile.scss b/sass/_profile.scss
index 9cab2dbce6..b383c61a85 100644
--- a/sass/_profile.scss
+++ b/sass/_profile.scss
@@ -1,28 +1,92 @@
div.profile-wrapper {
@extend .table-wrapper;
+ color: #000;
section.user-info {
- @include box-sizing(border-box);
- margin-right: flex-gutter();
- padding: $body-line-height;
- width: flex-grid(6);
- background: #e3e3e3;
- border-right: 1px solid #d3d3d3;
- text-shadow: 0 1px 0 #f6f6f6;
- display: table-cell;
+ @extend .sidebar;
+ @include border-radius(0px 4px 0px 4px);
+ border-left: 1px solid #d3d3d3;
+ border-right: 0;
+
+ h1 {
+ padding: lh();
+ }
+
+ ul {
+ list-style: none;
+
+ li {
+ @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#location_sub, div#language_sub {
+ font-weight: bold;
+ @include inline-block();
+
+ input {
+ margin: lh(.5) 0;
+ }
+
+ &:empty {
+ padding: 0;
+ }
+ }
+
+ div#description {
+ font-size: 12px;
+ }
+ }
+ }
+
+ div#change_password_pop {
+ padding: 7px lh();
+ color: #4D4D4D;
+ }
}
section.course-info {
- @include box-sizing(border-box);
- display: table-cell;
- padding: $body-line-height;
- width: flex-grid(6);
+ @extend .content;
- ul {
- li {
- display: inline-block;
- padding-right: 1em;
+ ol {
+ list-style: none;
+
+ > li {
+ border-bottom: 1px solid #e3e3e3;
+ padding: lh() 0;
+ @extend .clearfix;
+
+ 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;
+ }
+ }
+ }
}
}
+
}
}
diff --git a/sass/application.scss b/sass/application.scss
index 9d67161043..7e1bbf3ce5 100644
--- a/sass/application.scss
+++ b/sass/application.scss
@@ -10,6 +10,7 @@
// pages
@import "courseware", "courseware-video", "courseware-sequence-nav";
@import "textbook";
+@import "info";
@import "profile";
@import "wiki-basic-html", "wiki-create", "wiki";
@import "activation";
+
<%include file="info_files/updates.html" />
-
+
<%include file="info_files/handouts.html" />
diff --git a/profile.html b/profile.html
index 689bffaa38..ed3ac70f85 100644
--- a/profile.html
+++ b/profile.html
@@ -1,10 +1,71 @@
<%inherit file="main.html" />
+
+<%include file="navigation.html" />
+
+
+
+
+
+
+
+
+
+
+Course Progress
+ +-
+ % for hw in homeworks:
+
-
+
${ hw['chapter'] }
+ +++${ hw['section'] }
+ +-
+ % for score in hw['scores']:
+
- ${ score[0] }/${ score[1] } + % endfor +
+ % endfor
+
${name}
+ +-
+
- Forum name: ${username} +
- E-mail: ${email} +
-
+ Location: ${location}Change +
+
-
+ Language: ${language}Change +
+
+
+
+ Password change
+We'll e-mail you a password reset link at ${email}. Follow + the link in the confirmation email to change your + password.
+ + + +
-
-
-
-
-
-
-
-${name}
- --
-
- Forum name: ${username} -
- E-mail: ${email} -
-
- Location: ${location}Change -
-
-
- Language: ${language}Change -
-
-
-
- Password change
-We'll e-mail you a password reset link at ${email}. Follow - the link in the confirmation email to change your - password.
- - - -Course Progress
- - - --
- % for hw in homeworks:
-
-
-
${ hw['chapter'] }
-${ hw['section'] }
- --
- % for score in hw['scores']:
-
- ${ score[0] }/${ score[1] } - % endfor -
- % endfor
-