diff --git a/css/GridField.css b/css/GridField.css index 59fd5efe8..39b7fec00 100644 --- a/css/GridField.css +++ b/css/GridField.css @@ -8,8 +8,8 @@ .cms table.ss-gridfield-table tbody td { /* Emulate a link by default */ } .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.ui-state-hover { background: none; border: none; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; } -.cms table.ss-gridfield-table tbody td button span.ui-button-text { text-indent: -9999em; background: url(../images/icons/decline.png) no-repeat 0px 6px; } -.cms table.ss-gridfield-table tbody td a.edit-link { display: inline-block; height: 20px; width: 20px; text-indent: -9999em; background: url(../images/icons/document--pencil.png) no-repeat 0 0; } +.cms table.ss-gridfield-table tbody td button span.ui-button-text { text-indent: -9999em; background: url(../images/icons/decline.png) no-repeat 0 2px; padding: 0; width: 20px; height: 20px; } +.cms table.ss-gridfield-table tbody td a.edit-link { display: inline-block; height: 20px; width: 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); } .cms table.ss-gridfield-table tr.title { -moz-border-radius-topleft: 7px; -webkit-border-top-left-radius: 7px; -o-border-top-left-radius: 7px; -ms-border-top-left-radius: 7px; -khtml-border-top-left-radius: 7px; border-top-left-radius: 7px; -moz-border-radius-topright: 7px; -webkit-border-top-right-radius: 7px; -o-border-top-right-radius: 7px; -ms-border-top-right-radius: 7px; -khtml-border-top-right-radius: 7px; border-top-right-radius: 7px; } diff --git a/scss/GridField.scss b/scss/GridField.scss index f63a98f5a..613031ec0 100644 --- a/scss/GridField.scss +++ b/scss/GridField.scss @@ -80,7 +80,10 @@ $gf_grid_x: 16px; } span.ui-button-text { text-indent:-9999em; - background: url(../images/icons/decline.png) no-repeat 0px 6px; + background: url(../images/icons/decline.png) no-repeat 0 2px; + padding:0; + width:20px; + height:20px; } } a.edit-link { @@ -88,7 +91,7 @@ $gf_grid_x: 16px; height:20px; width:20px; text-indent:-9999em; - background: url(../images/icons/document--pencil.png) no-repeat 0 0; + background: url(../images/icons/document--pencil.png) no-repeat 0 1px; } } }