Skip to content

Instantly share code, notes, and snippets.

@skowron-line
Last active December 24, 2015 03:59
Show Gist options
  • Save skowron-line/6740729 to your computer and use it in GitHub Desktop.
Save skowron-line/6740729 to your computer and use it in GitHub Desktop.
table.css extend version for bootstrap 2.3.2 Example: http://skowronline.pl/table/
/*
http://skowronline.pl/table/
*/
.ordinal {
text-align:right !important;
width: 25px;
padding-left:5px;
}
a.edit-item {
color: #FCCA8B;
}
a.edit-item:hover {
color: #F78A04;
}
a.delete-item {
color: #F7AE9E;
}
a.delete-item:hover {
color: #FC1000;
}
.table tbody td.action {
width: 40px;
}
.table tbody tr.error td {
color: #CC8888;
}
.table tbody tr.info td {
color: #7DC4E8;
}
.table tbody tr.success td {
color: #8DCC63;
}
.table-hover tbody tr:hover td{
color: #000000;
}
.table-hover tbody tr.success:hover td {
background-color: #8DCC63;
color: #5D8E3B;
}
.table-hover tbody tr.info:hover td {
background-color: #7DC4E8;
color: #1785B7;
}
.table-hover tbody tr.alert:hover td{
background-color: #F9ECA7;
color: #C47D0B;
}
.table-hover tbody tr.error:hover td{
background-color: #EAA4A4;
color: #AF4444;
}
.td-right {
text-align: right !important;
}
.td-center {
text-align: center !important;
}
.table tfoot tr:first-child td {
border-top: 2px solid black !important;
}
.table-bordered {
border-collapse: collapse;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment