@import './components/History/index.less';
@import './components/Monitor/index.less';
.video {
    padding: 20px 25px;
    box-sizing: border-box;
    height: 90%;
    width: 100%;
    color: #ffffff;
    .btnGroup {
        height: 56px;
        .btn {
            text-align: center;
            width: 100px;
            height: 32px;
            line-height: 32px;
            background: rgba(0, 0, 0, 0.5);
            box-shadow: inset 0 1px 14px 0 rgba(0, 255, 241, 0.5);
            border-radius: 5px;
            border: 1px solid rgba(0, 255, 241, 0.5);
            display: inline-block;
            color: #ffffff;
            margin-right: 15px;
            cursor: pointer;
            transition: 0.2s all linear;
            &:hover {
                box-shadow: inset 0 1px 14px 0 rgba(0, 255, 241, 1);
                border: 1px solid rgba(0, 255, 241, 1);
            }
        }
        .checked {
            box-shadow: inset 0 1px 14px 0 rgba(0, 255, 241, 1);
            border: 1px solid rgba(0, 255, 241, 1);
        }
    }
    .left,
    .right {
        display: inline-block;
        vertical-align: top;
        height: calc(~'100% - 56px');
    }
    .left {
        width: 260px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        overflow: hidden;
        .list {
            height: calc(~'100% - 230px');
            overflow-y: auto;
        }
        .searBox {
            width: 260px;
            height: 100%;
            .line {
                margin: 8px 0;
            }
        }
        .item {
            height: 40px;
            line-height: 40px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            background-color: rgba(255, 255, 255, 0);
            padding: 0 10px;
            box-sizing: border-box;
            cursor: pointer;
            transition: 0.2s all linear;
            &:hover {
                background-color: rgba(255, 255, 255, 0.2);
            }
        }
        .checked {
            background-color: rgba(255, 255, 255, 0.2);
        }
    }
    .right {
        width: calc(~'100% - 260px');
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-left: none;
        position: relative;
        .grid {
            position: absolute;
            height: 32px;
            top: -34px;
            left: 0;
            .bg {
                background: rgba(0, 0, 0, 0.5);
                box-shadow: inset 0 1px 14px 0 rgba(0, 255, 241, 0.3);
                border-radius: 3px;
                border: 1px solid rgba(0, 255, 241, 0.3);
                height: 100%;
                width: 32px;
                text-align: center;
                display: inline-block;
                padding-top: 4px;
                box-sizing: border-box;
                margin-right: 5px;
                cursor: pointer;
                img {
                    height: 16px;
                    width: auto;
                    opacity: 0.8;
                }
                &:hover {
                    box-shadow: inset 0 1px 14px 0 rgba(0, 255, 241, 1);
                    border: 1px solid rgba(0, 255, 241, 1);
                    img {
                        opacity: 1;
                    }
                }
            }
            .checked {
                box-shadow: inset 0 1px 14px 0 rgba(0, 255, 241, 1);
                border: 1px solid rgba(0, 255, 241, 1);
                img {
                    opacity: 1;
                }
            }
        }
    }
}
