diff options
| author | Jacob Thornton <[email protected]> | 2012-01-28 00:46:21 -0800 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2012-01-28 00:46:21 -0800 |
| commit | 81c128fd0b15157cc270c4bde33c399d65fe859d (patch) | |
| tree | 55822c47053600a5bc200c5b025f5151fa57e6d2 /docs | |
| parent | 09df780b7512b1e501aeed3ec3463470e33952aa (diff) | |
| parent | f1851ab1338938bf6315e223789e345f20cfb4b1 (diff) | |
| download | bootstrap-81c128fd0b15157cc270c4bde33c399d65fe859d.tar.xz bootstrap-81c128fd0b15157cc270c4bde33c399d65fe859d.zip | |
Merge branch '2.0-wip' of https://github.com/twitter/bootstrap into 2.0-wip
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/assets/css/bootstrap-responsive.css | 10 | ||||
| -rw-r--r-- | docs/assets/css/bootstrap.css | 2 | ||||
| -rw-r--r-- | docs/assets/css/docs.css | 9 | ||||
| -rw-r--r-- | docs/javascript.html | 6 | ||||
| -rw-r--r-- | docs/templates/pages/javascript.mustache | 6 |
5 files changed, 23 insertions, 10 deletions
diff --git a/docs/assets/css/bootstrap-responsive.css b/docs/assets/css/bootstrap-responsive.css index 3936d8c20..e91f25539 100644 --- a/docs/assets/css/bootstrap-responsive.css +++ b/docs/assets/css/bootstrap-responsive.css @@ -24,9 +24,9 @@ } .modal { position: absolute; - top: 20px; - left: 20px; - right: 20px; + top: 10px; + left: 10px; + right: 10px; width: auto; margin: 0; } @@ -35,6 +35,10 @@ } .modal-header .close { padding: 10px; + margin: -10px; + } + .carousel-caption { + position: static; } } @media (max-width: 768px) { diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index cd0d620bf..7a5568041 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -1986,7 +1986,7 @@ table .span12 { .navbar-search .search-query :-moz-placeholder { color: #eeeeee; } -.navbar-search .search-query::-webkit-input-placeholder { +.navbar-search .search-query ::-webkit-input-placeholder { color: #eeeeee; } .navbar-search .search-query:hover { diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index 41029ded1..0b221e3b2 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -723,6 +723,15 @@ form.well { word-wrap: break-word; word-break: break-all; } + + /* Modal example */ + .modal-example .modal { + position: relative; + top: auto; + right: auto; + bottom: auto; + left: auto; + } } diff --git a/docs/javascript.html b/docs/javascript.html index 0bcbe597c..2d31f0aa4 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -193,7 +193,7 @@ <div class="span9 columns"> <h2>Static example</h2> <p>Below is a statically rendered modal.</p> - <div class="well" style="background-color: #888; border: none;"> + <div class="well modal-example" style="background-color: #888; border: none;"> <div class="modal" style="position: relative; top: auto; left: auto; margin: 0 auto; z-index: 1"> <div class="modal-header"> <a href="#" class="close" data-dismiss="modal">×</a> @@ -743,7 +743,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) { <td>number | object</td> <td>0</td> <td> - <p>delay showing/hiding the tooltip (ms)</p> + <p>delay showing and hiding the tooltip (ms)</p> <p>If a number is supplied, delay is applied to both hide/show</p> <p>Object structure is: <code>delay: { show: 500, hide: 100 }</code></p> </td> @@ -855,7 +855,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) { <td>number | object</td> <td>0</td> <td> - <p>delay showing/hiding the popover (ms)</p> + <p>delay showing and hiding the popover (ms)</p> <p>If a number is supplied, delay is applied to both hide/show</p> <p>Object structure is: <code>delay: { show: 500, hide: 100 }</code></p> </td> diff --git a/docs/templates/pages/javascript.mustache b/docs/templates/pages/javascript.mustache index ee70bf21b..01b14b676 100644 --- a/docs/templates/pages/javascript.mustache +++ b/docs/templates/pages/javascript.mustache @@ -128,7 +128,7 @@ <div class="span9 columns"> <h2>{{_i}}Static example{{/i}}</h2> <p>{{_i}}Below is a statically rendered modal.{{/i}}</p> - <div class="well" style="background-color: #888; border: none;"> + <div class="well modal-example" style="background-color: #888; border: none;"> <div class="modal" style="position: relative; top: auto; left: auto; margin: 0 auto; z-index: 1"> <div class="modal-header"> <a href="#" class="close" data-dismiss="modal">×</a> @@ -678,7 +678,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) { <td>{{_i}}number | object{{/i}}</td> <td>0</td> <td> - <p>{{_i}}delay showing/hiding the tooltip (ms){{/i}}</p> + <p>{{_i}}delay showing and hiding the tooltip (ms){{/i}}</p> <p>{{_i}}If a number is supplied, delay is applied to both hide/show{{/i}}</p> <p>{{_i}}Object structure is: <code>delay: { show: 500, hide: 100 }</code>{{/i}}</p> </td> @@ -790,7 +790,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) { <td>{{_i}}number | object{{/i}}</td> <td>0</td> <td> - <p>{{_i}}delay showing/hiding the popover (ms){{/i}}</p> + <p>{{_i}}delay showing and hiding the popover (ms){{/i}}</p> <p>{{_i}}If a number is supplied, delay is applied to both hide/show{{/i}}</p> <p>{{_i}}Object structure is: <code>delay: { show: 500, hide: 100 }</code>{{/i}}</p> </td> |
