diff options
| author | Mark Otto <[email protected]> | 2013-03-01 00:18:10 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-03-01 00:18:10 -0800 |
| commit | 492c249537d7cdce6148ac8a1c056c4d89451fb2 (patch) | |
| tree | 36c60b125e21fa1ac70c432f0327b209b637069f /docs | |
| parent | 2e3ba4afe633eb9ea820f1b506e4e3840e2e2ecc (diff) | |
| download | bootstrap-492c249537d7cdce6148ac8a1c056c4d89451fb2.tar.xz bootstrap-492c249537d7cdce6148ac8a1c056c4d89451fb2.zip | |
improve navbar toggle and hide code snippets on mobile devices for now
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/assets/css/bootstrap.css | 6 | ||||
| -rw-r--r-- | docs/assets/css/docs.css | 10 | ||||
| -rw-r--r-- | docs/css.html | 2 |
3 files changed, 16 insertions, 2 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 25878bcbb..3d6d8bf38 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -3217,7 +3217,7 @@ button.close { display: block; width: 22px; height: 2px; - background-color: #fff; + background-color: #ccc; border-radius: 1px; } @@ -3331,6 +3331,10 @@ button.close { background-color: #333; } +.navbar-inverse .navbar-toggle .icon-bar { + background-color: #fff; +} + .navbar-inverse .nav > .divider { background-color: #151515; border-bottom-color: #2f2f2f; diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index baf022d03..196cacb0f 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -592,6 +592,16 @@ input.focused { /* Responsive variations -------------------------------------------------- */ +/* Hide code snippets on mobile devices */ +@media screen and (max-width: 480px) { + .bs-docs-example { + border-radius: 4px; + } + .highlight { + display: none; + } +} + /* Tablets and up */ @media screen and (min-width: 768px) { diff --git a/docs/css.html b/docs/css.html index dd7654ad1..69b132ce0 100644 --- a/docs/css.html +++ b/docs/css.html @@ -2228,7 +2228,7 @@ For example, <code><section></code> should be wrapped as inline. </div> <p class="lead">For faster mobile-friendly development, use these utility classes for showing and hiding content by device via media query.</p> - <table class="table table-bordered table-striped responsive-utilities"> + <table class="table table-bordered table-striped responsive-utilities hidden-phone"> <thead> <tr> <th>Class</th> |
