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

Show private classes in tree using gray font.

parent 4ba0507f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -85,6 +85,7 @@ Ext.define('Docs.view.cls.PackageLogic', {
        text: this.shortName(cls.name),
        url: "/api/"+cls.name,
        iconCls: cls.icon,
        cls: cls["private"] ? "private" : "",
        leaf: true,
        children: []
      };
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ Ext.define('Docs.view.cls.Tree', {
     */

    initComponent: function() {
        var tree = new Docs.view.cls.PackageLogic({classes: this.data});
        var tree = new Docs.view.cls.PackageLogic({classes: this.data, showPrivateClasses: true});
        this.root = tree.create();
        this.callParent();
    }
+7 −6
Original line number Diff line number Diff line
@@ -248,11 +248,6 @@ a {
    background: #e9e9e9 url(../images/drag-bar-center.png) no-repeat center;
    border-width: 1px 0; } }

// Use normal color for class-links in tree
.doc-tree {
  .docClass, .docClass:hover {
    color: #000; } }

#footer {
  background: $docs-bg-color;
  color: gray;
@@ -397,6 +392,7 @@ a {
    float: left;
    font-family: $docs-monospace-font; } }


#treecontainer {
  .x-grid-cell {
    background: none; }
@@ -406,7 +402,12 @@ a {
    position: relative;
    -webkit-transition: background-color 0.15s linear;
    @include icons;
    a { color: #000; } }
    // Use normal color for class-links in tree
    a {
      color: #000; } }
  // Use gray for private classes
  .private .x-grid-cell-inner a {
    color: #666; }
  .x-grid-row-over {
    .x-grid-cell-inner {
      -webkit-transition: background-color 0.15s linear; } }