1
0
mirror of https://github.com/flarum/core.git synced 2025-07-30 21:20:24 +02:00

Clean up LESS files

This commit is contained in:
Toby Zerner
2015-04-25 22:31:30 +09:30
parent b68a4711dc
commit b61017efdc
98 changed files with 34 additions and 2719 deletions

View File

@@ -0,0 +1,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);
}