mirror of
https://github.com/WatchOutNewsAgency/wona.github.com.git
synced 2026-01-01 01:16:26 +00:00
added compass, added some basic stylesheets
This commit is contained in:
15
source/stylesheets/library/_gradient.sass
Normal file
15
source/stylesheets/library/_gradient.sass
Normal file
@ -0,0 +1,15 @@
|
||||
=linear-gradient(!from_coord, !to_coord, !color_start, !color_end, !color_stop1 = 0, !color_stop1_pos = .3, !color_stop_2 = 0, !color_stop2_pos = .9)
|
||||
!gradient = "#{!from_coord}, #{!to_coord}, from(#{!color_start}), to(#{!color_end})"
|
||||
//@if !color_stop1 != 0
|
||||
// !gradient += "color-stop(#{!color_stop1_pos}, #{!color_stop1})"
|
||||
background= "-webkit-gradient(linear, #{!gradient})"
|
||||
background= "-moz-linear-gradient(#{!gradient})"
|
||||
|
||||
=h-linear-gradient(!color1, !color2)
|
||||
+linear-gradient("left top", "left bottom", !color1, !color2)
|
||||
|
||||
=v-linear-gradient(!color1, !color2)
|
||||
+linear-gradient("left top", "right top", !color1, !color2)
|
||||
|
||||
//=h-three-color-gradient(!color1, !color2, !color3, !color3_pos = .5)
|
||||
// +linear-gradient("left top", "left bottom", !color1, !color2, !color3, !color3_pos)
|
||||
Reference in New Issue
Block a user