diff options
author | Adam Tauber <asciimoo@gmail.com> | 2014-11-11 09:36:39 +0100 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2014-11-11 09:36:39 +0100 |
commit | 0d80d5d3b45f9c761a7fd6c457538b54f6d25fce (patch) | |
tree | a669f19b5f3a6886ae8c9930e97aa97af3e00778 /searx/static/oscar/less/bootstrap/mixins/nav-vertical-align.less | |
parent | b422788eb46906d9befbd8b7399bf4653e1fb14e (diff) | |
parent | 25312c53e170deb55bd48029e3b76b87692e1911 (diff) | |
download | searxng-0d80d5d3b45f9c761a7fd6c457538b54f6d25fce.tar.gz searxng-0d80d5d3b45f9c761a7fd6c457538b54f6d25fce.zip |
Merge pull request #105 from pointhi/template_oscar
new template: oscar
Diffstat (limited to 'searx/static/oscar/less/bootstrap/mixins/nav-vertical-align.less')
-rw-r--r-- | searx/static/oscar/less/bootstrap/mixins/nav-vertical-align.less | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/searx/static/oscar/less/bootstrap/mixins/nav-vertical-align.less b/searx/static/oscar/less/bootstrap/mixins/nav-vertical-align.less new file mode 100644 index 000000000..d458c7861 --- /dev/null +++ b/searx/static/oscar/less/bootstrap/mixins/nav-vertical-align.less @@ -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); +} |