Commit 7ba4f2dcfaa85fb89e15d9caa21bf75ad976389f

Authored by Dmitriy Zaporozhets
1 parent fb617c61

few styling for buttons

app/assets/stylesheets/gitlab_bootstrap/blocks.scss
@@ -98,6 +98,10 @@ @@ -98,6 +98,10 @@
98 margin-top: 3px; 98 margin-top: 3px;
99 } 99 }
100 100
  101 + .btn-tiny {
  102 + @include box-shadow(0 0px 0px 1px #f1f1f1);
  103 + }
  104 +
101 .nav-pills { 105 .nav-pills {
102 > li { 106 > li {
103 > a { 107 > a {
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