post histories finished

This commit is contained in:
albert
2010-11-06 12:16:24 -04:00
parent f3b4312ef3
commit 190beedb7a
13 changed files with 125 additions and 31 deletions

View File

@@ -785,8 +785,10 @@ $(document).ready(function() {
// Cookie.put('hide-upgrade-account', '1', 7);
// });
// Style button spans
// Table striping
$("table.striped tbody tr:even").addClass("even");
$("table.striped tbody tr:odd").addClass("odd");
// Comment listing
$(".comment-section form").hide();
$(".comment-section input.expand-comment-response").click(function() {

View File

@@ -6,8 +6,10 @@ $(document).ready(function() {
// Cookie.put('hide-upgrade-account', '1', 7);
// });
// Style button spans
// Table striping
$("table.striped tbody tr:even").addClass("even");
$("table.striped tbody tr:odd").addClass("odd");
// Comment listing
$(".comment-section form").hide();
$(".comment-section input.expand-comment-response").click(function() {

View File

@@ -123,6 +123,11 @@ span.link {
table tfoot {
margin-top: 2em; }
table.striped tbody tr:hover {
background-color: #FFE; }
table.striped tr.even {
background-color: #EEE; }
div#notice {
margin: 1em;
padding: 1em;
@@ -269,6 +274,24 @@ div.posts section#content menu#post-sections {
div.posts section#content menu#post-sections li.active a {
color: black; }
/*** Post Histories ***/
div.post_histories div.index div.post {
margin-bottom: 2em; }
div.post_histories div.index div.post div.preview {
width: 20%;
float: left; }
div.post_histories div.index div.post div.history {
width: 70%;
float: left; }
div.post_histories div.index div.post div.history table {
width: 100%; }
div.post_histories div.index div.post div.history ins {
color: green;
text-decoration: none; }
div.post_histories div.index div.post div.history del {
color: red;
text-decoration: line-through; }
/*** Comments ***/
div.comment-response > div {
margin-top: 1em; }

View File

@@ -159,6 +159,18 @@ table tfoot {
margin-top: 2em;
}
table.striped {
tbody {
tr:hover {
background-color: #FFE;
}
}
tr.even {
background-color: #EEE;
}
}
div#notice {
margin: 1em;
padding: 1em;
@@ -421,6 +433,40 @@ div.posts {
}
/*** Post Histories ***/
div.post_histories {
div.index {
div.post {
margin-bottom: 2em;
div.preview {
width: 20%;
float: left;
}
div.history {
width: 70%;
float: left;
table {
width: 100%;
}
ins {
color: green;
text-decoration: none;
}
del {
color: red;
text-decoration: line-through;
}
}
}
}
}
/*** Comments ***/
div.comment-response {
}