bring back some navigation points
This commit is contained in:
parent
1c58ab9a1f
commit
45fbd5a341
|
@ -61,7 +61,7 @@ $top-height: 55px
|
||||||
.navigation-handle
|
.navigation-handle
|
||||||
position: relative
|
position: relative
|
||||||
margin: 0
|
margin: 0
|
||||||
|
|
||||||
.navigation--profile
|
.navigation--profile
|
||||||
img
|
img
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
|
@ -70,10 +70,11 @@ $top-height: 55px
|
||||||
margin-left: 1rem;
|
margin-left: 1rem;
|
||||||
transform: translateY(-0.1rem);
|
transform: translateY(-0.1rem);
|
||||||
|
|
||||||
|
.navigation-sub
|
||||||
|
position: relative
|
||||||
|
|
||||||
@media #{$medium-up}
|
@media #{$medium-up}
|
||||||
height: $top-height
|
height: $top-height
|
||||||
// padding: 0 0 0 1rem
|
|
||||||
|
|
||||||
.navigation
|
.navigation
|
||||||
height: $top-height
|
height: $top-height
|
||||||
|
@ -96,20 +97,20 @@ $top-height: 55px
|
||||||
|
|
||||||
.navigation-nested
|
.navigation-nested
|
||||||
display: none
|
display: none
|
||||||
|
position: absolute
|
||||||
|
top: $top-height
|
||||||
|
left: -1em
|
||||||
|
z-index: 90
|
||||||
|
background-color: #eff0ec
|
||||||
a
|
a
|
||||||
height: 35px
|
height: 35px
|
||||||
line-height: 35px
|
line-height: 35px
|
||||||
padding: 0 2em
|
padding: 0 2em
|
||||||
|
white-space: nowrap
|
||||||
&:hover
|
&:hover
|
||||||
text-decoration: none
|
text-decoration: none
|
||||||
background-color: $cream-light
|
background-color: $cream-light
|
||||||
|
|
||||||
.navigation--profile.signed-in
|
.navigation-handle:hover + .navigation-nested,
|
||||||
.navigation-handle:hover + .navigation-nested,
|
.navigation-nested:hover
|
||||||
.navigation-nested:hover
|
display: block
|
||||||
position: absolute
|
|
||||||
top: $top-height
|
|
||||||
right: 1rem
|
|
||||||
display: block
|
|
||||||
z-index: 90
|
|
||||||
background-color: #eff0ec
|
|
||||||
|
|
|
@ -6,13 +6,43 @@
|
||||||
|
|
||||||
<ul id="navigation" {{bind-attr class=":navigation is-open"}}>
|
<ul id="navigation" {{bind-attr class=":navigation is-open"}}>
|
||||||
<li><a href="http://blog.travis-ci.com">Blog</a></li>
|
<li><a href="http://blog.travis-ci.com">Blog</a></li>
|
||||||
<li><a href="http://docs.travis-ci.com">Docs</a></li>
|
{{!-- <li><a href="http://docs.travis-ci.com">Help</a></li> --}}
|
||||||
|
<li><a href="http://www.traviscistatus.com/">Status</a></li>
|
||||||
|
|
||||||
{{!-- {{#unless config.pro}}
|
{{#unless config.pro}}
|
||||||
<li class="traviscicom navigation--traviscicom">
|
<li class="navigation-sub navigation--community">
|
||||||
<a href="http://travis-ci.com">Travis CI for Private Repositories</a>
|
<p class="handle navigation-handle">
|
||||||
|
<a href="#">Help</a>
|
||||||
|
</p>
|
||||||
|
<ul class="navigation-nested">
|
||||||
|
<li><a href="http://docs.travis-ci.com">Docs</a></li>
|
||||||
|
<li><a href="http://stackoverflow.com/questions/ask?tags=travis-ci">Ask a Question</a></li>
|
||||||
|
<li><a href="irc://irc.freenode.net/#travis">IRC</a></li>
|
||||||
|
<li><a href="mailto:support@travis-ci.com">E-Mail us</a></li>
|
||||||
|
<li><a href="http://docs.travis-ci.com/imprint.html" alt="Imprint">Imprint</a></li>
|
||||||
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
{{/unless}} --}}
|
{{/unless}}
|
||||||
|
|
||||||
|
{{#if config.pro}}
|
||||||
|
<li><a href="http://docs.travis-ci.com">Docs</a></li>
|
||||||
|
<li class="navigation-sub navigation--legal">
|
||||||
|
<p class="handle navigation-handle">
|
||||||
|
<a {{bind-attr href="config.url_legal"}}>Legal</a>
|
||||||
|
</p>
|
||||||
|
<ul class="navigation-nested">
|
||||||
|
<li>
|
||||||
|
<a {{bind-attr href="config.url_imprint"}}>Imprint</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a {{bind-attr href="config.url_security"}}>Security</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a {{bind-attr href="config.url_terms"}}>Terms</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
<li {{bind-attr class="view.classProfile :navigation-sub :navigation--profile"}}>
|
<li {{bind-attr class="view.classProfile :navigation-sub :navigation--profile"}}>
|
||||||
<p class="handle navigation-handle">
|
<p class="handle navigation-handle">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user