BUGFIX:SSF-106 - removed border that appeared after click in ie7 and ie8

This commit is contained in:
jbridson 2012-03-09 16:45:16 +13:00 committed by Ingo Schommer
parent 4bea5949d1
commit 97386413d6
4 changed files with 19 additions and 4 deletions

View File

@ -31,9 +31,9 @@ html { overflow: hidden; }
.cms table.ss-gridfield-table tr th.extra { border-top: 1px solid #9a9a9a; padding-right: 12px; } .cms table.ss-gridfield-table tr th.extra { border-top: 1px solid #9a9a9a; padding-right: 12px; }
.cms table.ss-gridfield-table td:first-child, .cms table.ss-gridfield-table th:first-child { border-left: 1px solid #9a9a9a; } .cms table.ss-gridfield-table td:first-child, .cms table.ss-gridfield-table th:first-child { border-left: 1px solid #9a9a9a; }
.cms .ss-gridfield table.ss-gridfield-table tbody td button { width: 40px; } .cms .ss-gridfield table.ss-gridfield-table tbody td button { width: 40px; border: 0; background: none; }
.cms .ss-gridfield table.ss-gridfield-table tbody td button.gridfield-button-delete { display: block; float: left; } .cms .ss-gridfield table.ss-gridfield-table tbody td button.gridfield-button-delete { display: block; float: left; }
.cms .ss-gridfield table.ss-gridfield-table tbody td button.gridfield-button-unlink.ui-state-hover { display: block; float: left; } .cms .ss-gridfield table.ss-gridfield-table tbody td button.gridfield-button-unlink { display: block; float: left; }
.cms .ss-gridfield table.ss-gridfield-table tbody td a.edit-link { display: block; float: left; } .cms .ss-gridfield table.ss-gridfield-table tbody td a.edit-link { display: block; float: left; }
.cms .cms-content .cms-content-fields .aligned_right_label { margin-left: 0; } .cms .cms-content .cms-content-fields .aligned_right_label { margin-left: 0; }

View File

@ -24,3 +24,5 @@
.cms table.ss-gridfield-table td:first-child, .cms table.ss-gridfield-table th:first-child { border-left: 1px solid #9a9a9a; } .cms table.ss-gridfield-table td:first-child, .cms table.ss-gridfield-table th:first-child { border-left: 1px solid #9a9a9a; }
.cms .cms-content .cms-content-fields .aligned_right_label { margin-left: 0; } .cms .cms-content .cms-content-fields .aligned_right_label { margin-left: 0; }
.cms .ss-gridfield table.ss-gridfield-table tbody td button { border: 0; background: none; }

View File

@ -104,17 +104,19 @@ html {
} }
} }
//fix for edit and delete icons in IE7 //fix for edit and delete icons
.cms .ss-gridfield table.ss-gridfield-table tbody { .cms .ss-gridfield table.ss-gridfield-table tbody {
td { td {
button { button {
width:40px; width:40px;
border:0;
background:none;
&.gridfield-button-delete { &.gridfield-button-delete {
display:block; display:block;
float:left; float:left;
} }
&.gridfield-button-unlink.ui-state-hover { &.gridfield-button-unlink {
display:block; display:block;
float:left; float:left;
} }

View File

@ -78,3 +78,14 @@
.cms .cms-content .cms-content-fields .aligned_right_label { .cms .cms-content .cms-content-fields .aligned_right_label {
margin-left:0; margin-left:0;
} }
//fix for edit and delete icons - border appears on click.
.cms .ss-gridfield table.ss-gridfield-table tbody {
td {
button {
border:0;
background:none;
}
}
}