Sha256: d65812cf9b7181b75bc792cf5ce7e69aaa545a8922748eeb50aa6c751ce2e48b
Contents?: true
Size: 1.61 KB
Versions: 11
Compression:
Stored size: 1.61 KB
Contents
{:versionI"3.2.19 (Media Mark):EF:shaI"-8b79cb7aec05535560f5ac3dc7b2ba7b55dd8a2f;F: 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;!T; @;i
Version data entries
11 entries across 11 versions & 4 rubygems