| 1 |
.maxmodal-data { |
| 2 |
display: none; } |
| 3 |
|
| 4 |
body.max-modal-active { |
| 5 |
overflow: hidden; } |
| 6 |
|
| 7 |
.max-modal { |
| 8 |
display: none; |
| 9 |
width: 60%; |
| 10 |
max-width: 70%; |
| 11 |
height: auto; |
| 12 |
max-height: 90vh; |
| 13 |
overflow: hidden; |
| 14 |
position: fixed; |
| 15 |
left: 50%; |
| 16 |
top: 50%; |
| 17 |
z-index: 100101; |
| 18 |
display: none; |
| 19 |
background: #ffffff; |
| 20 |
border-radius: 4px 4px 4px 4px; |
| 21 |
-webkit-border-radius: 4px 4px 4px 4px; |
| 22 |
-webkit-box-shadow: -3px -3px 10px rgba(0, 0, 0, 0.5); |
| 23 |
-moz-box-shadow: -3px -3px 10px rgba(0, 0, 0, 0.5); |
| 24 |
box-shadow: -3px -3px 10px rgba(0, 0, 0, 0.5); |
| 25 |
/* Fixes for Beaver Builder, which loads without WP backend styles */ } |
| 26 |
.max-modal.fullscreen { |
| 27 |
width: auto; |
| 28 |
max-width: auto; |
| 29 |
max-height: auto; |
| 30 |
left: 10px; |
| 31 |
right: 10px; |
| 32 |
top: 10px; |
| 33 |
bottom: 10px; } |
| 34 |
@media (max-width: 960px) { |
| 35 |
.max-modal { |
| 36 |
max-width: 90%; } } |
| 37 |
@media (max-width: 780px) { |
| 38 |
.max-modal { |
| 39 |
max-width: 100%; } } |
| 40 |
.max-modal.success { |
| 41 |
border: 4px solid green; } |
| 42 |
.max-modal.error { |
| 43 |
border: 4px solid red; } |
| 44 |
.max-modal.error h3 { |
| 45 |
background-color: #ff0000; } |
| 46 |
.max-modal .content-area { |
| 47 |
background-color: #fff; } |
| 48 |
.max-modal .modal_header { |
| 49 |
text-align: center; |
| 50 |
font-size: 16px; |
| 51 |
font-weight: 700; |
| 52 |
background-color: #f3f3f3; |
| 53 |
border-bottom: 1px solid #ccc; |
| 54 |
padding: 8px 5px; |
| 55 |
cursor: move; } |
| 56 |
.max-modal .modal_header h3 { |
| 57 |
margin: 0; |
| 58 |
color: #444; |
| 59 |
font-weight: 400; |
| 60 |
padding: 0; |
| 61 |
text-align: center; |
| 62 |
text-shadow: none; |
| 63 |
font-size: 16px; } |
| 64 |
.max-modal .modal_header .modal_close { |
| 65 |
position: absolute; |
| 66 |
right: 5px; |
| 67 |
top: 8px; |
| 68 |
width: 20px; |
| 69 |
height: 20px; |
| 70 |
cursor: pointer; |
| 71 |
color: #444; } |
| 72 |
.max-modal .modal_header .modal_close:hover { |
| 73 |
cursor: pointer; |
| 74 |
color: #111; } |
| 75 |
.max-modal .content, .max-modal .modal_content { |
| 76 |
text-align: center; |
| 77 |
padding: 5px 15px 10px; |
| 78 |
overflow-y: auto; } |
| 79 |
.max-modal textarea { |
| 80 |
overflow-x: auto; } |
| 81 |
.max-modal .controls { |
| 82 |
padding: 10px; |
| 83 |
text-align: center; |
| 84 |
clear: both; } |
| 85 |
.max-modal .controls .button, .max-modal .controls .button-primary { |
| 86 |
margin-right: 8px; |
| 87 |
background: #0085ba; |
| 88 |
border-color: #0073aa #006799 #006799; |
| 89 |
box-shadow: 0 1px 0 #006799; |
| 90 |
color: #fff; |
| 91 |
text-decoration: none; |
| 92 |
text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799; |
| 93 |
cursor: pointer; |
| 94 |
height: 28px; |
| 95 |
line-height: 26px; |
| 96 |
display: inline-block; |
| 97 |
padding: 0 10px; } |
| 98 |
.max-modal .controls .button.disabled, .max-modal .controls .button-primary.disabled { |
| 99 |
background-color: #008ec2; |
| 100 |
color: #66c6e4; |
| 101 |
cursor: default; |
| 102 |
border-color: #007cb2; } |
| 103 |
.max-modal .tablenav .tablenav-pages a, .max-modal .tablenav-pages-navspan { |
| 104 |
display: inline-block; |
| 105 |
vertical-align: baseline; |
| 106 |
min-width: 28px; |
| 107 |
min-height: 28px; |
| 108 |
margin: 0; |
| 109 |
padding: 0 4px; |
| 110 |
font-size: 16px; |
| 111 |
line-height: 1.5; |
| 112 |
text-align: center; } |
| 113 |
|
| 114 |
.max-modal textarea#maxbutton-css { |
| 115 |
width: 100%; |
| 116 |
height: 250px; |
| 117 |
font-family: Consolas, 'Courier New', 'Courier'; |
| 118 |
font-size: 13px; |
| 119 |
white-space: normal; |
| 120 |
word-wrap: break-word; |
| 121 |
overflow: none; } |
| 122 |
|
| 123 |
.maxmodal_overlay { |
| 124 |
background: #000; |
| 125 |
left: 0; |
| 126 |
right: 0; |
| 127 |
bottom: 0; |
| 128 |
top: 0; |
| 129 |
height: 100%; |
| 130 |
position: fixed; |
| 131 |
opacity: 0.7; |
| 132 |
z-index: 100100; |
| 133 |
display: none; } |
| 134 |
|