.form-card-container {
    display: flex;
    background: -webkit-linear-gradient(top,#249ff0,#6084f3);
    padding: 12px 0px 12px 16px;
    span[class^="sys-icon-"] {
        font-size: 24px;
        line-height: inherit;
    }
    .formcard-icon {
        flex-shrink: 0;
        width: 56px;
        height: 56px;
        font-size: 16px;
        line-height: 56px;
        margin-right: 12px;
        text-align: center;
        border-radius: 50%;
        color: #fff;
        .title-icon {
            display: block;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            line-height: 56px;
            font-size: 24px;
            &:before {
                color: #fff;
            }
        }
    }
    .flex-text-container {
        display: inline-block;
        color:#fff;
        text-align:left;
        width: 100%;
        box-sizing: border-box;
        padding-right: 16px;
        .flex-title {
            font-size:20px;         
            line-height:24px;
        }
        .flex-subtitle {
            margin-top: 8px;
            font-size:14px;
            line-height:16px;
        }
        .flex-title,.flex-subtitle {
            white-space: nowrap;
        }
        &.showExpand {
            position: relative;
            .flex-title,.flex-subtitle {
                box-sizing: border-box;
                width: 100%;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                padding-right: 18px;
            }
            
            &:after {
                position: absolute;
                right: 16px;;
                top: 6px;
                width: 12px;
                height: 10px;
                display: inline-block;
                content: '';
                background-repeat: no-repeat;
                background-size: contain;
                background-image: url('./img/down.png');
            }
            &.isExpand {
                .flex-title,.flex-subtitle {
                    // width: 100%;
                    word-break: break-all;
                    white-space: normal;
                }              
                &:after {
                    background-image: url('./img/up.png');
                }
            }
        }
        
    }

    /*安卓中副标题与主标题间距变为4px*/
    &.isAndroid {
        .flex-text-container{
            .flex-subtitle {
                margin-top: 4px;
            }
        }
    }

    /*无头像 无图标 只有副标题 由于副标题字体小 尖角号距上减少为3px*/
    &.only-subTitle {
        .flex-text-container{
            .flex-subtitle {
                margin-top: 0px;
            }
            &.showExpand {
                &:after {
                    top: 3px;
                }
            }
        }
    }

    /*
        有头像并且主副标题均存在时 主标题距上方4px
        有头像并且只有主标题时 主标题与头像居中对齐
    */
    &.hasAvatar {
        .flex-text-container {
            width: calc(100% - 56px - 12px);
            &:after {
                top: 12px;
            }
            .flex-title {
                margin-top: 4px;
            }
        }
        &.only-title {
            .flex-text-container {
                .flex-title {
                    margin-top: 16px;
                }
                &:after {
                    top: 23px;
                }
            }
            
        }
    }
}
