/* #ifndef APP-NVUE */
view,
text {
    box-sizing: border-box;
}
/* #endif */

/* start--演示页面使用的统一样式--start */
.u-demo {
    padding: 25px 20px;
}

.u-demo-wrap {
    border-width: 1px;
    border-color: #ddd;
    border-style: dashed;
    background-color: rgb(250, 250, 250);
    padding: 20px 10px;
    border-radius: 3px;
}

.u-demo-area {
    text-align: center;
}

.u-no-demo-here {
    color: $u-tips-color;
    font-size: 13px;
}

.u-demo-result-line {
    border-width: 1px;
    border-color: #ddd;
    border-style: dashed;
    padding: 5px 20px;
    margin-top: 30px;
    border-radius: 5px;
    background-color: rgb(240, 240, 240);
    color: $u-content-color;
    font-size: 16px;
    /* #ifndef APP-NVUE */
    word-break: break-word;
    display: inline-block;
    /* #endif */
    text-align: left;
}

.u-demo-title,
.u-config-title {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
}

.u-config-item {
    margin-top: 25px;
}

.u-config-title {
    margin-top: 20px;
    padding-bottom: 5px;
}

.u-item-title {
    position: relative;
    font-size: 15px;
    padding-left: 8px;
    line-height: 1;
    margin-bottom: 11px;
}

.u-item-title:after {
    position: absolute;
    width: 4px;
    top: -1px;
    height: 16px;
    /* #ifndef APP-NVUE */
    content: '';
    /* #endif */
    left: 0;
    border-radius: 10px;
    background-color: $u-content-color;
}

.u-block {
    padding: 14px;
    &__section {
        margin-bottom: 10px;
    }
    &__title {
        margin-top: 10px;
        font-size: 15px;
        color: $u-content-color;
        margin-bottom: 10px;
    }
    &__flex {
        /* #ifndef APP-NVUE */
        display: flex;
        /* #endif */
    }
}

// 使用了cell组件的icon图片样式
.u-cell-icon {
    width: 36rpx;
    height: 36rpx;
    margin-right: 8rpx;
}

.u-page {
    padding: 15px 15px 40px 15px;
}

.u-demo-block {
    flex: 1;
    margin-bottom: 23px;

    &__content {
        @include vue-flex(column);
    }

    &__title {
        font-size: 14px;
        color: rgb(143, 156, 162);
        margin-bottom: 8px;
        @include vue-flex;
    }
}
/* end--演示页面使用的统一样式--end */
