仪表盘
版本库
文件存储
活动
搜索
登录
main
/
WGQ_WB19011
外高桥立体库
概况
操作记录
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
2
schangxiang@126.com
2024-08-16
b47c50a2a514def7374b32d7194b2c599cba5625
[WGQ_WB19011.git]
/
DEmon
/
iWarePod
/
jslib
/
bootstrap
/
less
/
mixins
/
nav-vertical-align.less
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);
}