UNPKG

@extjs/sencha-cmd-linux-32

Version:

Productivity and performance optimization tool for building applications with Sencha Ext JS and Sencha Touch.

194 lines (177 loc) 5.43 kB
/* * This file defines the core framework "manifest". These are the components and ui's * common to all themes. * * To add more components or ui's to a derived theme, call Ext.theme.addManifest in a * theme-specific file and script tag that file in to that theme's 'theme.html' file. */ Ext.theme.addManifest( { xtype: 'widget.menu', folder: 'menu', stretch: 'bottom', delegate: '.' + Ext.baseCSSPrefix + 'menu-item-link', filename: 'menu-item-active', config: { floating: false, width: 200, items: [ { text: 'test', cls: Ext.baseCSSPrefix + 'menu-item-active' } ] } }, { xtype: 'widget.button', ui: 'default' }, { xtype: 'widget.toolbar', ui: 'default' }, { xtype: 'widget.panel', ui: 'default' }, { xtype: 'widget.header', ui: 'default' }, { xtype: 'widget.window', ui: 'default' }, { xtype: 'widget.tab', ui: 'default' }, { xtype: 'widget.progressbar', ui: 'default' }, { xtype: 'widget.buttongroup', ui: 'default' }, //tips { xtype: 'widget.tooltip', filename: 'tip', ui: 'default' }, { xtype: 'widget.tooltip', ui: 'default', filename: 'form-invalid-tip', config: { baseCls: Ext.baseCSSPrefix + 'form-invalid-tip' } }, /** * Grid column header backgrounds */ { xtype: 'widget.gridcolumn', folder: 'grid', filename: 'column-header', stretch: 'bottom', config: { text: 'test', afterRender: function() { var me = this, el = me.el; el.addCls(Ext.baseCSSPrefix + 'column-header-align-' + me.align).addClsOnOver(me.overCls); el.setStyle({ position: 'relative' }); } } }, { xtype: 'widget.gridcolumn', folder: 'grid', filename: 'column-header-over', stretch: 'bottom', config: { text: 'test', afterRender: function() { var me = this, el = me.el; el.addCls(Ext.baseCSSPrefix + 'column-header-align-' + me.align).addClsOnOver(me.overCls); el.setStyle({ position: 'relative' }); el.addCls(Ext.baseCSSPrefix + 'column-header-over'); } } }, /** * Grid special cell background */ // { // xtype: 'widget.gridpanel', // folder: 'grid', // filename: 'cell-special', // delegate: '.' + Ext.baseCSSPrefix + 'grid-cell-special', // config: { // selModel: Ext.create('Ext.selection.CheckboxModel'), // store: Ext.create('Ext.data.ArrayStore', { // fields: ['text'], // data: [['my text']] // }), // columns: [ // { // text: 'Title', // flex: 1, // dataIndex: 'text' // } // ], // width: 400, // height: 100, // title: 'Panel' // } // }, // { // xtype: 'widget.gridpanel', // folder: 'grid', // filename: 'cell-special-selected', // delegate: '.' + Ext.baseCSSPrefix + 'grid-cell-special', // cls: 'x-grid-row-selected', // config: { // selModel: Ext.create('Ext.selection.CheckboxModel'), // store: Ext.create('Ext.data.ArrayStore', { // fields: ['text'], // data: [['my text']] // }), // columns: [ // { // text: 'Title', // flex: 1, // dataIndex: 'text' // } // ], // width: 400, // height: 100, // title: 'Panel' // } // }, /** * DatePicker */ { xtype: 'widget.datepicker', folder: 'datepicker', filename: 'datepicker-header', stretch: 'bottom', delegate: '.' + Ext.baseCSSPrefix + 'datepicker-header' }, { xtype: 'widget.datepicker', folder: 'datepicker', filename: 'datepicker-footer', stretch: "bottom", delegate: '.' + Ext.baseCSSPrefix + 'datepicker-footer' } );