@import 'rally';
@import 'reply';

table.landscape {
    width: 100%;
    font-size: 0.8em;	
    table-layout: fixed;
}

table.landscape td, table.landscape th {
    border: 2px solid transparent; // NOTE: this method results in a more stable table structure as cells are split
    font-weight: normal;
    text-align: center;

    min-height: 3em;
}

td div, th div {
    overflow: hidden;
    text-overflow: ellipsis;
}

.xAxis {
    width: 25%;
}

.yAxis, .xyAxis {
    width: 10em; // TODO: find a way to have the y-axis sized to its content while allowing the other columns to auto-size
}
    
table.landscape th.xAxis {
    padding: 0;

    border-bottom: none;

    background-color: $ReplyLightBlue;
}

table.landscape th.xAxis div {        
    padding: 0.25em 0em;
    border-bottom: 0.2em solid $RallyBlue;// rgba(white, 87%);
}

table.landscape td.yAxis {
    margin: 0;
    padding: 0;
    background-color: $ReplyLightBlue;
}

table.landscape td.yAxis div {
    padding: 1em 0.5em 1em 0em;
    border-right: 0.2em solid $RallyBlue;// rgba(white, 87%);
    text-align: right;
}

table.landscape .green {
    background: $RallyGreen;
}

table.landscape .amber {
    background: $RallyDarkYellow;
}

table.landscape .red {
    background: $RallyOrange;
}
