Commit b2c13bdd777838e9837b12e56854e152b8a13f0c

Authored by Dmitriy Zaporozhets
1 parent 7b75f3cf

button styled

app/assets/stylesheets/common.scss
... ... @@ -11,6 +11,18 @@ a {
11 11 }
12 12 }
13 13  
  14 +.btn {
  15 + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f1f1f1), color-stop(25%, #f1f1f1), to(#e6e6e6));
  16 + background-image: -webkit-linear-gradient(#f1f1f1, #f1f1f1 25%, #e6e6e6);
  17 + background-image: -moz-linear-gradient(top, #f1f1f1, #f1f1f1 25%, #e6e6e6);
  18 + background-image: -ms-linear-gradient(#f1f1f1, #f1f1f1 25%, #e6e6e6);
  19 + background-image: -o-linear-gradient(#f1f1f1, #f1f1f1 25%, #e6e6e6);
  20 + background-image: linear-gradient(#f1f1f1, #f1f1f1 25%, #e6e6e6);
  21 +
  22 + &:hover {
  23 + }
  24 +}
  25 +
14 26 a:focus {
15 27 outline: none;
16 28 }
... ...
app/views/commits/show.html.haml
... ... @@ -12,7 +12,7 @@
12 12 = @commit.committer_name
13 13 %small= @commit.committed_date.stamp("Aug 21, 2011 9:23pm")
14 14  
15   -%hr
  15 +%br
16 16 %pre.commit_message
17 17 = commit_msg_with_link_to_issues(@project, @commit.safe_message)
18 18 .clear
... ...