-
+
+
<%include file="info_files/updates.html" />
-
+
<%include file="info_files/handouts.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..5ba10ab283 100644
--- a/sass/_profile.scss
+++ b/sass/_profile.scss
@@ -2,23 +2,32 @@ div.profile-wrapper {
@extend .table-wrapper;
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;
+ padding: lh();
+
+ ul {
+ list-style: none;
+
+ li {
+ margin-bottom: lh(.5);
+ }
+ }
+
+ div #change_password_pop {
+ border-top: 1px;
+ }
}
section.course-info {
- @include box-sizing(border-box);
- display: table-cell;
- padding: $body-line-height;
- width: flex-grid(6);
+ @extend .content;
+
+ ol {
+ list-style: none;
+ }
ul {
+ list-style: none;
+
li {
display: inline-block;
padding-right: 1em;
diff --git a/sass/application.scss b/sass/application.scss
index ad0298d720..9f2776c912 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";