Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
361889de
Commit
361889de
authored
Aug 22, 2012
by
Andreas Cederström
Browse files
Options
Browse Files
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
with
33 additions
and
2 deletions
+33
-2
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+4
-0
docs/base-css.html
docs/base-css.html
+13
-1
docs/templates/pages/base-css.mustache
docs/templates/pages/base-css.mustache
+13
-1
less/tables.less
less/tables.less
+3
-0
No files found.
docs/assets/css/bootstrap.css
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
;
}
...
...
docs/base-css.html
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>
...
...
docs/templates/pages/base-css.mustache
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 }}
...
...
less/tables.less
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;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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