mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-07-13 23:53:11 +02:00
added a table row hover
This commit is contained in:
@@ -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
@@ -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%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user