Commit 0853eebd1c1d80fdcb467a2cafede6f20e62759f
1 parent
cc28b21a
Exists in
spb-stable
and in
2 other branches
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 | 83 | overflow: hidden; |
84 | 84 | display: block; |
85 | 85 | position:relative; |
86 | + border-bottom: 1px solid #eee; | |
86 | 87 | p { color: $style_color; } |
87 | 88 | |
88 | 89 | .avatar { |
... | ... | @@ -98,22 +99,16 @@ ul.notes { |
98 | 99 | .note-header { |
99 | 100 | padding-bottom: 3px; |
100 | 101 | } |
102 | + | |
103 | + &:last-child { | |
104 | + border-bottom: none; | |
105 | + } | |
101 | 106 | } |
102 | 107 | |
103 | 108 | .note:target { |
104 | 109 | -webkit-animation:target-note 2s linear; |
105 | 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 | 114 | .diff-file .notes_holder { |
... | ... | @@ -308,14 +303,13 @@ ul.notes { |
308 | 303 | .common-note-form { |
309 | 304 | margin: 0; |
310 | 305 | background: #F9F9F9; |
311 | - padding: 3px; | |
306 | + padding: 5px; | |
312 | 307 | border: 1px solid #DDD; |
313 | 308 | } |
314 | 309 | |
315 | 310 | .note-form-actions { |
316 | 311 | background: #F9F9F9; |
317 | 312 | height: 45px; |
318 | - padding: 0 5px; | |
319 | 313 | |
320 | 314 | .note-form-option { |
321 | 315 | margin-top: 8px; | ... | ... |