diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index 177e2487c8..0196c64481 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -149,6 +149,9 @@ section > ul li { background-color: #eee; border: 1px solid #ddd; } +.show-grid [class*="span"]:hover { + background-color: #ddd; +} @@ -522,4 +525,4 @@ input.focused { .bs-docs-sidenav { width: 260px; } -} \ No newline at end of file +} diff --git a/docs/assets/js/application.js b/docs/assets/js/application.js index 4fd6d36170..f880bc05d5 100644 --- a/docs/assets/js/application.js +++ b/docs/assets/js/application.js @@ -34,12 +34,12 @@ }) // add tipsies to grid for scaffolding - // if ($('#gridSystem').length) { - // $('#gridSystem').tooltip({ - // selector: '.show-grid > div:not(.tooltip)' - // , title: function () { return $(this).width() + 'px' } - // }) - // } + if ($('#gridSystem').length) { + $('#gridSystem').tooltip({ + selector: '.show-grid > [class*="span"]' + , title: function () { return $(this).width() + 'px' } + }) + } // tooltip demo $('.tooltip-demo').tooltip({ diff --git a/docs/base-css.html b/docs/base-css.html index 904c8dc633..9e0a3c1ec2 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -1535,7 +1535,7 @@ For example, <code><section></code> should be wrapped
End a form with a group of actions (buttons). When placed within a .form-horizontal
, the buttons will automatically indent to line up with the form controls.
End a form with a group of actions (buttons). When placed within a .form-actions
, the buttons will automatically indent to line up with the form controls.