Sha256: 7027b45954710b7b7bf04e2132b99b47d400833d886e7d022152452259ed71f4

Contents?: true

Size: 1.01 KB

Versions: 9

Compression:

Stored size: 1.01 KB

Contents

=fancy-gradient(!color1, !color2)
  !top_shine = lighten(!color1, 18)
  !bottom_glow = lighten(!color2, 10)
  !top_middle = !color1
  !middle = lighten(!color2, 3)
  !bottom_middle = !color2
  +v-gradient(!top_shine, !bottom_glow, color_stop(10%, !top_middle, 50%, !middle, 50%, !bottom_middle))

=invert-fancy-gradient(!color1, !color2)
  !top = lighten(!color2, 6)
  !bottom = lighten(!color2, 14)
  !top_middle = lighten(!color2, 8)
  !middle = lighten(!color2, 4)
  !bottom_middle = lighten(!color2, 1)
  +v-gradient(!top, !bottom, color_stop(30%, !top_middle, 50%, !middle, 50%, !bottom_middle))

=fancy-matte-gradient(!color1, !color2)
  +v-gradient(!color1, !color2)

=invert-fancy-matte-gradient(!color1, !color2)
  !top = lighten(!color2, 5)
  !bottom = lighten(!color2, 15)
  !middle = lighten(!color2, 8)
  +v-gradient(!top, !bottom, color_stop(85%, !middle, 40%, !middle))

/* incase an inverted custom gradient isn't specified */
=invert-custom-fancy-gradient(!color1, !color2)
  +custom-fancy-gradient(!color1, !color2)

Version data entries

9 entries across 8 versions & 2 rubygems

Version Path
middleman-0.13.1 lib/middleman/vendor/gems/ruby/1.8/gems/fancy-buttons-0.3.9/lib/sass/_fancy_gradient.sass
middleman-0.13.1 lib/middleman/vendor/gems/ruby/1.9.1/gems/fancy-buttons-0.3.7/lib/sass/_fancy_gradient.sass
fancy-buttons-0.3.9 lib/sass/_fancy_gradient.sass
fancy-buttons-0.3.8 lib/sass/_fancy_gradient.sass
middleman-0.12.2 lib/middleman/vendor/gems/gems/fancy-buttons-0.3.7/lib/sass/_fancy_gradient.sass
fancy-buttons-0.3.7 lib/sass/_fancy_gradient.sass
middleman-0.12.1 lib/middleman/vendor/gems/gems/fancy-buttons-0.3.6/lib/sass/_fancy_gradient.sass
fancy-buttons-0.3.6 lib/sass/_fancy_gradient.sass
fancy-buttons-0.3.5 lib/sass/_fancy_gradient.sass