added ability to give rows in tables status classes .success .error and .info.

This commit is contained in:
Gavin Cooper (work)
2012-07-04 12:22:34 +01:00
parent fb29075926
commit b4125748b0
6 changed files with 201 additions and 1 deletions

View File

@@ -15,6 +15,7 @@
.clearfix:before,
.clearfix:after {
display: table;
line-height: 0;
content: "";
}
@@ -94,6 +95,7 @@
.row:before,
.row:after {
display: table;
line-height: 0;
content: "";
}
.row:after {
@@ -187,6 +189,7 @@
.row-fluid:before,
.row-fluid:after {
display: table;
line-height: 0;
content: "";
}
.row-fluid:after {
@@ -434,6 +437,7 @@
.row:before,
.row:after {
display: table;
line-height: 0;
content: "";
}
.row:after {
@@ -527,6 +531,7 @@
.row-fluid:before,
.row-fluid:after {
display: table;
line-height: 0;
content: "";
}
.row-fluid:after {

View File

@@ -130,6 +130,7 @@ textarea {
.clearfix:before,
.clearfix:after {
display: table;
line-height: 0;
content: "";
}
@@ -181,6 +182,7 @@ a:hover {
.row:before,
.row:after {
display: table;
line-height: 0;
content: "";
}
@@ -303,6 +305,7 @@ a:hover {
.row-fluid:before,
.row-fluid:after {
display: table;
line-height: 0;
content: "";
}
@@ -515,6 +518,7 @@ a:hover {
.container:before,
.container:after {
display: table;
line-height: 0;
content: "";
}
@@ -531,6 +535,7 @@ a:hover {
.container-fluid:before,
.container-fluid:after {
display: table;
line-height: 0;
content: "";
}
@@ -1331,6 +1336,7 @@ select:focus:required:invalid:focus {
.form-actions:before,
.form-actions:after {
display: table;
line-height: 0;
content: "";
}
@@ -1600,6 +1606,7 @@ legend + .control-group {
.form-horizontal .control-group:before,
.form-horizontal .control-group:after {
display: table;
line-height: 0;
content: "";
}
@@ -1676,6 +1683,18 @@ table {
border-top: 2px solid #dddddd;
}
.table .success td {
background-color: #dff0d8;
}
.table .error td {
background-color: #f2dede;
}
.table .info td {
background-color: #d9edf7;
}
.table-condensed th,
.table-condensed td {
padding: 4px 5px;
@@ -3468,6 +3487,7 @@ input[type="submit"].btn.btn-mini {
.nav-tabs:after,
.nav-pills:after {
display: table;
line-height: 0;
content: "";
}
@@ -3641,6 +3661,7 @@ input[type="submit"].btn.btn-mini {
.tabbable:before,
.tabbable:after {
display: table;
line-height: 0;
content: "";
}
@@ -3845,6 +3866,7 @@ input[type="submit"].btn.btn-mini {
.navbar-form:before,
.navbar-form:after {
display: table;
line-height: 0;
content: "";
}
@@ -4373,6 +4395,7 @@ input[type="submit"].btn.btn-mini {
.pager:before,
.pager:after {
display: table;
line-height: 0;
content: "";
}
@@ -4522,6 +4545,7 @@ input[type="submit"].btn.btn-mini {
.modal-footer:before,
.modal-footer:after {
display: table;
line-height: 0;
content: "";
}
@@ -4814,6 +4838,7 @@ input[type="submit"].btn.btn-mini {
.thumbnails:before,
.thumbnails:after {
display: table;
line-height: 0;
content: "";
}

File diff suppressed because one or more lines are too long