aboutsummaryrefslogtreecommitdiff
path: root/assets/css/docs.css
diff options
context:
space:
mode:
authorfat <[email protected]>2013-07-26 22:25:11 -0700
committerfat <[email protected]>2013-07-26 22:25:11 -0700
commit7b9a949a1887a2da291347a66f3c6ae132b24d29 (patch)
treed4a52f1de84cfd6e259397a4730043b4a43155c6 /assets/css/docs.css
parentcfa4ab90f3d8de9dd419a6b30f0ba57c9b9ba518 (diff)
parent88dd20e6ac7df964837960fe6b7df68b698d3644 (diff)
downloadbootstrap-7b9a949a1887a2da291347a66f3c6ae132b24d29.tar.xz
bootstrap-7b9a949a1887a2da291347a66f3c6ae132b24d29.zip
Merge branch '3.0.0-wip' of github.com:twitter/bootstrap into 3.0.0-wip
Diffstat (limited to 'assets/css/docs.css')
-rw-r--r--assets/css/docs.css41
1 files changed, 36 insertions, 5 deletions
diff --git a/assets/css/docs.css b/assets/css/docs.css
index 8783e8149..84cd80150 100644
--- a/assets/css/docs.css
+++ b/assets/css/docs.css
@@ -418,9 +418,6 @@ body {
.bs-example-control-sizing input[type="text"] + input[type="text"] {
margin-top: 10px;
}
-.bs-example-form {
- overflow: hidden;
-}
.bs-example-form .input-group {
margin-bottom: 10px;
}
@@ -431,6 +428,9 @@ body {
}
/* Navbar examples */
+.bs-example .navbar:last-child {
+ margin-bottom: 0;
+}
.bs-navbar-top-example,
.bs-navbar-bottom-example {
z-index: 1;
@@ -457,7 +457,7 @@ body {
}
.bs-navbar-top-example:after {
top: auto;
- bottom: -1px;
+ bottom: 15px;
-webkit-border-radius: 0 4px 0 4px;
-moz-border-radius: 0 4px 0 4px;
border-radius: 0 4px 0 4px;
@@ -545,6 +545,37 @@ body {
/* Responsive docs
-------------------------------------------------- */
+/* Responsive (scrollable) doc tables */
+@media (max-width: 768px) {
+ .bs-table-scrollable {
+ width: 100%;
+ margin-bottom: 15px;
+ overflow-y: hidden;
+ overflow-x: scroll;
+ border: 1px solid #ddd;
+ }
+ .bs-table-scrollable .table {
+ margin-bottom: 0;
+ border: 0;
+ }
+ .bs-table-scrollable .table th,
+ .bs-table-scrollable .table td {
+ white-space: nowrap;
+ }
+ .bs-table-scrollable .table th:first-child,
+ .bs-table-scrollable .table td:first-child {
+ border-left: 0;
+ }
+ .bs-table-scrollable .table th:last-child,
+ .bs-table-scrollable .table td:last-child {
+ border-right: 0;
+ }
+ .bs-table-scrollable .table tr:last-child th,
+ .bs-table-scrollable .table tr:last-child td {
+ border-bottom: 0;
+ }
+}
+
/* Related: responsive utilities tables */
.table code {
font-size: 13px;
@@ -578,7 +609,7 @@ body {
------------------------- */
.responsive-utilities-test {
margin-top: 5px;
- margin-left: 0;
+ padding-left: 0;
list-style: none;
overflow: hidden; /* clear floats */
}