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
fe58357d
Commit
fe58357d
authored
Dec 07, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #10884: Adds .info variant to contextual table classes
parent
c07632e4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
40 additions
and
1 deletion
+40
-1
css.html
css.html
+20
-0
dist/css/bootstrap.css
dist/css/bootstrap.css
+18
-0
dist/css/bootstrap.min.css
dist/css/bootstrap.min.css
+1
-1
less/tables.less
less/tables.less
+1
-0
No files found.
css.html
View file @
fe58357d
...
@@ -1327,6 +1327,12 @@ For example, <code><section></code> should be wrapped as inline.
...
@@ -1327,6 +1327,12 @@ For example, <code><section></code> should be wrapped as inline.
</td>
</td>
<td>
Indicates a dangerous or potentially negative action
</td>
<td>
Indicates a dangerous or potentially negative action
</td>
</tr>
</tr>
<tr>
<td>
<code>
.info
</code>
</td>
<td>
Indicates a neutral informative change or action
</td>
</tr>
</tbody>
</tbody>
</table>
</table>
</div>
</div>
...
@@ -1383,6 +1389,18 @@ For example, <code><section></code> should be wrapped as inline.
...
@@ -1383,6 +1389,18 @@ For example, <code><section></code> should be wrapped as inline.
<td>
Column content
</td>
<td>
Column content
</td>
<td>
Column content
</td>
<td>
Column content
</td>
</tr>
</tr>
<tr>
<td>
8
</td>
<td>
Column content
</td>
<td>
Column content
</td>
<td>
Column content
</td>
</tr>
<tr
class=
"info"
>
<td>
9
</td>
<td>
Column content
</td>
<td>
Column content
</td>
<td>
Column content
</td>
</tr>
</tbody>
</tbody>
</table>
</table>
</div>
<!-- /example -->
</div>
<!-- /example -->
...
@@ -1392,6 +1410,7 @@ For example, <code><section></code> should be wrapped as inline.
...
@@ -1392,6 +1410,7 @@ For example, <code><section></code> should be wrapped as inline.
<tr
class=
"success"
>
...
</tr>
<tr
class=
"success"
>
...
</tr>
<tr
class=
"warning"
>
...
</tr>
<tr
class=
"warning"
>
...
</tr>
<tr
class=
"danger"
>
...
</tr>
<tr
class=
"danger"
>
...
</tr>
<tr
class=
"info"
>
...
</tr>
<!-- On cells (`td` or `th`) -->
<!-- On cells (`td` or `th`) -->
<tr>
<tr>
...
@@ -1399,6 +1418,7 @@ For example, <code><section></code> should be wrapped as inline.
...
@@ -1399,6 +1418,7 @@ For example, <code><section></code> should be wrapped as inline.
<td
class=
"success"
>
...
</td>
<td
class=
"success"
>
...
</td>
<td
class=
"warning"
>
...
</td>
<td
class=
"warning"
>
...
</td>
<td
class=
"danger"
>
...
</td>
<td
class=
"danger"
>
...
</td>
<td
class=
"info"
>
...
</td>
</tr>
</tr>
{% endhighlight %}
{% endhighlight %}
...
...
dist/css/bootstrap.css
View file @
fe58357d
...
@@ -1803,6 +1803,24 @@ table th[class*="col-"] {
...
@@ -1803,6 +1803,24 @@ table th[class*="col-"] {
background-color
:
#ebcccc
;
background-color
:
#ebcccc
;
}
}
.table
>
thead
>
tr
>
.info
,
.table
>
tbody
>
tr
>
.info
,
.table
>
tfoot
>
tr
>
.info
,
.table
>
thead
>
.info
>
td
,
.table
>
tbody
>
.info
>
td
,
.table
>
tfoot
>
.info
>
td
,
.table
>
thead
>
.info
>
th
,
.table
>
tbody
>
.info
>
th
,
.table
>
tfoot
>
.info
>
th
{
background-color
:
#d9edf7
;
}
.table-hover
>
tbody
>
tr
>
.info
:hover
,
.table-hover
>
tbody
>
.info
:hover
>
td
,
.table-hover
>
tbody
>
.info
:hover
>
th
{
background-color
:
#c4e3f3
;
}
@media
(
max-width
:
767px
)
{
@media
(
max-width
:
767px
)
{
.table-responsive
{
.table-responsive
{
width
:
100%
;
width
:
100%
;
...
...
dist/css/bootstrap.min.css
View file @
fe58357d
This source diff could not be displayed because it is too large. You can
view the blob
instead.
less/tables.less
View file @
fe58357d
...
@@ -158,6 +158,7 @@ table {
...
@@ -158,6 +158,7 @@ table {
.table-row-variant(success; @state-success-bg);
.table-row-variant(success; @state-success-bg);
.table-row-variant(warning; @state-warning-bg);
.table-row-variant(warning; @state-warning-bg);
.table-row-variant(danger; @state-danger-bg);
.table-row-variant(danger; @state-danger-bg);
.table-row-variant(info; @state-info-bg);
// Responsive tables
// Responsive tables
...
...
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