Skip to content

Commit

Permalink
Keep master branch for rc-tutorials-without-header
Browse files Browse the repository at this point in the history
  • Loading branch information
agongdai committed Aug 3, 2015
1 parent 8db9150 commit 4df2217
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 82 deletions.
Binary file removed source/images/logo-no-header.png
Binary file not shown.
Binary file modified source/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion source/javascripts/lib/_jquery.tocify.js
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,8 @@

}).append($("<a/>", {

"text": self.text()
"text": self.text(),
"title": self.text()

}));

Expand Down
11 changes: 1 addition & 10 deletions source/layouts/layout.erb
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,8 @@ under the License.
<%= image_tag('navbar.png') %>
</span>
</a>
<div class="rc-dpw-nav">
<div class="logo"><%= image_tag "logo.png" %></div>
<ul class="menus">
<li><a href="">OVERVIEW</a></li>
<li class="active"><a class="menu-link" href="">API & DOCS</a></li>
<li><a href="">SUPPORT & FAQS</a></li>
<li><a href="">APP GALLERY</a></li>
<li><a href="">BLOG</a></li>
</ul>
</div>
<div class="tocify-wrapper">
<%= image_tag "logo.png" %>
<% if language_tabs %>
<div class="lang-selector">
<% language_tabs.each do |lang| %>
Expand Down
72 changes: 1 addition & 71 deletions source/stylesheets/screen.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ html, body {
line-height: 1.7;
text-decoration: none;
color: #585858;
white-space: normal;
}
}

Expand Down Expand Up @@ -647,74 +648,3 @@ html, body {
margin-top: $main-padding;
}
}

.rc-dpw-nav {
position: fixed;
top: 0;
height: 125px;
width: 86%;
background-color: white;
z-index: 100;
.logo {
line-height: 62px;
height: 62px;
border-bottom: 1px solid #dcdcdc;
}
.menus {
line-height: 62px;
height: 62px;
border-bottom: 1px solid #dcdcdc;
margin: 0;
padding: 0;
overflow: hidden;
li {
font-size: 1.2em;
display: inline-block;
margin: 0;
padding: 0;
margin-left: 20px;
a {
color: #585858;
text-decoration: none;
}
}
li.active .menu-link {
color: #0073ae;
font-weight: bold;
}
li.active .menu-link:before, li.active .menu-link:after {
bottom: -1px;
left: 165px;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
}
li.active .menu-link:before {
border-color: rgba(194,225,245,0);
border-bottom-color: #cdcdcd;
border-width: 8px;
margin-left: -8px;
}
li.active .menu-link:after {
border-color: rgba(136,183,213,0);
border-bottom-color: #f9f9f9;
border-width: 7px;
margin-left: -7px;
}
}
}

.tocify-wrapper {
top: 125px;
}

.page-wrapper {
padding-top: 125px;
}

.page-wrapper .lang-selector {
top: 125px;
}

0 comments on commit 4df2217

Please sign in to comment.