Sha256: b2069c0f2489141493c996709bea3214e456d7a8ad71852f7230a1e5f5d43c84

Contents?: true

Size: 1.15 KB

Versions: 2

Compression:

Stored size: 1.15 KB

Contents

3.2.10 (Media Mark)
fc5f9108f250edc5459dd7a9cf9373a6dfcfcbe1
o:Sass::Tree::RootNode
:@children[o:Sass::Tree::CommentNode
:@value[I"¢/* Convert pixels to ems
 * eg. for a relational value of 12px write em(12) when the parent is 16px
 * if the parent is another value say 24px write em(12, 24) */:ET:
@type:silent;[:
@linei:
@options{o:Sass::Tree::FunctionNode:
@nameI"em;	T:
@args[[o:Sass::Script::Variable;I"
pxval;	T:@underscored_nameI"
pxval;	T;
@0[o;;I"	base;	T;I"	base;	T;
@o:Sass::Script::Number;i:@numerator_units[:@denominator_units[;i
:@originalI"16;	F;
@:@splat0;[o:Sass::Tree::ReturnNode	:
@expro:Sass::Script::Operation
:@operand1o;
;o;	;I"
pxval;	T;I"
pxval;	T;i;
@:@operand2o;	;I"	base;	T;I"	base;	T;i;
@:@operator:div;i;
@;o;;i;[I"em;	T;[;i;I"1em;	F;
@;:
times;i;
@;[;i;
@;i
:@has_childrenT;
@:@templateI"è// Convert pixels to ems
// eg. for a relational value of 12px write em(12) when the parent is 16px
// if the parent is another value say 24px write em(12, 24)

@function em($pxval, $base: 16) {
  @return ($pxval / $base) * 1em;
}

;	T;i; T;
@

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
active_admin-state_machine-0.1.1 spec/dummy/tmp/cache/sass/0733f78978a3764d0f20e2bea650007fb2bf064b/_px-to-em.scssc
active_admin-state_machine-0.1.0 spec/dummy/tmp/cache/sass/0733f78978a3764d0f20e2bea650007fb2bf064b/_px-to-em.scssc