Merge pull request #1234 from uok/master

Small improvements for footer navbar (ref #1154)
This commit is contained in:
Jakob Borg 2015-01-10 18:14:47 +01:00
commit 48651bf482
2 changed files with 20 additions and 8 deletions

View File

@ -39,8 +39,8 @@ ul+h5 {
.panel-title { .panel-title {
position: relative; position: relative;
text-overflow:ellipsis; text-overflow: ellipsis;
overflow:hidden; overflow: hidden;
} }
identicon { identicon {
@ -205,3 +205,15 @@ ul.three-columns li, ul.two-columns li {
padding-left: 0.5em; padding-left: 0.5em;
text-indent: -0.5em; text-indent: -0.5em;
} }
/** Footer nav on small devices **/
@media (max-width: 767px) {
body {
padding-bottom: 0;
}
.navbar-fixed-bottom {
position: static;
}
}

View File

@ -398,14 +398,14 @@
<!-- Bottom bar --> <!-- Bottom bar -->
<nav class="navbar navbar-default navbar-fixed-bottom hidden-xs"> <nav class="navbar navbar-default navbar-fixed-bottom">
<div class="container"> <div class="container">
<ul class="nav navbar-nav"> <ul class="nav navbar-nav">
<li><a class="navbar-link" href="http://discourse.syncthing.net/"><span translate>Support / Forum</span></a></li> <li><a class="navbar-link" href="https://github.com/syncthing/syncthing/wiki"><span class="glyphicon glyphicon-book"></span>&ensp;<span translate>Documentation</span></a></li>
<li><a class="navbar-link" href="https://github.com/syncthing/syncthing/releases"><span translate>Latest Release</span></a></li> <li><a class="navbar-link" href="https://discourse.syncthing.net"><span class="glyphicon glyphicon-question-sign"></span>&ensp;<span translate>Support</span></a></li>
<li><a class="navbar-link" href="http://discourse.syncthing.net/category/documentation"><span translate>Documentation</span></a></li> <li><a class="navbar-link" href="https://github.com/syncthing/syncthing/releases"><span class="glyphicon glyphicon-info-sign"></span>&ensp;<span translate>Changelog</span></a></li>
<li><a class="navbar-link" href="https://github.com/syncthing/syncthing/issues"><span translate>Bugs</span></a></li> <li><a class="navbar-link" href="https://github.com/syncthing/syncthing/issues"><span class="glyphicon glyphicon-warning-sign"></span>&ensp;<span translate>Bugs</span></a></li>
<li><a class="navbar-link" href="https://github.com/syncthing/syncthing"><span translate>Source Code</span></a></li> <li><a class="navbar-link" href="https://github.com/syncthing/syncthing"><span class="glyphicon glyphicon-wrench"></span>&ensp;<span translate>Source Code</span></a></li>
</ul> </ul>
</div> </div>
</nav> </nav>