Project

General

Profile

Bug #24328 » 16731_v3.patch

Administrator Admin, 2010-12-27 18:09

View differences:

typo3/js/extjs/viewport.js (revision )
NavigationContainer: null,
/**
* Dummy panel, shown when no NavigationContainer is in use
*
* @var Ext.Panel
*/
NavigationDummy: null,
/**
* The iframe navigation component
*
* @var TYPO3.iframePanel
......
this.ContentContainer = Ext.getCmp('typo3-contentContainer');
this.NavigationContainer = Ext.getCmp('typo3-navigationContainer');
this.NavigationDummy = Ext.getCmp('typo3-navigationDummy');
this.NavigationIframe = Ext.getCmp('typo3-navigationIframe');
this.Topbar = Ext.getCmp('typo3-topbar');
this.ModuleMenuContainer = Ext.getCmp('typo3-module-menu');
typo3/js/modulemenu.js (revision )
var mod = record.name;
if (record.navigationComponentId) {
this.loadNavigationComponent(record.navigationComponentId);
TYPO3.Backend.NavigationDummy.hide();
TYPO3.Backend.NavigationIframe.getEl().parent().setStyle('overflow', 'auto');
} else if (record.navframe) {
TYPO3.Backend.NavigationDummy.hide();
TYPO3.Backend.NavigationContainer.show();
this.loadNavigationComponent('typo3-navigationIframe');
this.openInNavFrame(record.navframe);
TYPO3.Backend.NavigationIframe.getEl().parent().setStyle('overflow', 'hidden');
} else {
TYPO3.Backend.NavigationContainer.hide();
TYPO3.Backend.NavigationDummy.show();
}
this.openInContentFrame(record.originalLink, params);
this.loadedModule = mod;
typo3/js/extjs/viewportConfiguration.js (revision )
id: 'typo3-viewport',
renderTo: Ext.getBody(),
border: false,
items: [{
items: [
{
layout: 'absolute',
region: 'north',
id: 'typo3-topbar',
height: 42,
contentEl: 'typo3-top-container',
border: false
layout: 'absolute',
region: 'north',
id: 'typo3-topbar',
height: 42,
contentEl: 'typo3-top-container',
border: false
}, {
},
{
layout: 'fit',
region: 'west',
id: 'typo3-module-menu',
collapsible: false,
collapseMode: null,
floatable: true,
hideCollapseTool: true,
split: true,
border: false,
autoScroll: true
layout: 'fit',
region: 'west',
id: 'typo3-module-menu',
collapsible: false,
collapseMode: null,
floatable: true,
hideCollapseTool: true,
split: true,
border: false,
autoScroll: true
}, {
},
{
region: 'center',
layout: 'border',
border: false,
region: 'center',
layout: 'border',
border: false,
items: [{
items: [
{
region: 'west',
layout: 'fit',
id: 'typo3-navigationContainer',
width: 300,
minWidth: 20,
floatable: true,
animCollapse: false,
split: true,
collapsible: true,
collapseMode: 'mini',
hideCollapseTool: true,
hidden: true,
border: false,
name: 'navigation',
autoScroll: true,
region: 'west',
layout: 'fit',
id: 'typo3-navigationContainer',
width: 300,
minWidth: 20,
floatable: true,
animCollapse: false,
split: true,
collapsible: true,
collapseMode: 'mini',
hideCollapseTool: true,
hidden: true,
border: false,
name: 'navigation',
autoScroll: true,
items: [{
items: [
{
id: 'typo3-navigationIframe',
border: false,
hidden: true,
xtype: 'iframePanel'
id: 'typo3-navigationIframe',
border: false,
hidden: true,
xtype: 'iframePanel'
}]
}, {
}
]
},
{
region: 'center',
region: 'center',
layout: 'border',
items: [
{
id: 'typo3-navigationDummy',
region: 'west',
layout: 'fit',
layout: 'fit',
border: false,
hidden: true,
floatable: true,
xtime: 'iframePanel',
width: 5
},
{
id: 'typo3-contentContainer',
id: 'typo3-contentContainer',
region: 'center',
anchor: '100% 100%',
border: false,
xtype: 'iframePanel',
name: 'content'
anchor: '100% 100%',
border: false,
xtype: 'iframePanel',
name: 'content'
}]
}, {
}
]
},
{
region: 'south',
xtype: 'typo3DebugPanel',
collapsible: true,
collapseMode: 'mini',
collapsed: true,
hideCollapseTool: true,
animCollapse: false,
split: true,
autoScroll: true,
hidden: true,
height: 200,
id: 'typo3-debug-console',
border: false
region: 'south',
xtype: 'typo3DebugPanel',
collapsible: true,
collapseMode: 'mini',
collapsed: true,
hideCollapseTool: true,
animCollapse: false,
split: true,
autoScroll: true,
hidden: true,
height: 200,
id: 'typo3-debug-console',
border: false
}]
}
]
}
]
};
typo3/sysext/t3skin/extjs/xtheme-t3skin.css (revision )
display: block;
}
#typo3-module-menu-xcollapsed:hover .x-layout-mini-west,
#typo3-navigationContainer-xcollapsed:hover .x-layout-mini-west {
#typo3-module-menu-xcollapsed:hover .x-layout-mini-west {
left: 5px;
}
/* Collapsed tree frame is not invisible, but 5px wide */
#typo3-navigationContainer-xcollapsed {
/* Collapsed tree frame is not invisible, but 5px wide.
If no tree frame is in use, an empty container is shown instead */
#typo3-navigationContainer-xcollapsed,
#typo3-navigationDummy {
background-color: #ebebeb;
-moz-box-shadow: inset -2px 0 1px rgba(0, 0, 0, 0.15),
inset 0 22px #585858,
inset 0 49px #dadada;
inset 0 22px #585858;
-ms-box-shadow: inset -2px 0 1px rgba(0, 0, 0, 0.15),
inset 0 22px #585858,
inset 0 49px #dadada;
inset 0 22px #585858;
-webkit-box-shadow: inset -2px 0 1px rgba(0, 0, 0, 0.15),
inset 0 22px #585858,
inset 0 49px #dadada;
inset 0 22px #585858;
box-shadow: inset -2px 0 1px rgba(0, 0, 0, 0.15),
inset 0 22px #585858,
inset 0 49px #dadada;
inset 0 22px #585858;
overflow: visible;
width: 5px;
}
/**
* Shadow on the right side of the tree frame,
* fallback for missing box-shadow support.
*
* @see modernizr.js
*/
.no-boxshadow #typo3-navigationContainer-xcollapsed,
.no-boxshadow #typo3-navigationDummy {
background-image: url("data:image/png;base64,R0lGODlhAgABAIAAAMjIyLOzsyH5BAAAAAAALAAAAAACAAEAAAICRAoAOw==");
/* star-hack targets IE6+7 */
*background-image: url("../images/backgrounds/module-menu-right.png");
background-position: right;
background-repeat: repeat-y;
}
#typo3-navigationContainer-xcollapsed {
width: 10px !important;
}
#typo3-navigationContainer-xcollapsed:hover .x-layout-mini-west {
left: 10px;
}
/**
* this is our invisible wrapper around the collapse button,
* which enables us to have kind of invisible splitbar
*/
(5-5/5)