sci-pro
Version:
87 lines (86 loc) • 1.8 kB
CSS
.sci-modal-wrap {
box-shadow: 0px 20px 30px rgba(31, 35, 41, 0.15);
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
z-index: 9000;
}
.sci-modal-mask {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: hsla(208, 7%, 42%, 0.5);
z-index: 9001;
}
.sci-modal-full {
position: relative;
top: 100px;
box-sizing: border-box;
width: 30%;
min-width: 20%;
margin: 0 auto;
font-size: 14px;
font-variant: tabular-nums;
line-height: 1.5715;
color: #000000d9;
list-style: none;
background: #fff;
border-radius: 3px;
box-shadow: 0 20px 30px rgba(31, 35, 41, 0.15);
z-index: 9002;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.sci-modal-full .sci-modal-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 24px;
color: #000000d9;
background: #fff;
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
border-radius: 2px 2px 0 0;
font-size: 18px;
color: #303133;
}
.sci-modal-full .sci-modal-header .sci-modal-header-close {
cursor: pointer;
font-size: 30px;
line-height: 30px;
}
.sci-modal-full .sci-modal-main {
padding: 10px 24px;
font-size: 14px;
line-height: 2;
word-wrap: break-word;
flex: 1;
min-height: 0;
}
.sci-modal-full .sci-modal-footer {
display: flex;
flex-flow: row nowrap;
justify-content: flex-end;
max-height: 64px;
padding: 12px 24px 20px;
}
.sci-modal-full .sci-modal-footer > button {
width: 80px;
margin-left: 12px;
cursor: pointer;
}
.sci-slide-fade-enter-active,
.sci-slide-fade-leave-active {
transition: all 0.1s cubic-bezier(0.25, 0.1, 0.25, 0.1);
}
.sci-slide-fade-leave-active {
transition-delay: 0.1s;
}
.sci-slide-fade-enter-from,
.sci-slide-fade-leave-to {
opacity: 0;
}