Sha256: e3ec76a8c15747a9228228c813a092c2bfb2e9f2538fa84201cfcf2c1aa07ead
Contents?: true
Size: 1.6 KB
Versions: 21
Compression:
Stored size: 1.6 KB
Contents
{:versionI"3.2.19 (Media Mark):EF:sha"-8b79cb7aec05535560f5ac3dc7b2ba7b55dd8a2f: contents"o:Sass::Tree::RootNode :@children[o:Sass::Tree::CommentNode :@value[I"Î/* Navbar vertical align * * Vertically center elements in the navbar. * Example: an element has a height of 30px, so write out `.navbar-vertical-align(30px);` to calculate the appropriate top margin. */:ET: @type:silent;[ : @linei: @options{ o:Sass::Tree::MixinDefNode: @nameI"navbar-vertical-align; T: @args[[o:Sass::Script::Variable;I"element-height; T:@underscored_nameI"element_height; T; @0:@splat0;[o:Sass::Tree::PropNode;[I"margin-top; T;o:Sass::Script::Operation :@operand1o; ;o; ;I"navbar-height; T;I"navbar_height; T;i; @:@operand2o; ;I"element-height; T;I"element_height; T;i; @:@operator: minus;i; @;o:Sass::Script::Number ;i:@numerator_units[ :@denominator_units[ ;i; @;:div;i; @: @tabsi :@prop_syntax:new;[ ;i; @o;;[I"margin-bottom; T;o; ;o; ;o; ;I"navbar-height; T;I"navbar_height; T;i ; @;o; ;I"element-height; T;I"element_height; T;i ; @;;;i ; @;o; ;i;[ ;@!;i ; @;;;i ; @;i ;; ;[ ;i ; @;i:@has_childrenT; @:@templateI"r// Navbar vertical align // // Vertically center elements in the navbar. // Example: an element has a height of 30px, so write out `.navbar-vertical-align(30px);` to calculate the appropriate top margin. @mixin navbar-vertical-align($element-height) { margin-top: (($navbar-height - $element-height) / 2); margin-bottom: (($navbar-height - $element-height) / 2); } ; T;i;!T; @
Version data entries
21 entries across 6 versions & 2 rubygems