//Table basic shared vars

$column-width: 300px;
$column-flex: 1;
$column-shrink: 0;
$column-margin: 0 10px 0 0;


.taskboard-table {
    overflow: hidden;
    width: 100%;
}

.taskboard-table-header {
    margin-bottom: .5rem;
    position: relative;
    width: 100%;
    .taskboard-table-inner {
        @include table-flex();
        overflow: hidden;
        position: absolute;
    }
    .task-colum_name {
        @include table-flex-child($column-flex, $column-width, $column-shrink, $column-width);
        @extend %large;
        background: $whitish;
        border-top: 3px solid $gray-light;
        margin: $column-margin;
        padding: .5rem 0;
        position: relative;
        text-align: center;
        text-transform: uppercase;
        &:last-child {
            margin-right: 0;
        }

    }
}

.taskboard-table-body {
    height: 700px;
    overflow-x: scroll;
    overflow-y: scroll;
    width: 100%;
    .task-column {
        @include table-flex-child($column-flex, $column-width, $column-shrink, $column-width);
        margin: $column-margin;
        padding: 1rem;
        &:last-child {
            margin-right: 0;
        }
    }
    .task-row {
        @include table-flex();
        margin-bottom: .5rem;
        min-height: 10rem;
        width: 100%;
        &:hover {
            .new-task {
                @include transition(opacity .3s linear);
                opacity: 1;
            }
        }
    }
    .taskboard-tasks-box {
        background: $whitish;
    }
    .taskboard-userstory-box {
        .icon {
            @include transition(color .2s linear);
            color: $gray-light;
            position: absolute;
            right: .5rem;
            top: 1rem;
            &:hover {
                color: $green-taiga;
            }
            &.icon-plus {
                right: 2rem;
            }
        }
    }
}

.taskboard-userstory-box {
    position: relative;
    .tag-list {
        display: none;
        margin-bottom: 1rem;
    }
    .us-title {
        @extend %large;
        @extend %title;
        margin-bottom: 0;
        margin-right: 3rem;
    }
    .points-value {
        @extend %small;
        color: $gray-light;
    }
    /*
    .us-ref {
        color: $gray;
        margin-right: .5rem;
    }
    .status {
        color: $green-taiga;
        margin-bottom: .5rem;
        position: relative;
        .icon {
            @include transition (opacity .2s linear);
            opacity: 0;
        }
        &:hover {
            .icon {
                @include transition (opacity .2s linear);
                opacity: 1;
            }
        }
    }
    .pop-status {
        @include popover(150px, 20px, 30px, '', '');
    }
    .pop-points {
        @include popover(200px, 125px, 30px, '', '');
        li {
            display: inline-block;
            width: 23%;
        }
        a {
            display: block;
            text-align: center;
            &:hover,
            &.active {
                background: $fresh-taiga;
                color: $white;
            }
        }
    }
    .new-task {
        margin-top: 3rem;
        opacity: 0;
    }
    .button-green {
        padding: 7px 80px;
    }
    */
}

.points-list {
    a {
        color: $green-taiga;
        margin-left: .5rem;
        &:hover {
            span {
                @include transition (opacity .2s linear);
                opacity: 1;
            }
        }
    }
    span {
        @include transition (opacity .2s linear);
        opacity: 0;
    }
}
