/** * @class Ext.dataview.List */ .x-list { .x-listitem-disclosure { position: relative; overflow: visible; background: $base-color; border: 0; @include border-radius($list-disclosure-size); width: $list-disclosure-size; height: $list-disclosure-size; margin: 9px 9px 0 0; &:before { @include absolute-position(0, 0, 0, 0); content: '4'; // TODO: Use FontAwesome font-family: 'Pictos'; color: $background-color; font-size: 20px; text-align: center; line-height: 30px; padding-left: 2px; } } &.x-indexed-vertical .x-listitem-disclosure { margin-right: 1.8em; } .x-listitem.x-selected .x-listitem-disclosure { background: $background-color none; &:before { color: $base-color; } } .x-listitem { color: $primary-text-color; font-size: 12pt; &.x-pressed { &.x-simplelistitem, .x-dock-horizontal { background-color: $base-color; } } &.x-selected .x-dock-horizontal, &.x-selected.x-simplelistitem { background-color: $base-color; } &.x-pressed, &.x-selected { border-color: $base-color !important; } .x-listitem-body { padding: 12px 5px; } } .x-itemheader { color: $secondary-text-color; font-size: 12pt; font-weight: bold; text-transform: uppercase; background: transparent; border: 0; padding: 15px 5px 5px; @include box-shadow(0 1px 0 darken($background-color, 6)); &.x-first { padding-top: 5px; } } .x-listitem { &.x-simplelistitem, .x-dock-horizontal { border-top: 1px solid darken($background-color, 3); } &.x-simplelistitem.x-group-last, &.x-group-last .x-dock-horizontal { border-bottom: 1px solid darken($background-color, 3); } }} .x-list .x-list-item.x-odd { &.x-simplelistitem, .x-dock-horizontal { background-color: darken($background-color, 3); }} // IndexBar .x-indexbar { padding: 4px 0; color: $secondary-text-color; background: rgba($foreground-color, .2);}