PHP Classes

File: SmallServerAdmin/Content/scss/libs/bootstrap/mixins/_nav-vertical-align.scss

Recommend this page to a friend!
  Classes of Aleksey Nemiro   PHP Small Server Administrator   SmallServerAdmin/Content/scss/libs/bootstrap/mixins/_nav-vertical-align.scss   Download  
File: SmallServerAdmin/Content/scss/libs/bootstrap/mixins/_nav-vertical-align.scss
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Small Server Administrator
Web panel for small Debian and Ubuntu servers
Author: By
Last change:
Date: 7 years ago
Size: 370 bytes
 

Contents

Class file image Download
// 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); }