.my_modal_back { background-color: #00000033; width: 100vw; height: 100vh; position: absolute; top: 0; left: 0; z-index: 99999990; } .my_modal { /* Border */ border: 1px solid rgba(104, 104, 104, 0.397); border-radius: 10px; width: 600px; max-height: 400px; position: absolute; top: calc(100vh - 50% - 300px); left: calc(100vw - 50% - 300px); background: #efefef; z-index: 99999991; } .my_modal__header { display: flex; justify-content: space-between; border-radius: 10px 10px 0px 0px; height: 28px; line-height: 28px; box-shadow: 0px 1px #a1a1a1; z-index: 99999992; background: linear-gradient(90deg, rgb(0, 162, 255) 0%, rgba(0, 195, 255, 0.377) 100%); } .my_modal__header_success { display: flex; justify-content: space-between; border-radius: 10px 10px 0px 0px; height: 28px; line-height: 28px; box-shadow: 0px 1px #a1a1a1; z-index: 99999992; background: linear-gradient(90deg, rgba(98, 202, 0, 0.836) 0%, rgba(0, 255, 149, 0.377) 100%); } .my_modal__header_info { display: flex; justify-content: space-between; border-radius: 10px 10px 0px 0px; height: 28px; line-height: 28px; box-shadow: 0px 1px #a1a1a1; z-index: 99999992; background: linear-gradient(90deg, rgb(0, 162, 255) 0%, rgba(0, 195, 255, 0.377) 100%); } .my_modal__header_warning { display: flex; justify-content: space-between; border-radius: 10px 10px 0px 0px; height: 28px; line-height: 28px; box-shadow: 0px 1px #a1a1a1; z-index: 99999992; background: linear-gradient(90deg, rgba(230, 149, 0, 0.836) 0%, rgba(208, 255, 0, 0.377) 100%); } .my_modal__header_error { display: flex; justify-content: space-between; border-radius: 10px 10px 0px 0px; height: 28px; line-height: 28px; box-shadow: 0px 1px #a1a1a1; z-index: 99999992; background: linear-gradient(90deg, rgba(230, 0, 0, 0.836) 0%, rgba(255, 0, 0, 0.377) 100%); } .my_modal__header_disabel { display: flex; justify-content: space-between; border-radius: 10px 10px 0px 0px; height: 28px; line-height: 28px; box-shadow: 0px 1px #a1a1a1; z-index: 99999992; background: linear-gradient(90deg, rgba(80, 80, 80, 0.836) 0%, rgba(163, 163, 163, 0.377) 100%); } .my_modal__header_title { font-weight: bold; font-size: .8rem; font-family: '微软雅黑'; justify-content: space-between; padding-left: 5px; color: #ffffff; z-index: 99999993; } .my_modal__Content { display: flex; min-height: 50px; padding-top: 20px; padding-left: 30px; font-family: '楷体'; z-index: 99999993; } .my_modal__footer { display: flex; /* Push the buttons to the right */ justify-content: flex-end; /* Border */ /* border-top: 1px solid rgba(185, 185, 185); */ padding: 10px 20px; z-index: 99999993; }