-
-
Notifications
You must be signed in to change notification settings - Fork 591
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Yev
committed
Jul 8, 2020
1 parent
b4eb0bb
commit 079f371
Showing
2 changed files
with
155 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,154 @@ | ||
.vue-modal-resizer{overflow:hidden;width:12px;height:12px;right:0;bottom:0;z-index:9999999;cursor:se-resize}.vue-modal-resizer,.vue-modal-resizer:after{display:block;position:absolute;background:transparent}.vue-modal-resizer:after{content:"";left:0;top:0;width:0;height:0;border-bottom:10px solid #ddd;border-left:10px solid transparent}.vue-modal-resizer.clicked:after{border-bottom:10px solid #369be9}.vm--block-scroll{overflow:hidden;width:100vw}.vm--container{z-index:999}.vm--container,.vm--overlay{position:fixed;box-sizing:border-box;left:0;top:0;width:100%;height:100vh}.vm--overlay{background:rgba(0,0,0,.2);opacity:1}.vm--container.scrollable{height:100%;min-height:100vh;overflow-y:auto;-webkit-overflow-scrolling:touch}.vm--modal{position:relative;overflow:hidden;box-sizing:border-box;background-color:#fff;border-radius:3px;box-shadow:0 20px 60px -2px rgba(27,33,58,.4)}.vm--container.scrollable .vm--modal{margin-bottom:2px}.vm--top-right-slot{display:block;position:absolute;right:0;top:0}.vm-transition--overlay-enter-active,.vm-transition--overlay-leave-active{transition:all 50ms}.vm-transition--overlay-enter,.vm-transition--overlay-leave-active{opacity:0}.vm-transition--modal-enter-active,.vm-transition--modal-leave-active{transition:all .4s}.vm-transition--modal-enter,.vm-transition--modal-leave-active{opacity:0;transform:translateY(-20px)}.vm-transition--default-enter-active,.vm-transition--default-leave-active{transition:all 2ms}.vm-transition--default-enter,.vm-transition--default-leave-active{opacity:0}.vue-dialog{font-size:14px}.vue-dialog div{box-sizing:border-box}.vue-dialog-content{flex:1 0 auto;width:100%;padding:14px}.vue-dialog-content-title{font-weight:600;padding-bottom:14px}.vue-dialog-buttons{display:flex;flex:0 1 auto;width:100%;border-top:1px solid #eee}.vue-dialog-buttons-none{width:100%;padding-bottom:14px}.vue-dialog-button{font-size:inherit;background:transparent;padding:0;margin:0;border:0;cursor:pointer;box-sizing:border-box;line-height:40px;height:40px;color:inherit;font:inherit;outline:none}.vue-dialog-button:hover{background:#f9f9f9}.vue-dialog-button:active{background:#f3f3f3}.vue-dialog-button:not(:first-of-type){border-left:1px solid #eee} | ||
|
||
.vue-modal-resizer { | ||
display: block; | ||
overflow: hidden; | ||
position: absolute; | ||
width: 12px; | ||
height: 12px; | ||
right: 0; | ||
bottom: 0; | ||
z-index: 9999999; | ||
background: transparent; | ||
cursor: se-resize; | ||
} | ||
.vue-modal-resizer::after { | ||
display: block; | ||
position: absolute; | ||
content: ''; | ||
background: transparent; | ||
left: 0; | ||
top: 0; | ||
width: 0; | ||
height: 0; | ||
border-bottom: 10px solid #ddd; | ||
border-left: 10px solid transparent; | ||
} | ||
.vue-modal-resizer.clicked::after { | ||
border-bottom: 10px solid #369be9; | ||
} | ||
|
||
|
||
.vm--block-scroll { | ||
overflow: hidden; | ||
width: 100vw; | ||
} | ||
.vm--container { | ||
position: fixed; | ||
box-sizing: border-box; | ||
left: 0; | ||
top: 0; | ||
width: 100%; | ||
height: 100vh; | ||
z-index: 999; | ||
} | ||
.vm--overlay { | ||
position: fixed; | ||
box-sizing: border-box; | ||
left: 0; | ||
top: 0; | ||
width: 100%; | ||
height: 100vh; | ||
background: rgba(0, 0, 0, 0.2); | ||
/* z-index: 999; */ | ||
opacity: 1; | ||
} | ||
.vm--container.scrollable { | ||
height: 100%; | ||
min-height: 100vh; | ||
overflow-y: auto; | ||
-webkit-overflow-scrolling: touch; | ||
} | ||
.vm--modal { | ||
position: relative; | ||
overflow: hidden; | ||
box-sizing: border-box; | ||
|
||
background-color: white; | ||
border-radius: 3px; | ||
box-shadow: 0 20px 60px -2px rgba(27, 33, 58, 0.4); | ||
} | ||
.vm--container.scrollable .vm--modal { | ||
margin-bottom: 2px; | ||
} | ||
.vm--top-right-slot { | ||
display: block; | ||
position: absolute; | ||
right: 0; | ||
top: 0; | ||
} | ||
.vm-transition--overlay-enter-active, | ||
.vm-transition--overlay-leave-active { | ||
transition: all 50ms; | ||
} | ||
.vm-transition--overlay-enter, | ||
.vm-transition--overlay-leave-active { | ||
opacity: 0; | ||
} | ||
.vm-transition--modal-enter-active, | ||
.vm-transition--modal-leave-active { | ||
transition: all 400ms; | ||
} | ||
.vm-transition--modal-enter, | ||
.vm-transition--modal-leave-active { | ||
opacity: 0; | ||
transform: translateY(-20px); | ||
} | ||
.vm-transition--default-enter-active, | ||
.vm-transition--default-leave-active { | ||
transition: all 2ms; | ||
} | ||
.vm-transition--default-enter, | ||
.vm-transition--default-leave-active { | ||
opacity: 0; | ||
} | ||
|
||
|
||
.vue-dialog { | ||
font-size: 14px; | ||
} | ||
.vue-dialog div { | ||
box-sizing: border-box; | ||
} | ||
.vue-dialog-content { | ||
flex: 1 0 auto; | ||
width: 100%; | ||
padding: 14px; | ||
} | ||
.vue-dialog-content-title { | ||
font-weight: 600; | ||
padding-bottom: 14px; | ||
} | ||
.vue-dialog-buttons { | ||
display: flex; | ||
flex: 0 1 auto; | ||
width: 100%; | ||
border-top: 1px solid #eee; | ||
} | ||
.vue-dialog-buttons-none { | ||
width: 100%; | ||
padding-bottom: 14px; | ||
} | ||
.vue-dialog-button { | ||
font-size: inherit; | ||
background: transparent; | ||
padding: 0; | ||
margin: 0; | ||
border: 0; | ||
cursor: pointer; | ||
box-sizing: border-box; | ||
line-height: 40px; | ||
height: 40px; | ||
color: inherit; | ||
font: inherit; | ||
outline: none; | ||
} | ||
.vue-dialog-button:hover { | ||
background: #f9f9f9; | ||
} | ||
.vue-dialog-button:active { | ||
background: #f3f3f3; | ||
} | ||
.vue-dialog-button:not(:first-of-type) { | ||
border-left: 1px solid #eee; | ||
} | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.