Skip to content

Commit 8ace286

Browse files
committed
styles: Move vertical-gradient mixin into home.scss
1 parent a0ad312 commit 8ace286

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

app/styles/_helpers.scss

Lines changed: 0 additions & 10 deletions
This file was deleted.

app/styles/app.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
@import "normalize";
2-
@import "helpers";
32

43
$html-bg: #3b6837;
54
$main-color: #383838;

app/styles/home.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
@mixin vertical-gradient($start, $end) {
2+
background: $end;
3+
background: -moz-linear-gradient(top, $start 0%, $end 100%);
4+
background: -webkit-gradient(linear, left top, left bottom,
5+
color-stop(0%,$start),
6+
color-stop(100%,$end));
7+
background: -webkit-linear-gradient(top, $start 0%,$end 100%);
8+
background: -ms-linear-gradient(top, $start 0%,$end 100%);
9+
background: linear-gradient(to bottom, $start 0%,$end 100%);
10+
}
11+
112
@mixin button($start, $end) {
213
$start_dark: darken($start, 5%);
314
$end_dark: darken($end, 5%);

0 commit comments

Comments
 (0)