@icon-prefix-cls: ~"@{css-prefix}icon";

.content-header(@content-header-border:1px, @content-header-padding:14px 16px) {
    border-bottom: @content-header-border solid @border-color-split;
    padding: @content-header-padding;
    line-height: 1;

    p,
    &-inner
    {
        display: inline-block;
        width: 100%;
        height: 20px;
        line-height: 20px;
        font-size: @font-size-large;
        color: @title-color;
        font-weight: 500;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    p i, p span{
        //vertical-align: middle;
    }
}

.content-close(@top: 0, @icon-font-size: 22px, @right:8px,@iconTop:8px) {
    font-size: @font-size-small;
    position: absolute;
    right: @right;
    top: @iconTop;
    overflow: hidden;
    cursor: pointer;

    .@{icon-prefix-cls}-ios-close {
        .close-base(@top, @icon-font-size);
    }
}
