diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index ed47cebd50acd59267abe0e63c707c0932f63d7e..416ee8766fffb31c46fc5a462f1001846d64a7c8 100644 Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 0b622d7d4f677dac5d7e2c1f8db08a57d3a64dde..144783be445889934a730f529629db468877a0ad 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -374,8 +374,7 @@ ol { li { line-height: 18px; } -ul.unstyled, -ol.unstyled { +ul.unstyled, ol.unstyled { margin-left: 0; list-style: none; } @@ -499,6 +498,10 @@ pre code { background-color: transparent; border: 0; } +.pre-scrollable { + max-height: 340px; + overflow-y: scroll; +} form { margin: 0 0 18px; } @@ -1004,14 +1007,14 @@ table { padding: 8px; line-height: 18px; text-align: left; + vertical-align: top; border-top: 1px solid #ddd; } .table th { font-weight: bold; - vertical-align: bottom; } -.table td { - vertical-align: top; +.table thead th { + vertical-align: bottom; } .table thead:first-child tr th, .table thead:first-child tr td { border-top: 0; diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index c3a6848d748e4bc71e4a5fb043ff935ed9d39a98..4cdbb0c7c61322bdbb8746722ad9acf9e08213ad 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -481,9 +481,6 @@ hr.soften { /* Misc -------------------------------------------------- */ -pre.prettyprint { - overflow: hidden; -} .browser-support { max-width: 100%; diff --git a/docs/base-css.html b/docs/base-css.html index 3317f9321d047d195288809c5752c74ed56cdf4a..ac260bffb0f39a48a3300eec979bffaa49403263 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -385,6 +385,7 @@ For example, <code>section</code> should be wrapped as inline. </pre> </pre> <p><strong>Note:</strong> Be sure to keep code within <code><pre></code> tags as close to the left as possible; it will render all tabs.</p> + <p>You may optionally add the <code>.pre-scrollable</code> class which will set a max-height of 350px and provide a y-axis scrollbar.</p> </div><!--/span--> <div class="span4"> <h2>Google Prettify</h2> diff --git a/docs/templates/pages/base-css.mustache b/docs/templates/pages/base-css.mustache index 8fe3443a60ba75552cd97e81bb3f9aee3a6b7657..0be4c1e342babdf533733aa9329deb38a61c2dde 100644 --- a/docs/templates/pages/base-css.mustache +++ b/docs/templates/pages/base-css.mustache @@ -309,6 +309,7 @@ </pre> </pre> <p>{{_i}}<strong>Note:</strong> Be sure to keep code within <code><pre></code> tags as close to the left as possible; it will render all tabs.{{/i}}</p> + <p>{{_i}}You may optionally add the <code>.pre-scrollable</code> class which will set a max-height of 350px and provide a y-axis scrollbar.{{/i}}</p> </div><!--/span--> <div class="span4"> <h2>Google Prettify</h2> diff --git a/docs/upgrading.html b/docs/upgrading.html index 47cac06dcc84c9afada0d6c8d30a06313b5b514d..5ab8a39ba1129fd2767f51ed1bc34b7e697139ab 100644 --- a/docs/upgrading.html +++ b/docs/upgrading.html @@ -248,6 +248,13 @@ <div class="alert alert-info"> <strong>Heads up!</strong> We're rewritten just about everything for our plugins, so head on over to <a href="./javascript.html">the Javascript page</a> to learn more. </div> + <h3>Tooltips</h3> + <ul> + <li>The plugin method has been renamed from <code>twipsy()</code> to <code>tooltip()</code>, and the class name changed from <code>twipsy</code> to <code>tooltip</code>.</li> + <li>The <code>placement</code> option value that was <code>below</code> is now <code>bottom</code>, and <code>above</code> is now <code>top</code>.</li> + <li>The <code>animate</code> option was renamed to <code>animation</code>.</li> + <li>The <code>html</code> option was removed, as the tooltips default to allowing HTML now.</li> + </ul> <h3>Popovers</h3> <ul> <li>Child elements now properly namespaced: <code>.title</code> to <code>.popover-title</code>, <code>.inner</code> to <code>.popover-inner</code>, and <code>.content</code> to <code>.popover-content</code>.</li> diff --git a/less/code.less b/less/code.less index e75cfa00d68ed124b1b69a585af8bfbaf2fc79f7..35a8ae6b825ca25a27a107d65e033f322e69eb55 100644 --- a/less/code.less +++ b/less/code.less @@ -11,12 +11,16 @@ pre { color: @grayDark; .border-radius(3px); } + +// Inline code code { padding: 3px 4px; color: #d14; background-color: #f7f7f9; border: 1px solid #e1e1e8; } + +// Blocks of code pre { display: block; padding: (@baseLineHeight - 1) / 2; @@ -44,3 +48,9 @@ pre { border: 0; } } + +// Enable scrollable blocks of code +.pre-scrollable { + max-height: 340px; + overflow-y: scroll; +} \ No newline at end of file diff --git a/less/tables.less b/less/tables.less index cbc013aca73a014c133615087cc02475792d4a33..3a4066d71518cac75779250626d5ddf4ad25a48a 100644 --- a/less/tables.less +++ b/less/tables.less @@ -25,14 +25,15 @@ table { padding: 8px; line-height: @baseLineHeight; text-align: left; + vertical-align: top; border-top: 1px solid #ddd; } th { font-weight: bold; - vertical-align: bottom; } - td { - vertical-align: top; + // Bottom align for column headings + thead th { + vertical-align: bottom; } // Remove top border from thead by default thead:first-child tr th,