Sha256: a087ef6eae67314da1dd789d94e34748a1e306c59120c23e2a3993b887baa87d

Contents?: true

Size: 601 Bytes

Versions: 68

Compression:

Stored size: 601 Bytes

Contents

//
// Gray shorthand
//
// @param value (0..255)
// @param transparency (0..1)
//
// example:
// body { color: gray(50); } => rgba(50,50,50, 1)
// body { background-color: gray(150, 0.5); } => rgba(150,150,150, 0.5)
//
@function gray($value, $transparency: 1) {
  @return rgba($value, $value, $value, $transparency);
}


//
// Spiderman is a mixin to position absolute an element in another
// element top to bottom, left to right
//
// @param $offset Offset from the edge
//
@mixin spiderman($offset: 0) {
  bottom: $offset;
  left: $offset;
  position: absolute;
  right: $offset;
  top: $offset;
}

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
lalala-4.0.0.dev.416 lib/generators/lalala/assets/templates/_mixins.css.scss
lalala-4.0.0.dev.407 lib/generators/lalala/assets/templates/_mixins.css.scss
lalala-4.1.0.dev.397 lib/generators/lalala/assets/templates/_mixins.css.scss
lalala-4.0.0.dev.396 lib/generators/lalala/assets/templates/_mixins.css.scss
lalala-4.0.0.dev.395 lib/generators/lalala/assets/templates/_mixins.css.scss
lalala-4.1.0.dev.394 lib/generators/lalala/assets/templates/_mixins.css.scss
lalala-4.1.0.dev.392 lib/generators/lalala/assets/templates/_mixins.css.scss
lalala-4.0.0.dev.393 lib/generators/lalala/assets/templates/_mixins.css.scss
lalala-4.1.0.dev.391 lib/generators/lalala/assets/templates/_mixins.css.scss
lalala-4.1.0.dev.390 lib/generators/lalala/assets/templates/_mixins.css.scss
lalala-4.1.0.dev.389 lib/generators/lalala/assets/templates/_mixins.css.scss
lalala-4.0.0.dev.388 lib/generators/lalala/assets/templates/_mixins.css.scss
lalala-4.1.0.dev.387 lib/generators/lalala/assets/templates/_mixins.css.scss
lalala-4.1.0.dev.386 lib/generators/lalala/assets/templates/_mixins.css.scss
lalala-4.0.0.dev.385 lib/generators/lalala/assets/templates/_mixins.css.scss
lalala-4.1.0.dev.384 lib/generators/lalala/assets/templates/_mixins.css.scss
lalala-4.0.0.dev.382 lib/generators/lalala/assets/templates/_mixins.css.scss
lalala-4.1.0.dev.381 lib/generators/lalala/assets/templates/_mixins.css.scss
lalala-4.1.0.dev.376 lib/generators/lalala/assets/templates/_mixins.css.scss
lalala-4.1.0.dev.375 lib/generators/lalala/assets/templates/_mixins.css.scss