From b2c13bdd777838e9837b12e56854e152b8a13f0c Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Thu, 15 Mar 2012 23:44:04 +0200 Subject: [PATCH] button styled --- app/assets/stylesheets/common.scss | 12 ++++++++++++ app/views/commits/show.html.haml | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index ee06ca6d250..a0f522c1e41 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -11,6 +11,18 @@ a { } } +.btn { + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f1f1f1), color-stop(25%, #f1f1f1), to(#e6e6e6)); + background-image: -webkit-linear-gradient(#f1f1f1, #f1f1f1 25%, #e6e6e6); + background-image: -moz-linear-gradient(top, #f1f1f1, #f1f1f1 25%, #e6e6e6); + background-image: -ms-linear-gradient(#f1f1f1, #f1f1f1 25%, #e6e6e6); + background-image: -o-linear-gradient(#f1f1f1, #f1f1f1 25%, #e6e6e6); + background-image: linear-gradient(#f1f1f1, #f1f1f1 25%, #e6e6e6); + + &:hover { + } +} + a:focus { outline: none; } diff --git a/app/views/commits/show.html.haml b/app/views/commits/show.html.haml index 9c1df54ea70..8c81b862f62 100644 --- a/app/views/commits/show.html.haml +++ b/app/views/commits/show.html.haml @@ -12,7 +12,7 @@ = @commit.committer_name %small= @commit.committed_date.stamp("Aug 21, 2011 9:23pm") -%hr +%br %pre.commit_message = commit_msg_with_link_to_issues(@project, @commit.safe_message) .clear