|
|
/* dialog */
|
|
|
.dialog-wrapper {
|
|
|
background: hsla(0, 0%, 0%, 0.5);
|
|
|
position: fixed;
|
|
|
top: 0;
|
|
|
right: 0;
|
|
|
bottom: 0;
|
|
|
left: 0;
|
|
|
display: none;
|
|
|
|
|
|
.dialog-box {
|
|
|
width: 540px;
|
|
|
border-radius: 20px;
|
|
|
background: hsla(100, 100%, 100%, 0.8);
|
|
|
position: absolute;
|
|
|
left: 50%;
|
|
|
margin-left: -270px;
|
|
|
font-size: 30px;
|
|
|
text-align: center;
|
|
|
color: #000;
|
|
|
}
|
|
|
|
|
|
.dialog-content {
|
|
|
padding: 60px 30px;
|
|
|
}
|
|
|
|
|
|
.dialog-header {
|
|
|
padding: 50px 0 40px;
|
|
|
font-size: 34px;
|
|
|
text-align: center;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.dialog-footer {
|
|
|
height: 88px;
|
|
|
line-height: 88px;
|
|
|
|
|
|
> span {
|
|
|
display: block;
|
|
|
width: 50%;
|
|
|
height: 100%;
|
|
|
float: left;
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
&:nth-last-of-type(1) {
|
|
|
border-left: 1px solid #ccc;
|
|
|
border-radius: 0 0 10px 10px;
|
|
|
color: #e01;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
> span:active {
|
|
|
background-color: #ccc;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/*边框在物理机上1px变粗*/
|
|
|
.dialog-footer::before {
|
|
|
content: "";
|
|
|
position: absolute;
|
|
|
left: 0;
|
|
|
width: 200%;
|
|
|
height: 0;
|
|
|
border-top: 1px solid #cccccc;
|
|
|
transform-origin: left top;
|
|
|
transform: scale3d(0.5,0.5,0.5);
|
|
|
-webkit-transform: scale3d(0.5,0.5,0.5); /* Chrome, Safari, Opera */
|
|
|
-ms-transform: scale3d(0.5,0.5,0.5); /* IE 9 */
|
|
|
}
|
|
|
} |
...
|
...
|
|