added a table row hover

This commit is contained in:
Andy Miller
2014-09-09 14:03:15 -06:00
parent 34c5bb716b
commit 2a29ac9a60
3 changed files with 19 additions and 8 deletions

View File

@@ -465,13 +465,19 @@ td {
#admin-main td {
border: 0;
border-bottom: 1px solid #e1e1e1; }
#admin-main tr td:first-child {
padding-left: 3rem; }
#admin-main tr td:last-child {
text-align: right;
padding-right: 3rem; }
#admin-main tr:last-child td {
border-bottom: 0; }
#admin-main tr {
-webkit-transition: all 0.2s ease;
-moz-transition: all 0.2s ease;
transition: all 0.2s ease; }
#admin-main tr td:first-child {
padding-left: 3rem; }
#admin-main tr td:last-child {
text-align: right;
padding-right: 3rem; }
#admin-main tr:last-child td {
border-bottom: 0; }
#admin-main tr:hover {
background: #f3f3f3; }
#admin-dashboard:after {
content: "";

File diff suppressed because one or more lines are too long

View File

@@ -203,6 +203,8 @@ $update-height: 3rem;
}
tr {
@include transition(all 0.2s ease);
td {
&:first-child {
@@ -220,6 +222,9 @@ $update-height: 3rem;
border-bottom: 0;
}
}
&:hover {
background: lighten($content-bg,2%);
}
}
}