From 70fa8ef4b04eeacc64d25477f4c5391b9385d4fb Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 26 Jul 2013 21:28:44 -0700 Subject: Responsivey docs table for grid section --- assets/css/docs.css | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'assets/css/docs.css') diff --git a/assets/css/docs.css b/assets/css/docs.css index 8783e8149..307e8d07e 100644 --- a/assets/css/docs.css +++ b/assets/css/docs.css @@ -545,6 +545,36 @@ body { /* Responsive docs -------------------------------------------------- */ +/* Responsive (scrollable) doc tables */ +@media (max-width: 768px) { + .bs-table-scrollable { + width: 100%; + overflow-y: hidden; + overflow-x: scroll; + border: 1px solid #ddd; + } + .bs-table-scrollable .bs-table { + margin-bottom: 0; + border: 0; + } + .bs-table-scrollable .bs-table th, + .bs-table-scrollable .bs-table td { + white-space: nowrap; + } + .bs-table-scrollable .bs-table th:first-child, + .bs-table-scrollable .bs-table td:first-child { + border-left: 0; + } + .bs-table-scrollable .bs-table th:last-child, + .bs-table-scrollable .bs-table td:last-child { + border-right: 0; + } + .bs-table-scrollable .bs-table tr:last-child th, + .bs-table-scrollable .bs-table tr:last-child td { + border-bottom: 0; + } +} + /* Related: responsive utilities tables */ .table code { font-size: 13px; -- cgit v1.2.3 From 2967cc1d60a6b557395549511368aceb18c7b139 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 26 Jul 2013 21:35:56 -0700 Subject: mo tables mo responsive or whatever the hell that means --- assets/css/docs.css | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'assets/css/docs.css') diff --git a/assets/css/docs.css b/assets/css/docs.css index 307e8d07e..8843d2480 100644 --- a/assets/css/docs.css +++ b/assets/css/docs.css @@ -549,28 +549,29 @@ body { @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 .bs-table { + .bs-table-scrollable .table { margin-bottom: 0; border: 0; } - .bs-table-scrollable .bs-table th, - .bs-table-scrollable .bs-table td { + .bs-table-scrollable .table th, + .bs-table-scrollable .table td { white-space: nowrap; } - .bs-table-scrollable .bs-table th:first-child, - .bs-table-scrollable .bs-table td:first-child { + .bs-table-scrollable .table th:first-child, + .bs-table-scrollable .table td:first-child { border-left: 0; } - .bs-table-scrollable .bs-table th:last-child, - .bs-table-scrollable .bs-table td:last-child { + .bs-table-scrollable .table th:last-child, + .bs-table-scrollable .table td:last-child { border-right: 0; } - .bs-table-scrollable .bs-table tr:last-child th, - .bs-table-scrollable .bs-table tr:last-child td { + .bs-table-scrollable .table tr:last-child th, + .bs-table-scrollable .table tr:last-child td { border-bottom: 0; } } @@ -608,7 +609,7 @@ body { ------------------------- */ .responsive-utilities-test { margin-top: 5px; - margin-left: 0; + padding-left: 0; list-style: none; overflow: hidden; /* clear floats */ } -- cgit v1.2.3 From 44a4e7121534a4aeb74ac260e17ee536457449f9 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 26 Jul 2013 22:03:52 -0700 Subject: Fix clipped dropdowns in input groups section of docs --- assets/css/docs.css | 3 --- 1 file changed, 3 deletions(-) (limited to 'assets/css/docs.css') diff --git a/assets/css/docs.css b/assets/css/docs.css index 8843d2480..243c922f1 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; } -- cgit v1.2.3 From 4e2774091658c20fb0077f59f104a08144b2f8e3 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 26 Jul 2013 22:09:05 -0700 Subject: Fix broke ass navbar example docs stuff --- assets/css/docs.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'assets/css/docs.css') diff --git a/assets/css/docs.css b/assets/css/docs.css index 243c922f1..84cd80150 100644 --- a/assets/css/docs.css +++ b/assets/css/docs.css @@ -428,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; @@ -454,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; -- cgit v1.2.3