diff --git a/docs/javascript.html b/docs/javascript.html
index a132a40118..fb854d2814 100644
--- a/docs/javascript.html
+++ b/docs/javascript.html
@@ -284,7 +284,7 @@
Call the modal via javascript:
$('#myModal').modal(options)
Options
-
+
Name |
@@ -349,7 +349,7 @@ $('#myModal').modal({
$('#myModal').modal('hide')
Events
Bootstrap's modal class exposes a few events for hooking into modal functionality.
-
+
Event |
@@ -666,7 +666,7 @@ $('#myModal').on('hidden', function () {
</script>
Events
-
+
Event |
@@ -719,7 +719,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
Trigger the tooltip via javascript:
$('#example').tooltip(options)
Options
-
+
Name |
@@ -813,7 +813,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
Enable popovers via javascript:
$('#example').popover(options)
Options
-
+
Name |
@@ -933,7 +933,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
$(".alert-message").alert('close')
Events
Bootstrap's alert class exposes a few events for hooking into alert functionality.
-
+
Event |
@@ -976,7 +976,7 @@ $('#my-alert').bind('closed', function () {
Example uses
Use the buttons plugin for states and toggles.
-
+
Stateful |
@@ -1125,7 +1125,7 @@ $('#my-alert').bind('closed', function () {
Enable via javascript:
$(".collapse").collapse()
Options
-
+
Name |
@@ -1175,7 +1175,7 @@ $('#myCollapsible').collapse({
Bootstrap's collapse class exposes a few events for hooking into collapse functionality.
-
+
Event |
@@ -1261,7 +1261,7 @@ $('#myCollapsible').on('hidden', function () {
Call via javascript:
$('.carousel').carousel()
Options
-
+
Name |
@@ -1310,7 +1310,7 @@ $('.myCarousel').carousel({
Cycles to the next item.
Events
Bootstrap's modal class exposes a few events for hooking into modal functionality.
-
+
Event |
@@ -1358,7 +1358,7 @@ $('.myCarousel').carousel({
Call the typeahead via javascript:
$('.typeahead').typeahead()
Options
-
+
Name |
diff --git a/docs/less.html b/docs/less.html
index 6e43d95bd1..09ff3e8e10 100644
--- a/docs/less.html
+++ b/docs/less.html
@@ -160,7 +160,7 @@
Hyperlinks
-
+
Variable |
@@ -185,7 +185,7 @@
Grayscale colors
-
+
@black |
@@ -216,7 +216,7 @@
Accent colors
-
+
@blue |
@@ -254,7 +254,7 @@
Grid system
-
+
@gridColumns |
@@ -277,7 +277,7 @@
Typography
-
+
@baseFontSize |
@@ -302,7 +302,7 @@
Visuals
-
+
@primaryButtonColor |
@@ -453,7 +453,7 @@
Compiling Less
After modifying the .less files in /lib/, you'll need to recompile them in order to regenerate the bootstrap-*.*.*.css and bootstrap-*.*.*.min.css files. If you're submitting a pull request to GitHub, you must always recompile.
Ways to compile
-
+
Method |
diff --git a/docs/scaffolding.html b/docs/scaffolding.html
index 77b94d8ce3..f068c837c7 100644
--- a/docs/scaffolding.html
+++ b/docs/scaffolding.html
@@ -223,7 +223,7 @@
Grid customization
-
+
Variable |
@@ -335,7 +335,7 @@
Supported devices
Bootstrap supports a handful of media queries to help make your projects more appropriate on different devices and screen resolutions. Here's what's included:
-
+
Label |
diff --git a/lib/tables.less b/lib/tables.less
index 1edd9e3b80..29e1e2d465 100644
--- a/lib/tables.less
+++ b/lib/tables.less
@@ -4,39 +4,38 @@
// ----------------------------------------
-
// BASELINE STYLES
// ---------------
-table {
+.table {
width: 100%;
margin-bottom: @baseLineHeight;
-}
-th,
-td {
- padding: 8px;
- line-height: @baseLineHeight;
- text-align: left;
- border-top: 1px solid #ddd;
-}
-th {
- font-weight: bold;
- vertical-align: bottom;
-}
-td {
- vertical-align: top;
+ // Cells
+ th,
+ td {
+ padding: 8px;
+ line-height: @baseLineHeight;
+ text-align: left;
+ border-top: 1px solid #ddd;
+ }
+ th {
+ font-weight: bold;
+ vertical-align: bottom;
+ }
+ td {
+ vertical-align: top;
+ }
+ // Remove top border from thead by default
+ thead:first-child tr th,
+ thead:first-child tr td {
+ border-top: 0;
+ }
+ // Account for multiple tbody instances
+ tbody + tbody {
+ border-top: 2px solid #ddd;
+ }
}
-// Remove top border from thead by default
-thead:first-child tr th,
-thead:first-child tr td {
- border-top: 0;
-}
-
-// Account for multiple tbody instances
-tbody + tbody {
- border-top: 2px solid #ddd;
-}
// CONDENSED TABLE W/ HALF PADDING
|