Smooth table hover transition

This commit is contained in:
Sahat Yalkabov
2013-12-07 18:58:01 -05:00
parent 44c90b7156
commit b6e1943571
3 changed files with 9 additions and 1 deletions

View File

@ -119,6 +119,7 @@ th {
.table-hover > tbody > tr:hover { .table-hover > tbody > tr:hover {
> td, > td,
> th { > th {
background-color: @table-bg-hover; background-color: @table-bg-hover;
} }
} }

View File

@ -544,6 +544,13 @@ span {
vertical-align: middle; vertical-align: middle;
} }
.table-hover > tbody > tr:hover {
> td,
> th {
transition: 0.3s all;
}
}
// Datatables ================================================================ // Datatables ================================================================
// Search field // Search field

View File

@ -17,7 +17,7 @@ block content
img(src='/img/hacker_news.png', width=50, height=50) img(src='/img/hacker_news.png', width=50, height=50)
span Hacker News Frontpage span Hacker News Frontpage
table.table.table-condensed table.table.table-condensed.table-hover
thead thead
tr tr
th № th №