0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

Add .warning to table rows

This commit is contained in:
Andreas Cederström 2012-08-22 11:20:31 +02:00
parent 5d41742f17
commit 361889def9
4 changed files with 33 additions and 2 deletions

View File

@ -2034,6 +2034,10 @@ table .span24 {
background-color: #f2dede;
}
.table tbody tr.warning td {
background-color: #fcf8e3;
}
.table tbody tr.info td {
background-color: #d9edf7;
}

View File

@ -686,6 +686,12 @@ For example, <code><section></code> should be wrapped as inlin
</td>
<td>Indicates a dangerous or potentially negative action.</td>
</tr>
<tr>
<td>
<code>.warning</code>
</td>
<td>Indicates a warning that might need attention.</td>
</tr>
<tr>
<td>
<code>.info</code>
@ -717,12 +723,18 @@ For example, &lt;code&gt;&lt;section&gt;&lt;/code&gt; should be wrapped as inlin
<td>02/04/2012</td>
<td>Declined</td>
</tr>
<tr class="info">
<tr class="warning">
<td>3</td>
<td>TB - Monthly</td>
<td>03/04/2012</td>
<td>Pending</td>
</tr>
<tr class="info">
<td>4</td>
<td>TB - Monthly</td>
<td>04/04/2012</td>
<td>Call in to confirm</td>
</tr>
</tbody>
</table>
</div>

View File

@ -623,6 +623,12 @@
</td>
<td>{{_i}}Indicates a dangerous or potentially negative action.{{/i}}</td>
</tr>
<tr>
<td>
<code>.warning</code>
</td>
<td>{{_i}}Indicates a warning that might need attention.{{/i}}</td>
</tr>
<tr>
<td>
<code>.info</code>
@ -654,12 +660,18 @@
<td>02/04/2012</td>
<td>Declined</td>
</tr>
<tr class="info">
<tr class="warning">
<td>3</td>
<td>TB - Monthly</td>
<td>03/04/2012</td>
<td>Pending</td>
</tr>
<tr class="info">
<td>4</td>
<td>TB - Monthly</td>
<td>04/04/2012</td>
<td>Call in to confirm</td>
</tr>
</tbody>
</table>
</div>{{! /example }}

View File

@ -219,6 +219,9 @@ table {
tbody tr.error td {
background-color: @errorBackground;
}
tbody tr.warning td {
background-color: @warningBackground;
}
tbody tr.info td {
background-color: @infoBackground;
}