Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

BUGFIX:SSF-30 - removed weird hover from delete button.

  • Loading branch information...
commit 2106aeb242f00b5cd1690607922e420b7f6e51c4 1 parent 8690e53
jbridson authored
Showing with 5 additions and 0 deletions.
  1. +1 −0  css/GridField.css
  2. +4 −0 scss/GridField.scss
View
1  css/GridField.css
@@ -6,6 +6,7 @@
.cms table.ss-gridfield-table thead { color: #1d2224; background: transparent; }
.cms table.ss-gridfield-table tbody { background: #FFF; }
.cms table.ss-gridfield-table tbody td button { border: none; background: none; margin: 0 0 0 2px; padding: 0; width: auto; text-shadow: none; }
+.cms table.ss-gridfield-table tbody td button.gridfield-button-delete:hover { background: none; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }
.cms table.ss-gridfield-table tbody td a.edit-link { display: inline-block; width: 20px; height: 20px; text-indent: -9999em; background: url(../images/icons/document--pencil.png) no-repeat 0 1px; }
.cms table.ss-gridfield-table tfoot { color: #1d2224; }
.cms table.ss-gridfield-table tfoot tr td { background: #95a5ab; padding: .7em; border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
View
4 scss/GridField.scss
@@ -77,6 +77,10 @@ $gf_grid_x: 16px;
padding: 0;
width: auto;
text-shadow: none;
+ &.gridfield-button-delete:hover {
+ background:none;
+ @include box-shadow-none;
+ }
}
a.edit-link {
display:inline-block;
Please sign in to comment.
Something went wrong with that request. Please try again.