Skip to content

Commit

Permalink
.bs-docs-top to .bs-top
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed May 9, 2013
1 parent e5e5f66 commit 3c3e56c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/_layouts/customize.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{{ content }}

<!-- Quick back to top -->
<a href="#welcome" class="bs-docs-top">
<a href="#welcome" class="bs-top">
Back to top
</a>

Expand Down
2 changes: 1 addition & 1 deletion docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ <h1>{{ page.title }}</h1>
</div>

<!-- Quick back to top -->
<a href="#welcome" class="bs-docs-top">
<a href="#welcome" class="bs-top">
Back to top
</a>

Expand Down
6 changes: 3 additions & 3 deletions docs/assets/css/docs.css
Original file line number Diff line number Diff line change
Expand Up @@ -649,20 +649,20 @@ input.focused {
}

/* Back to top link */
.bs-docs-top {
.bs-top {
float: left;
padding: 7px 15px;
font-weight: 500;
color: #999;
background-color: #eee;
border-radius: 4px;
}
.bs-docs-top:hover {
.bs-top:hover {
color: #fff;
text-decoration: none;
background-color: #999;
}
.bs-docs-top.affix {
.bs-top.affix {
position: fixed;
right: 15px;
bottom: 15px;
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
}, 100)

setTimeout(function () {
$('.bs-docs-top').affix()
$('.bs-top').affix()
}, 100)

// make code pretty
Expand Down

0 comments on commit 3c3e56c

Please sign in to comment.