Commit f4f02805 authored by Nick Poulden's avatar Nick Poulden
Browse files

Top 100 style fixes

parent 71cf3011
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -94,7 +94,7 @@ Ext.define('Docs.controller.Classes', {
            },
            'classgrid': {
                classselect: function(cls) {
                    this.loadClass(cls);
                    this.showPage(cls);
                }
            },

+13 −2
Original line number Diff line number Diff line
@@ -41,13 +41,24 @@ Ext.define('Docs.view.ClassGrid', {
                width: 18,
                dataIndex: 'cls',
                renderer: function(cls, data) {
                    if (cls.match(/^[a-z_]+$/)) {
                        data.tdCls = 'icon-guide';
                    } else {
                        data.tdCls = this.icons[cls];
                    }
                },
                scope: this
            },
            {
                dataIndex: 'cls',
                flex: true
                flex: true,
                renderer: function(cls, data) {
                    if (cls.match(/^[a-z_]+$/)) {
                        return Ext.Array.map(cls.split('_'), function(s) { return Ext.String.capitalize(s) }).join(" ");
                    } else {
                        return cls;
                    }
                }
            }
        ];

+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@
    background: url(../images/icons.png) no-repeat -3px -111px !important; }
  .icon-component {
    background: url(../images/icons.png) no-repeat -3px -137px !important; }
  .icon-book {
  .icon-guide {
    background: url(../images/icons.png) no-repeat -3px -5px !important; }
  .icon-event {
    background: url(../images/icons.png) no-repeat -3px -245px !important; }