fields.css
| 1 | /*--------------------------------------------------------------------------------------------- |
| 2 | Postbox |
| 3 | ---------------------------------------------------------------------------------------------*/ |
| 4 | #icon-edit { |
| 5 | background: url(../images/sprite.png) 0 0 no-repeat !important; |
| 6 | } |
| 7 | |
| 8 | #toplevel_page_edit-post_type-acf .wp-menu-image { background: url("../../../../wp-admin/images/menu.png") no-repeat scroll 0 -1px transparent; } |
| 9 | |
| 10 | #message p a { |
| 11 | display: none; |
| 12 | } |
| 13 | |
| 14 | .postbox#acf_fields { |
| 15 | border: 0 none; |
| 16 | } |
| 17 | |
| 18 | .postbox#acf_fields .handlediv { |
| 19 | display: none; |
| 20 | } |
| 21 | |
| 22 | .postbox#acf_fields h3.hndle { |
| 23 | display: none; |
| 24 | } |
| 25 | |
| 26 | .postbox#acf_fields .inside { |
| 27 | margin: 0; |
| 28 | padding: 0; |
| 29 | } |
| 30 | |
| 31 | .postbox#acf_fields a { |
| 32 | text-decoration: none; |
| 33 | } |
| 34 | |
| 35 | #minor-publishing, |
| 36 | #misc-publishing-actions { |
| 37 | display: none; |
| 38 | } |
| 39 | |
| 40 | /*--------------------------------------------------------------------------------------------- |
| 41 | Table |
| 42 | ---------------------------------------------------------------------------------------------*/ |
| 43 | table.widefat.acf { |
| 44 | border: 0 none; |
| 45 | background: transparent none; |
| 46 | } |
| 47 | |
| 48 | table.widefat.acf td { |
| 49 | border: 0 none; |
| 50 | } |
| 51 | |
| 52 | .acf, |
| 53 | .acf tr, |
| 54 | .acf tr td { |
| 55 | vertical-align: top; |
| 56 | } |
| 57 | |
| 58 | .acf tr th span { |
| 59 | color: #666; |
| 60 | font-size: 10px; |
| 61 | line-height: 1.2; |
| 62 | font-weight: normal; |
| 63 | text-shadow: 0 1px 0 #FFFFFF; |
| 64 | } |
| 65 | |
| 66 | .acf tr td.field_order, |
| 67 | .acf tr th.field_order { |
| 68 | text-indent: 6px; |
| 69 | } |
| 70 | |
| 71 | .acf tr td.field_order { |
| 72 | cursor: move; |
| 73 | } |
| 74 | |
| 75 | .acf tr td.field_order, |
| 76 | .acf tr th.field_order { |
| 77 | width: 25%; |
| 78 | } |
| 79 | |
| 80 | .acf tr td.field_label, |
| 81 | .acf tr th.field_label { |
| 82 | width: 25%; |
| 83 | } |
| 84 | |
| 85 | .acf tr td.field_name, |
| 86 | .acf tr th.field_name { |
| 87 | width: 25%; |
| 88 | } |
| 89 | |
| 90 | .acf tr td.field_type, |
| 91 | .acf tr th.field_type { |
| 92 | width: 25%; |
| 93 | } |
| 94 | |
| 95 | .acf tr td { |
| 96 | background: transparent; |
| 97 | padding: 8px; |
| 98 | position: relative; |
| 99 | font-size: 12px; |
| 100 | } |
| 101 | |
| 102 | |
| 103 | |
| 104 | |
| 105 | /*--------------------------------------------------------------------------------------------- |
| 106 | Fields Header |
| 107 | ---------------------------------------------------------------------------------------------*/ |
| 108 | .fields_header { |
| 109 | -moz-border-radius: 3px 3px 0 0; |
| 110 | -webkit-border-radius: 3px 3px 0 0; |
| 111 | -khtml-border-radius: 3px 3px 0 0; |
| 112 | border-radius: 3px 3px 0 0; |
| 113 | border: #DFDFDF solid 1px; |
| 114 | border-bottom: 0 none; |
| 115 | } |
| 116 | |
| 117 | |
| 118 | /*--------------------------------------------------------------------------------------------- |
| 119 | Field Meta |
| 120 | ---------------------------------------------------------------------------------------------*/ |
| 121 | |
| 122 | #acf_fields .field_meta { |
| 123 | position: relative; |
| 124 | overflow: hidden; |
| 125 | } |
| 126 | |
| 127 | #acf_fields .field .field_meta { |
| 128 | border: #DFDFDF solid 1px; |
| 129 | border-top: 0 none; |
| 130 | } |
| 131 | |
| 132 | #acf_fields .field .field_meta strong { |
| 133 | display: block; |
| 134 | padding-bottom: 6px; |
| 135 | font-size: 13px; |
| 136 | line-height: 13px; |
| 137 | } |
| 138 | |
| 139 | #acf_fields .field .field_meta .row_options { |
| 140 | font-size: 12px; |
| 141 | line-height: 12px; |
| 142 | visibility: hidden; |
| 143 | } |
| 144 | |
| 145 | #acf_fields .field .field_meta:hover .row_options { |
| 146 | visibility: visible; |
| 147 | } |
| 148 | |
| 149 | #acf_fields .field.form_open > .field_meta { |
| 150 | background: #6e6e6e url(../images/sprite.png) 0 -200px repeat-x; |
| 151 | color: #fff; |
| 152 | text-shadow: #000 0 1px 0; |
| 153 | border: #565656 solid 1px; |
| 154 | /*border-top: #565656 solid 1px; |
| 155 | border-left:0 none; |
| 156 | border-right:0 none;*/ |
| 157 | |
| 158 | } |
| 159 | |
| 160 | #acf_fields .field.form_open > .field_meta td, |
| 161 | #acf_fields .field.form_open > .field_meta a { |
| 162 | color: #fff; |
| 163 | } |
| 164 | |
| 165 | #acf_fields .field.form_open > .field_meta a:hover { |
| 166 | color: #ff8a4f; |
| 167 | } |
| 168 | |
| 169 | #acf_fields .fields .field .field_meta .circle { |
| 170 | width: 20px; |
| 171 | height: 20px; |
| 172 | text-align: center; |
| 173 | font-size: 11px; |
| 174 | line-height: 20px; |
| 175 | display: block; |
| 176 | float: left; |
| 177 | margin: 7px 0 0 7px; |
| 178 | text-indent: 0; |
| 179 | background: url(../images/sprite.png) 0 -350px no-repeat; |
| 180 | } |
| 181 | |
| 182 | #acf_fields .fields .field:nth-child(2n) .field_meta .circle { |
| 183 | background-position: 0 -400px; |
| 184 | |
| 185 | } |
| 186 | |
| 187 | #acf_fields .field.form_open > .field_meta .circle { |
| 188 | background-position: 0 -300px !important; |
| 189 | } |
| 190 | |
| 191 | |
| 192 | .fields { |
| 193 | position: relative; |
| 194 | background: #FCFCFC; |
| 195 | /* box-shadow: inset 0 0 0 1px #DFDFDF; */ |
| 196 | } |
| 197 | |
| 198 | .fields .field { |
| 199 | position: relative; |
| 200 | overflow: hidden; |
| 201 | background: #F9F9F9; |
| 202 | } |
| 203 | |
| 204 | #acf_fields .field.ui-sortable-helper { |
| 205 | |
| 206 | } |
| 207 | #acf_fields .field.ui-sortable-helper { |
| 208 | border-top: 1px solid #DFDFDF; |
| 209 | border-bottom: 1px solid #DFDFDF; |
| 210 | } |
| 211 | |
| 212 | #acf_fields .field.ui-sortable-placeholder + .field { |
| 213 | border-top: 1px solid #DFDFDF; |
| 214 | } |
| 215 | |
| 216 | .fields .field:nth-child(even) { |
| 217 | background: #FCFCFC; |
| 218 | } |
| 219 | |
| 220 | .fields .field_clone { |
| 221 | display: none; |
| 222 | } |
| 223 | |
| 224 | .fields .field:first-child { |
| 225 | border-top: 0 none; |
| 226 | } |
| 227 | |
| 228 | .fields .field:last-child { |
| 229 | border-bottom: 0 none; |
| 230 | } |
| 231 | |
| 232 | |
| 233 | |
| 234 | /*--------------------------------------------------------------------------------------------- |
| 235 | Table Body - Fields |
| 236 | ---------------------------------------------------------------------------------------------*/ |
| 237 | .no_fields_message { |
| 238 | padding: 15px 10px; |
| 239 | border: #DFDFDF solid 1px; |
| 240 | |
| 241 | border: 1px solid #DFDFDF; |
| 242 | border-top: 0 none; |
| 243 | } |
| 244 | |
| 245 | |
| 246 | /*--------------------------------------------------------------------------------------------- |
| 247 | Table Footer |
| 248 | ---------------------------------------------------------------------------------------------*/ |
| 249 | #acf_fields .table_footer { |
| 250 | position: relative; |
| 251 | overflow: hidden; |
| 252 | padding: 8px; |
| 253 | background: #EAF2FA; |
| 254 | border: #c7d7e2 solid 1px; |
| 255 | border-top:0 none; |
| 256 | } |
| 257 | |
| 258 | #acf_fields .table_footer .order_message { |
| 259 | background: url(../images/sprite.png) -50px -300px no-repeat; |
| 260 | color: #7a9bbe; |
| 261 | font-size: 11px; |
| 262 | line-height: 1em; |
| 263 | padding: 7px 0 0 22px; |
| 264 | width: 161px; |
| 265 | height: 13px; |
| 266 | float: left; |
| 267 | margin-left: 13px; |
| 268 | text-shadow: #fff 0 1px 0; |
| 269 | font-family: Comic Sans MS, sans-serif; |
| 270 | } |
| 271 | |
| 272 | #acf_fields .table_footer a#add_field{ |
| 273 | display: block; |
| 274 | float: right; |
| 275 | margin: 0; |
| 276 | } |
| 277 | |
| 278 | .inline_metabox { |
| 279 | border: 0 none; |
| 280 | width: 100%; |
| 281 | } |
| 282 | |
| 283 | .inline_metabox h3 { |
| 284 | border: 0 none; |
| 285 | } |
| 286 | |
| 287 | /*--------------------------------------------------------------------------------------------- |
| 288 | Field Options |
| 289 | ---------------------------------------------------------------------------------------------*/ |
| 290 | .field_options { |
| 291 | background: #DFDFDF; |
| 292 | position: relative; |
| 293 | overflow: hidden; |
| 294 | } |
| 295 | |
| 296 | .field_options .field_option { |
| 297 | display: none; |
| 298 | position: relative; |
| 299 | overflow: hidden; |
| 300 | padding: 6px; |
| 301 | } |
| 302 | |
| 303 | .field_options .field_option.open { |
| 304 | display: block; |
| 305 | } |
| 306 | |
| 307 | .field_options .field_option table { |
| 308 | border: #CCCCCC solid 1px; |
| 309 | border-radius: 5px; |
| 310 | } |
| 311 | |
| 312 | |
| 313 | .field_save td { |
| 314 | line-height: 25px; |
| 315 | } |
| 316 | /*--------------------------------------------------------------------------------------------- |
| 317 | Repeater |
| 318 | ---------------------------------------------------------------------------------------------*/ |
| 319 | .repeater { |
| 320 | position: relative; |
| 321 | } |
| 322 | |
| 323 | .field_options .field_option .repeater table { |
| 324 | } |
| 325 | |
| 326 | table.acf_input tr td .acf tr td { |
| 327 | background: transparent; |
| 328 | padding: 8px; |
| 329 | position: relative; |
| 330 | font-size: 12px; |
| 331 | border: 0 none; |
| 332 | } |
| 333 | |
| 334 | |
| 335 | /*--------------------------------------------------------------------------------------------- |
| 336 | Field Form |
| 337 | ---------------------------------------------------------------------------------------------*/ |
| 338 | .field_form { |
| 339 | border: #7390a5 solid 1px; |
| 340 | border-top: 0 none; |
| 341 | background: #91bbd9; |
| 342 | padding: 10px; |
| 343 | clear: both; |
| 344 | vertical-align: top; |
| 345 | } |
| 346 | |
| 347 | .field_form table.acf_input { |
| 348 | border: #7390a5 solid 1px; |
| 349 | position: relative; |
| 350 | overflow: hidden; |
| 351 | box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); |
| 352 | } |
| 353 | |
| 354 | .field_form table.acf_input tr.field_label td { |
| 355 | border-top: 0 none; |
| 356 | } |
| 357 | |
| 358 | .field_form table.acf_input td { |
| 359 | background: transparent; |
| 360 | border-bottom-color: #DFDFDF; |
| 361 | border-top-color: #FFFFFF; |
| 362 | } |
| 363 | |
| 364 | .field_form_mask { |
| 365 | display: none; |
| 366 | width: 100%; |
| 367 | position: relative; |
| 368 | overflow: hidden; |
| 369 | clear: both; |
| 370 | } |
| 371 | |
| 372 | /*--------------------------------------------------------------------------------------------- |
| 373 | Location |
| 374 | ---------------------------------------------------------------------------------------------*/ |
| 375 | |
| 376 | .postbox#acf_location .inside { |
| 377 | margin: 0; |
| 378 | padding: 0; |
| 379 | } |
| 380 | |
| 381 | .postbox#acf_location .widefat { |
| 382 | border: 0 none; |
| 383 | } |
| 384 | |
| 385 | .postbox#acf_location h3 span.description { |
| 386 | font-size: 11px; |
| 387 | color: #666; |
| 388 | font-weight: normal; |
| 389 | font-style: normal; |
| 390 | padding-left: 4px; |
| 391 | } |
| 392 | |
| 393 | table.acf_input > tbody > tr > td > select[multiple="multiple"] { |
| 394 | height: auto !important; |
| 395 | } |
| 396 | |
| 397 | td.param { |
| 398 | width: 40%; |
| 399 | } |
| 400 | td.operator { |
| 401 | width: 20%; |
| 402 | } |
| 403 | |
| 404 | /*--------------------------------------------------------------------------------------------- |
| 405 | Location Rules |
| 406 | ---------------------------------------------------------------------------------------------*/ |
| 407 | .location_rules { |
| 408 | |
| 409 | } |
| 410 | |
| 411 | table#location_rules { |
| 412 | |
| 413 | } |
| 414 | |
| 415 | table#location_rules tr { |
| 416 | |
| 417 | } |
| 418 | |
| 419 | table#location_rules tr td { |
| 420 | padding: 4px; |
| 421 | border: 0 none; |
| 422 | } |
| 423 | |
| 424 | table#location_rules tr td:first-child { |
| 425 | padding-left: 0; |
| 426 | } |
| 427 | |
| 428 | table#location_rules tr td:last-child { |
| 429 | padding-right: 0; |
| 430 | } |
| 431 | |
| 432 | table#location_rules tr td.buttons { |
| 433 | width: 40px; |
| 434 | vertical-align: middle; |
| 435 | } |
| 436 | |
| 437 | table#location_rules a.remove { |
| 438 | display: block; |
| 439 | width: 16px; |
| 440 | height: 16px; |
| 441 | background: url(../images/button_remove.png) 0 0 no-repeat; |
| 442 | float: left; |
| 443 | margin-right: 4px; |
| 444 | } |
| 445 | |
| 446 | table#location_rules a.remove:hover { |
| 447 | background-position: 0 100%; |
| 448 | } |
| 449 | |
| 450 | table#location_rules a.remove.disabled { |
| 451 | opacity: 0.4; |
| 452 | background-position: 0 0 !important; |
| 453 | cursor: default; |
| 454 | } |
| 455 | |
| 456 | table#location_rules a.add { |
| 457 | display: block; |
| 458 | width: 16px; |
| 459 | height: 16px; |
| 460 | background: url(../images/button_add.png) 0 0 no-repeat; |
| 461 | float: left; |
| 462 | } |
| 463 | |
| 464 | table#location_rules a.add:hover { |
| 465 | background-position: 0 100%; |
| 466 | } |
| 467 | |
| 468 | table#location_rules .acf-loading { |
| 469 | margin: 0 auto; |
| 470 | margin-top: -2px; |
| 471 | } |
| 472 | |
| 473 | |
| 474 | /*--------------------------------------------------------------------------------------------- |
| 475 | * |
| 476 | * Options |
| 477 | * |
| 478 | *---------------------------------------------------------------------------------------------*/ |
| 479 | |
| 480 | .postbox#acf_options .inside { |
| 481 | margin: 0; |
| 482 | padding: 0; |
| 483 | } |
| 484 | |
| 485 | .postbox#acf_options h3 span.description { |
| 486 | font-size: 11px; |
| 487 | color: #666; |
| 488 | font-weight: normal; |
| 489 | font-style: normal; |
| 490 | padding-left: 4px; |
| 491 | } |
| 492 | |
| 493 | .postbox#acf_options ul.checkbox_list { |
| 494 | display: block; |
| 495 | float: left; |
| 496 | width: 300px; |
| 497 | } |
| 498 | |
| 499 | .postbox#acf_options ul.checkbox_list li { |
| 500 | display: block; |
| 501 | } |
| 502 | |
| 503 | ul.checkbox_list li input { |
| 504 | margin: 2px 5px 0 0; |
| 505 | vertical-align: top; |
| 506 | } |
| 507 | |
| 508 | |
| 509 | /*--------------------------------------------------------------------------------------------- |
| 510 | * |
| 511 | * Flexible Content |
| 512 | * |
| 513 | *---------------------------------------------------------------------------------------------*/ |
| 514 | table.acf_input table.acf_cf_meta { |
| 515 | width: 100%; |
| 516 | border: 0 none; |
| 517 | } |
| 518 | |
| 519 | table.acf_input table.acf_cf_meta td { |
| 520 | border: 0 none; |
| 521 | width: 33%; |
| 522 | } |
| 523 | |
| 524 | table.acf_input table.acf_cf_meta label { |
| 525 | width: 20%; |
| 526 | color: #333333; |
| 527 | font-weight: bold; |
| 528 | } |
| 529 | |
| 530 | table.acf_input table.acf_cf_meta input { |
| 531 | width: 80%; |
| 532 | } |
| 533 | |
| 534 | table.acf_input table.acf_cf_meta select { |
| 535 | width: 75%; |
| 536 | } |
| 537 | |
| 538 | .acf_fc_reorder { |
| 539 | cursor: move; |
| 540 | } |
| 541 | |
| 542 | .ui-state-highlight { |
| 543 | height: 40px; |
| 544 | } |
| 545 | |
| 546 | .field_form table.acf_input .field_option_flexible_content > td { |
| 547 | background: #f9f9f9; |
| 548 | } |
| 549 | |
| 550 | |
| 551 | /*--------------------------------------------------------------------------------------------- |
| 552 | * |
| 553 | * Publish Metabox |
| 554 | * |
| 555 | *---------------------------------------------------------------------------------------------*/ |
| 556 | |
| 557 | .postbox { |
| 558 | min-width: 200px; |
| 559 | } |
| 560 | |
| 561 | .inner-sidebar #side-sortables, |
| 562 | .columns-2 .inner-sidebar #side-sortables { |
| 563 | width: 200px; |
| 564 | } |
| 565 | |
| 566 | .has-right-sidebar #side-info-column { |
| 567 | width: 200px; |
| 568 | } |
| 569 | |
| 570 | .has-right-sidebar #post-body-content { |
| 571 | margin-right: 220px; |
| 572 | } |
| 573 | |
| 574 | #submitdiv .acf-button { |
| 575 | width: 100%; |
| 576 | } |
| 577 | |
| 578 | #submitdiv a.acf-button { |
| 579 | width: auto; |
| 580 | margin: 0 0 10px; |
| 581 | } |
| 582 | |
| 583 | #submitdiv #delete-action { |
| 584 | float: none; |
| 585 | } |
| 586 | #submitdiv #publishing-action { |
| 587 | float: none; |
| 588 | } |
| 589 | #submitdiv #publishing-action img { |
| 590 | display: none; |
| 591 | } |
| 592 | |
| 593 | |
| 594 | /*--------------------------------------------------------------------------------------------- |
| 595 | * |
| 596 | * Select with Optgroup |
| 597 | * |
| 598 | *---------------------------------------------------------------------------------------------*/ |
| 599 | #acf_fields select optgroup, |
| 600 | #acf_location select optgroup { |
| 601 | padding: 5px 2px; |
| 602 | background: #fff; |
| 603 | } |
| 604 | |
| 605 | #acf_fields select optgroup:first-child, |
| 606 | #acf_location select optgroup:first-child { |
| 607 | |
| 608 | } |
| 609 | |
| 610 | #acf_fields select option, |
| 611 | #acf_location select option { |
| 612 | padding: 3px; |
| 613 | } |
| 614 | |
| 615 | #acf_fields select optgroup option, |
| 616 | #acf_location select optgroup option { |
| 617 | padding-left: 6px; |
| 618 | } |
| 619 | |
| 620 | #acf_fields select optgroup:nth-child(2n), |
| 621 | #acf_location select optgroup:nth-child(2n) { |
| 622 | background: #F9F9F9; |
| 623 | } |