Commit 45895807 by Calen Pennington

Merge pull request #719 from MITx/feature/tomg/discussion-sidebar

show full sidebar title; blockquote and list styles for comments
parents 6c4df5b0 0d336554
...@@ -1052,14 +1052,17 @@ body.discussion { ...@@ -1052,14 +1052,17 @@ body.discussion {
} }
a { a {
position: relative;
display: block; display: block;
height: 36px; position: relative;
float: left;
clear: both;
width: 100%;
padding: 0 10px 0 18px; padding: 0 10px 0 18px;
margin-bottom: 1px; margin-bottom: 1px;
margin-right: -1px; margin-right: -1px;
@include linear-gradient(top, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0)); @include linear-gradient(top, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0));
background-color: #fff; background-color: #fff;
@include clearfix;
&:hover { &:hover {
@include linear-gradient(top, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0)); @include linear-gradient(top, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0));
...@@ -1096,9 +1099,13 @@ body.discussion { ...@@ -1096,9 +1099,13 @@ body.discussion {
} }
.title { .title {
display: block;
float: left;
width: 70%;
margin: 8px 0 10px;
font-size: 13px; font-size: 13px;
font-weight: 700; font-weight: 700;
line-height: 34px; line-height: 1.4;
color: #333; color: #333;
} }
...@@ -1121,7 +1128,7 @@ body.discussion { ...@@ -1121,7 +1128,7 @@ body.discussion {
content: ''; content: '';
position: absolute; position: absolute;
top: 0; top: 0;
right: 1px; right: 0;
width: 10px; width: 10px;
height: 12px; height: 12px;
background: url(../images/following-flag.png) no-repeat; background: url(../images/following-flag.png) no-repeat;
...@@ -1164,22 +1171,13 @@ body.discussion { ...@@ -1164,22 +1171,13 @@ body.discussion {
} }
} }
.title {
display: block;
float: left;
width: 70%;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.votes-count, .votes-count,
.comments-count { .comments-count {
display: block; display: block;
float: right; float: right;
width: 32px; width: 32px;
height: 16px; height: 16px;
margin-top: 9px; margin-top: 8px;
border-radius: 2px; border-radius: 2px;
@include linear-gradient(top, #d4d4d4, #dfdfdf); @include linear-gradient(top, #d4d4d4, #dfdfdf);
font-size: 11px; font-size: 11px;
...@@ -1320,6 +1318,7 @@ body.discussion { ...@@ -1320,6 +1318,7 @@ body.discussion {
position: relative; position: relative;
z-index: 100; z-index: 100;
margin-top: 5px; margin-top: 5px;
margin-left: 40px;
} }
.post-tools { .post-tools {
...@@ -1475,17 +1474,31 @@ body.discussion { ...@@ -1475,17 +1474,31 @@ body.discussion {
} }
} }
blockquote {
background: #f6f6f6;
border-radius: 3px;
padding: 5px 10px;
font-size: 14px;
}
.comments { .comments {
list-style: none; list-style: none;
margin-top: 20px; margin-top: 20px;
padding: 0; padding: 0;
border-top: 1px solid #ddd; border-top: 1px solid #ddd;
li { > li {
background: #f6f6f6; background: #f6f6f6;
border-bottom: 1px solid #ddd; border-bottom: 1px solid #ddd;
} }
blockquote {
background: #e6e6e6;
border-radius: 3px;
padding: 5px 10px;
font-size: 14px;
}
.comment-form { .comment-form {
background: #eee; background: #eee;
@include clearfix; @include clearfix;
...@@ -1509,7 +1522,6 @@ body.discussion { ...@@ -1509,7 +1522,6 @@ body.discussion {
.discussion-errors { .discussion-errors {
margin: 0px; margin: 0px;
} }
} }
.response-body { .response-body {
......
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