vendor/assets/stylesheets/twitter/bootstrap/_tables.scss in bootstrap-sass-rails-2.0.0.3 vs vendor/assets/stylesheets/twitter/bootstrap/_tables.scss in bootstrap-sass-rails-2.0.1.0

- old
+ new

@@ -23,19 +23,20 @@ th, td { padding: 8px; line-height: $baseLineHeight; text-align: left; + vertical-align: top; border-top: 1px solid #ddd; } th { font-weight: bold; + } + // Bottom align for column headings + thead th { vertical-align: bottom; } - td { - vertical-align: top; - } // Remove top border from thead by default thead:first-child tr th, thead:first-child tr td { border-top: 0; } @@ -110,9 +111,19 @@ background-color: #f9f9f9; } } } + +// HOVER EFFECT +// ------------ +// Placed here since it has to come after the potential zebra striping +.table { + tbody tr:hover td, + tbody tr:hover th { + background-color: #f5f5f5; + } +} // TABLE CELL SIZING // -----------------