sites/pc/entry/demo/index.less
@import '../../../../packages/arcodesign/style/mixin.less';

.demo-comp-qrcode-popover {
    margin-left: -1px;
    margin-top: -12px;
    .home-code-popover-content {
        padding: 12px 12px 16px;
        font-size: 13px;
        line-height: 24px;
    }
    .code {
        margin: 4px auto 0;
    }
}
.demo-comp-qrcode {
    color: #c2c7cc;
    margin-left: 14px;
    cursor: pointer;
    &:hover {
        .use-var(color, primary-color);
    }
}

.demo-content-wrapper {
    flex: 1;
    .arcodesign-pc-site-footer {
        position: absolute;
        z-index: 1;
    }
}

// 手机部分
.mobile-iframe {
    position: sticky;
    top: 0;
    padding: 100px 42px 0 0;
    pointer-events: none;
    iframe {
        pointer-events: auto;
        width: 375px;
        height: 667px;
        border-radius: 12px;
        border: 1px solid;
        .use-var(border-color, line-color);
        box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.07);
        box-sizing: border-box;
    }
}

.ac-anchor-wrapper {
    position: fixed;
    top: 60px;
    right: 0;
    width: 180px;
    height: 100vh;
    padding: 110px 24px 24px;
    box-sizing: border-box;
    .use-var(background-color, container-background-color);
    transition: all 0.15s;

    .arco-anchor {
        width: 132px;

        &-link-title {
            font-size: 13px;
            line-height: 1.5;
        }

        &-lineless {
            height: 100%;
            padding-bottom: 180px;
        }
        &-list {
            height: 100%;
            overflow: auto;
            &::-webkit-scrollbar {
                display: none;
            }
        }
    }
}

.ac-anchor-inner {
    height: 100%;
    overflow-y: auto;
}

.ac-anchor-layout-holder {
    width: 180px;
    height: 100vh;
    transition: all 0.15s;

    &-close {
        width: 0;
        overflow: hidden;

        .ac-anchor-wrapper {
            right: -180px;
        }
    }
}

.ac-anchor-collapse-btn {
    position: fixed !important;
    top: 100px;
    right: 112px;

    svg {
        vertical-align: -3px;
        transform: rotate(180deg);
    }

    &-close {
        width: 28px !important;
        right: 0;
        background-color: var(--color-bg-5) !important;
        box-shadow: -1px 0 5px 0 rgba(0, 0, 0, 0.1);
        border-radius: 18px 0 0 18px !important;

        svg {
            margin-left: 2px;
            transform: none;
        }
    }
}
