BUGFIX:SSF-25 - fixed styling of model admin filter in ie7 and ie8

This commit is contained in:
jbridson 2012-03-12 14:37:54 +13:00 committed by Ingo Schommer
parent 99e376d0f5
commit b0573155ec
4 changed files with 47 additions and 1 deletions

View File

@ -46,3 +46,9 @@ table.ss-gridfield-table tr.title th h2 { float: left; }
table.ss-gridfield-table tr.ss-gridfield-item.odd { background: white; }
table.ss-gridfield-table tr.ss-gridfield-item.even { background: #F0F4F7; }
.ModelAdmin .cms-content-fields .cms-content-tools .cms-panel-content .cms-search-form { overflow: hidden; }
.ModelAdmin .cms-content-fields .cms-content-tools .cms-panel-content .cms-search-form input { width: 160px; }
.ModelAdmin .cms-content-fields .cms-content-tools .cms-panel-content #Form_ImportForm div.file { margin: 0px; }
.ModelAdmin .cms-content-fields .cms-content-tools .cms-panel-content #Form_ImportForm div.file input.file { margin-left: -132px; }
.ModelAdmin .cms-content-fields .cms-content-tools .cms-panel-content #Form_ImportForm div.checkbox { padding: 0px; }

View File

@ -26,3 +26,7 @@
.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; }
.ModelAdmin .cms-content-fields .cms-content-tools .cms-panel-content #Form_ImportForm div.file { margin: 0px; }
.ModelAdmin .cms-content-fields .cms-content-tools .cms-panel-content #Form_ImportForm div.file input.file { margin-left: -132px; }
.ModelAdmin .cms-content-fields .cms-content-tools .cms-panel-content #Form_ImportForm div.checkbox { padding: 0px; }

View File

@ -168,4 +168,25 @@ table.ss-gridfield-table tr {
&.ss-gridfield-item.even {
background: #F0F4F7;
}
}
}
//fix for model admin filter styling
.ModelAdmin .cms-content-fields .cms-content-tools .cms-panel-content {
.cms-search-form {
overflow:hidden;
input {
width:160px;
}
}
#Form_ImportForm {
div.file {
margin:0px;
input.file {
margin-left: -132px; //hides unnecessary text input field
}
}
div.checkbox {
padding:0px; //stops clear database text from overflowing onto two lines.
}
}
}

View File

@ -89,3 +89,18 @@
}
}
}
//fix for model admin filter styling
.ModelAdmin .cms-content-fields .cms-content-tools .cms-panel-content {
#Form_ImportForm {
div.file {
margin:0px;
input.file {
margin-left: -132px; //hides unnecessary text input field
}
}
div.checkbox {
padding:0px; //stops clear database text from overflowing onto two lines.
}
}
}