@import '~lb-mixins.scss';
@import '~lb-variables.scss';

// timeline
.column--timeline {
    border: 0px;
    .header--live {
        float: left;
        padding: 0 5px 0 5px;
    }
    .header--timeline {
        padding: 0 5px 0 5px;
        float: left;
        a:hover {
            text-decoration: none;
        }
    }
    .header--filters {
        float: right;
        .btn {
            background: rgba(255, 255, 255, 0.5);
            border: 1px solid rgba(215, 215, 215, 0.7);
            color: $grayLight;
            padding: 4px 12px;
            height: 24px;
            margin-left: 4px;
            &:hover {
                background: rgba(255, 255, 255, 0.8);
                border: 1px solid #aaaaaa;
                color: $gray;
            }
            &.active {
                color: $grayDark;
                background-color: rgba(0, 0, 0, 0.11);
                box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.11);
                border: 1px solid rgba(0, 0, 0, 0.11);
                [class^="icon-"] {
                    color: $orange;
                }
            }
            &.active:hover {
                cursor: default;
            }
            [class^="icon-"] {
                margin-right: 0;
                color: $orange;
            }
            // & + .btn {
            //     margin-left: 4px;
            // }
        }
    }
    .posts {
        padding: 20px 20px 7px 20px;
        opacity: 1;
        transition: opacity linear 0.1s;
        > li {
            margin: 10px 0px;
        }
        .lb-post {
            margin-bottom: 15px;
            border: 1px solid #F0F0F0;
            border-bottom: 1px solid #D4D4D4;
            transition: border 0.4s;
            transition: box-shadow 0.4s;
        }
        .lb-post.active {
            border: 1px solid #5ea9c8!important;
            box-shadow: 0 5px 16px rgba(0,0,0,.23);
        }
        .lb-post.highlight {
            border: 1px solid #edc1b2;
            box-shadow: 0 1px 0 #edc1b2;
            @include border-radius(3px);
        }
        .lb-post.pinned {
            border: 1px solid #a9cad7;
            box-shadow: 0 1px 0 #a9cad7;
            @include border-radius(3px);
        }
    }
    .posts.flicker {
        opacity: 0;
    }
    .table-cell {
        display: table-cell;
    }
    .table-row {
        display: table-row;
    }

    .loading-indicator {
        position: absolute;
        top: 9px;
        left: 50%;
        padding: 0px 10px!important;
        border-radius: 0 0 3px 3px;
        border: 1px solid #52b1cc;
        font-size: 12px;
        font-weight: 700;
        color: #3599b6;
        background: #eff7fa;
        z-index: 1;
    }
    .timeline-reorder {
        border: 0px;
        height: 0px;
        color: #ccc;
        font-size: 0px;
        background: transparent;
        text-align: center;
        padding-top: 0px;
        transition: all linear 0.4s;
    }
    .timeline-reorder.active {
        padding-top: 15px;
        height: 34px;
        font-size: 18px;
        border: 1px dashed #ccc;
    }
    .timeline-reorder.top {
        margin-bottom: 10px;
    }
    .timeline-reorder.bottom {
        margin-top: 10px;
    }
    .timeline-reorder:hover {
        border: 1px dashed #999;
        color: #666;
        background: #f8f8f8;
    }
    .cancel-reorder {
        border-right: 1px solid #e0e0e0!important;
        position:absolute; top: 0px; right: 127px;
        height: 38px;
        padding-top:9px;
        padding-right:9px;
        background-color: white;
    }
    .fix-cancel-move-icon {
        margin-top:5px;
        margin-right:5px;
    }
    .fix-cancel-move-button {
        margin-top: -7px;
    }
    .pin-drawer-button {
        position: absolute;
        width: 23px;
        height: 23px;
        border: 0;
        padding: 0;
        left: 50%;
        margin-left: -11.5px;
        background-color: #ffffff;
        z-index: 3;
        margin-top: -10px;
        line-height: 0;
        border-radius: 23px;
        box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.3);
        -webkit-transition: transform 0.5s;
        -o-transition: transform 0.5s;
        transition: transform 0.5s;
        &.active {
            @include rotate(180deg);
        }
    }
    .pin-drawer {
        margin: 0px 20px 0px 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.12);
        span {
            font-size: 11px;
            color: #999999;
            padding: 5px 0;
            display: inline-block;
        }
    }
}
.opaque {
    opacity: 1!important;
}
