aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-01-14 21:28:47 -0800
committerMark Otto <[email protected]>2012-01-14 21:28:47 -0800
commitdab6d2b17cc2fd67c2462b5a5eb84eb58d9c72bc (patch)
tree87961fa11d60108e2ce868276c5347b2fca8984d /lib
parent6d916763f82be8c2d4f87842275170c12bea72ec (diff)
downloadbootstrap-dab6d2b17cc2fd67c2462b5a5eb84eb58d9c72bc.tar.xz
bootstrap-dab6d2b17cc2fd67c2462b5a5eb84eb58d9c72bc.zip
change up classes on tables and forms, fix nav list styles in example
Diffstat (limited to 'lib')
-rw-r--r--lib/forms.less12
-rw-r--r--lib/responsive.less8
-rw-r--r--lib/tables.less6
3 files changed, 13 insertions, 13 deletions
diff --git a/lib/forms.less b/lib/forms.less
index ed97d8dd0..04e684c99 100644
--- a/lib/forms.less
+++ b/lib/forms.less
@@ -441,9 +441,9 @@ input::-webkit-input-placeholder {
// Common properties
// -----------------
-.search-form,
-.inline-form,
-.horizontal-form {
+.form-search,
+.form-inline,
+.form-horizontal {
input,
textarea,
select,
@@ -452,8 +452,8 @@ input::-webkit-input-placeholder {
margin-bottom: 0;
}
}
-.search-form label,
-.inline-form label {
+.form-search label,
+.form-inline label {
display: inline-block;
}
@@ -469,7 +469,7 @@ input::-webkit-input-placeholder {
// Horizontal-specific styles
// --------------------------
-.horizontal-form {
+.form-horizontal {
// Float the labels left
.control-group > label {
float: left;
diff --git a/lib/responsive.less b/lib/responsive.less
index 5131aa625..f5c23df3c 100644
--- a/lib/responsive.less
+++ b/lib/responsive.less
@@ -76,22 +76,22 @@
}
// Remove the horizontal form styles
- .horizontal-form .control-group > label {
+ .form-horizontal .control-group > label {
float: none;
width: auto;
padding-top: 0;
text-align: left;
}
// Move over all input controls and content
- .horizontal-form .controls {
+ .form-horizontal .controls {
margin-left: 0;
}
// Move the options list down to align with labels
- .horizontal-form .control-list {
+ .form-horizontal .control-list {
padding-top: 0; // has to be padding because margin collaspes
}
// Move over buttons in .form-actions to align with .controls
- .horizontal-form .form-actions {
+ .form-horizontal .form-actions {
padding-left: 0;
}
diff --git a/lib/tables.less b/lib/tables.less
index 1d044ec7c..5b803b3df 100644
--- a/lib/tables.less
+++ b/lib/tables.less
@@ -42,7 +42,7 @@ tbody + tbody {
// CONDENSED TABLE W/ HALF PADDING
// -------------------------------
-.condensed-table {
+.table-condensed {
th,
td {
padding: 4px 5px;
@@ -53,7 +53,7 @@ tbody + tbody {
// BORDERED VERSION
// ----------------
-.bordered-table {
+.table-bordered {
border: 1px solid #ddd;
border-collapse: separate; // Done so we can round those corners!
.border-radius(4px);
@@ -94,7 +94,7 @@ tbody + tbody {
// --------------
// Default zebra-stripe styles (alternating gray and transparent backgrounds)
-.striped-table {
+.table-striped {
tbody {
tr:nth-child(odd) td,
tr:nth-child(odd) th {