// Copyright (C) 2021  Shanhu Tech Inc.
//
// This program is free software: you can redistribute it and/or modify it
// under the terms of the GNU Affero General Public License as published by the
// Free Software Foundation, either version 3 of the License, or (at your
// option) any later version.
//
// This program is distributed in the hope that it will be useful, but WITHOUT
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License
// for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program.  If not, see <https://www.gnu.org/licenses/>.

@import "./base.less";

div.dialog {
    div.dialog-bg {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: @gray5op;
    }

    div.screen-center {
        position: fixed;
        left: 50%;
        top: 100px;
    }

    div.dialog-box {
        position: absolute;
        width: 400px;
        height: auto;
        top: 100px;
        margin-left: -200px;
        background-color: #fff;
        border-radius: 5px;
        box-shadow: 0 10px 20px @gray6;
        padding: @gap5;
        text-align: center;

        div.prompt {
            strong.name {
                color: @theme-color;
            }
        }

        div.buttons {
            margin-top: 30px;
        }
    }
}
