@import "~webComponents/utils/base-mixins";
@import "~webComponents/utils/general-mixins";

.comp-alert-bg
    display none
    position fixed
    top 0
    left 0
    width 100%
    height 100%
    background-color: rgba(0,0,0,.2);
    z-index 999999
.comp-alert-body
    width 200px
    min-width 200px
    background-color #fff
    position absolute
    top 50%
    left 50%
    margin-left -232px
    margin-top -135px
    float left
    border-top 2px solid #22bb9a
    border-left 1px solid #ccc
    box-shadow 2px 0 1px #ccc,0 2px 1px #ccc
    zoom 1
    //margin 20px auto 0
    border-top 2px solid #22bb9a
    border-left 1px solid #ccc
    box-shadow 2px 0 1px #ccc,0 2px 1px #ccc

.comp-alert-head
    padding 12px 0 12px 10px
    border-bottom 1px solid #eee
    font-size 14px
    .alertBoxClose
        float right
        width 24px
        height 25px
        margin-top -4px
        margin-right 6px
        background-size cover
        cursor pointer
        background-image url("../../../images/close-u671.png")

.comp-alert-content
    padding 15px
    background #fff
    .alertBoxCon
        text-align center
        min-height 100px
        .alertBoxConText
            color rxr-get-color( beizhu )
            text-align center
            line-height 24px
            font-size 12px
            i
                display block
                padding-bottom 10px
    rxr-vertical-align(alertBoxCon,alertBoxConText)

.comp-alert-foot
    padding 10px 0
    background-color #f2f2f2
    overflow hidden
    box-sizing border-box
    .mod-foot-row
        margin 0 auto
        width 150px
        .mod-foot-btn
            display block
            padding-top 8px
            padding-bottom 8px
            background #22bb9a
            color #fff
            border 1px solid #22bb9a
            width 70px
            font-size 12px
            cursor pointer
            text-align center
            display inline-block
            box-shadow 0 1px 1px rgba(0,0,0,0.1)
            border-radius 2px
            &.right
                color #000
                background #fff
                border 1px solid rgba(154, 154, 154, 0.64)
        > div[class^="ui-widget-button"]
            padding 0
            box-shadow 0 1px 1px rgba(0,0,0,0.1)
            border-radius 5px
            &:nth-of-type(1)
                float left
            &:nth-of-type(2)
                border 1px solid rgba(154,154,154,0.64)
                margin-left 8px
                > a
                    color #000
body
    .filter
        rxr-filter()