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

[WIP] table styling #130

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
tables: contextual and strip gh-130
  • Loading branch information
subaha committed Oct 18, 2015
commit cd563ea007b901e02e490125a8c7a90b9a7e997d
30 changes: 27 additions & 3 deletions scss/atoms/_tables.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// ==========================================================================
// Typography
// ==========================================================================
/*
* ==========================================================================
* Typography
* ==========================================================================
*/

table {
width: 100%;
Expand Down Expand Up @@ -31,6 +33,28 @@ th {
white-space: nowrap;
}

table {
.active {
background-color: #f5f5f5;
}
.success {
background-color: #dff0d8;
}
.warning {
background-color: #fcf8e3;
}
.danger {
background-color: #f2dede;
}
.info {
background-color: #d9edf7;
}
}

.striped-table>tbody>tr:nth-of-type(odd), {
background-color: #f2f2f2;
}

.table--responsive {
position: relative;
z-index: 1;
Expand Down