Skip to content

Commit

Permalink
Fix padding & add hover effect
Browse files Browse the repository at this point in the history
  • Loading branch information
axllent committed Jul 5, 2017
1 parent b2fcbbc commit 448bc3e
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions css/tiled-gridfield.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,22 @@
min-width: 60px;
min-height: 60px;
}

.ss-tiled-gridfield tbody.ss-gridfield-items td {
border-top: none!important;
}
.ss-tiled-gridfield tbody.ss-gridfield-items td.grid-field__col-compact .grid-field__icon-action:hover {
background: transparent;
}
.ss-tiled-gridfield tbody.ss-gridfield-items td.grid-field__col-compact {
position: absolute;
top: 0;
right: 0;
top: 2px;
right: 2px;
padding: 0;
margin: 0;
width: auto;
display: none;
opacity: 0;
border: none;
transition: opacity 1s;
}
.ss-tiled-gridfield tbody.ss-gridfield-items td.grid-field__col-compact a {
display: none;
Expand All @@ -32,5 +38,8 @@
height: 20px;
}
.ss-tiled-gridfield tbody.ss-gridfield-items tr:hover td.grid-field__col-compact {
display: block;
opacity: 0.5;
}
.ss-tiled-gridfield tbody.ss-gridfield-items tr:hover td.grid-field__col-compact:hover {
opacity: 1;
}

0 comments on commit 448bc3e

Please sign in to comment.