Commit 4dafe790 by Kyle Fiedler

Added start to style for profile and course info

parent 2458b52a
...@@ -3,11 +3,11 @@ ...@@ -3,11 +3,11 @@
<%include file="navigation.html" /> <%include file="navigation.html" />
<section class="main-content"> <section class="main-content">
<div class="profile-wrapper"> <div class="info-wrapper">
<section class="user-info"> <section class="updates">
<%include file="info_files/updates.html" /> <%include file="info_files/updates.html" />
</section> </section>
<section class="course-info"> <section class="handouts">
<%include file="info_files/handouts.html" /> <%include file="info_files/handouts.html" />
</section> </section>
</div> </div>
......
...@@ -41,12 +41,24 @@ em { ...@@ -41,12 +41,24 @@ em {
} }
} }
a:link, a:visited { a {
text-decoration:none; color: $mit-red;
}
&:link {
color: $mit-red;
}
&:visited {
color: darken($mit-red, 10%);
}
&:link, &:visited {
text-decoration:none;
}
a:hover { &:hover, &:focus {
text-decoration:underline; text-decoration:underline;
}
} }
input[type="submit"], input[type="button"], button { input[type="submit"], input[type="button"], button {
......
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;
}
}
}
}
}
}
...@@ -122,6 +122,14 @@ html { ...@@ -122,6 +122,14 @@ html {
a { a {
color: #444; color: #444;
&:link, &:visited {
color: #444;
}
&:hover, &:focus {
color: #000;
}
} }
} }
...@@ -134,6 +142,14 @@ html { ...@@ -134,6 +142,14 @@ html {
a { a {
color: #444; color: #444;
&:link, &:visited {
color: #444;
}
&:hover, &:focus {
color: #000;
}
} }
} }
} }
......
...@@ -2,23 +2,32 @@ div.profile-wrapper { ...@@ -2,23 +2,32 @@ div.profile-wrapper {
@extend .table-wrapper; @extend .table-wrapper;
section.user-info { section.user-info {
@include box-sizing(border-box); @extend .sidebar;
margin-right: flex-gutter(); padding: lh();
padding: $body-line-height;
width: flex-grid(6); ul {
background: #e3e3e3; list-style: none;
border-right: 1px solid #d3d3d3;
text-shadow: 0 1px 0 #f6f6f6; li {
display: table-cell; margin-bottom: lh(.5);
}
}
div #change_password_pop {
border-top: 1px;
}
} }
section.course-info { section.course-info {
@include box-sizing(border-box); @extend .content;
display: table-cell;
padding: $body-line-height; ol {
width: flex-grid(6); list-style: none;
}
ul { ul {
list-style: none;
li { li {
display: inline-block; display: inline-block;
padding-right: 1em; padding-right: 1em;
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
// pages // pages
@import "courseware", "courseware-video", "courseware-sequence-nav"; @import "courseware", "courseware-video", "courseware-sequence-nav";
@import "textbook"; @import "textbook";
@import "info";
@import "profile"; @import "profile";
@import "wiki-basic-html", "wiki-create", "wiki"; @import "wiki-basic-html", "wiki-create", "wiki";
@import "activation"; @import "activation";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment