input.css
| 1 | /*--------------------------------------------------------------------------------------------- |
| 2 | Post Box |
| 3 | ---------------------------------------------------------------------------------------------*/ |
| 4 | |
| 5 | #poststuff .acf_postbox .inside { |
| 6 | margin: 0; |
| 7 | padding: 0; |
| 8 | } |
| 9 | |
| 10 | .acf_postbox .field { |
| 11 | position: relative; |
| 12 | padding: 10px 10px; |
| 13 | border-top: 1px solid #fff; |
| 14 | border-bottom: #e8e8e8 solid 1px; |
| 15 | } |
| 16 | |
| 17 | .acf_postbox .field:last-child { |
| 18 | border-bottom: none; |
| 19 | } |
| 20 | |
| 21 | #poststuff .acf_postbox .field > label { |
| 22 | display: block; |
| 23 | color: #21759B; |
| 24 | font-size: 12px; |
| 25 | font-weight: bold; |
| 26 | padding: 0 0 8px; |
| 27 | text-shadow: 0 1px 0 #FFFFFF; |
| 28 | } |
| 29 | |
| 30 | #poststuff .acf_postbox p.instructions { |
| 31 | font-size: 11px; |
| 32 | margin: -6px 0 10px; |
| 33 | padding: 0; |
| 34 | color: #999; |
| 35 | } |
| 36 | |
| 37 | /* no box style */ |
| 38 | #poststuff .acf_postbox.no_box { |
| 39 | border: 0 none; |
| 40 | background: transparent; |
| 41 | } |
| 42 | |
| 43 | #poststuff .acf_postbox.no_box > h3, |
| 44 | #poststuff .acf_postbox.no_box > .handlediv { |
| 45 | display: none; |
| 46 | } |
| 47 | |
| 48 | #poststuff .acf_postbox.no_box .field { |
| 49 | border-bottom: 1px solid #F4F4F4; |
| 50 | } |
| 51 | |
| 52 | |
| 53 | /*--------------------------------------------------------------------------------------------- |
| 54 | Basic Field Styles |
| 55 | ---------------------------------------------------------------------------------------------*/ |
| 56 | |
| 57 | .acf_postbox .field input[type="text"], |
| 58 | .acf_postbox .field input[type="password"], |
| 59 | .acf_postbox .field textarea, |
| 60 | .acf_postbox .field select{ |
| 61 | width: 100%; |
| 62 | padding: 5px; |
| 63 | resize: none; |
| 64 | } |
| 65 | |
| 66 | /*--------------------------------------------------------------------------------------------- |
| 67 | Field: WYSIWYG |
| 68 | ---------------------------------------------------------------------------------------------*/ |
| 69 | |
| 70 | |
| 71 | |
| 72 | |
| 73 | |
| 74 | /*--------------------------------------------------------------------------------------------- |
| 75 | Image Upload |
| 76 | ---------------------------------------------------------------------------------------------*/ |
| 77 | .acf_image_uploader { |
| 78 | position: relative; |
| 79 | } |
| 80 | |
| 81 | .acf_image_uploader a.remove_image { |
| 82 | width: 16px; |
| 83 | height: 16px; |
| 84 | background: url(../images/button_remove.png) 0 0 no-repeat; |
| 85 | position: absolute; |
| 86 | top:0; |
| 87 | left: 0; |
| 88 | cursor: pointer; |
| 89 | margin: -3px 0 0 -3px; |
| 90 | display: none; |
| 91 | } |
| 92 | |
| 93 | .acf_image_uploader.active:hover a.remove_image { |
| 94 | display: block; |
| 95 | } |
| 96 | |
| 97 | .acf_image_uploader a.remove_image:hover { |
| 98 | background-position: 0% 100%; |
| 99 | } |
| 100 | |
| 101 | .acf_image_uploader img { |
| 102 | display: none; |
| 103 | -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); |
| 104 | } |
| 105 | |
| 106 | .acf_image_uploader.active img { |
| 107 | display: block; |
| 108 | } |
| 109 | |
| 110 | .acf_image_uploader p { |
| 111 | display: block; |
| 112 | margin: 0 !important; |
| 113 | } |
| 114 | |
| 115 | .acf_image_uploader.active p { |
| 116 | display: none; |
| 117 | } |
| 118 | |
| 119 | /*--------------------------------------------------------------------------------------------- |
| 120 | File Upload |
| 121 | ---------------------------------------------------------------------------------------------*/ |
| 122 | .acf_file_uploader { |
| 123 | position: relative; |
| 124 | } |
| 125 | |
| 126 | .acf_file_uploader p { |
| 127 | margin: 0 !important; |
| 128 | } |
| 129 | |
| 130 | .acf_file_uploader p.file { |
| 131 | display: none; |
| 132 | } |
| 133 | |
| 134 | .acf_file_uploader p.no_file { |
| 135 | display: block; |
| 136 | } |
| 137 | |
| 138 | .acf_file_uploader.active p.file { |
| 139 | display: block; |
| 140 | } |
| 141 | |
| 142 | .acf_file_uploader.active p.no_file { |
| 143 | display: none; |
| 144 | } |
| 145 | |
| 146 | |
| 147 | /*--------------------------------------------------------------------------------------------- |
| 148 | Repeater |
| 149 | ---------------------------------------------------------------------------------------------*/ |
| 150 | .repeater { |
| 151 | |
| 152 | |
| 153 | } |
| 154 | |
| 155 | .repeater > table { |
| 156 | |
| 157 | } |
| 158 | |
| 159 | .repeater > table > tbody > tr > td { |
| 160 | background: transparent; |
| 161 | border-right: 1px solid #ededed; |
| 162 | border-bottom: 1px solid #ededed; |
| 163 | padding: 8px; |
| 164 | position: relative; |
| 165 | } |
| 166 | |
| 167 | .repeater > table > tbody > tr:last-child td { |
| 168 | border-bottom: 0 none; |
| 169 | } |
| 170 | |
| 171 | .repeater > table > tbody > tr td:last-child{ |
| 172 | border-right: 0 none; |
| 173 | } |
| 174 | |
| 175 | .repeater > table > tbody > tr:nth-child(even) { |
| 176 | background: #F9F9F9; |
| 177 | } |
| 178 | |
| 179 | .repeater > table > tbody > tr:nth-child(odd) { |
| 180 | background: #FCFCFC; |
| 181 | } |
| 182 | |
| 183 | .repeater > table > thead > tr > th { |
| 184 | |
| 185 | border-right: 1px solid #e1e1e1; |
| 186 | } |
| 187 | |
| 188 | .repeater > table > thead > tr > th:last-child { |
| 189 | border-right: 0 none; |
| 190 | } |
| 191 | |
| 192 | .repeater > table > tbody > tr:hover a.remove_field { |
| 193 | visibility: visible; |
| 194 | } |
| 195 | |
| 196 | .repeater.hide_remove_buttons > table > tbody > tr:hover a.remove_field { |
| 197 | visibility: hidden; |
| 198 | } |
| 199 | |
| 200 | |
| 201 | .repeater > table.row_layout > tbody > tr > td > label { |
| 202 | display: block; |
| 203 | color: #21759B; |
| 204 | font-size: 12px; |
| 205 | font-weight: bold; |
| 206 | padding: 20px 0 8px; |
| 207 | text-shadow: 0 1px 0 #FFFFFF; |
| 208 | } |
| 209 | |
| 210 | .repeater > table.row_layout > tbody > tr > td > label:first-child { |
| 211 | padding-top: 0; |
| 212 | } |
| 213 | |
| 214 | a.remove_field { |
| 215 | display: block; |
| 216 | width: 16px; |
| 217 | height: 16px; |
| 218 | background: url(../images/button_remove.png) 0 0 no-repeat; |
| 219 | visibility: hidden; |
| 220 | } |
| 221 | |
| 222 | a.remove_field:hover { |
| 223 | background-position: 0 100%; |
| 224 | } |
| 225 | |
| 226 | .repeater table tr td.order, |
| 227 | .repeater table tr th.order{ |
| 228 | width: 20px; |
| 229 | text-align: center; |
| 230 | vertical-align: middle; |
| 231 | color: #aaa; |
| 232 | text-shadow: #fff 0 1px 0; |
| 233 | } |
| 234 | |
| 235 | .repeater table tr td.order { |
| 236 | cursor: move; |
| 237 | } |
| 238 | |
| 239 | .repeater table tr td.remove, |
| 240 | .repeater table tr th.remove { |
| 241 | width: 16px; |
| 242 | vertical-align: middle; |
| 243 | } |
| 244 | |
| 245 | .repeater > table td.order a.order_up { |
| 246 | display: block; |
| 247 | width: 16px; |
| 248 | height: 16px; |
| 249 | background: green; |
| 250 | margin: 0 auto; |
| 251 | } |
| 252 | |
| 253 | .repeater > table td.order a.order_down { |
| 254 | display: block; |
| 255 | width: 16px; |
| 256 | height: 16px; |
| 257 | background: red; |
| 258 | margin: 0 auto; |
| 259 | } |
| 260 | |
| 261 | |
| 262 | .repeater table tr td select { |
| 263 | width: 120px; |
| 264 | margin: 0; |
| 265 | } |
| 266 | |
| 267 | .repeater .table_footer { |
| 268 | position: relative; |
| 269 | overflow: hidden; |
| 270 | padding: 8px 0; |
| 271 | } |
| 272 | |
| 273 | .repeater .table_footer a#add_field{ |
| 274 | display: block; |
| 275 | float: right; |
| 276 | margin: 0; |
| 277 | text-align: center; |
| 278 | } |
| 279 | |
| 280 | #acf_input .wp_themeSkin tr.mceFirst td.mceToolbar { |
| 281 | |
| 282 | } |
| 283 | |
| 284 | #poststuff #acf_input .wp_themeSkin .mceStatusbar { |
| 285 | |
| 286 | } |
| 287 | |
| 288 | #wpcontent select[multiple] { |
| 289 | height: auto; |
| 290 | } |
| 291 | |
| 292 | #wpcontent select optgroup { |
| 293 | padding: 0 2px |
| 294 | } |
| 295 | |
| 296 | #wpcontent select optgroup option { |
| 297 | padding-left: 6px; |
| 298 | } |
| 299 | |
| 300 | ul.checkbox_list { |
| 301 | background: transparent !important; |
| 302 | } |
| 303 | |
| 304 | |
| 305 | |
| 306 | /*--------------------------------------------------------------------------------------------- |
| 307 | In Box |
| 308 | ---------------------------------------------------------------------------------------------*/ |
| 309 | |
| 310 | |
| 311 | /*--------------------------------------------------------------------------------------------- |
| 312 | relationship |
| 313 | ---------------------------------------------------------------------------------------------*/ |
| 314 | |
| 315 | .acf_relationship { |
| 316 | position: relative; |
| 317 | overflow: hidden; |
| 318 | } |
| 319 | |
| 320 | .acf_relationship .relationship_left { |
| 321 | width: 50%; |
| 322 | float: left; |
| 323 | } |
| 324 | |
| 325 | .acf_relationship .relationship_right { |
| 326 | width: 50%; |
| 327 | float: left; |
| 328 | } |
| 329 | |
| 330 | .acf_relationship .relationship_label { |
| 331 | font-size: 12px; |
| 332 | font-family: sans-serif; |
| 333 | color: #999; |
| 334 | position: absolute; |
| 335 | margin-top: 4px; |
| 336 | margin-left: 7px; |
| 337 | } |
| 338 | |
| 339 | .acf_relationship .widefat { |
| 340 | border-bottom-left-radius: 0; |
| 341 | border-bottom-right-radius: 0; |
| 342 | } |
| 343 | |
| 344 | .acf_relationship .widefat th { |
| 345 | border-bottom: 0 none; |
| 346 | } |
| 347 | |
| 348 | |
| 349 | .acf_relationship .relationship_search { |
| 350 | margin: 0; |
| 351 | font-size: 12px; |
| 352 | line-height: 13px; |
| 353 | padding: 5px; |
| 354 | border-radius: 13px |
| 355 | } |
| 356 | |
| 357 | .acf_relationship .relationship_list { |
| 358 | background: #fff; |
| 359 | position: relative; |
| 360 | overflow: auto; |
| 361 | height: 150px; |
| 362 | border: #DFDFDF solid 1px; |
| 363 | border-top-width: 0; |
| 364 | } |
| 365 | |
| 366 | .acf_relationship .relationship_list a.hide { |
| 367 | display: none; |
| 368 | } |
| 369 | |
| 370 | .acf_relationship .relationship_list a.filter_hide { |
| 371 | display: none; |
| 372 | } |
| 373 | |
| 374 | .acf_relationship .relationship_list a { |
| 375 | display: block; |
| 376 | position: relative; |
| 377 | padding: 7px 9px; |
| 378 | text-decoration: none; |
| 379 | border-bottom: #f8f8f8 solid 1px; |
| 380 | } |
| 381 | |
| 382 | |
| 383 | .acf_relationship .relationship_list a:hover { |
| 384 | background: #eaf2fa; |
| 385 | border-bottom-color: #eaf2fa; |
| 386 | color: #000; |
| 387 | } |
| 388 | |
| 389 | .acf_relationship .relationship_right .relationship_list { |
| 390 | margin-left: 10px; |
| 391 | height: 193px; |
| 392 | border-top-width:1px; |
| 393 | } |
| 394 | |
| 395 | .acf_relationship .relationship_list a .add { |
| 396 | width: 16px; |
| 397 | height: 16px; |
| 398 | background: url(../images/button_add.png) 0 0 no-repeat; |
| 399 | position: absolute; |
| 400 | top:0; |
| 401 | right: 0; |
| 402 | cursor: pointer; |
| 403 | margin: 5px 9px 0 0; |
| 404 | display: none; |
| 405 | } |
| 406 | |
| 407 | .acf_relationship .relationship_list a.sortable_active { |
| 408 | background: #eaf2fa; |
| 409 | } |
| 410 | |
| 411 | .acf_relationship .relationship_list a:hover .add { |
| 412 | display: block; |
| 413 | } |
| 414 | |
| 415 | .acf_relationship .relationship_list a .add:hover { |
| 416 | background-position: 0 100%; |
| 417 | } |
| 418 | |
| 419 | .acf_relationship .relationship_list a .remove { |
| 420 | width: 16px; |
| 421 | height: 16px; |
| 422 | background: url(../images/button_remove.png) 0 0 no-repeat; |
| 423 | position: absolute; |
| 424 | top:0; |
| 425 | right: 0; |
| 426 | cursor: pointer; |
| 427 | margin: 5px 9px 0 0; |
| 428 | display: none; |
| 429 | } |
| 430 | |
| 431 | .acf_relationship .relationship_list a:hover .remove { |
| 432 | display: block; |
| 433 | } |
| 434 | |
| 435 | .acf_relationship .relationship_list a .remove:hover { |
| 436 | background-position: 0 100%; |
| 437 | } |
| 438 | |
| 439 | .acf_relationship .relationship_right .relationship_list a { |
| 440 | cursor: move; |
| 441 | } |