mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-23 09:41:11 +00:00
.bs-docs-top to .bs-top
This commit is contained in:
parent
e5e5f6616c
commit
3c3e56ca50
@ -15,7 +15,7 @@
|
|||||||
{{ content }}
|
{{ content }}
|
||||||
|
|
||||||
<!-- Quick back to top -->
|
<!-- Quick back to top -->
|
||||||
<a href="#welcome" class="bs-docs-top">
|
<a href="#welcome" class="bs-top">
|
||||||
Back to top
|
Back to top
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Quick back to top -->
|
<!-- Quick back to top -->
|
||||||
<a href="#welcome" class="bs-docs-top">
|
<a href="#welcome" class="bs-top">
|
||||||
Back to top
|
Back to top
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
@ -649,7 +649,7 @@ input.focused {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Back to top link */
|
/* Back to top link */
|
||||||
.bs-docs-top {
|
.bs-top {
|
||||||
float: left;
|
float: left;
|
||||||
padding: 7px 15px;
|
padding: 7px 15px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
@ -657,12 +657,12 @@ input.focused {
|
|||||||
background-color: #eee;
|
background-color: #eee;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
.bs-docs-top:hover {
|
.bs-top:hover {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
background-color: #999;
|
background-color: #999;
|
||||||
}
|
}
|
||||||
.bs-docs-top.affix {
|
.bs-top.affix {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
right: 15px;
|
right: 15px;
|
||||||
bottom: 15px;
|
bottom: 15px;
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
}, 100)
|
}, 100)
|
||||||
|
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
$('.bs-docs-top').affix()
|
$('.bs-top').affix()
|
||||||
}, 100)
|
}, 100)
|
||||||
|
|
||||||
// make code pretty
|
// make code pretty
|
||||||
|
Loading…
x
Reference in New Issue
Block a user