UNPKG

drip-ui

Version:

Lightweight Mobile UI Components built on Vue

72 lines (70 loc) 1.31 kB
.drip-dialog { &__dialog { width: 80%; max-width: 670px; border-radius: 20px; background-color: #fff; position: relative; box-sizing: border-box; } &__dialog-free { width: auto; position: relative; box-sizing: border-box; } &__overlay { display: flex; position: fixed; top: 0; left: 0; width: 100%; height: 100%; align-items: center; justify-content: center; background-color: rgba(0, 0, 0, 0.7); transition: all .3s; z-index: 105; } &__title { text-align: center; position: relative; } &__title-text { color: #333333; font-size: 32px !important; height: 60px; line-height: 60px; } &__title-content { padding: 40px; color: #848484; font-size: 30px; line-height: 40px; } &__close-dialog { position: absolute; bottom: -160px; background: url('https://alioss.sdbao.com/common/close-c.png') 0 0 no-repeat; left: 0; right: 0; margin: auto; background-size: 100%; width: 82px; height: 82px; } } .fade-enter, .fade-leave { opacity: 0; } .dialog-enter-active, .dialog-leave-active { opacity: 1; transform: scale(1); transition: transform .4s, opacity .4s; } .dialog-enter, .dialog-leave { opacity: 0; transform: scale(1.2); }