.jing-demo {
    background-color: #f7f8fa;
    overflow: hidden;
    &:last-of-type {
        padding-bottom: 32px;
    }

    &__title {
        padding: 24px 16px 12px;
        // padding: 32px 16px 16px;
        color: #969696;
        font-size: 14px;
    }

    //   &__content {
    //     border: solid 1px #eee;
    //     border-right: none;
    //     border-left: none;
    //   }

    &.demo-jing-button {
        .jing-button {
            margin-bottom: 10px;
            margin-right: 12px;
            &:last-child {
                margin-right: 0;
            }
        }
    }

    &.demo-jing-tabs {
        &:first-of-type {
            .jing-demo__title {
                padding: 12px 16px 6px;
            }
        }
        .jing-demo__title {
            padding: 24px 16px 6px;
        }
        .jing-tabs__content {
            padding: 24px 20px;
            background-color: #fff;
        }
    }

    &.demo-jing-icon {
        .jing-col {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position: relative;
            height: 100px;
            text-align: center;
            &::after {
                content: '';
                pointer-events: none;
                position: absolute;
                width: 100%;
                height: 100%;
                left: 0;
                top: 0;
                border-radius: 0;
                // border-bottom: 1px solid #dcdcdc;
                // border-right: 1px solid #dcdcdc;
            }
            .jing-icon {
                display: block;
                margin-bottom: 15px;
            }
            span {
                font-size: 14px;
            }
        }
    }

    &.demo-jing-config-provider {
        .colors {
            display: flex;
            justify-content: center;
            align-items: center;
            li {
                display: inline-block;
                width: 25px;
                height: 25px;
                border-radius: 2px;
                cursor: pointer;
                &:not(:last-child) {
                    margin-right: 5px;
                }
            }
        }
    }

    &.demo-jing-tabbar {
        .jing-tabbar {
            position: relative;
            padding-bottom: 0;
        }
        .jing-tabbar-container {
            position: relative;
            padding-bottom: 0;
        }
    }

    &.demo-jing-noticebar {
        p {
            padding: 12px 16px;
            color: #969696;
            font-size: 12px;
        }
    }

    &.demo-jing-overlay {
        .jing-demo__content {
            background: transparent !important;
            border: 0;
            padding: 0 16px;
            .wrapper {
                display: flex;
                align-items: center;
                justify-content: center;
                height: 100%;
                .block {
                    width: 120px;
                    height: 120px;
                    background-color: #fff;
                    border-radius: 4px;
                    display: inline-block;
                    text-align: center;
                }
            }
        }
    }

    &.demo-jing-loading {
        .jing-loading {
            display: inline-block;
            margin: 5px 0 5px 20px;
            &--vertical {
                display: inline-flex;
            }
        }
    }

    &.demo-jing-image {
        .jing-col {
            padding: 5px;
        }
        .text {
            text-align: center;
            font-size: 14px;
            color: #646566;
            margin-top: 5px;
        }
    }
}

.demo-loading {
    background-color: #fff;
    .jing-demo {
        background-color: #fff;
    }
}
