| 1 |
/* Shortcode insert modal - layout only. |
| 2 |
Uses the same structure as WP's #wp-link-wrap (editor.css). |
| 3 |
Buttons, inputs, and list items rely on WP admin's native styles. */ |
| 4 |
|
| 5 |
#accua-form-backdrop { |
| 6 |
position: fixed; |
| 7 |
top: 0; |
| 8 |
left: 0; |
| 9 |
right: 0; |
| 10 |
bottom: 0; |
| 11 |
min-height: 360px; |
| 12 |
background: #000; |
| 13 |
opacity: 0.7; |
| 14 |
z-index: 100100; |
| 15 |
} |
| 16 |
|
| 17 |
#accua-form-wrap { |
| 18 |
background-color: #fff; |
| 19 |
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3); |
| 20 |
width: 500px; |
| 21 |
overflow: hidden; |
| 22 |
margin-left: -250px; |
| 23 |
margin-top: -200px; |
| 24 |
position: fixed; |
| 25 |
top: 50%; |
| 26 |
left: 50%; |
| 27 |
z-index: 100105; |
| 28 |
height: 400px; |
| 29 |
} |
| 30 |
|
| 31 |
#accua-form-wrap form { |
| 32 |
position: relative; |
| 33 |
height: 100%; |
| 34 |
} |
| 35 |
|
| 36 |
#accua-form-wrap .accua-form-modal-title { |
| 37 |
background: #fff; |
| 38 |
border-bottom: 1px solid #dcdcde; |
| 39 |
font-size: 18px; |
| 40 |
font-weight: 600; |
| 41 |
line-height: 2; |
| 42 |
margin: 0; |
| 43 |
padding: 0 36px 0 16px; |
| 44 |
} |
| 45 |
|
| 46 |
#accua-form-wrap .accua-form-close { |
| 47 |
color: #646970; |
| 48 |
padding: 0; |
| 49 |
position: absolute; |
| 50 |
top: 0; |
| 51 |
right: 0; |
| 52 |
width: 36px; |
| 53 |
height: 36px; |
| 54 |
text-align: center; |
| 55 |
background: none; |
| 56 |
border: none; |
| 57 |
cursor: pointer; |
| 58 |
} |
| 59 |
|
| 60 |
#accua-form-wrap .accua-form-close:before { |
| 61 |
font: normal 20px/36px dashicons; |
| 62 |
vertical-align: top; |
| 63 |
-webkit-font-smoothing: antialiased; |
| 64 |
-moz-osx-font-smoothing: grayscale; |
| 65 |
width: 36px; |
| 66 |
height: 36px; |
| 67 |
content: "\f158"; |
| 68 |
} |
| 69 |
|
| 70 |
#accua-form-wrap .accua-form-close:hover, |
| 71 |
#accua-form-wrap .accua-form-close:focus { |
| 72 |
color: #135e96; |
| 73 |
} |
| 74 |
|
| 75 |
#accua-form-wrap .accua-form-close:focus { |
| 76 |
box-shadow: 0 0 0 2px #2271b1; |
| 77 |
outline: 2px solid transparent; |
| 78 |
outline-offset: -2px; |
| 79 |
} |
| 80 |
|
| 81 |
#accua-form-wrap .accua-form-body { |
| 82 |
padding: 0 16px; |
| 83 |
position: absolute; |
| 84 |
top: calc(2.15384615em + 16px); |
| 85 |
left: 0; |
| 86 |
right: 0; |
| 87 |
bottom: calc(2.15384615em + 19px); |
| 88 |
display: flex; |
| 89 |
flex-direction: column; |
| 90 |
overflow: auto; |
| 91 |
} |
| 92 |
|
| 93 |
#accua-form-wrap .search-wrapper { |
| 94 |
margin: 5px 0 9px; |
| 95 |
} |
| 96 |
|
| 97 |
#accua-form-wrap .search-wrapper .search-label { |
| 98 |
display: inline-block; |
| 99 |
width: 80px; |
| 100 |
text-align: right; |
| 101 |
padding-right: 5px; |
| 102 |
max-width: 24%; |
| 103 |
vertical-align: middle; |
| 104 |
} |
| 105 |
|
| 106 |
#accua-form-wrap .link-search-field { |
| 107 |
width: 250px; |
| 108 |
max-width: 70%; |
| 109 |
} |
| 110 |
|
| 111 |
#accua-form-wrap .query-results { |
| 112 |
border: 1px #dcdcde solid; |
| 113 |
margin: 0; |
| 114 |
background: #fff; |
| 115 |
overflow: auto; |
| 116 |
flex: 1; |
| 117 |
} |
| 118 |
|
| 119 |
#accua-form-wrap .query-results ul { |
| 120 |
list-style: none; |
| 121 |
margin: 0; |
| 122 |
padding: 0; |
| 123 |
} |
| 124 |
|
| 125 |
#accua-form-wrap .query-results li { |
| 126 |
clear: both; |
| 127 |
margin-bottom: 0; |
| 128 |
border-bottom: 1px solid #f0f0f1; |
| 129 |
color: #2c3338; |
| 130 |
padding: 4px 6px 4px 10px; |
| 131 |
cursor: pointer; |
| 132 |
position: relative; |
| 133 |
} |
| 134 |
|
| 135 |
#accua-form-wrap .query-results li:hover { |
| 136 |
background: #f0f6fc; |
| 137 |
color: #101517; |
| 138 |
} |
| 139 |
|
| 140 |
#accua-form-wrap .query-results li.selected { |
| 141 |
background: #dcdcde; |
| 142 |
color: #2c3338; |
| 143 |
} |
| 144 |
|
| 145 |
#accua-form-wrap .query-results li.selected .item-title { |
| 146 |
font-weight: 600; |
| 147 |
} |
| 148 |
|
| 149 |
#accua-form-wrap .query-results li:last-child { |
| 150 |
border: none; |
| 151 |
} |
| 152 |
|
| 153 |
#accua-form-wrap .item-title { |
| 154 |
display: inline-block; |
| 155 |
width: calc(100% - 68px); |
| 156 |
word-wrap: break-word; |
| 157 |
} |
| 158 |
|
| 159 |
#accua-form-wrap .item-info { |
| 160 |
text-transform: uppercase; |
| 161 |
color: #646970; |
| 162 |
font-size: 11px; |
| 163 |
position: absolute; |
| 164 |
right: 5px; |
| 165 |
top: 5px; |
| 166 |
} |
| 167 |
|
| 168 |
#accua-form-wrap .no-results { |
| 169 |
padding: 6px; |
| 170 |
border-left: 4px solid #d63638; |
| 171 |
color: #2c3338; |
| 172 |
} |
| 173 |
|
| 174 |
#accua-form-wrap .submitbox { |
| 175 |
padding: 8px 16px; |
| 176 |
background: #fff; |
| 177 |
border-top: 1px solid #dcdcde; |
| 178 |
position: absolute; |
| 179 |
bottom: 0; |
| 180 |
left: 0; |
| 181 |
right: 0; |
| 182 |
display: flex; |
| 183 |
align-items: center; |
| 184 |
justify-content: space-between; |
| 185 |
} |
| 186 |
|
| 187 |
@media screen and (max-width: 782px) { |
| 188 |
#accua-form-wrap { |
| 189 |
width: 90%; |
| 190 |
margin-left: -45%; |
| 191 |
} |
| 192 |
} |
| 193 |
|