ENHANCEMENT Making jQuery.layout dimension settings in CMS configurable through CSS, to allow for easy overloading without using the javascript object (e.g. making the sidebar wider in ModelAdmin through ModelAdmin.css)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92765 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2009-11-21 03:17:29 +00:00
parent 3fb7c27ae3
commit 1a5ed26cd5
2 changed files with 20 additions and 4 deletions

View File

@ -57,6 +57,22 @@ body {
overflow: hidden !important; overflow: hidden !important;
} }
.ui-layout-west {
width: 225px;
}
.ui-layout-north {
height: 35px;
}
.ui-layout-south {
height: 23px;
}
.ui-layout-east {
height: 250px;
}
/* /*
* RESIZER-BARS * RESIZER-BARS
*/ */

View File

@ -105,17 +105,17 @@ var ss_MainLayout;
north: { north: {
slidable: false, slidable: false,
resizable: false, resizable: false,
size: 35, size: this.find('.ui-layout-north').height(),
togglerLength_open: 0 togglerLength_open: 0
}, },
south: { south: {
slidable: false, slidable: false,
resizable: false, resizable: false,
size: 23, size: this.find('.ui-layout-south').height(),
togglerLength_open: 0 togglerLength_open: 0
}, },
west: { west: {
size: 225, size: this.find('.ui-layout-west').width(),
fxName: "none" fxName: "none"
}, },
east: { east: {
@ -125,7 +125,7 @@ var ss_MainLayout;
initHidden: true, initHidden: true,
spacing_closed: 0, spacing_closed: 0,
fxName: "none", fxName: "none",
size: 250 size: this.find('.ui-layout-east').width()
}, },
center: {} center: {}
}, savedLayoutSettings); }, savedLayoutSettings);