Skip to content
This repository was archived by the owner on Dec 11, 2021. It is now read-only.

Commit cd563ea

Browse files
committed
tables: contextual and strip gh-130
1 parent 42ad76e commit cd563ea

File tree

1 file changed

+27
-3
lines changed

1 file changed

+27
-3
lines changed

scss/atoms/_tables.scss

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
// ==========================================================================
2-
// Typography
3-
// ==========================================================================
1+
/*
2+
* ==========================================================================
3+
* Typography
4+
* ==========================================================================
5+
*/
46

57
table {
68
width: 100%;
@@ -31,6 +33,28 @@ th {
3133
white-space: nowrap;
3234
}
3335

36+
table {
37+
.active {
38+
background-color: #f5f5f5;
39+
}
40+
.success {
41+
background-color: #dff0d8;
42+
}
43+
.warning {
44+
background-color: #fcf8e3;
45+
}
46+
.danger {
47+
background-color: #f2dede;
48+
}
49+
.info {
50+
background-color: #d9edf7;
51+
}
52+
}
53+
54+
.striped-table>tbody>tr:nth-of-type(odd), {
55+
background-color: #f2f2f2;
56+
}
57+
3458
.table--responsive {
3559
position: relative;
3660
z-index: 1;

0 commit comments

Comments
 (0)