仪表盘
版本库
文件存储
活动
搜索
登录
main
/
dfgApi
大返官php后台
概况
操作记录
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
no message
zhaojs
2023-06-09
573ba973d908841a65c21cd2c96049d5c0472be6
[dfgApi.git]
/
public
/
assets
/
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);
}