Sha256: ab36bdc7fb86b18ba779bb80068d3ae1614e96f6888fe8f06ebfb2038a7ca848

Contents?: true

Size: 364 Bytes

Versions: 243

Compression:

Stored size: 364 Bytes

Contents

// 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.

.navbar-vertical-align(@element-height) {
  margin-top: ((@navbar-height - @element-height) / 2);
  margin-bottom: ((@navbar-height - @element-height) / 2);
}

Version data entries

243 entries across 243 versions & 33 rubygems

Version Path
card-mod-bootstrap-0.18.1 vendor/bootswatch/docs/3/bower_components/bootstrap/less/mixins/nav-vertical-align.less
card-mod-bootstrap-0.18.0 vendor/bootswatch/docs/3/bower_components/bootstrap/less/mixins/nav-vertical-align.less
card-mod-bootstrap-0.17.0 vendor/bootswatch/docs/3/bower_components/bootstrap/less/mixins/nav-vertical-align.less
card-mod-bootstrap-0.16.0 vendor/bootswatch/docs/3/bower_components/bootstrap/less/mixins/nav-vertical-align.less
card-mod-bootstrap-0.15.6 vendor/bootswatch/docs/3/bower_components/bootstrap/less/mixins/nav-vertical-align.less
card-mod-bootstrap-0.15.5 vendor/bootswatch/docs/3/bower_components/bootstrap/less/mixins/nav-vertical-align.less
card-mod-bootstrap-0.15.4 vendor/bootswatch/docs/3/bower_components/bootstrap/less/mixins/nav-vertical-align.less
card-mod-bootstrap-0.15.3 vendor/bootswatch/docs/3/bower_components/bootstrap/less/mixins/nav-vertical-align.less
card-mod-bootstrap-0.15.1.2 vendor/bootswatch/docs/3/bower_components/bootstrap/less/mixins/nav-vertical-align.less
card-mod-bootstrap-0.15.2.pre1 vendor/bootswatch/docs/3/bower_components/bootstrap/less/mixins/nav-vertical-align.less
card-mod-bootstrap-0.15.1.1 vendor/bootswatch/docs/3/bower_components/bootstrap/less/mixins/nav-vertical-align.less
card-mod-bootstrap-0.15.1 vendor/bootswatch/docs/3/bower_components/bootstrap/less/mixins/nav-vertical-align.less
card-mod-bootstrap-0.15.0 vendor/bootswatch/docs/3/bower_components/bootstrap/less/mixins/nav-vertical-align.less
card-mod-bootstrap-0.14.2 vendor/bootswatch/docs/3/bower_components/bootstrap/less/mixins/nav-vertical-align.less
twitter-bootstrap-rails-5.0.0 vendor/toolkit/twitter/bootstrap/mixins/nav-vertical-align.less
card-mod-bootstrap-0.14.1 vendor/bootswatch/docs/3/bower_components/bootstrap/less/mixins/nav-vertical-align.less
card-mod-bootstrap-0.14.0 vendor/bootswatch/docs/3/bower_components/bootstrap/less/mixins/nav-vertical-align.less
card-mod-bootstrap-0.13.4 vendor/bootswatch/docs/3/bower_components/bootstrap/less/mixins/nav-vertical-align.less
card-mod-bootstrap-0.13.3 vendor/bootswatch/docs/3/bower_components/bootstrap/less/mixins/nav-vertical-align.less
card-mod-bootstrap-0.13.2 vendor/bootswatch/docs/3/bower_components/bootstrap/less/mixins/nav-vertical-align.less