﻿/*
 * 郭某人编
 * 弹出层插件用的样式表
 * 上次更新时间：2025/9/5
 */

.Layer_msg_box {
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    background-color: rgba(0,0,0,.7);
    max-width: 75%;
    max-height: 50%;
    box-sizing: border-box;
    border-radius: 2px;
    font-size: 14px;
    padding: .8em 2em;
    line-height: 1.5;
    overflow: hidden;
    position: fixed;
    z-index: 9999;
}

    .Layer_msg_box > img {
        width: 26px;
        height: 26px;
        margin: 0px 1em 0px 0px;
        flex-shrink: 0;
    }

    .Layer_msg_box > span {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .Layer_msg_box.light {
        border: 1px solid rgb(211,212,211);
        background: #fff;
        color: #111;
    }

.Layer_load_mask {
    background-color: rgba(0,0,0,.3);
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 9999;
}

    .Layer_load_mask.none {
        display: none;
    }

    .Layer_load_mask.light {
        background-color: rgba(255,255,255,.5);
    }

.Layer_form_box {
    display: flex;
    flex-direction: column;
    background: rgb(255, 255, 255);
    border: 1px solid rgb(169, 169, 169);
    box-sizing: border-box;
    max-width: 75%;
    max-height: 75%;
    overflow: auto;
    position: fixed;
    z-index: 9999;
}

    .Layer_form_box > div:nth-child(1) {
        user-select: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

        .Layer_form_box > div:nth-child(1) > div {
            display: flex;
            width: calc(100% - 40px);
            padding: 8px;
            box-sizing: border-box;
        }

            .Layer_form_box > div:nth-child(1) > div > img {
                width: 24px;
                height: 24px;
                margin: 0px 6px 0px 0px;
                vertical-align: top;
            }

            .Layer_form_box > div:nth-child(1) > div > span {
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

        .Layer_form_box > div:nth-child(1) > img {
            padding: 8px;
            box-sizing: content-box;
            width: 20px;
            height: 20px;
            cursor: pointer;
            transition: opacity 0.2s;
        }

            .Layer_form_box > div:nth-child(1) > img:hover {
                opacity: .5;
            }

            .Layer_form_box > div:nth-child(1) > img:active {
                opacity: .8;
            }

    .Layer_form_box > div:nth-child(2) {
        overflow: auto;
    }

    .Layer_form_box.gray > div:nth-child(1) {
        border-bottom: 1px solid #d7d7d7;
        background: linear-gradient(90deg, transparent, rgba(135,135,135,.5));
    }

    .Layer_form_box.blue {
        border: 1px solid rgb(45,140,190);
        box-shadow: 2px 2px 2px 0 rgba(45,140,190,.5);
    }

        .Layer_form_box.blue > div:nth-child(1) {
            background: rgba(45,140,190,.25);
        }

.Layer_alone_mask {
    background-color: rgba(0,0,0,.3);
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 9998;
}

    .Layer_alone_mask.light {
        background-color: rgba(255,255,255,.5);
    }
