Commit df0bd0c212a76ed6ce4e0e90b8101a9a164c34fa

Authored by Koen Punt
1 parent 81175073

Removed bg-gradient, now directly using linear-gradient

app/assets/stylesheets/common.scss
@@ -374,12 +374,12 @@ p.time { @@ -374,12 +374,12 @@ p.time {
374 height: 100%; 374 height: 100%;
375 } 375 }
376 .bar-success { 376 .bar-success {
  377 + @include linear-gradient(#62C462, #51A351);
377 background-color: #468847; 378 background-color: #468847;
378 - @include bg-gradient(#62C462, #51A351);  
379 } 379 }
380 .bar-danger { 380 .bar-danger {
  381 + @include linear-gradient(#EE5F5B, #BD362F);
381 background-color: #B94A48; 382 background-color: #B94A48;
382 - @include bg-gradient(#EE5F5B, #BD362F);  
383 } 383 }
384 } 384 }
385 .upvotes { 385 .upvotes {
app/assets/stylesheets/gitlab_bootstrap/buttons.scss
1 .btn { 1 .btn {
2 - @include bg-gradient(#f7f7f7, #d5d5d5); 2 + @include linear-gradient(#f7f7f7, #d5d5d5);
3 border-color: #aaa; 3 border-color: #aaa;
4 &:hover { 4 &:hover {
5 @include bg-gray-gradient; 5 @include bg-gray-gradient;
@@ -9,7 +9,7 @@ @@ -9,7 +9,7 @@
9 9
10 &.primary { 10 &.primary {
11 background: #2a79A3; 11 background: #2a79A3;
12 - @include bg-gradient(#47A7b7, #2585b5); 12 + @include linear-gradient(#47A7b7, #2585b5);
13 border-color: #2A79A3; 13 border-color: #2A79A3;
14 color: #fff; 14 color: #fff;
15 text-shadow: 0 1px 1px #268; 15 text-shadow: 0 1px 1px #268;
app/assets/stylesheets/mixins.scss
@@ -34,10 +34,6 @@ @@ -34,10 +34,6 @@
34 background-image: -o-linear-gradient($from, $to); 34 background-image: -o-linear-gradient($from, $to);
35 } 35 }
36 36
37 -@mixin bg-gradient($from, $to) {  
38 - @include linear-gradient($from, $to);  
39 -}  
40 -  
41 @mixin bg-light-gray-gradient { 37 @mixin bg-light-gray-gradient {
42 background: #f1f1f1; 38 background: #f1f1f1;
43 background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #f5f5f5), to(#e1e1e1)); 39 background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #f5f5f5), to(#e1e1e1));