仪表盘
版本库
文件存储
活动
搜索
登录
hnmt
/
sniper_nc
概况
操作记录
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
车辆任务增加备注和删除备注
Administrator
2023-03-10
1c4e40639d73faae3ba87156e0e4478c50b8ee33
[hnmt/sniper_nc.git]
/
WebContent
/
template
/
assets
/
css
/
less
/
bootstrap
/
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);
}