.mtp-echats-kline {
    display       : flex;
    flex-direction: column;
    height        : 100%;

    &__container {
        display       : flex;
        flex-direction: column;

        .mtp-echarts {
            flex: 1;
        }

        .legend {
            display        : flex;
            color          : #7a8a94;
            font-size      : 12px;
            list-style-type: none;
            padding        : 0 4%;
            margin         : 0;

            &-item {
                white-space: nowrap;

                &:not(:first-child) {
                    margin-left: 10px;
                }
            }
        }
    }

    &__container.main {
        flex: 2;
    }

    &__container.indicator {
        position: relative;
        flex    : 1;

        .section {
            flex          : 1;
            display       : flex;
            flex-direction: column;
            overflow      : hidden;

            &.is-hide {
                position: absolute;
                z-index : -1;
                width   : 100%;
                height  : 100%;
                opacity : 0;
            }
        }
    }

    .mtp-tabbar {
        padding: 0 4%;
    }
}