﻿

.alert {
    max-width: 500px;
    min-width: 330px;
    display: none;
    position: absolute;
    z-index: 999999;
    background-color: white;
}
    /*文本超宽显示省略号*/
    .alert .textBreak {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .alert .infoAlertColor {
        color: royalblue;
    }

    .alert .successAlertColor {
        color: forestgreen;
    }

    .alert .waringAlertColor {
        color: darkred;
    }

    .alert .alertBlock {
        margin: 9px 5px 5px 5px;
    }

    .alert div, .alert span {
        background-color: transparent;
    }

    .alert > .alertInfo {
        width: 100%;
        color: black;
        display: inline-block;
    }

        .alert > .alertInfo > .alertIcon {
            margin: 10px 10px 10px 10px;
            float: left;
            display: block;
            width: 50px;
            /*height: 50px;*/
            font-size: 44px;
        }

        .alert > .alertInfo > .alertContent {
            margin-top: 10px;
            margin-bottom: 10px;
            margin-left: 60px;
            margin-right: 10px;
            text-align: left;
        }

    .alert > .alertOpt {
        text-align: center;
        height: 40px;
    }

        .alert > .alertOpt > .buttonOK {
            /*float: left;*/
            display: inline-block;
            width: 120px;
            height: 30px;
            line-height: 25px;
            background-color: forestgreen;
            vertical-align: middle;
            border-radius: 5px;
            color: #dfdfdf;
            margin-left: auto;
            margin-right: 5px;
        }

        .alert > .alertOpt > .buttonCancel {
            /*float: right;*/
            display: inline-block;
            width: 120px;
            height: 30px;
            line-height: 25px;
            background-color: #efefef;
            vertical-align: middle;
            border-radius: 5px;
            margin-left: 5px;
            margin-right: auto;
        }
