.layout-chart {
    &>.ant-layout-content {
        display: flex;
        flex-direction: column;
        &>.ant-card {
            min-height: calc(~'100% - 64px');
            display: flex;
            flex-direction: column;
            &>.ant-card-head {
                padding: 0 10px;
                .tools {
                    flex: 1;
                    flex-wrap: nowrap;
                    .anticon-bars {
                        cursor: pointer;
                        line-height: 1.6;
                        font-size: 20px;
                        margin-right: 6px;
                        &> svg {
                            height: 100%;
                        }
                    }
                    .group {
                        line-height: 2.1;
                        white-space: normal;
                        .ant-breadcrumb-link {
                            .ant-tag {
                                max-width: 200px;
                                white-space: nowrap;
                                text-overflow: ellipsis;
                                overflow: hidden;
                                margin: -6px 0;
                            }
                        }
                        &.nogroup {
                            opacity: .7;
                        }
                    }
                    .search {
                        display: flex;
                        >div {
                            margin-left: 8px;
                        }
                        .btn-refresh {
                            border: none;
                            box-shadow: none;
                            font-size: 18px;
                            &:after {
                                content: none;
                            }
                        }
                    } 
                }
            }
            &>.ant-card-body {
                &:before {
                    content: none;
                }
                flex: 1;
                padding: 10px;
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
                overflow: auto;
                &>.chart-body {
                    .chart-card {
                        width: 207px;
                        text-align: center;
                        margin: 8px;
                        padding: 0;
                        &>.ant-card {
                            // border: 2px solid @border-color-base;
                            &>.ant-card-head {
                                // border-bottom: 2px solid @border-color-base;
                                min-height: 20px;
                                cursor: default;
                                padding: 0;
                                &>.ant-card-head-wrapper {
                                    &>.ant-card-head-title {
                                        font-size: 14px;
                                        padding: 6px 0;
                                        .ant-row-flex {
                                            flex: 1;
                                        }
                                        .anticon {
                                            cursor: pointer;
                                        }
                                    }
                                }
                            }
                        }
                        .ant-card-cover {
                            height: 200px;
                            .cover-body {
                                padding: 10px;
                                .thumb {
                                    height: 132px;
                                    .deny-body {
                                        height: 100%;
                                        width: 100%;
                                        display: flex;
                                        position: absolute;
                                        text-align: center;
                                        justify-content: center;
                                        flex-direction: column;
                                        z-index: 1;
                                        .deny-tip {
                                            height: 40px;
                                            line-height: 40px;
                                            background: rgba(218, 218, 218, 0.5);
                                            border: 2px solid #aaaaaa;
                                            font-weight: bold;
                                        }
                                    }
                                    cursor: pointer;
                                    canvas {
                                        cursor: pointer;
                                    }
                                    .table-default {
                                        background-image: url(../../../static/images/table-default.png);
                                        width: 100%;
                                        height: 100%;
                                        background-position: center;
                                        background-size: contain;
                                        background-repeat: no-repeat;
                                        cursor: pointer;
                                    }
                                    .chart-default {
                                        background-image: url(../../../static/images/chart-default.png);
                                        width: 100%;
                                        height: 100%;
                                        background-position: center;
                                        background-size: contain;
                                        background-repeat: no-repeat;
                                        cursor: pointer;
                                        opacity: .3;
                                    }
                                }
                                .desc {
                                    text-align: left;
                                    height: 41px;
                                }
                                .footer {
                                    margin-top: 6px;
                                }
                            }
                            .ant-row-flex-bottom {
                                cursor: default;
                                .anticon {
                                    cursor: pointer;
                                }
                            }
                        }
                        .ant-card-body {
                            padding: 10px;
                        }
                    }
                    .chart-card-hide {
                        display: none;
                    }
                }
            }
        }
        .ant-pagination {
            height: 64px;
            padding: 16px;
            text-align: end;
            background: @content-background-color;
        }
    }
}
.popover-group {
    width: 300px;
    .grouptree-title {
        .create-group {
            cursor: pointer;
            color: #40a9ff;
        }
    }
    .ant-popover-inner-content {
        cursor: default;
        max-height: 60vh;
        overflow: auto;
    }
    .tree-group {
        li.drag-over {
            input {
                background-color: #40a9ff;
            }
        }
        li {
            .ant-tree-node-content-wrapper {
                width: 90%;
                height: 28px;
                margin: 0 !important;
                padding: 0;
                background-color: transparent;

                :hover {
                    background-color: transparent !important;
                }
                .ant-tree-node-selected {
                    background-color: transparent !important;
                }
                input {
                    max-width: 180px;
                    border: none;
                }
                .anticon-plus-circle-o {
                    margin-left: 5px;
                }
                .anticon-minus-circle {
                    margin-left: 5px;
                }
            }
            .drag-over {
                span[draggable] {
                    opacity: .7;
                }
            }
        }
    }
}
.tree-group li.drag-over > span[draggable] {
    opacity: .5;
}
.menu-operation {
    padding: 0;
    .ant-dropdown-menu-item {
        .anticon {
            margin-right: 6px;
        }
    }
    .ant-dropdown-menu-item-divider {
        margin: 0;
    }
    .setgroupmenu {
        .ant-dropdown-menu-submenu-title {
            display: flex;
        }
    }
}
.ant-tooltip-inner {
    background-color: rgba(255, 255, 255, .9);
    color: #666
}