dr_py/templates/cms/mxpro/css/notice.css
2023-05-08 18:13:05 +08:00

113 lines
1.6 KiB
CSS

.popup::-webkit-scrollbar {
display: none;
}
.popup-title::after {
background: #525254;
}
.popup {
box-shadow: 0 .25rem .5rem rgba(0, 0, 0, .05), 0 1.5rem 2.2rem rgba(0, 0, 0, .1) !important;
padding: 0 30px;
width: 370px;
position: fixed;
top: 50%;
left: 50%;
z-index: 999999;
transform: translateX(-50%) translateY(-50%);
margin: 0 auto;
border-radius: 18px;
background: #323236;
color: hsla(0, 0%, 100%, .87);
overflow: inherit;
}
.popup::after {
content: '';
width: 100%;
height: 80px;
background: #eaedf1;
position: absolute;
top: 0;
left: 0;
z-index: -1;
border-radius: 18px 18px 0 0
}
.popup::after {
background: #323236;
}
.popup-header {
line-height: 20px;
text-align: center
}
.popup-title {
position: relative;
font-size: 18px;
font-weight: 900;
display: inline-block
}
.popup-title::after {
content: '';
position: absolute;
width: 100%;
height: 30%;
border-radius: 5px;
left: 0;
bottom: 5px;
z-index: -1
}
.popup-icon {
width: 100%;
text-align: center;
height: 36px;
margin: 26px 0 0
}
.popup-icon img {
height: 36px
}
.popup-main {
padding-bottom: 5px
}
.popup-main p {
padding: 2px 0 0;
line-height: 16px;
}
.popup-footer {
padding: 10px 0 30px;
text-align: center
}
.popup-btn {
font-weight: 700;
border-radius: 50px;
width: 100%;
cursor: pointer;
padding: 0 15px;
line-height: 40px;
font-size: 14px;
display: inline-block;
box-sizing: border-box;
background: #ff2a14;
color: #fff
}
@media(max-width:559px) {
.popup {
width: 77%;
padding: 0 25px
}
.popup-icon,
.popup-icon img {
height: 36px
}
}