From da3e34c0fdc4de47e6192b8d75ce60be7d89b6d4 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Mon, 6 Feb 2012 02:15:45 +0200 Subject: [PATCH] per-line comments css fixes --- app/assets/stylesheets/commits.css.scss | 3 --- app/assets/stylesheets/notes.css.scss | 28 ++++++++++++++++++++-------- 2 files changed, 20 insertions(+), 11 deletions(-) diff --git a/app/assets/stylesheets/commits.css.scss b/app/assets/stylesheets/commits.css.scss index ccf1500..05630f7 100644 --- a/app/assets/stylesheets/commits.css.scss +++ b/app/assets/stylesheets/commits.css.scss @@ -113,9 +113,6 @@ ul.bordered-list li:last-child { border:none } } -tr.line_notes_row { - border-bottom:1px solid #DDD; -} /** FLASH **/ #flash_container { diff --git a/app/assets/stylesheets/notes.css.scss b/app/assets/stylesheets/notes.css.scss index 276fce1..3e0d141 100644 --- a/app/assets/stylesheets/notes.css.scss +++ b/app/assets/stylesheets/notes.css.scss @@ -30,14 +30,14 @@ } } -#notes-list .note .delete-note { display:none; } -#notes-list .note:hover .delete-note { display:block; } -#notes-list .note {padding: 10px 0; border-bottom: 1px solid #eee; overflow: hidden; display: block;} -#notes-list .note img{float: left; margin-right: 10px;} -#notes-list .note span.note-title{display: block;} -#notes-list .note span.note-title{margin-bottom: 10px} -#notes-list .note span.note-author{color: #999; font-weight: normal; font-style: italic;} -#notes-list .note span.note-author strong{font-weight: bold; font-style: normal;} +.note .delete-note { display:none; } +.note:hover .delete-note { display:block; } +.note {padding: 10px 0; border-bottom: 1px solid #eee; overflow: hidden; display: block;} +.note img{float: left; margin-right: 10px;} +.note span.note-title{display: block;} +.note span.note-title{margin-bottom: 10px} +.note span.note-author{color: #999; font-weight: normal; font-style: italic;} +.note span.note-author strong{font-weight: bold; font-style: normal;} .note .note-title { margin-left:55px; } @@ -49,3 +49,15 @@ p.notify_controls input{ p.notify_controls span{ font-weight: 700; } + +tr.line_notes_row { + border-bottom:1px solid #DDD; + ul { + margin:0; + li { + padding:0; + border:none; + } + } +} + -- libgit2 0.21.2