BUGFIX:fixed issues with overflow on model and security admin - made changes more specific.

This commit is contained in:
jbridson 2012-03-13 10:54:57 +13:00 committed by Ingo Schommer
parent 3d26cb7bf9
commit 7ff273263a
3 changed files with 33 additions and 12 deletions

View File

@ -668,9 +668,14 @@ li.class-ErrorPage > a .jstree-pageicon { background-position: 0 -112px; }
.cms-menu-list.collapsed li .text, .cms-menu-list.collapsed li .toggle-children { display: none; }
.cms-menu-list.collapsed li > li { display: none; }
.ModelAdmin .cms-content-fields { overflow: hidden; }
.ModelAdmin .cms-content-fields .cms-edit-form { overflow-y: auto; }
.ModelAdmin .cms-content-fields .cms-content-tools .cms-panel-content .cms-search-form .resetformaction { margin-right: 0px; }
.ModelAdmin .cms-content-fields .cms-content-tools .cms-panel-content .cms-search-form .resetformaction span { padding-left: 0px; }
.ModelAdmin .cms-content-fields .cms-content-tools .cms-panel-content #Form_ImportForm { overflow: hidden; }
.SecurityAdmin .cms-edit-form .cms-content-header h2 { display: none; }
.SecurityAdmin .permissioncheckboxset .optionset li, .SecurityAdmin .permissioncheckboxsetfield_readonly .optionset li { float: none; width: auto; }
.cms .cms-content .SecurityAdmin .cms-content-fields { overflow-y: auto; }
.cms .cms-content .SecurityAdmin .cms-content-fields .aligned-right-label { margin-left: 184px; padding: 8px 0; }

View File

@ -1,13 +1,19 @@
.ModelAdmin .cms-content-fields .cms-content-tools .cms-panel-content {
.cms-search-form {
.resetformaction {
margin-right:0px;
span {
padding-left:0px;
.ModelAdmin .cms-content-fields {
overflow:hidden; //removes scrolling from filter panel
.cms-edit-form {
overflow-y:auto; //adds scrolling only to the datagrid
}
.cms-content-tools .cms-panel-content {
.cms-search-form {
.resetformaction {
margin-right:0px;
span {
padding-left:0px;
}
}
}
}
#Form_ImportForm {
overflow:hidden;
}
}
#Form_ImportForm {
overflow:hidden;
}
}
}

View File

@ -12,4 +12,14 @@
}
}
}
}
}
.cms .cms-content .SecurityAdmin { //datagrid overflow on Security Admin
.cms-content-fields {
overflow-y:auto;
.aligned-right-label { //align the label with the parent group field in add new group
margin-left:$grid-x*23;
padding:$grid-x 0;
}
}
}