input.css
| 1 | /*--------------------------------------------------------------------------------------------- |
| 2 | * |
| 3 | * Post Box |
| 4 | * |
| 5 | *---------------------------------------------------------------------------------------------*/ |
| 6 | |
| 7 | .acf-hidden { |
| 8 | display: none !important; |
| 9 | } |
| 10 | |
| 11 | .acf_postbox { |
| 12 | display: block; |
| 13 | } |
| 14 | |
| 15 | .acf_postbox .inside, |
| 16 | #poststuff .acf_postbox .inside { |
| 17 | margin: 0; |
| 18 | padding: 0; |
| 19 | } |
| 20 | |
| 21 | .acf_postbox.no_box { |
| 22 | border: 0 none; |
| 23 | background: transparent; |
| 24 | box-shadow: none; |
| 25 | } |
| 26 | |
| 27 | .acf_postbox.no_box > .hndle, |
| 28 | .acf_postbox.no_box > .handlediv { |
| 29 | display: none; |
| 30 | } |
| 31 | |
| 32 | .acf_postbox.no_box.closed .inside { |
| 33 | display: block; |
| 34 | } |
| 35 | |
| 36 | .acf_postbox .widefat th, |
| 37 | .acf_postbox .widefat td { |
| 38 | overflow: visible; |
| 39 | } |
| 40 | |
| 41 | |
| 42 | /*--------------------------------------------------------------------------------------------- |
| 43 | * |
| 44 | * Field |
| 45 | * |
| 46 | *---------------------------------------------------------------------------------------------*/ |
| 47 | |
| 48 | .acf_postbox .field { |
| 49 | position: relative; |
| 50 | color: #333333; |
| 51 | } |
| 52 | |
| 53 | .acf_postbox > .inside > .field { |
| 54 | padding: 15px 10px; |
| 55 | border-top: #e8e8e8 solid 1px; |
| 56 | } |
| 57 | |
| 58 | .acf_postbox > .inside > .field:first-child { |
| 59 | border-top: none; |
| 60 | } |
| 61 | |
| 62 | .acf_postbox.no_box > .inside > .field { |
| 63 | border-top: 0 none; |
| 64 | padding-left: 0; |
| 65 | padding-right: 0; |
| 66 | } |
| 67 | |
| 68 | |
| 69 | /* Field Error */ |
| 70 | .acf_postbox .field.error { |
| 71 | border: #CC0000 solid 1px !important; |
| 72 | background: #FFEBE8 !important; |
| 73 | } |
| 74 | |
| 75 | .acf_postbox .field .acf-error-message { |
| 76 | display: none; |
| 77 | position: relative; |
| 78 | |
| 79 | background: #CC0000; |
| 80 | color: #fff; |
| 81 | text-shadow: none; |
| 82 | |
| 83 | border-radius: 3px; |
| 84 | padding: 5px 10px; |
| 85 | |
| 86 | font-size: 12px; |
| 87 | line-height: 14px; |
| 88 | |
| 89 | margin: 5px 0 0; |
| 90 | } |
| 91 | |
| 92 | .acf_postbox .field .acf-error-message .bit { |
| 93 | width: 0; |
| 94 | height: 0; |
| 95 | border: transparent 5px solid; |
| 96 | border-bottom-color: #CC0000; |
| 97 | |
| 98 | display: block; |
| 99 | position: absolute; |
| 100 | top: -10px; |
| 101 | left: 10px; |
| 102 | } |
| 103 | |
| 104 | .acf_postbox .field.error .acf-error-message { |
| 105 | display: inline-block; |
| 106 | } |
| 107 | |
| 108 | .acf_postbox .field.error label.field_label { |
| 109 | color: #CC0000; |
| 110 | } |
| 111 | |
| 112 | .acf_postbox.no_box > .inside > .field.error { |
| 113 | padding-left: 10px; |
| 114 | padding-right: 10px; |
| 115 | } |
| 116 | |
| 117 | .acf_postbox > .inside > .field.error + .field.error { |
| 118 | border-top: 0 none !important; |
| 119 | } |
| 120 | |
| 121 | |
| 122 | |
| 123 | |
| 124 | /* Field Label */ |
| 125 | .acf_postbox p.label { |
| 126 | font-size: 12px; |
| 127 | line-height: 1.5em; |
| 128 | margin: 0 0 1em; |
| 129 | padding: 0; |
| 130 | color: #666666; |
| 131 | text-shadow: 0 1px 0 #FFFFFF; |
| 132 | } |
| 133 | |
| 134 | .acf_postbox p.label label { |
| 135 | color: #333333; |
| 136 | font-size: 13px; |
| 137 | line-height: 1.5em; |
| 138 | font-weight: bold; |
| 139 | padding: 0; |
| 140 | margin: 0 0 3px; |
| 141 | display: block; |
| 142 | vertical-align: text-bottom; |
| 143 | } |
| 144 | |
| 145 | .acf_postbox .field.required label span.required { |
| 146 | color: #CC0000; |
| 147 | } |
| 148 | |
| 149 | .acf_postbox label.field_label:first-child { |
| 150 | padding-top: 0; |
| 151 | } |
| 152 | |
| 153 | .acf_postbox .field_type-message p.label { |
| 154 | display: none !important; |
| 155 | } |
| 156 | |
| 157 | /*--------------------------------------------------------------------------------------------- |
| 158 | * |
| 159 | * Basic Field Styles |
| 160 | * |
| 161 | *---------------------------------------------------------------------------------------------*/ |
| 162 | |
| 163 | .acf_postbox .field input[type="text"], |
| 164 | .acf_postbox .field input[type="number"], |
| 165 | .acf_postbox .field input[type="password"], |
| 166 | .acf_postbox .field input[type="email"], |
| 167 | .acf_postbox .field textarea{ |
| 168 | width: 100%; |
| 169 | padding: 5px; |
| 170 | resize: none; |
| 171 | margin: 0; |
| 172 | } |
| 173 | |
| 174 | .acf_postbox .field textarea { |
| 175 | resize: vertical; |
| 176 | min-height: 150px; |
| 177 | } |
| 178 | |
| 179 | .acf_postbox .field select{ |
| 180 | width: 100%; |
| 181 | padding: 2px; |
| 182 | resize: none; |
| 183 | } |
| 184 | |
| 185 | .acf_postbox .field select optgroup { |
| 186 | padding: 5px; |
| 187 | background: #fff; |
| 188 | } |
| 189 | |
| 190 | .acf_postbox .field select option { |
| 191 | padding: 3px; |
| 192 | } |
| 193 | |
| 194 | .acf_postbox .field select optgroup option { |
| 195 | padding-left: 5px; |
| 196 | } |
| 197 | |
| 198 | .acf_postbox .field select optgroup:nth-child(2n) { |
| 199 | background: #F9F9F9; |
| 200 | } |
| 201 | |
| 202 | |
| 203 | /*--------------------------------------------------------------------------------------------- |
| 204 | * |
| 205 | * Field: WYSIWYG |
| 206 | * |
| 207 | *---------------------------------------------------------------------------------------------*/ |
| 208 | |
| 209 | .acf_wysiwyg { |
| 210 | |
| 211 | } |
| 212 | |
| 213 | .acf_wysiwyg .wp_themeSkin table.mceToolbarRow1 { |
| 214 | margin-top: 2px !important; |
| 215 | } |
| 216 | |
| 217 | .acf_wysiwyg iframe{ |
| 218 | min-height: 250px; |
| 219 | } |
| 220 | |
| 221 | .acf_wysiwyg .wp-editor-container { |
| 222 | background: #fff; |
| 223 | border-color: #CCCCCC #CCCCCC #DFDFDF; |
| 224 | border-style: solid; |
| 225 | border-radius: 3px 3px 0 0; |
| 226 | border-width: 1px; |
| 227 | } |
| 228 | |
| 229 | /* |
| 230 | |
| 231 | not needed in WP 3.8 |
| 232 | |
| 233 | .acf_wysiwyg .mceStatusbar { |
| 234 | position: relative; |
| 235 | } |
| 236 | |
| 237 | .acf_wysiwyg .mceStatusbar a.mceResize { |
| 238 | top: -2px !important; |
| 239 | } |
| 240 | */ |
| 241 | |
| 242 | |
| 243 | /* |
| 244 | * WP 3.5 z-index fix for full screen wysiwyg |
| 245 | */ |
| 246 | |
| 247 | #mce_fullscreen_container { |
| 248 | z-index: 150005 !important; |
| 249 | } |
| 250 | |
| 251 | |
| 252 | /*--------------------------------------------------------------------------------------------- |
| 253 | * |
| 254 | * Field: Image |
| 255 | * |
| 256 | *---------------------------------------------------------------------------------------------*/ |
| 257 | |
| 258 | .acf-image-uploader { |
| 259 | position: relative; |
| 260 | } |
| 261 | |
| 262 | .acf-image-uploader .has-image { display: none; float: left; position: relative; max-width: 100%; } |
| 263 | .acf-image-uploader .no-image { display: block; float: left; position: relative; max-width: 100%; } |
| 264 | |
| 265 | .acf-image-uploader.active .has-image { display: block; } |
| 266 | .acf-image-uploader.active .no-image { display: none; } |
| 267 | |
| 268 | |
| 269 | .acf-image-uploader img { |
| 270 | box-shadow: 0 0 2px rgba(0, 0, 0, 0.2); |
| 271 | width: 100%; |
| 272 | height: auto; |
| 273 | display: block; |
| 274 | min-width: 30px; |
| 275 | min-height: 30px; |
| 276 | background: #f1f1f1; |
| 277 | margin: 0 0 0 2px; |
| 278 | } |
| 279 | |
| 280 | .acf-image-uploader .no-image p { |
| 281 | display: block; |
| 282 | margin: 0 !important; |
| 283 | } |
| 284 | |
| 285 | .acf-image-uploader input.button { |
| 286 | width: auto; |
| 287 | } |
| 288 | |
| 289 | @media screen and (-webkit-min-device-pixel-ratio:0) { |
| 290 | |
| 291 | .acf-image-uploader img { |
| 292 | width: auto; |
| 293 | max-width: 100%; |
| 294 | } |
| 295 | |
| 296 | } |
| 297 | |
| 298 | |
| 299 | /* |
| 300 | * Hover |
| 301 | */ |
| 302 | |
| 303 | .acf-image-uploader .hover { |
| 304 | position: absolute; |
| 305 | top: -11px; |
| 306 | right: -11px; |
| 307 | |
| 308 | -webkit-transition: opacity 0.25s 0s ease-in-out, visibility 0s linear 0.25s; |
| 309 | -moz-transition: opacity 0.25s 0s ease-in-out, visibility 0s linear 0.25s; |
| 310 | -o-transition: opacity 0.25s 0s ease-in-out, visibility 0s linear 0.25s; |
| 311 | transition: opacity 0.25s 0s ease-in-out, visibility 0s linear 0.25s; |
| 312 | |
| 313 | visibility: hidden; |
| 314 | opacity: 0; |
| 315 | } |
| 316 | |
| 317 | .acf-image-uploader .has-image:hover .hover { |
| 318 | -webkit-transition-delay:0s; |
| 319 | -moz-transition-delay:0s; |
| 320 | -o-transition-delay:0s; |
| 321 | transition-delay:0s; |
| 322 | |
| 323 | visibility: visible; |
| 324 | opacity: 1; |
| 325 | } |
| 326 | |
| 327 | .acf-image-uploader .hover ul { |
| 328 | display: block; |
| 329 | margin: 0; |
| 330 | padding: 0; |
| 331 | } |
| 332 | |
| 333 | .acf-image-uploader .hover ul li { |
| 334 | margin: 0 0 5px 0; |
| 335 | } |
| 336 | |
| 337 | |
| 338 | /*--------------------------------------------------------------------------------------------- |
| 339 | * |
| 340 | * Media Model |
| 341 | * |
| 342 | *---------------------------------------------------------------------------------------------*/ |
| 343 | |
| 344 | .media-modal { |
| 345 | |
| 346 | } |
| 347 | |
| 348 | .media-modal .field { |
| 349 | padding: 0; |
| 350 | } |
| 351 | |
| 352 | |
| 353 | /* WP sets tables to act as divs. ACF uses tables, so these muct be reset */ |
| 354 | .media-modal .compat-attachment-fields td.field table { |
| 355 | display: table; |
| 356 | } |
| 357 | .media-modal .compat-attachment-fields td.field table tbody { |
| 358 | display: table-row-group; |
| 359 | } |
| 360 | .media-modal .compat-attachment-fields td.field table tr { |
| 361 | display: table-row; |
| 362 | } |
| 363 | .media-modal .compat-attachment-fields td.field table td, |
| 364 | .media-modal .compat-attachment-fields td.field table th { |
| 365 | display: table-cell; |
| 366 | } |
| 367 | |
| 368 | .compat-item table.widefat { |
| 369 | border: #DFDFDF solid 1px; |
| 370 | } |
| 371 | |
| 372 | |
| 373 | /* Expand / Collapse button */ |
| 374 | .media-modal .acf-expand-details { |
| 375 | float: right; |
| 376 | padding: 1px 10px; |
| 377 | margin-right: 6px; |
| 378 | height: 18px; |
| 379 | line-height: 18px; |
| 380 | color: #AAAAAA; |
| 381 | font-size: 12px; |
| 382 | } |
| 383 | |
| 384 | .media-modal .acf-expand-details:hover { |
| 385 | color: #999; |
| 386 | } |
| 387 | |
| 388 | .media-modal .acf-expand-details:focus, |
| 389 | .media-modal .acf-expand-details:active { |
| 390 | outline: 0 none; |
| 391 | } |
| 392 | |
| 393 | .media-modal .acf-expand-details span { |
| 394 | display: block; |
| 395 | float: left; |
| 396 | } |
| 397 | |
| 398 | .media-modal .acf-expand-details .icon { |
| 399 | height: 15px; |
| 400 | width: 15px; |
| 401 | float: left; |
| 402 | |
| 403 | background: url(../images/arrows.png) 0 -72px no-repeat; |
| 404 | border: #C7C7C7 solid 1px; |
| 405 | |
| 406 | border-radius: 10px; |
| 407 | margin: 0 4px 0 0; |
| 408 | } |
| 409 | |
| 410 | .media-modal .acf-expand-details:hover .icon { |
| 411 | border-color: #AAAAAA; |
| 412 | } |
| 413 | |
| 414 | .media-modal.acf-expanded .acf-expand-details .icon { |
| 415 | background-position: 0 -108px; |
| 416 | } |
| 417 | |
| 418 | .media-modal .acf-expand-details .is-open { display: none; } |
| 419 | .media-modal .acf-expand-details .is-closed { display: block; } |
| 420 | |
| 421 | .media-modal.acf-expanded .acf-expand-details .is-open { display: block; } |
| 422 | .media-modal.acf-expanded .acf-expand-details .is-closed { display: none; } |
| 423 | |
| 424 | |
| 425 | /* Expand / Collapse views */ |
| 426 | .media-modal .media-toolbar, |
| 427 | .media-modal .attachments, |
| 428 | .media-modal .media-sidebar { |
| 429 | -webkit-transition: all 0.25s ease-out; /* Safari 3.2+, Chrome */ |
| 430 | -moz-transition: all 0.25s ease-out; /* Firefox 4-15 */ |
| 431 | -o-transition: all 0.25s ease-out; /* Opera 10.5–12.00 */ |
| 432 | transition: all 0.25s ease-out; /* Firefox 16+, Opera 12.50+ */ |
| 433 | } |
| 434 | |
| 435 | .media-modal.acf-expanded .media-toolbar { right: 700px; } |
| 436 | .media-modal.acf-expanded .attachments { right: 700px; } |
| 437 | .media-modal.acf-expanded .media-sidebar { width: 667px; } |
| 438 | |
| 439 | |
| 440 | /* Sidebar: Collapse */ |
| 441 | .media-modal .compat-item .label { |
| 442 | margin: 0; |
| 443 | } |
| 444 | |
| 445 | .media-modal .media-sidebar .setting span, |
| 446 | .media-modal .compat-item label span, |
| 447 | .media-modal .media-sidebar .setting input, |
| 448 | .media-modal .media-sidebar .setting textarea, |
| 449 | .media-modal .compat-item .field { |
| 450 | min-height: 0; |
| 451 | margin: 5px 0 0; |
| 452 | } |
| 453 | |
| 454 | .media-modal .media-sidebar .setting span, |
| 455 | .media-modal .compat-item label span { |
| 456 | padding-top: 7px; |
| 457 | } |
| 458 | |
| 459 | .media-modal .attachment-display-settings .setting span { |
| 460 | margin-top: 0; |
| 461 | margin-right: 3%; |
| 462 | } |
| 463 | |
| 464 | |
| 465 | /* Sidebar: Expand */ |
| 466 | .media-modal.acf-expanded .attachment-info .thumbnail { |
| 467 | width: 20%; |
| 468 | max-width: none; |
| 469 | max-height: 150px; |
| 470 | margin-right: 3%; |
| 471 | overflow: hidden; |
| 472 | } |
| 473 | |
| 474 | .media-modal.acf-expanded .media-sidebar .setting span, |
| 475 | .media-modal.acf-expanded .compat-item .label { |
| 476 | min-width: 20%; |
| 477 | } |
| 478 | |
| 479 | .media-modal.acf-expanded .media-sidebar .setting input, |
| 480 | .media-modal.acf-expanded .media-sidebar .setting textarea, |
| 481 | .media-modal.acf-expanded .compat-item .field { |
| 482 | width: 77%; |
| 483 | } |
| 484 | |
| 485 | |
| 486 | /*--------------------------------------------------------------------------------------------- |
| 487 | * |
| 488 | * Media Model (Edit Mode) |
| 489 | * |
| 490 | *---------------------------------------------------------------------------------------------*/ |
| 491 | |
| 492 | .media-modal.acf-media-modal { |
| 493 | left: 15%; |
| 494 | right: 15%; |
| 495 | top: 100px; |
| 496 | bottom: 100px; |
| 497 | } |
| 498 | |
| 499 | /* Expand / Collapse views */ |
| 500 | .media-modal.acf-media-modal .media-toolbar, |
| 501 | .media-modal.acf-media-modal .attachments, |
| 502 | .media-modal.acf-media-modal .media-sidebar { |
| 503 | -webkit-transition: none; /* Safari 3.2+, Chrome */ |
| 504 | -moz-transition: none; /* Firefox 4-15 */ |
| 505 | -o-transition: none; /* Opera 10.5–12.00 */ |
| 506 | transition: none; /* Firefox 16+, Opera 12.50+ */ |
| 507 | } |
| 508 | |
| 509 | .media-modal.acf-media-modal .media-frame-router, |
| 510 | .media-modal.acf-media-modal .attachments, |
| 511 | .media-modal.acf-media-modal .media-frame-content .media-toolbar, |
| 512 | .media-modal.acf-media-modal .media-frame-menu { |
| 513 | display: none; |
| 514 | } |
| 515 | |
| 516 | .media-modal.acf-media-modal .media-frame-content { |
| 517 | top: 50px; |
| 518 | left: 0; |
| 519 | } |
| 520 | |
| 521 | |
| 522 | .media-modal.acf-media-modal .media-frame-title { |
| 523 | border-bottom: 1px solid #DFDFDF; |
| 524 | box-shadow: 0 4px 4px -4px rgba(0, 0, 0, 0.1); |
| 525 | left: 0; |
| 526 | } |
| 527 | |
| 528 | .media-modal.acf-media-modal .media-frame-content .media-sidebar { |
| 529 | width: auto; |
| 530 | left: 0px; |
| 531 | } |
| 532 | |
| 533 | .media-modal.acf-media-modal .media-toolbar { |
| 534 | right: 0; |
| 535 | left: 0; |
| 536 | } |
| 537 | |
| 538 | |
| 539 | @media (max-width: 960px) { |
| 540 | |
| 541 | .media-modal.acf-media-modal { |
| 542 | left: 10%; |
| 543 | right: 10%; |
| 544 | } |
| 545 | |
| 546 | } |
| 547 | |
| 548 | @media (max-width: 760px) { |
| 549 | |
| 550 | .media-modal.acf-expanded .media-sidebar .setting span, |
| 551 | .media-modal.acf-expanded .compat-item .label { |
| 552 | min-width: 100%; |
| 553 | text-align: left; |
| 554 | min-height: 0; |
| 555 | padding: 0; |
| 556 | } |
| 557 | |
| 558 | .media-modal.acf-expanded .compat-item .label br { |
| 559 | display: none; |
| 560 | } |
| 561 | |
| 562 | .media-modal.acf-expanded .media-sidebar .setting input, |
| 563 | .media-modal.acf-expanded .media-sidebar .setting textarea, |
| 564 | .media-modal.acf-expanded .compat-item .field { |
| 565 | width: 100%; |
| 566 | } |
| 567 | |
| 568 | } |
| 569 | |
| 570 | |
| 571 | /*--------------------------------------------------------------------------------------------- |
| 572 | * |
| 573 | * ACF Message Wrapper (used by image / file / gallery) |
| 574 | * |
| 575 | *---------------------------------------------------------------------------------------------*/ |
| 576 | |
| 577 | .acf-message-wrapper { |
| 578 | margin: 10px 0; |
| 579 | } |
| 580 | |
| 581 | .acf-message-wrapper .message { |
| 582 | margin: 0 !important; |
| 583 | } |
| 584 | |
| 585 | |
| 586 | /*--------------------------------------------------------------------------------------------- |
| 587 | * |
| 588 | * Field: File |
| 589 | * |
| 590 | *---------------------------------------------------------------------------------------------*/ |
| 591 | |
| 592 | .acf-file-uploader { |
| 593 | position: relative; |
| 594 | line-height: 1.5em; |
| 595 | } |
| 596 | |
| 597 | .acf-file-uploader .has-file { |
| 598 | display: none; |
| 599 | float: left; |
| 600 | } |
| 601 | |
| 602 | .acf-file-uploader .no-file { |
| 603 | display: block; |
| 604 | } |
| 605 | |
| 606 | .acf-file-uploader.active .has-file { |
| 607 | display: block; |
| 608 | } |
| 609 | |
| 610 | .acf-file-uploader.active .no-file { |
| 611 | display: none; |
| 612 | } |
| 613 | |
| 614 | .acf-file-uploader li { |
| 615 | position: relative; |
| 616 | margin: 0 10px 0 0; |
| 617 | } |
| 618 | |
| 619 | .acf-file-uploader img { |
| 620 | min-height: 60px; |
| 621 | min-width: 46px; |
| 622 | box-shadow: 0 0 2px rgba(0, 0, 0, 0.2); |
| 623 | display: block; |
| 624 | background: #f1f1f1; |
| 625 | } |
| 626 | |
| 627 | .acf-file-uploader input.button { |
| 628 | width: auto; |
| 629 | } |
| 630 | |
| 631 | .acf-file-uploader a { |
| 632 | text-decoration: none; |
| 633 | } |
| 634 | |
| 635 | .acf-file-uploader p { |
| 636 | margin: 0 0 4px; |
| 637 | } |
| 638 | |
| 639 | |
| 640 | /* |
| 641 | * Hover |
| 642 | */ |
| 643 | |
| 644 | .acf-file-uploader .hover { |
| 645 | position: absolute; |
| 646 | top: -10px; |
| 647 | right: -10px; |
| 648 | |
| 649 | -webkit-transition: opacity 0.25s 0s ease-in-out, visibility 0s linear 0.25s; |
| 650 | -moz-transition: opacity 0.25s 0s ease-in-out, visibility 0s linear 0.25s; |
| 651 | -o-transition: opacity 0.25s 0s ease-in-out, visibility 0s linear 0.25s; |
| 652 | transition: opacity 0.25s 0s ease-in-out, visibility 0s linear 0.25s; |
| 653 | |
| 654 | visibility: hidden; |
| 655 | opacity: 0; |
| 656 | } |
| 657 | |
| 658 | .acf-file-uploader .has-file:hover .hover { |
| 659 | -webkit-transition-delay:0s; |
| 660 | -moz-transition-delay:0s; |
| 661 | -o-transition-delay:0s; |
| 662 | transition-delay:0s; |
| 663 | |
| 664 | visibility: visible; |
| 665 | opacity: 1; |
| 666 | } |
| 667 | |
| 668 | .acf-file-uploader .hover ul { |
| 669 | display: block; |
| 670 | margin: 0; |
| 671 | padding: 0; |
| 672 | } |
| 673 | |
| 674 | .acf-file-uploader .hover ul li { |
| 675 | margin: 0 0 3px 0; |
| 676 | } |
| 677 | |
| 678 | |
| 679 | /*--------------------------------------------------------------------------------------------- |
| 680 | * |
| 681 | * Field: Select |
| 682 | * |
| 683 | *---------------------------------------------------------------------------------------------*/ |
| 684 | |
| 685 | #wpcontent select[multiple] { |
| 686 | height: auto; |
| 687 | } |
| 688 | |
| 689 | #wpcontent select optgroup { |
| 690 | padding: 0 2px |
| 691 | } |
| 692 | |
| 693 | #wpcontent select optgroup option { |
| 694 | padding-left: 6px; |
| 695 | } |
| 696 | |
| 697 | ul.acf-checkbox-list { |
| 698 | background: transparent !important; |
| 699 | } |
| 700 | |
| 701 | #createuser ul.acf-checkbox-list input { |
| 702 | width: auto; |
| 703 | } |
| 704 | |
| 705 | |
| 706 | /*--------------------------------------------------------------------------------------------- |
| 707 | * |
| 708 | * Input Table |
| 709 | * |
| 710 | *---------------------------------------------------------------------------------------------*/ |
| 711 | |
| 712 | table.acf-input-table { |
| 713 | border-radius: 0 0 0 0; |
| 714 | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); |
| 715 | } |
| 716 | |
| 717 | table.acf-input-table > thead { } |
| 718 | table.acf-input-table > thead > tr > th { |
| 719 | padding: 8px; |
| 720 | position: relative; |
| 721 | |
| 722 | vertical-align: top; |
| 723 | border-right: 1px solid #e1e1e1; |
| 724 | } |
| 725 | |
| 726 | table.acf-input-table > tbody {} |
| 727 | |
| 728 | table.acf-input-table > tbody > tr { |
| 729 | background: #fff; |
| 730 | } |
| 731 | |
| 732 | table.acf-input-table > tbody > tr > td { |
| 733 | background: transparent; |
| 734 | border: 0 none; |
| 735 | |
| 736 | border-top: 1px solid #ededed; |
| 737 | border-right: 1px solid #ededed; |
| 738 | |
| 739 | padding: 8px; |
| 740 | position: relative; |
| 741 | } |
| 742 | |
| 743 | table.acf-input-table > tbody > tr > td { |
| 744 | background: transparent; |
| 745 | border: 0 none; |
| 746 | |
| 747 | border-top: 1px solid #ededed; |
| 748 | border-right: 1px solid #ededed; |
| 749 | |
| 750 | padding: 8px; |
| 751 | position: relative; |
| 752 | } |
| 753 | |
| 754 | table.acf-input-table.row_layout > tbody > tr > td { |
| 755 | border-top-color: #DFDFDF; |
| 756 | } |
| 757 | |
| 758 | table.acf-input-table > tbody > tr:first-child > td { |
| 759 | border-top: 0 none; |
| 760 | } |
| 761 | |
| 762 | table.acf-input-table > tbody > tr > td:last-child { |
| 763 | border-right: 0 none; |
| 764 | } |
| 765 | |
| 766 | td.acf_input-wrap { |
| 767 | padding: 0 !important; |
| 768 | } |
| 769 | |
| 770 | .sub-field-instructions { |
| 771 | color: #999999; |
| 772 | display: block; |
| 773 | font-family: sans-serif; |
| 774 | font-size: 12px; |
| 775 | text-shadow: 0 1px 0 #FFFFFF; |
| 776 | |
| 777 | font-weight: normal; |
| 778 | } |
| 779 | |
| 780 | |
| 781 | /*--------------------------------------------------------------------------------------------- |
| 782 | * |
| 783 | * Field: Relationship |
| 784 | * |
| 785 | *---------------------------------------------------------------------------------------------*/ |
| 786 | |
| 787 | .acf_relationship { |
| 788 | position: relative; |
| 789 | overflow: hidden; |
| 790 | } |
| 791 | |
| 792 | .acf_relationship .relationship_left { |
| 793 | width: 50%; |
| 794 | float: left; |
| 795 | } |
| 796 | |
| 797 | .acf_relationship .relationship_right { |
| 798 | width: 50%; |
| 799 | float: left; |
| 800 | } |
| 801 | |
| 802 | .acf_relationship .relationship_label { |
| 803 | font-size: 12px; |
| 804 | font-family: sans-serif; |
| 805 | color: #999; |
| 806 | position: absolute; |
| 807 | margin-top: 5px; |
| 808 | margin-left: 10px; |
| 809 | } |
| 810 | |
| 811 | .acf_relationship .widefat { |
| 812 | border-bottom-left-radius: 0; |
| 813 | border-bottom-right-radius: 0; |
| 814 | } |
| 815 | |
| 816 | .acf_relationship .widefat th { |
| 817 | border-bottom: 0 none; |
| 818 | } |
| 819 | |
| 820 | |
| 821 | .acf_relationship .relationship_search { |
| 822 | margin: 0; |
| 823 | font-size: 12px; |
| 824 | line-height: 13px; |
| 825 | border-radius: 13px; |
| 826 | font-family: sans-serif; |
| 827 | padding: 5px 9px !important; |
| 828 | } |
| 829 | |
| 830 | .acf_relationship .relationship_list { |
| 831 | background: #fff; |
| 832 | position: relative; |
| 833 | overflow: auto; |
| 834 | height: 150px; |
| 835 | border: #DFDFDF solid 1px; |
| 836 | border-top-width: 0; |
| 837 | } |
| 838 | |
| 839 | .acf_relationship .relationship_list li.hide { |
| 840 | background: #f8f8f8; |
| 841 | } |
| 842 | |
| 843 | .acf_relationship .relationship_list li.hide a { |
| 844 | cursor: default; |
| 845 | color: #21759B !important; |
| 846 | opacity: 0.5; |
| 847 | background: transparent !important; |
| 848 | } |
| 849 | |
| 850 | .acf_relationship .relationship_list li { |
| 851 | border-bottom: #f8f8f8 solid 1px; |
| 852 | } |
| 853 | |
| 854 | .acf_relationship .relationship_list li a { |
| 855 | display: block; |
| 856 | position: relative; |
| 857 | padding: 7px 9px; |
| 858 | text-decoration: none; |
| 859 | } |
| 860 | |
| 861 | .acf_relationship .relationship_list li a .relationship-item-info { |
| 862 | color: #CCC; |
| 863 | text-transform: uppercase; |
| 864 | float: right; |
| 865 | font-size: 11px; |
| 866 | } |
| 867 | |
| 868 | .acf_relationship .relationship_list li:hover a .relationship-item-info { |
| 869 | padding-right: 24px; |
| 870 | color: #999; |
| 871 | } |
| 872 | |
| 873 | .acf_relationship .relationship_list li.hide:hover a .relationship-item-info { |
| 874 | padding-right: 0; |
| 875 | color: #CCC; |
| 876 | } |
| 877 | |
| 878 | .acf_relationship .relationship_list li a:hover, |
| 879 | .acf_relationship .relationship_list li a:focus { |
| 880 | background: #eaf2fa; |
| 881 | color: #000; |
| 882 | box-shadow: #d6e1ec 0 0 0 1px; |
| 883 | } |
| 884 | |
| 885 | .acf_relationship .relationship_right .relationship_list { |
| 886 | margin-left: 10px; |
| 887 | height: 193px; |
| 888 | min-height: 193px; |
| 889 | border-top-width:1px; |
| 890 | } |
| 891 | |
| 892 | .acf_relationship .relationship_list li a .acf-button-add, |
| 893 | .acf_relationship .relationship_list li a .acf-button-remove { |
| 894 | position: absolute; |
| 895 | top: 5px; |
| 896 | right: 5px; |
| 897 | display: none; |
| 898 | |
| 899 | cursor: pointer; |
| 900 | } |
| 901 | |
| 902 | .acf_relationship .relationship_list li a:hover .acf-button-add, |
| 903 | .acf_relationship .relationship_list li a:hover .acf-button-remove { |
| 904 | display: block; |
| 905 | } |
| 906 | |
| 907 | .acf_relationship .relationship_list li.hide a:hover .acf-button-add { |
| 908 | display: none; |
| 909 | } |
| 910 | |
| 911 | |
| 912 | .acf_relationship .relationship_right .relationship_list li a { |
| 913 | cursor: move; |
| 914 | } |
| 915 | |
| 916 | .acf_relationship .load-more .acf-loading { |
| 917 | padding: 0; |
| 918 | box-shadow: none; |
| 919 | background-color: transparent; |
| 920 | } |
| 921 | |
| 922 | .acf_relationship.no-results .load-more { |
| 923 | display: none; |
| 924 | } |
| 925 | |
| 926 | |
| 927 | .acf_relationship select { |
| 928 | font-family: sans-serif; |
| 929 | font-size: 12px; |
| 930 | |
| 931 | } |
| 932 | |
| 933 | .acf_relationship .widefat tr + tr th { |
| 934 | border-radius: 0; |
| 935 | border-top: #DFDFDF solid 1px; |
| 936 | background: #F3F3F3; |
| 937 | |
| 938 | } |
| 939 | |
| 940 | .acf_relationship .relationship_list .result-thumbnail { |
| 941 | width:21px; |
| 942 | height:21px; |
| 943 | background:#F9F9F9; |
| 944 | border:#E1E1E1 solid 1px; |
| 945 | float:left; |
| 946 | margin:-3px 5px 0 0; |
| 947 | } |
| 948 | |
| 949 | .acf_relationship .relationship_list .result-thumbnail img { |
| 950 | width: 21px; |
| 951 | height: 21px; |
| 952 | } |
| 953 | |
| 954 | |
| 955 | /*--------------------------------------------------------------------------------------------- |
| 956 | * |
| 957 | * Field: Taxonomy |
| 958 | * |
| 959 | *---------------------------------------------------------------------------------------------*/ |
| 960 | |
| 961 | .acf-taxonomy-field { |
| 962 | |
| 963 | } |
| 964 | |
| 965 | .acf-taxonomy-field ul { |
| 966 | |
| 967 | } |
| 968 | |
| 969 | .acf-taxonomy-field .categorychecklist-holder { |
| 970 | border: #DFDFDF solid 1px; |
| 971 | border-radius: 3px; |
| 972 | max-height: 200px; |
| 973 | overflow: auto; |
| 974 | } |
| 975 | |
| 976 | .acf-taxonomy-field .acf-checkbox-list { |
| 977 | margin: 0; |
| 978 | padding: 10px; |
| 979 | } |
| 980 | |
| 981 | .acf-taxonomy-field ul li { |
| 982 | |
| 983 | } |
| 984 | |
| 985 | .acf-taxonomy-field ul.children { |
| 986 | padding-left: 18px; |
| 987 | } |
| 988 | |
| 989 | |
| 990 | /*--------------------------------------------------------------------------------------------- |
| 991 | * |
| 992 | * Field: Tab |
| 993 | * |
| 994 | *---------------------------------------------------------------------------------------------*/ |
| 995 | |
| 996 | .field_type-tab { |
| 997 | display: none !important; |
| 998 | } |
| 999 | |
| 1000 | .acf-tab-group { |
| 1001 | background: transparent; |
| 1002 | border-bottom: #CCCCCC solid 1px; |
| 1003 | margin: 0 0 10px; |
| 1004 | padding: 10px 2px 0 0; |
| 1005 | } |
| 1006 | |
| 1007 | .acf-tab-group li { |
| 1008 | font-family: "Open Sans",sans-serif; |
| 1009 | font-size: 23px; |
| 1010 | line-height: 29px; |
| 1011 | margin: 0 8px 0 0; |
| 1012 | |
| 1013 | } |
| 1014 | |
| 1015 | .acf-tab-group li a { |
| 1016 | padding: 6px 10px; |
| 1017 | display: block; |
| 1018 | |
| 1019 | color: #555555; |
| 1020 | font-size: 15px; |
| 1021 | font-weight: 700; |
| 1022 | line-height: 24px; |
| 1023 | |
| 1024 | border: #CCCCCC solid 1px; |
| 1025 | border-bottom: 0 none; |
| 1026 | text-decoration: none; |
| 1027 | background: #E4E4E4; |
| 1028 | |
| 1029 | } |
| 1030 | |
| 1031 | .acf-tab-group li a:hover, |
| 1032 | .acf-tab-group li.active a { |
| 1033 | background: #FFFFFF; |
| 1034 | outline: none; |
| 1035 | } |
| 1036 | |
| 1037 | .acf-tab-group li.active a { |
| 1038 | background: #F1F1F1; |
| 1039 | color: #000; |
| 1040 | border-color: #CCCCCC; |
| 1041 | border-bottom-color: #F7F7F7; |
| 1042 | padding-bottom: 7px; |
| 1043 | margin-bottom: -1px; |
| 1044 | } |
| 1045 | |
| 1046 | .acf_postbox > .inside > .field_type-tab + .field { |
| 1047 | border-top: 0 none; |
| 1048 | } |
| 1049 | |
| 1050 | |
| 1051 | /* |
| 1052 | * Box |
| 1053 | */ |
| 1054 | |
| 1055 | .acf_postbox.default .acf-tab-group { |
| 1056 | padding-left: 10px; |
| 1057 | border-bottom-color: #E8E8E8; |
| 1058 | } |
| 1059 | |
| 1060 | .acf_postbox.default .acf-tab-group li a { |
| 1061 | background: #F1F1F1; |
| 1062 | } |
| 1063 | |
| 1064 | .acf_postbox.default .acf-tab-group li.active a { |
| 1065 | background: #FFFFFF; |
| 1066 | } |
| 1067 | |
| 1068 | |
| 1069 | |
| 1070 | /*--------------------------------------------------------------------------------------------- |
| 1071 | * |
| 1072 | * Field: Date Picker |
| 1073 | * |
| 1074 | *---------------------------------------------------------------------------------------------*/ |
| 1075 | |
| 1076 | .ui-acf .ui-datepicker { |
| 1077 | z-index: 999999999 !important; |
| 1078 | } |
| 1079 | |
| 1080 | |
| 1081 | /*--------------------------------------------------------------------------------------------- |
| 1082 | * |
| 1083 | * Other |
| 1084 | * |
| 1085 | *---------------------------------------------------------------------------------------------*/ |
| 1086 | |
| 1087 | .form-field.field input[type="checkbox"], |
| 1088 | .form-field.field input[type="radio"] { |
| 1089 | width: auto !important; |
| 1090 | } |
| 1091 | |
| 1092 | #createuser input, |
| 1093 | #your-profile input { |
| 1094 | max-width: 25em; |
| 1095 | } |
| 1096 | |
| 1097 | /*-------------------------------------------------------------------------- |
| 1098 | * |
| 1099 | * Tab Group |
| 1100 | * |
| 1101 | *-------------------------------------------------------------------------*/ |
| 1102 | |
| 1103 | .acf-tab_group-show { |
| 1104 | display: block; |
| 1105 | } |
| 1106 | tr.acf-tab_group-show { |
| 1107 | display: table-row; |
| 1108 | } |
| 1109 | .acf-tab_group-hide { |
| 1110 | display: none; |
| 1111 | } |
| 1112 | |
| 1113 | |
| 1114 | /*-------------------------------------------------------------------------- |
| 1115 | * |
| 1116 | * Conditional Logic |
| 1117 | * |
| 1118 | *-------------------------------------------------------------------------*/ |
| 1119 | |
| 1120 | /* Show */ |
| 1121 | .acf-conditional_logic-show { |
| 1122 | display: block; |
| 1123 | } |
| 1124 | |
| 1125 | tr.acf-conditional_logic-show { |
| 1126 | display: table-row; |
| 1127 | } |
| 1128 | |
| 1129 | td.acf-conditional_logic-show, |
| 1130 | th.acf-conditional_logic-show { |
| 1131 | display: table-cell; |
| 1132 | } |
| 1133 | |
| 1134 | |
| 1135 | /* Hide */ |
| 1136 | .acf-conditional_logic-hide, |
| 1137 | tr.acf-conditional_logic-hide, |
| 1138 | td.acf-conditional_logic-hide, |
| 1139 | th.acf-conditional_logic-hide { |
| 1140 | display: none; |
| 1141 | } |
| 1142 | |
| 1143 | |
| 1144 | /* Hide (show blank) */ |
| 1145 | td.acf-conditional_logic-hide.acf-show-blank, |
| 1146 | th.acf-conditional_logic-hide.acf-show-blank { |
| 1147 | display: table-cell; |
| 1148 | } |
| 1149 | |
| 1150 | td.acf-conditional_logic-hide.acf-show-blank .inner, |
| 1151 | th.acf-conditional_logic-hide.acf-show-blank .inner { |
| 1152 | display: none; |
| 1153 | } |
| 1154 | |
| 1155 | |
| 1156 | /*-------------------------------------------------------------------------- |
| 1157 | * |
| 1158 | * Conditional Logic + Tabs |
| 1159 | * |
| 1160 | *-------------------------------------------------------------------------*/ |
| 1161 | |
| 1162 | .acf-tab_group-hide.acf-conditional_logic-show { |
| 1163 | display: none; |
| 1164 | } |
| 1165 | |
| 1166 | .hl.acf-tab-group > li.acf-conditional_logic-hide { |
| 1167 | display: none; |
| 1168 | } |
| 1169 | |
| 1170 | |
| 1171 | /*-------------------------------------------------------------------------- |
| 1172 | * |
| 1173 | * Field: Color picker |
| 1174 | * |
| 1175 | *-------------------------------------------------------------------------*/ |
| 1176 | |
| 1177 | .acf-color_picker { |
| 1178 | |
| 1179 | } |
| 1180 | |
| 1181 | .acf-color_picker input[type="text"] { |
| 1182 | display: inline; |
| 1183 | width: 80px !important; |
| 1184 | } |
| 1185 | |
| 1186 | .acf-color_picker .ui-slider-vertical { |
| 1187 | width: auto; |
| 1188 | height: auto; |
| 1189 | background: transparent; |
| 1190 | border: 0 none; |
| 1191 | } |
| 1192 | |
| 1193 | .acf-color_picker .ui-slider-vertical .ui-slider-handle { |
| 1194 | margin-bottom: 0; |
| 1195 | } |
| 1196 | |
| 1197 | /* Hack for color picker in media popup */ |
| 1198 | .media-frame .acf-color_picker .wp-color-result { |
| 1199 | border-bottom: #BBBBBB solid 1px; |
| 1200 | } |
| 1201 | |
| 1202 | .compat-item .field .acf-color_picker input { |
| 1203 | width: auto; |
| 1204 | margin: 0 0 0 6px; |
| 1205 | } |
| 1206 | |
| 1207 | .compat-item .field .acf-color_picker .button { |
| 1208 | height: 24px; |
| 1209 | padding: 0 10px 1px; |
| 1210 | } |
| 1211 | |
| 1212 | |
| 1213 | /*-------------------------------------------------------------------------- |
| 1214 | * |
| 1215 | * Field: Location |
| 1216 | * |
| 1217 | *-------------------------------------------------------------------------*/ |
| 1218 | |
| 1219 | .acf-google-map { |
| 1220 | position: relative; |
| 1221 | border: #DFDFDF solid 1px; |
| 1222 | background: #fff; |
| 1223 | } |
| 1224 | |
| 1225 | .acf-google-map .title { |
| 1226 | position: relative; |
| 1227 | border-bottom: #DFDFDF solid 1px; |
| 1228 | } |
| 1229 | |
| 1230 | .acf-google-map .has-value { display: none; } |
| 1231 | .acf-google-map .no-value { display: block; } |
| 1232 | |
| 1233 | .acf-google-map.active .has-value { display: block; } |
| 1234 | .acf-google-map.active .no-value { display: none; } |
| 1235 | |
| 1236 | .acf-google-map .title h4, |
| 1237 | .acf-google-map .title input[type="text"] { |
| 1238 | margin: 0; |
| 1239 | font-size: 12px; |
| 1240 | line-height: 16px; |
| 1241 | padding: 10px; |
| 1242 | border: 0 none; |
| 1243 | box-shadow: none; |
| 1244 | border-radius: 0; |
| 1245 | font-family: inherit; |
| 1246 | cursor: text; |
| 1247 | } |
| 1248 | |
| 1249 | .acf-google-map .title input[type="text"] { |
| 1250 | height: 36px; |
| 1251 | line-height: normal; |
| 1252 | } |
| 1253 | |
| 1254 | .acf-google-map .title .search { |
| 1255 | height: auto; |
| 1256 | border: 0 none; |
| 1257 | } |
| 1258 | |
| 1259 | .acf-google-map .acf-sprite-remove, |
| 1260 | .acf-google-map .acf-sprite-locate { |
| 1261 | right: 7px; |
| 1262 | top: 7px; |
| 1263 | position: absolute; |
| 1264 | } |
| 1265 | |
| 1266 | .acf-google-map .acf-sprite-remove { |
| 1267 | background-position: -71px -221px; |
| 1268 | height: 9px; |
| 1269 | width: 9px; |
| 1270 | border: 6px solid transparent; |
| 1271 | } |
| 1272 | .acf-google-map .acf-sprite-remove:hover { background-position: -71px -271px; } |
| 1273 | |
| 1274 | .acf-google-map .acf-sprite-locate { |
| 1275 | background-position: -50px -300px; |
| 1276 | width: 13px; |
| 1277 | height: 13px; |
| 1278 | border: 5px solid transparent; |
| 1279 | } |
| 1280 | .acf-google-map .acf-sprite-locate:hover { background-position: -50px -350px; } |
| 1281 | |
| 1282 | .acf-google-map .canvas { |
| 1283 | height: 400px; |
| 1284 | } |
| 1285 | |
| 1286 | .pac-container { |
| 1287 | margin-left: -1px; |
| 1288 | margin-top: -1px; |
| 1289 | padding: 5px 0; |
| 1290 | border-color: #DFDFDF; |
| 1291 | } |
| 1292 | |
| 1293 | .pac-container:after { |
| 1294 | display: none; |
| 1295 | } |
| 1296 | |
| 1297 | .pac-container .pac-item { |
| 1298 | padding: 5px; |
| 1299 | margin: 0 5px; |
| 1300 | } |
| 1301 | |
| 1302 | /*-------------------------------------------------------------------------- |
| 1303 | * |
| 1304 | * Retina |
| 1305 | * |
| 1306 | *-------------------------------------------------------------------------*/ |
| 1307 | |
| 1308 | @media |
| 1309 | only screen and (-webkit-min-device-pixel-ratio: 2), |
| 1310 | only screen and ( min--moz-device-pixel-ratio: 2), |
| 1311 | only screen and ( -o-min-device-pixel-ratio: 2/1), |
| 1312 | only screen and ( min-device-pixel-ratio: 2), |
| 1313 | only screen and ( min-resolution: 192dpi), |
| 1314 | only screen and ( min-resolution: 2dppx) { |
| 1315 | |
| 1316 | .acf_flexible_content .layout .fc-delete-layout, |
| 1317 | .acf-popup .bit, |
| 1318 | .acf-gallery .toolbar .view-grid, |
| 1319 | .acf-gallery .toolbar .view-list { |
| 1320 | background-image: url(../images/sprite@2x.png); |
| 1321 | background-size: 100px 600px; |
| 1322 | } |
| 1323 | |
| 1324 | |
| 1325 | } |