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