Commit 605b6f59 authored by Nick Poulden's avatar Nick Poulden
Browse files

Various redesign enhancements

parent 4e70719c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -27,8 +27,8 @@ Ext.define('Docs.view.Tabs', {
        this.html = tpl.applyTemplate([
            { cls: 'home',   href: '#' },
            { cls: 'api',    href: '#/api' },
            { cls: 'videos', href: '#/videos' },
            { cls: 'guides', href: '#/guide' },
            { cls: 'videos', href: '#/videos' },
            { cls: 'themes', href: '#/examples' }
        ]);

+2 −0
Original line number Diff line number Diff line
@@ -15,6 +15,8 @@ Ext.define('Docs.view.cls.Container', {
        align: 'stretch'
    },

    padding: '5 10',

    initComponent: function() {
        this.items = [
            Ext.create('Docs.view.cls.Header'),
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ Ext.define('Docs.view.cls.Header', {
    padding: '10 0 17 0',
    // Initially the component will be empty and so the initial height
    // will not be correct if not set explicitly
    height: 50,
    height: 55,
    alias: 'widget.classheader',

    initComponent: function() {
+2 −1
Original line number Diff line number Diff line
@@ -6,10 +6,11 @@ Ext.define('Docs.view.cls.Index', {
    extend: 'Ext.container.Container',
    alias : 'widget.classindex',
    cls: 'class-list iScroll',
    margin: '15',

    initComponent: function() {
        this.tpl = new Ext.XTemplate(
            // '<h1 class="top">{title}</h1>',
            '<h1 class="top" style="padding-bottom: 10px">{title}</h1>',
            '<tpl if="notice">',
                '<div class="notice">{notice}</div>',
            '</tpl>',
+2 −1
Original line number Diff line number Diff line
@@ -15,7 +15,8 @@ Ext.define('Docs.view.cls.Overview', {

    cls: 'class-overview iScroll',
    autoScroll: true,
    bodyPadding: '20',
    border: false,
    bodyPadding: '20 0',

    initComponent: function() {
        this.addEvents(
Loading