Commit 7fd29a78fa2c67a7aa01a4d3bb368f4f15a411d3
1 parent
ece9f50f
Exists in
master
and in
4 other branches
Commits page styled better now
Showing
2 changed files
with
19 additions
and
5 deletions
Show diff stats
app/assets/stylesheets/common.scss
... | ... | @@ -227,3 +227,19 @@ img.lil_av { |
227 | 227 | margin-bottom:20px; |
228 | 228 | } |
229 | 229 | |
230 | + | |
231 | +.ui-box { | |
232 | + margin-bottom: 40px; | |
233 | + @include round-borders-all(4px); | |
234 | + border-color:#ddd; | |
235 | + | |
236 | + h5 { | |
237 | + padding: 5px 10px; | |
238 | + background:#f5f5f5; | |
239 | + border-bottom: 1px solid #ccc; | |
240 | + } | |
241 | + | |
242 | + li { | |
243 | + padding:10px; | |
244 | + } | |
245 | +} | ... | ... |
app/views/commits/_commits.html.haml
1 | 1 | - @commits.group_by { |c| c.committed_date.to_date }.each do |day, commits| |
2 | - %div{ :class => "commits-date ui-box ui-box-small ui-box-big" } | |
3 | - .day-commits-table | |
4 | - %h5.underlined= day.stamp("28 Aug, 2010") | |
5 | - %br | |
6 | - %ul.unstyled= render commits | |
2 | + %div.ui-box | |
3 | + %h5= day.stamp("28 Aug, 2010") | |
4 | + %ul.unstyled= render commits | ... | ... |