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 | |
| 75 | |
| 76 | |
| 77 | |
| 78 | /*--------------------------------------------------------------------------------------------- |
| 79 | Image Upload |
| 80 | ---------------------------------------------------------------------------------------------*/ |
| 81 | .acf_image_uploader { |
| 82 | position: relative; |
| 83 | } |
| 84 | |
| 85 | .acf_image_uploader a.remove_image { |
| 86 | width: 16px; |
| 87 | height: 16px; |
| 88 | background: url(../images/button_remove.png) 0 0 no-repeat; |
| 89 | position: absolute; |
| 90 | top:0; |
| 91 | left: 0; |
| 92 | cursor: pointer; |
| 93 | margin: -3px 0 0 -3px; |
| 94 | display: none; |
| 95 | } |
| 96 | |
| 97 | .acf_image_uploader.active:hover a.remove_image { |
| 98 | display: block; |
| 99 | } |
| 100 | |
| 101 | .acf_image_uploader a.remove_image:hover { |
| 102 | background-position: 0% 100%; |
| 103 | } |
| 104 | |
| 105 | .acf_image_uploader img { |
| 106 | display: none; |
| 107 | -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); |
| 108 | } |
| 109 | |
| 110 | .acf_image_uploader.active img { |
| 111 | display: block; |
| 112 | } |
| 113 | |
| 114 | .acf_image_uploader p { |
| 115 | display: block; |
| 116 | margin: 0 !important; |
| 117 | } |
| 118 | |
| 119 | .acf_image_uploader.active p { |
| 120 | display: none; |
| 121 | } |
| 122 | |
| 123 | /*--------------------------------------------------------------------------------------------- |
| 124 | File Upload |
| 125 | ---------------------------------------------------------------------------------------------*/ |
| 126 | .acf_file_uploader { |
| 127 | position: relative; |
| 128 | } |
| 129 | |
| 130 | .acf_file_uploader p { |
| 131 | margin: 0 !important; |
| 132 | } |
| 133 | |
| 134 | .acf_file_uploader p.file { |
| 135 | display: none; |
| 136 | } |
| 137 | |
| 138 | .acf_file_uploader p.no_file { |
| 139 | display: block; |
| 140 | } |
| 141 | |
| 142 | .acf_file_uploader.active p.file { |
| 143 | display: block; |
| 144 | } |
| 145 | |
| 146 | .acf_file_uploader.active p.no_file { |
| 147 | display: none; |
| 148 | } |
| 149 | |
| 150 | |
| 151 | /*--------------------------------------------------------------------------------------------- |
| 152 | Repeater |
| 153 | ---------------------------------------------------------------------------------------------*/ |
| 154 | .repeater { |
| 155 | |
| 156 | |
| 157 | } |
| 158 | |
| 159 | .repeater > table { |
| 160 | |
| 161 | } |
| 162 | |
| 163 | .repeater > table > tbody > tr > td { |
| 164 | background: transparent; |
| 165 | border-right: 1px solid #ededed; |
| 166 | border-bottom: 1px solid #ededed; |
| 167 | padding: 8px; |
| 168 | position: relative; |
| 169 | } |
| 170 | |
| 171 | .repeater > table > tbody > tr:last-child td { |
| 172 | border-bottom: 0 none; |
| 173 | } |
| 174 | |
| 175 | .repeater > table > tbody > tr td:last-child{ |
| 176 | border-right: 0 none; |
| 177 | } |
| 178 | |
| 179 | .repeater > table > tbody > tr:nth-child(even) { |
| 180 | background: #F9F9F9; |
| 181 | } |
| 182 | |
| 183 | .repeater > table > tbody > tr:nth-child(odd) { |
| 184 | background: #FCFCFC; |
| 185 | } |
| 186 | |
| 187 | .repeater > table > thead > tr > th { |
| 188 | |
| 189 | border-right: 1px solid #e1e1e1; |
| 190 | } |
| 191 | |
| 192 | .repeater > table > thead > tr > th:last-child { |
| 193 | border-right: 0 none; |
| 194 | } |
| 195 | |
| 196 | .repeater > table > tbody > tr:hover a.remove_field { |
| 197 | visibility: visible; |
| 198 | } |
| 199 | |
| 200 | .repeater.hide_remove_buttons > table > tbody > tr:hover a.remove_field { |
| 201 | visibility: hidden; |
| 202 | } |
| 203 | |
| 204 | |
| 205 | .repeater > table.row_layout > tbody > tr > td > label:first-child { |
| 206 | padding-top: 0; |
| 207 | } |
| 208 | |
| 209 | a.remove_field { |
| 210 | display: block; |
| 211 | width: 16px; |
| 212 | height: 16px; |
| 213 | background: url(../images/button_remove.png) 0 0 no-repeat; |
| 214 | visibility: hidden; |
| 215 | } |
| 216 | |
| 217 | a.remove_field:hover { |
| 218 | background-position: 0 100%; |
| 219 | } |
| 220 | |
| 221 | .repeater table tr td.order, |
| 222 | .repeater table tr th.order{ |
| 223 | width: 16px; |
| 224 | text-align: center; |
| 225 | vertical-align: middle; |
| 226 | color: #aaa; |
| 227 | text-shadow: #fff 0 1px 0; |
| 228 | } |
| 229 | |
| 230 | .repeater table tr td.order { |
| 231 | cursor: move; |
| 232 | } |
| 233 | |
| 234 | .repeater table tr td.remove, |
| 235 | .repeater table tr th.remove { |
| 236 | width: 16px; |
| 237 | vertical-align: middle; |
| 238 | } |
| 239 | |
| 240 | .repeater > table td.order a.order_up { |
| 241 | display: block; |
| 242 | width: 16px; |
| 243 | height: 16px; |
| 244 | background: green; |
| 245 | margin: 0 auto; |
| 246 | } |
| 247 | |
| 248 | .repeater > table td.order a.order_down { |
| 249 | display: block; |
| 250 | width: 16px; |
| 251 | height: 16px; |
| 252 | background: red; |
| 253 | margin: 0 auto; |
| 254 | } |
| 255 | |
| 256 | |
| 257 | .repeater table tr td select { |
| 258 | width: 120px; |
| 259 | margin: 0; |
| 260 | } |
| 261 | |
| 262 | .repeater .table_footer { |
| 263 | position: relative; |
| 264 | overflow: hidden; |
| 265 | padding: 8px 0; |
| 266 | } |
| 267 | |
| 268 | .repeater .table_footer a#add_field{ |
| 269 | display: block; |
| 270 | float: right; |
| 271 | margin: 0; |
| 272 | text-align: center; |
| 273 | } |
| 274 | |
| 275 | #acf_input .wp_themeSkin tr.mceFirst td.mceToolbar { |
| 276 | |
| 277 | } |
| 278 | |
| 279 | #poststuff #acf_input .wp_themeSkin .mceStatusbar { |
| 280 | |
| 281 | } |
| 282 | |
| 283 | #wpcontent select[multiple] { |
| 284 | height: auto; |
| 285 | } |
| 286 | |
| 287 | #wpcontent select optgroup { |
| 288 | padding: 0 2px |
| 289 | } |
| 290 | |
| 291 | #wpcontent select optgroup option { |
| 292 | padding-left: 6px; |
| 293 | } |
| 294 | |
| 295 | ul.checkbox_list { |
| 296 | background: transparent !important; |
| 297 | } |
| 298 | |
| 299 | .repeater tr.row_clone { |
| 300 | display: none; |
| 301 | } |
| 302 | |
| 303 | |
| 304 | /*--------------------------------------------------------------------------------------------- |
| 305 | In Box |
| 306 | ---------------------------------------------------------------------------------------------*/ |
| 307 | |
| 308 | |
| 309 | /*--------------------------------------------------------------------------------------------- |
| 310 | relationship |
| 311 | ---------------------------------------------------------------------------------------------*/ |
| 312 | |
| 313 | .acf_relationship { |
| 314 | position: relative; |
| 315 | overflow: hidden; |
| 316 | } |
| 317 | |
| 318 | .acf_relationship .relationship_left { |
| 319 | width: 50%; |
| 320 | float: left; |
| 321 | } |
| 322 | |
| 323 | .acf_relationship .relationship_right { |
| 324 | width: 50%; |
| 325 | float: left; |
| 326 | } |
| 327 | |
| 328 | .acf_relationship .relationship_label { |
| 329 | font-size: 12px; |
| 330 | font-family: sans-serif; |
| 331 | color: #999; |
| 332 | position: absolute; |
| 333 | margin-top: 4px; |
| 334 | margin-left: 7px; |
| 335 | } |
| 336 | |
| 337 | .acf_relationship .widefat { |
| 338 | border-bottom-left-radius: 0; |
| 339 | border-bottom-right-radius: 0; |
| 340 | } |
| 341 | |
| 342 | .acf_relationship .widefat th { |
| 343 | border-bottom: 0 none; |
| 344 | } |
| 345 | |
| 346 | |
| 347 | .acf_relationship .relationship_search { |
| 348 | margin: 0; |
| 349 | font-size: 12px; |
| 350 | line-height: 13px; |
| 351 | padding: 5px; |
| 352 | border-radius: 13px |
| 353 | } |
| 354 | |
| 355 | .acf_relationship .relationship_list { |
| 356 | background: #fff; |
| 357 | position: relative; |
| 358 | overflow: auto; |
| 359 | height: 150px; |
| 360 | border: #DFDFDF solid 1px; |
| 361 | border-top-width: 0; |
| 362 | } |
| 363 | |
| 364 | .acf_relationship .relationship_list a.hide { |
| 365 | display: none; |
| 366 | } |
| 367 | |
| 368 | .acf_relationship .relationship_list a.filter_hide { |
| 369 | display: none; |
| 370 | } |
| 371 | |
| 372 | .acf_relationship .relationship_list a { |
| 373 | display: block; |
| 374 | position: relative; |
| 375 | padding: 7px 9px; |
| 376 | text-decoration: none; |
| 377 | border-bottom: #f8f8f8 solid 1px; |
| 378 | } |
| 379 | |
| 380 | |
| 381 | .acf_relationship .relationship_list a:hover { |
| 382 | background: #eaf2fa; |
| 383 | border-bottom-color: #eaf2fa; |
| 384 | color: #000; |
| 385 | } |
| 386 | |
| 387 | .acf_relationship .relationship_right .relationship_list { |
| 388 | margin-left: 10px; |
| 389 | height: 193px; |
| 390 | border-top-width:1px; |
| 391 | } |
| 392 | |
| 393 | .acf_relationship .relationship_list a .add { |
| 394 | width: 16px; |
| 395 | height: 16px; |
| 396 | background: url(../images/button_add.png) 0 0 no-repeat; |
| 397 | position: absolute; |
| 398 | top:0; |
| 399 | right: 0; |
| 400 | cursor: pointer; |
| 401 | margin: 5px 9px 0 0; |
| 402 | display: none; |
| 403 | } |
| 404 | |
| 405 | .acf_relationship .relationship_list a.sortable_active { |
| 406 | background: #eaf2fa; |
| 407 | } |
| 408 | |
| 409 | .acf_relationship .relationship_list a:hover .add { |
| 410 | display: block; |
| 411 | } |
| 412 | |
| 413 | .acf_relationship .relationship_list a .add:hover { |
| 414 | background-position: 0 100%; |
| 415 | } |
| 416 | |
| 417 | .acf_relationship .relationship_list a .remove { |
| 418 | width: 16px; |
| 419 | height: 16px; |
| 420 | background: url(../images/button_remove.png) 0 0 no-repeat; |
| 421 | position: absolute; |
| 422 | top:0; |
| 423 | right: 0; |
| 424 | cursor: pointer; |
| 425 | margin: 5px 9px 0 0; |
| 426 | display: none; |
| 427 | } |
| 428 | |
| 429 | .acf_relationship .relationship_list a:hover .remove { |
| 430 | display: block; |
| 431 | } |
| 432 | |
| 433 | .acf_relationship .relationship_list a .remove:hover { |
| 434 | background-position: 0 100%; |
| 435 | } |
| 436 | |
| 437 | .acf_relationship .relationship_right .relationship_list a { |
| 438 | cursor: move; |
| 439 | } |
| 440 | |
| 441 | |
| 442 | /*--------------------------------------------------------------------------------------------- |
| 443 | Flexible Content |
| 444 | ---------------------------------------------------------------------------------------------*/ |
| 445 | .acf_flexible_content { |
| 446 | |
| 447 | } |
| 448 | |
| 449 | .acf_flexible_content > .values > table { |
| 450 | margin-bottom: 10px; |
| 451 | position: relative; |
| 452 | } |
| 453 | |
| 454 | .acf_flexible_content > .values > table > tbody > tr > td { |
| 455 | background: transparent; |
| 456 | border-right: 1px solid #ededed; |
| 457 | border-bottom: 1px solid #ededed; |
| 458 | padding: 8px; |
| 459 | position: relative; |
| 460 | } |
| 461 | |
| 462 | .acf_flexible_content > .values > table > tbody > tr:last-child td { |
| 463 | border-bottom: 0 none; |
| 464 | } |
| 465 | |
| 466 | .acf_flexible_content > .values > table > tbody > tr td:last-child{ |
| 467 | border-right: 0 none; |
| 468 | } |
| 469 | |
| 470 | .acf_flexible_content > .values > table > tbody > tr:nth-child(even) { |
| 471 | background: #F9F9F9; |
| 472 | } |
| 473 | |
| 474 | .acf_flexible_content > .values > table > tbody > tr:nth-child(odd) { |
| 475 | background: #FCFCFC; |
| 476 | } |
| 477 | |
| 478 | .acf_flexible_content > .values > table > thead > tr > th { |
| 479 | |
| 480 | border-right: 1px solid #e1e1e1; |
| 481 | } |
| 482 | |
| 483 | .acf_flexible_content > .values > table > thead > tr > th:last-child { |
| 484 | border-right: 0 none; |
| 485 | } |
| 486 | |
| 487 | .acf_flexible_content > .values > table > tbody > tr:hover a.remove_field { |
| 488 | visibility: visible; |
| 489 | } |
| 490 | |
| 491 | .acf_flexible_content > .values > table.row_layout > tbody > tr > td > label { |
| 492 | display: block; |
| 493 | color: #21759B; |
| 494 | font-size: 12px; |
| 495 | font-weight: bold; |
| 496 | padding: 20px 0 8px; |
| 497 | text-shadow: 0 1px 0 #FFFFFF; |
| 498 | } |
| 499 | |
| 500 | .acf_flexible_content > .values > table.row_layout > tbody > tr > td > label:first-child { |
| 501 | padding-top: 0; |
| 502 | } |
| 503 | |
| 504 | .acf_flexible_content table tr td.order, |
| 505 | .acf_flexible_content table tr th.order{ |
| 506 | width: 16px; |
| 507 | text-align: center; |
| 508 | vertical-align: middle; |
| 509 | color: #aaa; |
| 510 | text-shadow: #fff 0 1px 0; |
| 511 | } |
| 512 | |
| 513 | .acf_flexible_content table tr td.order { |
| 514 | cursor: move; |
| 515 | } |
| 516 | |
| 517 | .acf_flexible_content table tr td.remove, |
| 518 | .acf_flexible_content table tr th.remove { |
| 519 | width: 16px; |
| 520 | vertical-align: middle; |
| 521 | } |
| 522 | |
| 523 | .acf_flexible_content table tr td select { |
| 524 | width: 120px; |
| 525 | margin: 0; |
| 526 | } |
| 527 | |
| 528 | .acf_flexible_content .clones { |
| 529 | display: none; |
| 530 | } |
| 531 | |
| 532 | |
| 533 | .acf_flexible_content .table_footer { |
| 534 | position: relative; |
| 535 | padding: 8px 0; |
| 536 | } |
| 537 | |
| 538 | .acf_flexible_content .table_footer a#add_field{ |
| 539 | display: block; |
| 540 | float: right; |
| 541 | margin: 0; |
| 542 | text-align: center; |
| 543 | } |
| 544 | |
| 545 | .acf_popup { |
| 546 | position: absolute; |
| 547 | bottom: 25px; |
| 548 | right: 0; |
| 549 | background: #464646; |
| 550 | border-radius: 5px; |
| 551 | box-shadow: rgba(0,0,0,0.25) 0 0 13px; |
| 552 | margin-bottom: 25px; |
| 553 | margin-right: -5px; |
| 554 | display: none; |
| 555 | } |
| 556 | |
| 557 | .acf_popup .bit { |
| 558 | position: absolute; |
| 559 | width: 56px; |
| 560 | height: 25px; |
| 561 | right: 17px; |
| 562 | margin-bottom: -25px; |
| 563 | background: url(../images/popup-bit.png); |
| 564 | } |
| 565 | |
| 566 | .acf_popup ul { |
| 567 | display: block; |
| 568 | margin: 0; |
| 569 | padding: 0; |
| 570 | } |
| 571 | |
| 572 | .acf_popup ul li { |
| 573 | display: block; |
| 574 | margin: 0; |
| 575 | padding: 0; |
| 576 | } |
| 577 | |
| 578 | .acf_popup ul li a { |
| 579 | color: #cccccc; |
| 580 | font-size: 12px; |
| 581 | line-height: 14px; |
| 582 | padding: 7px 11px; |
| 583 | display: block; |
| 584 | border: 1px solid transparent; |
| 585 | border-bottom: 1px solid #333333; |
| 586 | border-top: 1px solid #555555; |
| 587 | text-decoration: none; |
| 588 | min-width: 100px; |
| 589 | } |
| 590 | |
| 591 | .acf_popup ul li:first-child a { |
| 592 | border-radius: 5px 5px 0 0; |
| 593 | } |
| 594 | |
| 595 | .acf_popup ul li:last-child a { |
| 596 | border-radius: 0 0 5px 5px; |
| 597 | border-bottom-color: transparent; |
| 598 | } |
| 599 | |
| 600 | .acf_popup ul li:only-child a { |
| 601 | border-radius: 5px 5px 5px 5px; |
| 602 | border-bottom-color: transparent; |
| 603 | } |
| 604 | |
| 605 | .acf_popup ul li a:hover { |
| 606 | background: #2b8ab8; |
| 607 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2b8ab8', endColorstr='#227096'); /* for IE */ |
| 608 | background: -webkit-gradient(linear, left top, left bottom, from(#2b8ab8), to(#227096)); /* for webkit browsers */ |
| 609 | background: -moz-linear-gradient(top, #2b8ab8, #227096); /* for firefox 3.6+ */ |
| 610 | border: 1px solid #227096 !important; |
| 611 | color: #FFFFFF; |
| 612 | text-shadow: 0 1px 0 #227096; |
| 613 | } |
| 614 | |
| 615 | .acf_flexible_content .no_value_message { |
| 616 | padding: 19px; |
| 617 | border: #ccc dashed 1px; |
| 618 | text-align: center; |
| 619 | } |
| 620 |