ifui
Version:
68 lines (55 loc) • 962 B
CSS
@import './common/var.css';
.ifu-dialog {
position: fixed;
top: 50%;
left: 50%;
width: 85%;
font-size: 16px;
overflow: hidden;
transition: .2s;
border-radius: 8px;
background-color: $white;
transform: translate3d(-50%, -50%, 0);
&__header {
padding: 30px 0 0;
text-align: center;
&--isolated {
padding: 50px 0;
}
}
&__message {
line-height: 1.5;
padding: 30px 40px;
&--has-title {
color: $gray-dark;
font-size: 28px;
}
}
&__footer {
overflow: hidden;
user-select: none;
&--buttons {
display: flex;
.ifu-button {
flex: 1;
}
}
}
.ifu-button {
border: 0;
}
&__confirm {
&,
&:active {
color: #00c000;
}
}
&-bounce-enter {
opacity: 0;
transform: translate3d(-50%, -50%, 0) scale(0.7);
}
&-bounce-leave-active {
opacity: 0;
transform: translate3d(-50%, -50%, 0) scale(0.9);
}
}