Loading template/app/view/Viewport.js +17 −12 Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ Ext.define('Docs.view.Viewport', { region:'west', width: 240, id: 'west-region-container', padding: '5 0 20 0', padding: '5 0 0 0', layout: 'vbox', defaults: { xtype: 'container', Loading Loading @@ -89,35 +89,40 @@ Ext.define('Docs.view.Viewport', { // margin: '0 10 4 0', plain: true, border: false, bodyPadding: '8 15 8 25', bodyPadding: '8 15 8 12', split: true, listeners: { afterRender: function() { this.tabBar.insert(0, {width: 10, xtype: 'container'}) this.tabBar.insert(0, {width: 7, xtype: 'container'}) } }, items: [ { xtype: 'classgrid', id: 'favorites-grid', title: 'Favorites', store: Ext.getStore('Favorites'), id: 'history-grid', title: 'History', store: Ext.getStore('History'), icons: Docs.icons, listeners: { closeclick: function(cls) { Docs.Favorites.remove(cls); Docs.History.removeClass(cls); } } }, { xtype: 'classgrid', id: 'history-grid', title: 'History', store: Ext.getStore('History'), id: 'favorites-grid', title: 'Favorites', viewConfig: { plugins: { ptype: 'gridviewdragdrop' } }, store: Ext.getStore('Favorites'), icons: Docs.icons, listeners: { closeclick: function(cls) { Docs.History.removeClass(cls); Docs.Favorites.remove(cls); } } } Loading @@ -127,7 +132,7 @@ Ext.define('Docs.view.Viewport', { region: 'center', xtype: 'classtree', padding: '10 10 0 10', margin: '0 5 0 0', margin: '0 5 10 0', root: Docs.classData } ] Loading template/resources/sass/viewport.scss +2 −4 Original line number Diff line number Diff line Loading @@ -206,7 +206,6 @@ a:hover { margin-top: 1px; }} .x-grid-row-over td { background-color: #f0f0f0; } .x-grid-row-selected td img, .x-grid-row-over td img { display: block; } .x-grid-cell-inner { Loading @@ -214,11 +213,10 @@ a:hover { .x-splitter { background: #ccc; border-style: solid; border-color: #aaa; border-color: #bfbfbf; height: 6px !important; background-attachment: fixed; background: #ccc url(../images/drag-bar-center.png) no-repeat center; @include vertical-gradient(#dee0e0, #c8caca); background: #e9e9e9 url(../images/drag-bar-center.png) no-repeat center; border-width: 1px 0; } } #footer { Loading Loading
template/app/view/Viewport.js +17 −12 Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ Ext.define('Docs.view.Viewport', { region:'west', width: 240, id: 'west-region-container', padding: '5 0 20 0', padding: '5 0 0 0', layout: 'vbox', defaults: { xtype: 'container', Loading Loading @@ -89,35 +89,40 @@ Ext.define('Docs.view.Viewport', { // margin: '0 10 4 0', plain: true, border: false, bodyPadding: '8 15 8 25', bodyPadding: '8 15 8 12', split: true, listeners: { afterRender: function() { this.tabBar.insert(0, {width: 10, xtype: 'container'}) this.tabBar.insert(0, {width: 7, xtype: 'container'}) } }, items: [ { xtype: 'classgrid', id: 'favorites-grid', title: 'Favorites', store: Ext.getStore('Favorites'), id: 'history-grid', title: 'History', store: Ext.getStore('History'), icons: Docs.icons, listeners: { closeclick: function(cls) { Docs.Favorites.remove(cls); Docs.History.removeClass(cls); } } }, { xtype: 'classgrid', id: 'history-grid', title: 'History', store: Ext.getStore('History'), id: 'favorites-grid', title: 'Favorites', viewConfig: { plugins: { ptype: 'gridviewdragdrop' } }, store: Ext.getStore('Favorites'), icons: Docs.icons, listeners: { closeclick: function(cls) { Docs.History.removeClass(cls); Docs.Favorites.remove(cls); } } } Loading @@ -127,7 +132,7 @@ Ext.define('Docs.view.Viewport', { region: 'center', xtype: 'classtree', padding: '10 10 0 10', margin: '0 5 0 0', margin: '0 5 10 0', root: Docs.classData } ] Loading
template/resources/sass/viewport.scss +2 −4 Original line number Diff line number Diff line Loading @@ -206,7 +206,6 @@ a:hover { margin-top: 1px; }} .x-grid-row-over td { background-color: #f0f0f0; } .x-grid-row-selected td img, .x-grid-row-over td img { display: block; } .x-grid-cell-inner { Loading @@ -214,11 +213,10 @@ a:hover { .x-splitter { background: #ccc; border-style: solid; border-color: #aaa; border-color: #bfbfbf; height: 6px !important; background-attachment: fixed; background: #ccc url(../images/drag-bar-center.png) no-repeat center; @include vertical-gradient(#dee0e0, #c8caca); background: #e9e9e9 url(../images/drag-bar-center.png) no-repeat center; border-width: 1px 0; } } #footer { Loading