@import (reference) '~antd/lib/style/themes/index.less';

.vtx-ui-modal-normal {
    .vtx-ui-modal-title {
        position: relative;
        width: 100%;
        .vtx-ui-modal-title_name {
            width: 100%;
            color: @primary-color;
        }
        .vtx-ui-modal-close,
        .vtx-ui-modal-maximizeIcon {
            position: absolute;
            top: -13px;
            right: -16px;
            p {
                width: 36px;
                height: 48px;
                text-align: center;
                line-height: 48px;
                cursor: pointer;
                border: 0;
                background: transparent;
                position: absolute;
                right: 0;
                top: 0;
                z-index: 10;
                font-weight: 700;
                text-decoration: none;
                -webkit-transition: color 0.3s ease;
                transition: color 0.3s ease;
                color: @text-color;
                outline: 0;
                display: inline-block;
                &:hover {
                    color: @text-color-secondary;
                    text-decoration: none;
                }
            }
        }
        .vtx-ui-modal-maximizeIcon {
            right: 20px;
        }
    }
}
.vtx-ui-modal-maxClass {
    .ant-modal {
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        padding-bottom: 0 !important;
        overflow: hidden;
    }
    .ant-modal-body {
        height: e('calc(100% - 108px)') !important;
    }
}
