@import '../../../style/index.less';

@acud-pro-page-title-prefix: ~"@{acud-pro-prefix}-base-page-title";

.@{acud-pro-page-title-prefix}-wrap {
    padding: 0 16px;
    font-size: 12px;
    font-weight: normal;
    color: @text-color;
    background-color: @body-background;

    .@{acud-pro-page-title-prefix} {
        height: 48px;
        line-height: 48px;


        .@{acud-pro-page-title-prefix}-text {
            float: left;
            font-size: 16px;
            font-weight: 500;
            line-height: 48px;
            display: flex;
            align-items: center;
            font-family: PingFangSC-Medium;
            margin-left: 16px;

            &.noBack {
                margin-left: 0;
            }
        }

        .back-btn {
            float: left;

            a {
                font-size: 12px;
                color: @text-color-secondary;
                display: flex;
                align-items: center;

                .acuicon {
                    color: @text-color-secondary;
                    vertical-align: baseline;
                    margin-top: 0;
                    line-height: 0;
                }

                .back-text {
                    margin: 0 0 0 4px;
                }
            }
        }

        .@{acud-pro-page-title-prefix}-custom {
            float: left;
            width: auto;
            margin-left: 8px;
        }

        .@{acud-pro-page-title-prefix}-btns-area {
            float: right;
            margin-left: 16px;

            .@{acud-pro-page-title-prefix}-btns-item {
                margin-right: 8px;
                line-height: 30px;

                &:last-of-type {
                    margin-right: 0;
                }
            }
        }

        .@{acud-pro-page-title-prefix}-extra-area {
            float: right;
        }
    }

    .@{acud-pro-page-title-prefix}-description {
        padding-bottom: 8px;
        line-height: 20px;
        font-family: PingFangSC-Regular;
        font-weight: 400;
        font-size: 12px;
        color: @text-color;

        a {
            color: @blue-base;
        }
    }
}