Commit 0853eebd1c1d80fdcb467a2cafede6f20e62759f

Authored by Dmitriy Zaporozhets
1 parent cc28b21a

Improve comments css

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing 1 changed file with 6 additions and 12 deletions   Show diff stats
app/assets/stylesheets/sections/notes.scss
@@ -83,6 +83,7 @@ ul.notes { @@ -83,6 +83,7 @@ ul.notes {
83 overflow: hidden; 83 overflow: hidden;
84 display: block; 84 display: block;
85 position:relative; 85 position:relative;
  86 + border-bottom: 1px solid #eee;
86 p { color: $style_color; } 87 p { color: $style_color; }
87 88
88 .avatar { 89 .avatar {
@@ -98,22 +99,16 @@ ul.notes { @@ -98,22 +99,16 @@ ul.notes {
98 .note-header { 99 .note-header {
99 padding-bottom: 3px; 100 padding-bottom: 3px;
100 } 101 }
  102 +
  103 + &:last-child {
  104 + border-bottom: none;
  105 + }
101 } 106 }
102 107
103 .note:target { 108 .note:target {
104 -webkit-animation:target-note 2s linear; 109 -webkit-animation:target-note 2s linear;
105 background: #fffff0; 110 background: #fffff0;
106 } 111 }
107 -  
108 - // paint top or bottom borders depending on notes direction  
109 - &:not(.reversed) .note,  
110 - &:not(.reversed) .discussion {  
111 - border-bottom: 1px solid #eee;  
112 - }  
113 - &.reversed .note,  
114 - &.reversed .discussion {  
115 - border-top: 1px solid #eee;  
116 - }  
117 } 112 }
118 113
119 .diff-file .notes_holder { 114 .diff-file .notes_holder {
@@ -308,14 +303,13 @@ ul.notes { @@ -308,14 +303,13 @@ ul.notes {
308 .common-note-form { 303 .common-note-form {
309 margin: 0; 304 margin: 0;
310 background: #F9F9F9; 305 background: #F9F9F9;
311 - padding: 3px; 306 + padding: 5px;
312 border: 1px solid #DDD; 307 border: 1px solid #DDD;
313 } 308 }
314 309
315 .note-form-actions { 310 .note-form-actions {
316 background: #F9F9F9; 311 background: #F9F9F9;
317 height: 45px; 312 height: 45px;
318 - padding: 0 5px;  
319 313
320 .note-form-option { 314 .note-form-option {
321 margin-top: 8px; 315 margin-top: 8px;