Repository: incubator-zeppelin Updated Branches: refs/heads/gh-pages [created] efdf14f04
Adding links to Apache in Nav Project: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/commit/991c2035 Tree: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/tree/991c2035 Diff: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/diff/991c2035 Branch: refs/heads/gh-pages Commit: 991c2035b7a250ddecc91da5885984fb6575b8af Parents: f885731 Author: Alexander Bezzubov <[email protected]> Authored: Mon Jan 26 15:05:40 2015 +0900 Committer: Alexander Bezzubov <[email protected]> Committed: Mon Jan 26 15:05:40 2015 +0900 ---------------------------------------------------------------------- _includes/themes/zeppelin/_navigation.html | 9 +++++++++ assets/themes/zeppelin/css/style.css | 24 +++++++++++++++++++++--- 2 files changed, 30 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/991c2035/_includes/themes/zeppelin/_navigation.html ---------------------------------------------------------------------- diff --git a/_includes/themes/zeppelin/_navigation.html b/_includes/themes/zeppelin/_navigation.html index e1fd32a..ab0a452 100644 --- a/_includes/themes/zeppelin/_navigation.html +++ b/_includes/themes/zeppelin/_navigation.html @@ -23,6 +23,15 @@ {% assign group = 'nav-right' %} {% include JB/pages_list %} <li><a href="https://github.com/NFLabs/zeppelin">GitHub</a></li> + <li id="apache"> + <a href="#" data-toggle="dropdown" class="dropdown-toggle">Apache<b class="caret"></b></a> + <ul class="dropdown-menu"> + <li><a href="http://www.apache.org/foundation/how-it-works.html">Apache Software Foundation</a></li> + <li><a href="http://www.apache.org/licenses/">Apache License</a></li> + <li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li> + <li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li> + </ul> + </li> </ul> </nav><!--/.navbar-collapse --> </div> http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/991c2035/assets/themes/zeppelin/css/style.css ---------------------------------------------------------------------- diff --git a/assets/themes/zeppelin/css/style.css b/assets/themes/zeppelin/css/style.css index b0d37ad..92f25bf 100644 --- a/assets/themes/zeppelin/css/style.css +++ b/assets/themes/zeppelin/css/style.css @@ -311,24 +311,42 @@ body { .navbar-collapse.collapse { max-height: 50px;} +#apache .caret { + margin-left: 4px; + border-top-color: #FFF; +} + +.navbar-inverse .navbar-nav > .open > a, +.navbar-inverse .navbar-nav > .open > a:hover, +.navbar-inverse .navbar-nav > .open > a:focus { + color: #ffffff; + background-color: #286090; +} + /* Custom, iPhone Retina */ @media only screen and (max-width : 480px) { .jumbotron h1 { display: none; } - .navbar .navbar-brand { - /*position: absolute;*/ - } .navbar-brand small { display: none; color: #FFF; } } +@media only screen and (max-width : 768px) { + .navbar .navbar-brand { + padding-bottom: 0; + } +} + @media only screen and (min-width : 768px) and (max-width : 1024px) { .navbar-brand small { display: none; } + .navbar-collapse.collapse { + padding-right: 0; + } }
