Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
361889de
Commit
361889de
authored
12 years ago
by
Andreas Cederström
Browse files
Options
Download
Email Patches
Plain Diff
Add .warning to table rows
parent
5d41742f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
docs/assets/css/bootstrap.css
+4
-0
docs/assets/css/bootstrap.css
docs/base-css.html
+13
-1
docs/base-css.html
docs/templates/pages/base-css.mustache
+13
-1
docs/templates/pages/base-css.mustache
less/tables.less
+3
-0
less/tables.less
with
33 additions
and
2 deletions
+33
-2
docs/assets/css/bootstrap.css
+
4
-
0
View file @
361889de
...
...
@@ -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
;
}
...
...
This diff is collapsed.
Click to expand it.
docs/base-css.html
+
13
-
1
View file @
361889de
...
...
@@ -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, <code><section></code> 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>
...
...
This diff is collapsed.
Click to expand it.
docs/templates/pages/base-css.mustache
+
13
-
1
View file @
361889de
...
...
@@ -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 }}
...
...
This diff is collapsed.
Click to expand it.
less/tables.less
+
3
-
0
View file @
361889de
...
...
@@ -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;
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment