mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00:00
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:
parent
3fb7c27ae3
commit
1a5ed26cd5
@ -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
|
||||||
*/
|
*/
|
||||||
|
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user