mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-20 17:54:23 +01:00
Prevent grids from collapsing, fix affixed side nav for docs
This commit is contained in:
parent
a7a06a05a4
commit
beb2c13f4d
1
docs/assets/css/bootstrap.css
vendored
1
docs/assets/css/bootstrap.css
vendored
@ -719,6 +719,7 @@ pre code {
|
|||||||
}
|
}
|
||||||
|
|
||||||
[class^="span"] {
|
[class^="span"] {
|
||||||
|
min-height: 1px;
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
-webkit-box-sizing: border-box;
|
-webkit-box-sizing: border-box;
|
||||||
|
@ -157,6 +157,39 @@ section > ul li {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* Sidenav
|
||||||
|
-------------------------------------------------- */
|
||||||
|
|
||||||
|
.bs-docs-sidenav {
|
||||||
|
width: 218px;
|
||||||
|
margin: 20px 0 0;
|
||||||
|
}
|
||||||
|
/* Chevrons */
|
||||||
|
.bs-docs-sidenav .glyphicon-chevron-right {
|
||||||
|
float: right;
|
||||||
|
margin-top: 1px;
|
||||||
|
margin-right: -6px;
|
||||||
|
opacity: .25;
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
.bs-docs-sidenav a:hover .glyphicon-chevron-right {
|
||||||
|
opacity: .5;
|
||||||
|
}
|
||||||
|
.bs-docs-sidenav .active .glyphicon-chevron-right,
|
||||||
|
.bs-docs-sidenav .active a:hover .glyphicon-chevron-right {
|
||||||
|
color: #fff;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
.bs-docs-sidenav.affix {
|
||||||
|
top: 10px;
|
||||||
|
}
|
||||||
|
.bs-docs-sidenav.affix-bottom {
|
||||||
|
position: absolute;
|
||||||
|
top: auto;
|
||||||
|
bottom: 270px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Bootstrap code examples
|
/* Bootstrap code examples
|
||||||
-------------------------------------------------- */
|
-------------------------------------------------- */
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
.clear_float();
|
.clear_float();
|
||||||
}
|
}
|
||||||
[class^="span"] {
|
[class^="span"] {
|
||||||
|
min-height: 1px;
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
// Proper box-model (padding doesn't add to width)
|
// Proper box-model (padding doesn't add to width)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user