Commit 7ba4f2dcfaa85fb89e15d9caa21bf75ad976389f
1 parent
fb617c61
Exists in
master
and in
4 other branches
few styling for buttons
Showing
4 changed files
with
12 additions
and
5 deletions
Show diff stats
app/assets/stylesheets/gitlab_bootstrap/blocks.scss
app/assets/stylesheets/gitlab_bootstrap/buttons.scss
1 | .btn { | 1 | .btn { |
2 | - @include linear-gradient(#f7f7f7, #d5d5d5); | 2 | + @include linear-gradient(#f1f1f1, #e1e1e1); |
3 | + text-shadow: 0 1px 1px #FFF; | ||
3 | border-color: #BBB; | 4 | border-color: #BBB; |
5 | + | ||
4 | &:hover { | 6 | &:hover { |
5 | - @include bg-gray-gradient; | ||
6 | - border-color: #bbb; | 7 | + background: #f1f1f1; |
8 | + @include linear-gradient(#fAfAfA, #f1f1f1); | ||
9 | + border-color: #AAA; | ||
7 | color: #333; | 10 | color: #333; |
8 | } | 11 | } |
9 | 12 |
app/views/groups/new.html.haml
@@ -10,7 +10,7 @@ | @@ -10,7 +10,7 @@ | ||
10 | .input | 10 | .input |
11 | = f.text_field :name, placeholder: "Ex. OpenSource", class: "xxlarge left" | 11 | = f.text_field :name, placeholder: "Ex. OpenSource", class: "xxlarge left" |
12 | | 12 | |
13 | - = f.submit 'Create group', class: "btn btn-primary" | 13 | + = f.submit 'Create group', class: "btn btn-create" |
14 | %hr | 14 | %hr |
15 | .padded | 15 | .padded |
16 | %ul | 16 | %ul |
app/views/teams/new.html.haml
@@ -10,7 +10,7 @@ | @@ -10,7 +10,7 @@ | ||
10 | .input | 10 | .input |
11 | = f.text_field :name, placeholder: "Ex. Ruby Developers", class: "xxlarge left" | 11 | = f.text_field :name, placeholder: "Ex. Ruby Developers", class: "xxlarge left" |
12 | | 12 | |
13 | - = f.submit 'Create team', class: "btn btn-primary" | 13 | + = f.submit 'Create team', class: "btn btn-create" |
14 | %hr | 14 | %hr |
15 | .padded | 15 | .padded |
16 | %ul | 16 | %ul |