Commit df0bd0c2 authored by Koen Punt's avatar Koen Punt

Removed bg-gradient, now directly using linear-gradient

parent 81175073
...@@ -374,12 +374,12 @@ p.time { ...@@ -374,12 +374,12 @@ p.time {
height: 100%; height: 100%;
} }
.bar-success { .bar-success {
@include linear-gradient(#62C462, #51A351);
background-color: #468847; background-color: #468847;
@include bg-gradient(#62C462, #51A351);
} }
.bar-danger { .bar-danger {
@include linear-gradient(#EE5F5B, #BD362F);
background-color: #B94A48; background-color: #B94A48;
@include bg-gradient(#EE5F5B, #BD362F);
} }
} }
.upvotes { .upvotes {
......
.btn { .btn {
@include bg-gradient(#f7f7f7, #d5d5d5); @include linear-gradient(#f7f7f7, #d5d5d5);
border-color: #aaa; border-color: #aaa;
&:hover { &:hover {
@include bg-gray-gradient; @include bg-gray-gradient;
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
&.primary { &.primary {
background: #2a79A3; background: #2a79A3;
@include bg-gradient(#47A7b7, #2585b5); @include linear-gradient(#47A7b7, #2585b5);
border-color: #2A79A3; border-color: #2A79A3;
color: #fff; color: #fff;
text-shadow: 0 1px 1px #268; text-shadow: 0 1px 1px #268;
......
...@@ -34,10 +34,6 @@ ...@@ -34,10 +34,6 @@
background-image: -o-linear-gradient($from, $to); background-image: -o-linear-gradient($from, $to);
} }
@mixin bg-gradient($from, $to) {
@include linear-gradient($from, $to);
}
@mixin bg-light-gray-gradient { @mixin bg-light-gray-gradient {
background: #f1f1f1; background: #f1f1f1;
background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #f5f5f5), to(#e1e1e1)); background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #f5f5f5), to(#e1e1e1));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment