公告板
版本库
filestore
活动
搜索
登录
svn_226_histroy
/
src
概况
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
history init
liuxiaolong
2019-05-09
0d1d88cdb668e75ea8609417ac18ae19947e9525
[svn_226_histroy/src.git]
/
sy4x_kq
/
.svn
/
pristine
/
c0
/
c07f50d6d875842330045ac3c2ac8e9ed3c31f93.svn-base
1
2
3
4
5
6
7
8
9
// 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);
}