| 1 |
.wpupg-admin-modal-overlay { |
| 2 |
position: fixed; |
| 3 |
top: 0px; |
| 4 |
left: 0px; |
| 5 |
right: 0px; |
| 6 |
bottom: 0px; |
| 7 |
background-color: rgba(0,0,0,0.7); |
| 8 |
z-index: 99999; |
| 9 |
|
| 10 |
display: flex; |
| 11 |
align-items: center; |
| 12 |
justify-content: center; |
| 13 |
} |
| 14 |
|
| 15 |
.wpupg-admin-modal { |
| 16 |
box-sizing: border-box; |
| 17 |
border: 1px solid black; |
| 18 |
background-color: white; |
| 19 |
border-radius: 4px; |
| 20 |
outline: none; |
| 21 |
width: 90%; |
| 22 |
height: auto; |
| 23 |
max-height: 95%; |
| 24 |
|
| 25 |
display: flex; |
| 26 |
flex-flow: column nowrap; |
| 27 |
|
| 28 |
* { |
| 29 |
box-sizing: border-box; |
| 30 |
} |
| 31 |
|
| 32 |
.wpupg-admin-modal-header { |
| 33 |
flex: none; |
| 34 |
padding: 10px; |
| 35 |
background-color: #23282d; |
| 36 |
|
| 37 |
display: flex; |
| 38 |
justify-content: space-between; |
| 39 |
align-content: center; |
| 40 |
|
| 41 |
h2 { |
| 42 |
margin: 0; |
| 43 |
color: white; |
| 44 |
} |
| 45 |
|
| 46 |
.wpupg-admin-modal-close { |
| 47 |
margin-bottom: -2px; |
| 48 |
svg line { |
| 49 |
stroke: white; |
| 50 |
} |
| 51 |
} |
| 52 |
} |
| 53 |
|
| 54 |
.wpupg-admin-modal-content { |
| 55 |
flex: 1 1 auto; |
| 56 |
overflow: auto; |
| 57 |
|
| 58 |
padding: 10px; |
| 59 |
} |
| 60 |
|
| 61 |
.wpupg-admin-modal-footer { |
| 62 |
flex: none; |
| 63 |
padding: 10px; |
| 64 |
background-color: #23282d; |
| 65 |
|
| 66 |
display: flex; |
| 67 |
justify-content: center; |
| 68 |
align-items: center; |
| 69 |
|
| 70 |
a { |
| 71 |
text-decoration: none; |
| 72 |
|
| 73 |
&:hover { |
| 74 |
text-decoration: underline; |
| 75 |
} |
| 76 |
} |
| 77 |
|
| 78 |
span, a { |
| 79 |
color: white; |
| 80 |
} |
| 81 |
|
| 82 |
span, a, .button { |
| 83 |
margin: 0 5px; |
| 84 |
} |
| 85 |
} |
| 86 |
} |
| 87 |
|
| 88 |
@media screen and (min-width: 782px) { |
| 89 |
.wpupg-admin-modal { |
| 90 |
.wpupg-admin-modal-footer { |
| 91 |
justify-content: flex-end; |
| 92 |
|
| 93 |
.button:last-child { |
| 94 |
margin-right: 0; |
| 95 |
} |
| 96 |
} |
| 97 |
} |
| 98 |
} |