Add 'notes/reversed_notes_with_form' partial

This commit is contained in:
Riyad Preukschas 2012-09-14 17:00:48 +02:00
parent e63d7b6029
commit 7563abbe49
3 changed files with 24 additions and 3 deletions

View file

@ -10,7 +10,10 @@
padding:0px;
}
#notes-list li:last-child {
#new-notes-list:not(.reversed) {
border-top:1px solid #aaa;
}
#new-notes-list.reversed {
border-bottom:1px solid #aaa;
}
@ -48,7 +51,6 @@
.note {
padding: 8px 0;
border-bottom: 1px solid #eee;
overflow: hidden;
display: block;
img {float: left; margin-right: 10px;}
@ -70,6 +72,14 @@
.delete-note { display:block; }
}
}
#notes-list:not(.reversed) .note,
#new-notes-list:not(.reversed) .note {
border-bottom: 1px solid #eee;
}
#notes-list.reversed .note,
#new-notes-list.reversed .note {
border-top: 1px solid #eee;
}
.notes-status {
margin: 18px;