// Base Sencha Touch stylesheets

$base-color: #444;
$active-color: #111;

$list-bg-color: #161616;
$list-color: #ccc;
$list-pressed-color: darken($active-color, 50%) !default;

$legend-background-color: #111;
$legend-border-color: #000;

@import 'sencha-touch/default/all';

@include sencha-panel;
@include sencha-buttons;
/*@include sencha-sheet;*/
/*@include sencha-picker;*/
@include sencha-tabs;
@include sencha-toolbar;
@include sencha-toolbar-forms;
/*@include sencha-carousel;*/
/*@include sencha-indexbar;*/
@include sencha-list;
/*@include sencha-list-paging;*/
/*@include sencha-list-pullrefresh;*/
@include sencha-layout;
@include sencha-form;
@include sencha-msgbox;
@include sencha-loading-spinner;

// @import Touch charts

@import 'touch-charts';

// Some custom styles

.x-nested-list.x-docked-left {
    border-right: 1px solid #000;
}

.x-list .x-list-item.x-item-selected {
    font-weight: bold;
}

.yearlabel {
    font-size: 24px;
    font-weight: light;
    color: #ddd;
    padding: 12px;
}

.x-toolbar-dark .x-title {
    font-family: Orbitron, Helvetica, sans-serif;
    font-weight: 600 !important;
    @include text-shadow(#999 0 0 3px);
    text-transform: uppercase;
    font-size: 1em;
    line-height: 2.8em;
    color: rgba(#fff, .9);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.launchscreen > .x-inner {
    font-family: Orbitron, Helvetica, sans-serif;
    background-color: #111;
    @include display-box;
    @include box-orient(vertical);
    @include box-align(center);
    @include box-pack(center);
    
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;

    & > div {
        width: 70%;
        text-align: center;
        font-size: 18px;
        line-height: 28px;
        color: #666;
        text-shadow: #222 0 0 25px;
    }
    
    p {
        font-weight: 400;
        font-size: 26px;
        line-height: 34px;
        
        strong {
            color: #fff;
        }
    }
}

.chartpanel {
    @include background(linear-gradient(top, #333, #060606));
    
    .x-legend-item {
        color: #fff;
    }
}