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 label.field_label { |
| 22 | display: block; |
| 23 | color: #21759B; |
| 24 | font-size: 12px; |
| 25 | font-weight: bold; |
| 26 | padding: 20px 0 8px; |
| 27 | text-shadow: 0 1px 0 #FFFFFF; |
| 28 | } |
| 29 | |
| 30 | #poststuff .acf_postbox label.field_label:first-child { |
| 31 | padding-top: 0; |
| 32 | } |
| 33 | |
| 34 | #poststuff .acf_postbox p.instructions { |
| 35 | font-size: 11px; |
| 36 | margin: -6px 0 10px; |
| 37 | padding: 0; |
| 38 | color: #999; |
| 39 | } |
| 40 | |
| 41 | /* no box style */ |
| 42 | #poststuff .acf_postbox.no_box { |
| 43 | border: 0 none; |
| 44 | background: transparent; |
| 45 | } |
| 46 | |
| 47 | #poststuff .acf_postbox.no_box > h3, |
| 48 | #poststuff .acf_postbox.no_box > .handlediv { |
| 49 | display: none; |
| 50 | } |
| 51 | |
| 52 | #poststuff .acf_postbox.no_box .field { |
| 53 | border-bottom: 1px solid #F4F4F4; |
| 54 | } |
| 55 | |
| 56 | |
| 57 | /*--------------------------------------------------------------------------------------------- |
| 58 | Basic Field Styles |
| 59 | ---------------------------------------------------------------------------------------------*/ |
| 60 | |
| 61 | .acf_postbox .field input[type="text"], |
| 62 | .acf_postbox .field input[type="password"], |
| 63 | .acf_postbox .field textarea, |
| 64 | .acf_postbox .field select{ |
| 65 | width: 100%; |
| 66 | padding: 5px; |
| 67 | resize: none; |
| 68 | } |
| 69 | |
| 70 | /*--------------------------------------------------------------------------------------------- |
| 71 | Field: WYSIWYG |
| 72 | ---------------------------------------------------------------------------------------------*/ |
| 73 | |
| 74 | .acf_wysiwyg .wp_themeSkin table.mceToolbarRow1 { |
| 75 | margin-top: 2px !important; |
| 76 | } |
| 77 | |
| 78 | |
| 79 | |
| 80 | /*--------------------------------------------------------------------------------------------- |
| 81 | Image Upload |
| 82 | ---------------------------------------------------------------------------------------------*/ |
| 83 | .acf_image_uploader { |
| 84 | position: relative; |
| 85 | } |
| 86 | |
| 87 | .acf_image_uploader a.remove_image { |
| 88 | width: 16px; |
| 89 | height: 16px; |
| 90 | background: url(../images/button_remove.png) 0 0 no-repeat; |
| 91 | position: absolute; |
| 92 | top:0; |
| 93 | left: 0; |
| 94 | cursor: pointer; |
| 95 | margin: -3px 0 0 -3px; |
| 96 | display: none; |
| 97 | } |
| 98 | |
| 99 | .acf_image_uploader.active:hover a.remove_image { |
| 100 | display: block; |
| 101 | } |
| 102 | |
| 103 | .acf_image_uploader a.remove_image:hover { |
| 104 | background-position: 0% 100%; |
| 105 | } |
| 106 | |
| 107 | .acf_image_uploader img { |
| 108 | display: none; |
| 109 | -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); |
| 110 | } |
| 111 | |
| 112 | .acf_image_uploader.active img { |
| 113 | display: block; |
| 114 | } |
| 115 | |
| 116 | .acf_image_uploader p { |
| 117 | display: block; |
| 118 | margin: 0 !important; |
| 119 | } |
| 120 | |
| 121 | .acf_image_uploader.active p { |
| 122 | display: none; |
| 123 | } |
| 124 | |
| 125 | /*--------------------------------------------------------------------------------------------- |
| 126 | File Upload |
| 127 | ---------------------------------------------------------------------------------------------*/ |
| 128 | .acf_file_uploader { |
| 129 | position: relative; |
| 130 | } |
| 131 | |
| 132 | .acf_file_uploader p { |
| 133 | margin: 0 !important; |
| 134 | } |
| 135 | |
| 136 | .acf_file_uploader p.file { |
| 137 | display: none; |
| 138 | } |
| 139 | |
| 140 | .acf_file_uploader p.no_file { |
| 141 | display: block; |
| 142 | } |
| 143 | |
| 144 | .acf_file_uploader.active p.file { |
| 145 | display: block; |
| 146 | } |
| 147 | |
| 148 | .acf_file_uploader.active p.no_file { |
| 149 | display: none; |
| 150 | } |
| 151 | |
| 152 | |
| 153 | /*--------------------------------------------------------------------------------------------- |
| 154 | Repeater |
| 155 | ---------------------------------------------------------------------------------------------*/ |
| 156 | .repeater { |
| 157 | |
| 158 | |
| 159 | } |
| 160 | |
| 161 | .repeater > table { |
| 162 | |
| 163 | } |
| 164 | |
| 165 | .repeater > table > tbody > tr > td { |
| 166 | background: transparent; |
| 167 | border-right: 1px solid #ededed; |
| 168 | border-bottom: 1px solid #ededed; |
| 169 | padding: 8px; |
| 170 | position: relative; |
| 171 | } |
| 172 | |
| 173 | .repeater > table > tbody > tr:last-child td { |
| 174 | border-bottom: 0 none; |
| 175 | } |
| 176 | |
| 177 | .repeater > table > tbody > tr td:last-child{ |
| 178 | border-right: 0 none; |
| 179 | } |
| 180 | |
| 181 | .repeater > table > tbody > tr:nth-child(even) { |
| 182 | background: #F9F9F9; |
| 183 | } |
| 184 | |
| 185 | .repeater > table > tbody > tr:nth-child(odd) { |
| 186 | background: #FCFCFC; |
| 187 | } |
| 188 | |
| 189 | .repeater > table > thead > tr > th { |
| 190 | |
| 191 | border-right: 1px solid #e1e1e1; |
| 192 | } |
| 193 | |
| 194 | .repeater > table > thead > tr > th:last-child { |
| 195 | border-right: 0 none; |
| 196 | } |
| 197 | |
| 198 | .repeater > table > tbody > tr:hover a.remove_field { |
| 199 | visibility: visible; |
| 200 | } |
| 201 | |
| 202 | .repeater.hide_remove_buttons > table > tbody > tr:hover a.remove_field { |
| 203 | visibility: hidden; |
| 204 | } |
| 205 | |
| 206 | |
| 207 | .repeater > table.row_layout > tbody > tr > td > label:first-child { |
| 208 | padding-top: 0; |
| 209 | } |
| 210 | |
| 211 | a.remove_field { |
| 212 | display: block; |
| 213 | width: 16px; |
| 214 | height: 16px; |
| 215 | background: url(../images/button_remove.png) 0 0 no-repeat; |
| 216 | visibility: hidden; |
| 217 | } |
| 218 | |
| 219 | a.remove_field:hover { |
| 220 | background-position: 0 100%; |
| 221 | } |
| 222 | |
| 223 | .repeater table tr td.order, |
| 224 | .repeater table tr th.order{ |
| 225 | width: 16px; |
| 226 | text-align: center; |
| 227 | vertical-align: middle; |
| 228 | color: #aaa; |
| 229 | text-shadow: #fff 0 1px 0; |
| 230 | } |
| 231 | |
| 232 | .repeater table tr td.order { |
| 233 | cursor: move; |
| 234 | } |
| 235 | |
| 236 | .repeater table tr td.remove, |
| 237 | .repeater table tr th.remove { |
| 238 | width: 16px; |
| 239 | vertical-align: middle; |
| 240 | } |
| 241 | |
| 242 | .repeater > table td.order a.order_up { |
| 243 | display: block; |
| 244 | width: 16px; |
| 245 | height: 16px; |
| 246 | background: green; |
| 247 | margin: 0 auto; |
| 248 | } |
| 249 | |
| 250 | .repeater > table td.order a.order_down { |
| 251 | display: block; |
| 252 | width: 16px; |
| 253 | height: 16px; |
| 254 | background: red; |
| 255 | margin: 0 auto; |
| 256 | } |
| 257 | |
| 258 | |
| 259 | .repeater table tr td select { |
| 260 | width: 120px; |
| 261 | margin: 0; |
| 262 | } |
| 263 | |
| 264 | .repeater .table_footer { |
| 265 | position: relative; |
| 266 | overflow: hidden; |
| 267 | padding: 8px 0; |
| 268 | } |
| 269 | |
| 270 | .repeater .table_footer a#add_field{ |
| 271 | display: block; |
| 272 | float: right; |
| 273 | margin: 0; |
| 274 | text-align: center; |
| 275 | } |
| 276 | |
| 277 | #acf_input .wp_themeSkin tr.mceFirst td.mceToolbar { |
| 278 | |
| 279 | } |
| 280 | |
| 281 | #poststuff #acf_input .wp_themeSkin .mceStatusbar { |
| 282 | |
| 283 | } |
| 284 | |
| 285 | #wpcontent select[multiple] { |
| 286 | height: auto; |
| 287 | } |
| 288 | |
| 289 | #wpcontent select optgroup { |
| 290 | padding: 0 2px |
| 291 | } |
| 292 | |
| 293 | #wpcontent select optgroup option { |
| 294 | padding-left: 6px; |
| 295 | } |
| 296 | |
| 297 | ul.checkbox_list { |
| 298 | background: transparent !important; |
| 299 | } |
| 300 | |
| 301 | .repeater tr.row_clone { |
| 302 | display: none; |
| 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 | } |
| 442 | |
| 443 | |
| 444 | /*--------------------------------------------------------------------------------------------- |
| 445 | Flexible Content |
| 446 | ---------------------------------------------------------------------------------------------*/ |
| 447 | .acf_flexible_content { |
| 448 | |
| 449 | } |
| 450 | |
| 451 | .acf_flexible_content > .values > table { |
| 452 | margin-bottom: 10px; |
| 453 | position: relative; |
| 454 | } |
| 455 | |
| 456 | .acf_flexible_content > .values > table > tbody > tr > td { |
| 457 | background: transparent; |
| 458 | border-right: 1px solid #ededed; |
| 459 | border-bottom: 1px solid #ededed; |
| 460 | padding: 8px; |
| 461 | position: relative; |
| 462 | } |
| 463 | |
| 464 | .acf_flexible_content > .values > table > tbody > tr:last-child td { |
| 465 | border-bottom: 0 none; |
| 466 | } |
| 467 | |
| 468 | .acf_flexible_content > .values > table > tbody > tr td:last-child{ |
| 469 | border-right: 0 none; |
| 470 | } |
| 471 | |
| 472 | .acf_flexible_content > .values > table > tbody > tr:nth-child(even) { |
| 473 | background: #F9F9F9; |
| 474 | } |
| 475 | |
| 476 | .acf_flexible_content > .values > table > tbody > tr:nth-child(odd) { |
| 477 | background: #FCFCFC; |
| 478 | } |
| 479 | |
| 480 | .acf_flexible_content > .values > table > thead > tr > th { |
| 481 | |
| 482 | border-right: 1px solid #e1e1e1; |
| 483 | } |
| 484 | |
| 485 | .acf_flexible_content > .values > table > thead > tr > th:last-child { |
| 486 | border-right: 0 none; |
| 487 | } |
| 488 | |
| 489 | .acf_flexible_content > .values > table > tbody > tr:hover a.remove_field { |
| 490 | visibility: visible; |
| 491 | } |
| 492 | |
| 493 | .acf_flexible_content > .values > table.row_layout > tbody > tr > td > label { |
| 494 | display: block; |
| 495 | color: #21759B; |
| 496 | font-size: 12px; |
| 497 | font-weight: bold; |
| 498 | padding: 20px 0 8px; |
| 499 | text-shadow: 0 1px 0 #FFFFFF; |
| 500 | } |
| 501 | |
| 502 | .acf_flexible_content > .values > table.row_layout > tbody > tr > td > label:first-child { |
| 503 | padding-top: 0; |
| 504 | } |
| 505 | |
| 506 | .acf_flexible_content table tr td.order, |
| 507 | .acf_flexible_content table tr th.order{ |
| 508 | width: 16px; |
| 509 | text-align: center; |
| 510 | vertical-align: middle; |
| 511 | color: #aaa; |
| 512 | text-shadow: #fff 0 1px 0; |
| 513 | } |
| 514 | |
| 515 | .acf_flexible_content table tr td.order { |
| 516 | cursor: move; |
| 517 | } |
| 518 | |
| 519 | .acf_flexible_content table tr td.remove, |
| 520 | .acf_flexible_content table tr th.remove { |
| 521 | width: 16px; |
| 522 | vertical-align: middle; |
| 523 | } |
| 524 | |
| 525 | .acf_flexible_content table tr td select { |
| 526 | width: 120px; |
| 527 | margin: 0; |
| 528 | } |
| 529 | |
| 530 | .acf_flexible_content .clones { |
| 531 | display: none; |
| 532 | } |
| 533 | |
| 534 | |
| 535 | .acf_flexible_content .table_footer { |
| 536 | position: relative; |
| 537 | padding: 8px 0; |
| 538 | } |
| 539 | |
| 540 | .acf_flexible_content .table_footer a#add_field{ |
| 541 | display: block; |
| 542 | float: right; |
| 543 | margin: 0; |
| 544 | text-align: center; |
| 545 | } |
| 546 | |
| 547 | .acf_popup { |
| 548 | position: absolute; |
| 549 | bottom: 25px; |
| 550 | right: 0; |
| 551 | background: #464646; |
| 552 | border-radius: 5px; |
| 553 | box-shadow: rgba(0,0,0,0.25) 0 0 13px; |
| 554 | margin-bottom: 25px; |
| 555 | margin-right: -5px; |
| 556 | display: none; |
| 557 | } |
| 558 | |
| 559 | .acf_popup .bit { |
| 560 | position: absolute; |
| 561 | width: 56px; |
| 562 | height: 25px; |
| 563 | right: 17px; |
| 564 | margin-bottom: -25px; |
| 565 | background: url(../images/popup-bit.png); |
| 566 | } |
| 567 | |
| 568 | .acf_popup ul { |
| 569 | display: block; |
| 570 | margin: 0; |
| 571 | padding: 0; |
| 572 | } |
| 573 | |
| 574 | .acf_popup ul li { |
| 575 | display: block; |
| 576 | margin: 0; |
| 577 | padding: 0; |
| 578 | } |
| 579 | |
| 580 | .acf_popup ul li a { |
| 581 | color: #cccccc; |
| 582 | font-size: 12px; |
| 583 | line-height: 14px; |
| 584 | padding: 7px 11px; |
| 585 | display: block; |
| 586 | border: 1px solid transparent; |
| 587 | border-bottom: 1px solid #333333; |
| 588 | border-top: 1px solid #555555; |
| 589 | text-decoration: none; |
| 590 | min-width: 100px; |
| 591 | } |
| 592 | |
| 593 | .acf_popup ul li:first-child a { |
| 594 | border-radius: 5px 5px 0 0; |
| 595 | } |
| 596 | |
| 597 | .acf_popup ul li:last-child a { |
| 598 | border-radius: 0 0 5px 5px; |
| 599 | border-bottom-color: transparent; |
| 600 | } |
| 601 | |
| 602 | .acf_popup ul li:only-child a { |
| 603 | border-radius: 5px 5px 5px 5px; |
| 604 | border-bottom-color: transparent; |
| 605 | } |
| 606 | |
| 607 | .acf_popup ul li a:hover { |
| 608 | background: #2b8ab8; |
| 609 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2b8ab8', endColorstr='#227096'); /* for IE */ |
| 610 | background: -webkit-gradient(linear, left top, left bottom, from(#2b8ab8), to(#227096)); /* for webkit browsers */ |
| 611 | background: -moz-linear-gradient(top, #2b8ab8, #227096); /* for firefox 3.6+ */ |
| 612 | border: 1px solid #227096 !important; |
| 613 | color: #FFFFFF; |
| 614 | text-shadow: 0 1px 0 #227096; |
| 615 | } |
| 616 | |
| 617 | .acf_flexible_content .no_value_message { |
| 618 | padding: 19px; |
| 619 | border: #ccc dashed 1px; |
| 620 | text-align: center; |
| 621 | } |
| 622 |