Commit fbab39da authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Refactor ThumbList styles to separate file.

Instead of .all-demos class, we now have a .thumb-list class which
makes much more sense.  Also the #sample-ct ID has been removed,
as it doesn't make sense to use an ID inside a component that's
used in multiple places.

Finally, don't link the two image files from extjs dir but instead
copy them over to local images/ dir.
parent 07491dfd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ Ext.define('Docs.view.ThumbList', {
    extend: 'Ext.view.View',
    alias: 'widget.thumblist',

    cls: 'demos',
    cls: 'thumb-list',
    itemSelector: 'dl',

    /**
@@ -50,7 +50,7 @@ Ext.define('Docs.view.ThumbList', {

        // Place itemTpl inside main template
        this.tpl = new Ext.XTemplate(Ext.Array.flatten([
            '<div id="sample-ct">',
            '<div>',
                '<tpl for=".">',
                '<div><a name="{id}"></a><h2><div>{title}</div></h2>',
                '<dl>',
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ Ext.define('Docs.view.examples.Index', {
        'Docs.view.ThumbList'
    ],

    cls: 'all-demos iScroll',
    cls: 'iScroll',
    margin: '10 0 0 0',
    autoScroll: true,

+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ Ext.define('Docs.view.guides.Index', {
        'Docs.view.ThumbList'
    ],

    cls: 'all-demos iScroll',
    cls: 'iScroll',
    margin: '10 0 0 0',
    autoScroll: true,

+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ Ext.define('Docs.view.videos.Index', {
        'Docs.view.ThumbList'
    ],

    cls: 'all-demos iScroll',
    cls: 'iScroll',
    margin: '10 0 0 0',
    autoScroll: true,

+955 B
Loading image diff...
Loading