| 1 |
.wdk-modal { |
| 2 |
position: fixed; |
| 3 |
top: 0; |
| 4 |
right: 0; |
| 5 |
bottom: 0; |
| 6 |
left: 0; |
| 7 |
z-index: 1050; |
| 8 |
display: none; |
| 9 |
overflow: auto; |
| 10 |
outline: 0; |
| 11 |
|
| 12 |
.modal-open { |
| 13 |
overflow: hidden; |
| 14 |
} |
| 15 |
|
| 16 |
.modal-dialog { |
| 17 |
position: relative; |
| 18 |
width: auto; |
| 19 |
max-width: 500px; |
| 20 |
margin: 150px auto; |
| 21 |
pointer-events: none; |
| 22 |
} |
| 23 |
|
| 24 |
.modal.wdk-fade .modal-dialog { |
| 25 |
transition: transform 0.3s ease-out; |
| 26 |
transform: translate(0, -25%); |
| 27 |
} |
| 28 |
|
| 29 |
.modal.show .modal-dialog { |
| 30 |
transform: translate(0, 0); |
| 31 |
} |
| 32 |
|
| 33 |
.modal-dialog-centered { |
| 34 |
display: flex; |
| 35 |
align-items: center; |
| 36 |
min-height: calc(100% - (0.5rem * 2)); |
| 37 |
} |
| 38 |
|
| 39 |
.modal-content { |
| 40 |
position: relative; |
| 41 |
display: flex; |
| 42 |
flex-direction: column; |
| 43 |
width: 100%; |
| 44 |
pointer-events: auto; |
| 45 |
background-color: #ffffff; |
| 46 |
background-clip: padding-box; |
| 47 |
border: 1px solid rgba(0, 0, 0, 0.2); |
| 48 |
border-radius: 0.3rem; |
| 49 |
box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.5); |
| 50 |
outline: 0; |
| 51 |
} |
| 52 |
|
| 53 |
.modal-backdrop { |
| 54 |
position: fixed; |
| 55 |
top: 0; |
| 56 |
right: 0; |
| 57 |
bottom: 0; |
| 58 |
left: 0; |
| 59 |
z-index: 1040; |
| 60 |
background-color: #000000; |
| 61 |
} |
| 62 |
|
| 63 |
.modal-backdrop.wdk-fade { |
| 64 |
opacity: 0; |
| 65 |
} |
| 66 |
|
| 67 |
.modal-backdrop.show { |
| 68 |
opacity: 0.26; |
| 69 |
} |
| 70 |
|
| 71 |
.modal-header { |
| 72 |
display: flex; |
| 73 |
align-items: center; |
| 74 |
justify-content: space-between; |
| 75 |
padding: 1rem; |
| 76 |
border-bottom: 1px solid #e9ecef; |
| 77 |
border-top-left-radius: 0.3rem; |
| 78 |
border-top-right-radius: 0.3rem; |
| 79 |
} |
| 80 |
|
| 81 |
.modal-header .close { |
| 82 |
padding: 5px; |
| 83 |
margin: 0; |
| 84 |
flex: 0 0; |
| 85 |
background: transparent; |
| 86 |
outline: none; |
| 87 |
box-shadow: none; |
| 88 |
border: 0; |
| 89 |
} |
| 90 |
|
| 91 |
.modal-title { |
| 92 |
line-height: 1.2; |
| 93 |
font-weight: 500; |
| 94 |
font-size: 20px; |
| 95 |
flex: 1 2 auto; |
| 96 |
margin: 0; |
| 97 |
} |
| 98 |
|
| 99 |
.modal-body { |
| 100 |
position: relative; |
| 101 |
flex: 1 1 auto; |
| 102 |
padding: 1rem; |
| 103 |
} |
| 104 |
|
| 105 |
.modal-footer { |
| 106 |
display: flex; |
| 107 |
align-items: center; |
| 108 |
justify-content: flex-end; |
| 109 |
padding: 1rem; |
| 110 |
border-top: 1px solid #e9ecef; |
| 111 |
} |
| 112 |
|
| 113 |
.modal-footer> :not(:first-child) { |
| 114 |
margin-left: .25rem; |
| 115 |
} |
| 116 |
|
| 117 |
.modal-footer> :not(:last-child) { |
| 118 |
margin-right: .25rem; |
| 119 |
} |
| 120 |
|
| 121 |
.modal-scrollbar-measure { |
| 122 |
position: absolute; |
| 123 |
top: -9999px; |
| 124 |
width: 50px; |
| 125 |
height: 50px; |
| 126 |
overflow: scroll; |
| 127 |
} |
| 128 |
|
| 129 |
.modal-notice .instruction { |
| 130 |
margin-bottom: 25px; } |
| 131 |
|
| 132 |
.modal-notice .picture { |
| 133 |
max-width: 150px; |
| 134 |
} |
| 135 |
|
| 136 |
img { |
| 137 |
max-width: 100%; |
| 138 |
} |
| 139 |
} |
| 140 |
|
| 141 |
|
| 142 |
body:after { |
| 143 |
content: ''; |
| 144 |
background: rgba(0, 0, 0, 0.3); |
| 145 |
position: fixed; |
| 146 |
top: 0; |
| 147 |
right: 0; |
| 148 |
bottom: 0; |
| 149 |
left: 0; |
| 150 |
z-index: 1040; |
| 151 |
visibility: hidden; |
| 152 |
opacity: 0; |
| 153 |
transition: all .15s; |
| 154 |
} |
| 155 |
|
| 156 |
body.wdk-overlay-bgg:after { |
| 157 |
visibility: visible; |
| 158 |
opacity: 1; |
| 159 |
} |