Browse files

BUGFIX:SSF-53 - removed hover and active states from unlink button on…

… users groups datagrid
  • Loading branch information...
1 parent de69d09 commit c3a2938a6df81638170ce3d551b31b5de141a143 jbridson committed Mar 8, 2012
Showing with 17 additions and 2 deletions.
  1. +4 −1 css/GridField.css
  2. +13 −1 scss/GridField.scss
View
5 css/GridField.css
@@ -7,7 +7,10 @@
.cms table.ss-gridfield-table thead tr.filter-header .fieldgroup { max-width: 512px; }
.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 button.gridfield-button-delete.ui-state-hover { background: none; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }
+.cms table.ss-gridfield-table tbody td button.gridfield-button-delete.ui-state-active { border: none; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }
+.cms table.ss-gridfield-table tbody td button.gridfield-button-unlink.ui-state-hover { background: none; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }
+.cms table.ss-gridfield-table tbody td button.gridfield-button-unlink.ui-state-active { border: 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
14 scss/GridField.scss
@@ -82,10 +82,22 @@ $gf_grid_x: 16px;
padding: 0;
width: auto;
text-shadow: none;
- &.gridfield-button-delete:hover {
+ &.gridfield-button-delete.ui-state-hover {
background:none;
@include box-shadow-none;
}
+ &.gridfield-button-delete.ui-state-active {
+ border:none;
+ @include box-shadow-none;
+ }
+ &.gridfield-button-unlink.ui-state-hover {
+ background:none;
+ @include box-shadow-none;
+ }
+ &.gridfield-button-unlink.ui-state-active {
+ border:none;
+ @include box-shadow-none;
+ }
}
a.edit-link {
display:inline-block;

0 comments on commit c3a2938

Please sign in to comment.