acf-input.css
| 1 | /*-------------------------------------------------------------------------------------------- |
| 2 | * |
| 3 | * Vars |
| 4 | * |
| 5 | *--------------------------------------------------------------------------------------------*/ |
| 6 | /* colors */ |
| 7 | /* acf-field */ |
| 8 | /* responsive */ |
| 9 | /*-------------------------------------------------------------------------------------------- |
| 10 | * |
| 11 | * Mixins |
| 12 | * |
| 13 | *--------------------------------------------------------------------------------------------*/ |
| 14 | /*-------------------------------------------------------------------------------------------- |
| 15 | * |
| 16 | * acf-field |
| 17 | * |
| 18 | *--------------------------------------------------------------------------------------------*/ |
| 19 | .acf-field, |
| 20 | .acf-field .acf-label, |
| 21 | .acf-field .acf-input { |
| 22 | -webkit-box-sizing: border-box; |
| 23 | -moz-box-sizing: border-box; |
| 24 | box-sizing: border-box; |
| 25 | position: relative; |
| 26 | } |
| 27 | .acf-field { |
| 28 | margin: 0 0 20px; |
| 29 | /* label */ |
| 30 | /* input */ |
| 31 | /* error */ |
| 32 | } |
| 33 | .acf-field p.description { |
| 34 | display: block; |
| 35 | margin: 0; |
| 36 | padding: 0; |
| 37 | } |
| 38 | .acf-field .acf-label { |
| 39 | vertical-align: top; |
| 40 | margin: 0 0 10px; |
| 41 | } |
| 42 | .acf-field .acf-label label { |
| 43 | display: block; |
| 44 | font-weight: bold; |
| 45 | margin: 0 0 3px; |
| 46 | padding: 0; |
| 47 | } |
| 48 | .acf-field .acf-label:empty { |
| 49 | margin-bottom: 0; |
| 50 | } |
| 51 | .acf-field .acf-input { |
| 52 | vertical-align: top; |
| 53 | } |
| 54 | .acf-field .acf-input > p.description { |
| 55 | margin-top: 5px; |
| 56 | } |
| 57 | .acf-field .acf-error-message { |
| 58 | background: #F55E4F; |
| 59 | color: #fff; |
| 60 | margin: 0 0 10px; |
| 61 | display: inline-block; |
| 62 | border-radius: 3px; |
| 63 | border-left: none; |
| 64 | } |
| 65 | .acf-field .acf-error-message:after { |
| 66 | content: ""; |
| 67 | width: 0; |
| 68 | height: 0; |
| 69 | border: transparent 5px solid; |
| 70 | border-top-color: #F55E4F; |
| 71 | display: block; |
| 72 | position: absolute; |
| 73 | bottom: -10px; |
| 74 | left: 10px; |
| 75 | } |
| 76 | /*-------------------------------------------------------------------------------------------- |
| 77 | * |
| 78 | * acf-fields |
| 79 | * |
| 80 | *--------------------------------------------------------------------------------------------*/ |
| 81 | .acf-fields { |
| 82 | position: relative; |
| 83 | } |
| 84 | .acf-fields:after { |
| 85 | clear: both; |
| 86 | content: ""; |
| 87 | display: table; |
| 88 | } |
| 89 | .acf-fields:after { |
| 90 | margin-bottom: -1px; |
| 91 | } |
| 92 | .acf-fields.-border { |
| 93 | border: #dfdfdf solid 1px; |
| 94 | background: #fff; |
| 95 | } |
| 96 | .acf-fields > .acf-field { |
| 97 | position: relative; |
| 98 | margin: 0; |
| 99 | padding: 15px 12px; |
| 100 | border-bottom: #EEEEEE solid 1px; |
| 101 | clear: both; |
| 102 | } |
| 103 | td.acf-fields { |
| 104 | padding: 0 !important; |
| 105 | } |
| 106 | /*-------------------------------------------------------------------------------------------- |
| 107 | * |
| 108 | * acf-fields (clear) |
| 109 | * |
| 110 | *--------------------------------------------------------------------------------------------*/ |
| 111 | .acf-fields.-clear > .acf-field { |
| 112 | border: none; |
| 113 | padding: 0; |
| 114 | margin: 15px 0; |
| 115 | } |
| 116 | .acf-fields.-clear > .acf-field:after { |
| 117 | margin-bottom: 0; |
| 118 | } |
| 119 | .acf-fields.-clear > .acf-field[data-width] { |
| 120 | border: none !important; |
| 121 | } |
| 122 | .acf-fields.-clear > .acf-field > .acf-label { |
| 123 | padding: 0; |
| 124 | } |
| 125 | .acf-fields.-clear > .acf-field > .acf-input { |
| 126 | padding: 0; |
| 127 | } |
| 128 | /*-------------------------------------------------------------------------------------------- |
| 129 | * |
| 130 | * acf-fields (left) |
| 131 | * |
| 132 | *--------------------------------------------------------------------------------------------*/ |
| 133 | .acf-fields.-left > .acf-field { |
| 134 | padding: 15px 0; |
| 135 | } |
| 136 | .acf-fields.-left > .acf-field:after { |
| 137 | clear: both; |
| 138 | content: ""; |
| 139 | display: table; |
| 140 | } |
| 141 | .acf-fields.-left > .acf-field:before { |
| 142 | content: ""; |
| 143 | display: block; |
| 144 | position: absolute; |
| 145 | z-index: 0; |
| 146 | background: #F9F9F9; |
| 147 | border-color: #E1E1E1; |
| 148 | border-style: solid; |
| 149 | border-width: 0 1px 0 0; |
| 150 | top: 0; |
| 151 | bottom: 0; |
| 152 | left: 0; |
| 153 | width: 20%; |
| 154 | } |
| 155 | .acf-fields.-left > .acf-field > .acf-label { |
| 156 | float: left; |
| 157 | width: 20%; |
| 158 | margin: 0; |
| 159 | padding: 0 12px; |
| 160 | } |
| 161 | .acf-fields.-left > .acf-field > .acf-input { |
| 162 | float: left; |
| 163 | width: 80%; |
| 164 | margin: 0; |
| 165 | padding: 0 12px; |
| 166 | } |
| 167 | html[dir="rtl"] .acf-fields.-left > .acf-field:before { |
| 168 | border-width: 0 0 0 1px; |
| 169 | left: auto; |
| 170 | right: 0; |
| 171 | } |
| 172 | html[dir="rtl"] .acf-fields.-left > .acf-field > .acf-label { |
| 173 | float: right; |
| 174 | } |
| 175 | html[dir="rtl"] .acf-fields.-left > .acf-field > .acf-input { |
| 176 | float: right; |
| 177 | } |
| 178 | @media screen and (max-width: 782px) { |
| 179 | .acf-fields.-left > .acf-field:before { |
| 180 | display: none; |
| 181 | } |
| 182 | .acf-fields.-left > .acf-field > .acf-label { |
| 183 | width: 100%; |
| 184 | margin-bottom: 10px; |
| 185 | } |
| 186 | .acf-fields.-left > .acf-field > .acf-input { |
| 187 | width: 100%; |
| 188 | } |
| 189 | } |
| 190 | /* clear + left */ |
| 191 | .acf-fields.-clear.-left > .acf-field { |
| 192 | padding: 0; |
| 193 | border: none; |
| 194 | } |
| 195 | .acf-fields.-clear.-left > .acf-field:before { |
| 196 | display: none; |
| 197 | } |
| 198 | .acf-fields.-clear.-left > .acf-field > .acf-label { |
| 199 | padding: 0; |
| 200 | } |
| 201 | .acf-fields.-clear.-left > .acf-field > .acf-input { |
| 202 | padding: 0; |
| 203 | } |
| 204 | /*-------------------------------------------------------------------------------------------- |
| 205 | * |
| 206 | * acf-table |
| 207 | * |
| 208 | *--------------------------------------------------------------------------------------------*/ |
| 209 | .acf-table tr.acf-field > td.acf-label { |
| 210 | padding: 15px 12px; |
| 211 | margin: 0; |
| 212 | background: #F9F9F9; |
| 213 | width: 20%; |
| 214 | } |
| 215 | .acf-table tr.acf-field > td.acf-input { |
| 216 | padding: 15px 12px; |
| 217 | margin: 0; |
| 218 | border-left-color: #E1E1E1; |
| 219 | } |
| 220 | /*-------------------------------------------------------------------------------------------- |
| 221 | * |
| 222 | * acf-postbox |
| 223 | * |
| 224 | *--------------------------------------------------------------------------------------------*/ |
| 225 | .acf-postbox { |
| 226 | position: relative; |
| 227 | /* position high */ |
| 228 | /* inside */ |
| 229 | /* hndle */ |
| 230 | } |
| 231 | #acf_after_title-sortables .acf-postbox { |
| 232 | margin: 20px 0 0; |
| 233 | } |
| 234 | .acf-postbox > .inside { |
| 235 | margin: 0 !important; |
| 236 | /* override WP style - do not delete - you have tried this before */ |
| 237 | padding: 0 !important; |
| 238 | /* override WP style - do not delete - you have tried this before */ |
| 239 | } |
| 240 | .acf-postbox > .hndle { |
| 241 | /* edit field group */ |
| 242 | } |
| 243 | .acf-postbox > .hndle .acf-hndle-cog { |
| 244 | color: #AAAAAA; |
| 245 | font-size: 16px; |
| 246 | line-height: 20px; |
| 247 | padding: 0 2px; |
| 248 | float: right; |
| 249 | position: relative; |
| 250 | display: none; |
| 251 | } |
| 252 | .acf-postbox > .hndle .acf-hndle-cog:hover { |
| 253 | color: #777777; |
| 254 | } |
| 255 | .acf-postbox > .hndle:hover .acf-hndle-cog, |
| 256 | .acf-postbox > .hndle.hover .acf-hndle-cog { |
| 257 | display: block; |
| 258 | } |
| 259 | .acf-postbox .acf-replace-with-fields { |
| 260 | padding: 15px; |
| 261 | text-align: center; |
| 262 | } |
| 263 | /* seamless */ |
| 264 | .acf-postbox.seamless { |
| 265 | border: 0 none; |
| 266 | background: transparent; |
| 267 | box-shadow: none; |
| 268 | /* hide hndle */ |
| 269 | /* inside */ |
| 270 | } |
| 271 | .acf-postbox.seamless > .hndle, |
| 272 | .acf-postbox.seamless > .handlediv { |
| 273 | display: none; |
| 274 | } |
| 275 | .acf-postbox.seamless > .inside { |
| 276 | display: block !important; |
| 277 | /* stop metabox from hiding when closed */ |
| 278 | margin-left: -12px !important; |
| 279 | margin-right: -12px !important; |
| 280 | } |
| 281 | .acf-postbox.seamless > .inside > .acf-field { |
| 282 | border-color: transparent; |
| 283 | } |
| 284 | /* seamless (left) */ |
| 285 | .acf-postbox.seamless > .acf-fields.-left { |
| 286 | /* hide sidebar bg */ |
| 287 | /* mobile */ |
| 288 | } |
| 289 | .acf-postbox.seamless > .acf-fields.-left > .acf-field:before { |
| 290 | display: none; |
| 291 | } |
| 292 | @media screen and (max-width: 782px) { |
| 293 | .acf-postbox.seamless > .acf-fields.-left { |
| 294 | /* remove padding */ |
| 295 | } |
| 296 | .acf-postbox.seamless > .acf-fields.-left > .acf-field > .acf-label, |
| 297 | .acf-postbox.seamless > .acf-fields.-left > .acf-field > .acf-input { |
| 298 | padding: 0; |
| 299 | } |
| 300 | } |
| 301 | /* override WP CSS */ |
| 302 | .metabox-prefs label.acf-hidden { |
| 303 | display: none; |
| 304 | } |
| 305 | /*-------------------------------------------------------------------------------------------- |
| 306 | * |
| 307 | * Basic ACF field wrap |
| 308 | * |
| 309 | *--------------------------------------------------------------------------------------------*/ |
| 310 | /* add term */ |
| 311 | #addtag div.acf-field.error { |
| 312 | border: 0 none; |
| 313 | padding: 8px 0; |
| 314 | } |
| 315 | /* width */ |
| 316 | .acf-field[data-width] { |
| 317 | float: left; |
| 318 | clear: none; |
| 319 | /* next width */ |
| 320 | /* table */ |
| 321 | } |
| 322 | .acf-field[data-width] + .acf-field[data-width] { |
| 323 | border-left: 1px solid #eeeeee; |
| 324 | } |
| 325 | .acf-field[data-width]td { |
| 326 | float: none; |
| 327 | width: auto; |
| 328 | } |
| 329 | /* field width helpers */ |
| 330 | /* |
| 331 | .acf-r0 { |
| 332 | border-top-width: 0 !important; |
| 333 | } |
| 334 | */ |
| 335 | .acf-c0 { |
| 336 | clear: left !important; |
| 337 | border-left-width: 0 !important; |
| 338 | } |
| 339 | /* rtl */ |
| 340 | html[dir="rtl"] .acf-field[data-width] { |
| 341 | float: right; |
| 342 | } |
| 343 | html[dir="rtl"] .acf-field[data-width] + .acf-field { |
| 344 | clear: right; |
| 345 | } |
| 346 | html[dir="rtl"] .acf-field[data-width] + .acf-field[data-width] { |
| 347 | clear: none; |
| 348 | border-left: none; |
| 349 | border-right: 1px solid #eeeeee; |
| 350 | } |
| 351 | html[dir="rtl"] .acf-c0 { |
| 352 | clear: right !important; |
| 353 | border-left-width: 1px !important; |
| 354 | border-right-width: 0 !important; |
| 355 | } |
| 356 | /* left aligned */ |
| 357 | .acf-fields.-left > .acf-field[data-width] { |
| 358 | float: none; |
| 359 | width: auto !important; |
| 360 | border-left-width: 0 !important; |
| 361 | border-right-width: 0 !important; |
| 362 | } |
| 363 | /*--------------------------------------------------------------------------------------------- |
| 364 | * |
| 365 | * Basic Field Styles |
| 366 | * |
| 367 | *---------------------------------------------------------------------------------------------*/ |
| 368 | .acf-field input[type="text"], |
| 369 | .acf-field input[type="password"], |
| 370 | .acf-field input[type="number"], |
| 371 | .acf-field input[type="search"], |
| 372 | .acf-field input[type="email"], |
| 373 | .acf-field input[type="url"], |
| 374 | .acf-field textarea, |
| 375 | .acf-field select { |
| 376 | width: 100%; |
| 377 | padding: 3px 5px; |
| 378 | resize: none; |
| 379 | margin: 0; |
| 380 | -webkit-box-sizing: border-box; |
| 381 | -moz-box-sizing: border-box; |
| 382 | box-sizing: border-box; |
| 383 | font-size: 14px; |
| 384 | line-height: 1.4; |
| 385 | } |
| 386 | .acf-field input[type="text"]:disabled, |
| 387 | .acf-field input[type="password"]:disabled, |
| 388 | .acf-field input[type="number"]:disabled, |
| 389 | .acf-field input[type="search"]:disabled, |
| 390 | .acf-field input[type="email"]:disabled, |
| 391 | .acf-field input[type="url"]:disabled, |
| 392 | .acf-field textarea:disabled, |
| 393 | .acf-field select:disabled { |
| 394 | background: #f8f8f8; |
| 395 | } |
| 396 | .acf-field input[type="text"][readonly], |
| 397 | .acf-field input[type="password"][readonly], |
| 398 | .acf-field input[type="number"][readonly], |
| 399 | .acf-field input[type="search"][readonly], |
| 400 | .acf-field input[type="email"][readonly], |
| 401 | .acf-field input[type="url"][readonly], |
| 402 | .acf-field textarea[readonly], |
| 403 | .acf-field select[readonly] { |
| 404 | background: #f8f8f8; |
| 405 | } |
| 406 | .acf-field textarea { |
| 407 | resize: vertical; |
| 408 | } |
| 409 | /*--------------------------------------------------------------------------------------------- |
| 410 | * |
| 411 | * Text |
| 412 | * |
| 413 | *---------------------------------------------------------------------------------------------*/ |
| 414 | .acf-input-prepend, |
| 415 | .acf-input-append { |
| 416 | font-size: 13px; |
| 417 | line-height: 20px; |
| 418 | height: 20px; |
| 419 | padding: 3px 7px; |
| 420 | background: #F4F4F4; |
| 421 | border: #DFDFDF solid 1px; |
| 422 | } |
| 423 | .acf-input-prepend { |
| 424 | float: left; |
| 425 | border-right-width: 0; |
| 426 | border-radius: 3px 0 0 3px; |
| 427 | } |
| 428 | .acf-input-append { |
| 429 | float: right; |
| 430 | border-left-width: 0; |
| 431 | border-radius: 0 3px 3px 0; |
| 432 | } |
| 433 | .acf-input-wrap { |
| 434 | position: relative; |
| 435 | overflow: hidden; |
| 436 | } |
| 437 | .acf-input-wrap input { |
| 438 | height: 28px; |
| 439 | margin: 0; |
| 440 | } |
| 441 | input.acf-is-prepended { |
| 442 | border-radius: 0 3px 3px 0 !important; |
| 443 | } |
| 444 | input.acf-is-appended { |
| 445 | border-radius: 3px 0 0 3px !important; |
| 446 | } |
| 447 | input.acf-is-prepended.acf-is-appended { |
| 448 | border-radius: 0 !important; |
| 449 | } |
| 450 | /* rtl */ |
| 451 | html[dir="rtl"] .acf-input-prepend { |
| 452 | border-left-width: 0; |
| 453 | border-right-width: 1px; |
| 454 | border-radius: 0 3px 3px 0; |
| 455 | float: right; |
| 456 | } |
| 457 | html[dir="rtl"] .acf-input-append { |
| 458 | border-left-width: 1px; |
| 459 | border-right-width: 0; |
| 460 | border-radius: 3px 0 0 3px; |
| 461 | float: left; |
| 462 | } |
| 463 | html[dir="rtl"] input.acf-is-prepended { |
| 464 | border-radius: 3px 0 0 3px !important; |
| 465 | } |
| 466 | html[dir="rtl"] input.acf-is-appended { |
| 467 | border-radius: 0 3px 3px 0 !important; |
| 468 | } |
| 469 | html[dir="rtl"] input.acf-is-prepended.acf-is-appended { |
| 470 | border-radius: 0 !important; |
| 471 | } |
| 472 | /*--------------------------------------------------------------------------------------------- |
| 473 | * |
| 474 | * Color Picker |
| 475 | * |
| 476 | *---------------------------------------------------------------------------------------------*/ |
| 477 | .acf-color-picker .wp-picker-active { |
| 478 | position: relative; |
| 479 | z-index: 1; |
| 480 | } |
| 481 | /*--------------------------------------------------------------------------------------------- |
| 482 | * |
| 483 | * Url |
| 484 | * |
| 485 | *---------------------------------------------------------------------------------------------*/ |
| 486 | .acf-url i { |
| 487 | position: absolute; |
| 488 | top: 4px; |
| 489 | left: 4px; |
| 490 | opacity: 0.5; |
| 491 | color: #A9A9A9; |
| 492 | } |
| 493 | .acf-url input[type="url"] { |
| 494 | padding-left: 25px; |
| 495 | } |
| 496 | .acf-url.-valid i { |
| 497 | opacity: 1; |
| 498 | } |
| 499 | /*--------------------------------------------------------------------------------------------- |
| 500 | * |
| 501 | * Select |
| 502 | * |
| 503 | *---------------------------------------------------------------------------------------------*/ |
| 504 | .acf-field select { |
| 505 | padding: 2px; |
| 506 | } |
| 507 | .acf-field select optgroup { |
| 508 | padding: 5px; |
| 509 | background: #fff; |
| 510 | } |
| 511 | .acf-field select option { |
| 512 | padding: 3px; |
| 513 | } |
| 514 | .acf-field select optgroup option { |
| 515 | padding-left: 5px; |
| 516 | } |
| 517 | .acf-field select optgroup:nth-child(2n) { |
| 518 | background: #F9F9F9; |
| 519 | } |
| 520 | .acf-field .select2-input { |
| 521 | max-width: 200px; |
| 522 | } |
| 523 | /*--------------------------------------------------------------------------------------------- |
| 524 | * |
| 525 | * Select2 (v3) |
| 526 | * |
| 527 | *---------------------------------------------------------------------------------------------*/ |
| 528 | .select2-container.-acf { |
| 529 | /* open */ |
| 530 | /* single open */ |
| 531 | } |
| 532 | .select2-container.-acf .select2-choices { |
| 533 | background: #fff; |
| 534 | border-color: #ddd; |
| 535 | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07) inset; |
| 536 | min-height: 31px; |
| 537 | } |
| 538 | .select2-container.-acf .select2-choices .select2-search-choice { |
| 539 | margin: 5px 0 5px 5px; |
| 540 | padding: 3px 5px 3px 18px; |
| 541 | border-color: #bbb; |
| 542 | background: #f9f9f9; |
| 543 | box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset; |
| 544 | /* sortable item*/ |
| 545 | /* sortable shadow */ |
| 546 | } |
| 547 | .select2-container.-acf .select2-choices .select2-search-choice.ui-sortable-helper { |
| 548 | background: #5897fb; |
| 549 | border-color: #3f87fa; |
| 550 | color: #fff; |
| 551 | box-shadow: 0 0 3px rgba(0, 0, 0, 0.1); |
| 552 | } |
| 553 | .select2-container.-acf .select2-choices .select2-search-choice.ui-sortable-helper a { |
| 554 | visibility: hidden; |
| 555 | } |
| 556 | .select2-container.-acf .select2-choices .select2-search-choice.ui-sortable-placeholder { |
| 557 | background-color: #f7f7f7; |
| 558 | border-color: #f7f7f7; |
| 559 | visibility: visible !important; |
| 560 | } |
| 561 | .select2-container.-acf .select2-choices .select2-search-choice-focus { |
| 562 | border-color: #999; |
| 563 | } |
| 564 | .select2-container.-acf .select2-choices .select2-search-field input { |
| 565 | height: 31px; |
| 566 | line-height: 22px; |
| 567 | margin: 0; |
| 568 | padding: 5px 5px 5px 7px; |
| 569 | } |
| 570 | .select2-container.-acf .select2-choice { |
| 571 | border-color: #BBBBBB; |
| 572 | } |
| 573 | .select2-container.-acf .select2-choice .select2-arrow { |
| 574 | background: transparent; |
| 575 | border-left-color: #DFDFDF; |
| 576 | padding-left: 1px; |
| 577 | } |
| 578 | .select2-container.-acf .select2-choice .select2-result-description { |
| 579 | display: none; |
| 580 | } |
| 581 | .select2-container.-acf.select2-container-active .select2-choices, |
| 582 | .select2-container.-acf.select2-dropdown-open .select2-choices { |
| 583 | border-color: #5B9DD9; |
| 584 | border-radius: 3px 3px 0 0; |
| 585 | } |
| 586 | .select2-container.-acf.select2-dropdown-open .select2-choice { |
| 587 | background: #fff; |
| 588 | border-color: #5B9DD9; |
| 589 | } |
| 590 | /* rtl */ |
| 591 | html[dir="rtl"] .select2-container.-acf .select2-search-choice-close { |
| 592 | left: 24px; |
| 593 | } |
| 594 | html[dir="rtl"] .select2-container.-acf .select2-choice > .select2-chosen { |
| 595 | margin-left: 42px; |
| 596 | } |
| 597 | html[dir="rtl"] .select2-container.-acf .select2-choice .select2-arrow { |
| 598 | padding-left: 0; |
| 599 | padding-right: 1px; |
| 600 | } |
| 601 | /* description */ |
| 602 | .select2-drop { |
| 603 | /* search*/ |
| 604 | /* result */ |
| 605 | } |
| 606 | .select2-drop .select2-search { |
| 607 | padding: 4px 4px 0; |
| 608 | } |
| 609 | .select2-drop .select2-result { |
| 610 | /* hover*/ |
| 611 | } |
| 612 | .select2-drop .select2-result .select2-result-description { |
| 613 | color: #999; |
| 614 | font-size: 12px; |
| 615 | margin-left: 5px; |
| 616 | } |
| 617 | .select2-drop .select2-result.select2-highlighted .select2-result-description { |
| 618 | color: #fff; |
| 619 | opacity: 0.75; |
| 620 | } |
| 621 | /*--------------------------------------------------------------------------------------------- |
| 622 | * |
| 623 | * Select2 (v4) |
| 624 | * |
| 625 | *---------------------------------------------------------------------------------------------*/ |
| 626 | .select2-container.-acf li { |
| 627 | margin-bottom: 0; |
| 628 | } |
| 629 | .select2-container--default.-acf .select2-selection--multiple { |
| 630 | /* multiple choice item */ |
| 631 | } |
| 632 | .select2-container--default.-acf .select2-selection--multiple .select2-search--inline:first-child { |
| 633 | float: none; |
| 634 | } |
| 635 | .select2-container--default.-acf .select2-selection--multiple .select2-search--inline:first-child input { |
| 636 | width: 100% !important; |
| 637 | } |
| 638 | .select2-container--default.-acf .select2-selection--multiple .select2-selection__choice { |
| 639 | background-color: #f7f7f7; |
| 640 | border-color: #cccccc; |
| 641 | /* sortable item*/ |
| 642 | /* sortable shadow */ |
| 643 | } |
| 644 | .select2-container--default.-acf .select2-selection--multiple .select2-selection__choice.ui-sortable-helper { |
| 645 | background: #5897fb; |
| 646 | border-color: #3f87fa; |
| 647 | color: #fff; |
| 648 | box-shadow: 0 0 3px rgba(0, 0, 0, 0.1); |
| 649 | } |
| 650 | .select2-container--default.-acf .select2-selection--multiple .select2-selection__choice.ui-sortable-helper span { |
| 651 | visibility: hidden; |
| 652 | } |
| 653 | .select2-container--default.-acf .select2-selection--multiple .select2-selection__choice.ui-sortable-placeholder { |
| 654 | background-color: #f7f7f7; |
| 655 | border-color: #f7f7f7; |
| 656 | visibility: visible !important; |
| 657 | } |
| 658 | .select2-container .select2-dropdown { |
| 659 | z-index: 900000; |
| 660 | } |
| 661 | /*--------------------------------------------------------------------------------------------- |
| 662 | * |
| 663 | * Link |
| 664 | * |
| 665 | *---------------------------------------------------------------------------------------------*/ |
| 666 | .link-wrap { |
| 667 | border: #dddddd solid 1px; |
| 668 | border-radius: 3px; |
| 669 | padding: 5px; |
| 670 | line-height: 26px; |
| 671 | background: #fff; |
| 672 | word-wrap: break-word; |
| 673 | word-break: break-all; |
| 674 | } |
| 675 | .link-wrap .link-title { |
| 676 | padding: 0 5px; |
| 677 | } |
| 678 | .acf-link { |
| 679 | /* value */ |
| 680 | /* external */ |
| 681 | } |
| 682 | .acf-link .link-wrap, |
| 683 | .acf-link .acf-icon.-link-ext { |
| 684 | display: none; |
| 685 | } |
| 686 | .acf-link.-value .button { |
| 687 | display: none; |
| 688 | } |
| 689 | .acf-link.-value .link-wrap { |
| 690 | display: inline-block; |
| 691 | } |
| 692 | .acf-link.-external .acf-icon.-link-ext { |
| 693 | display: inline-block; |
| 694 | } |
| 695 | #wp-link-backdrop { |
| 696 | z-index: 900000 !important; |
| 697 | } |
| 698 | #wp-link-wrap { |
| 699 | z-index: 900001 !important; |
| 700 | } |
| 701 | /*--------------------------------------------------------------------------------------------- |
| 702 | * |
| 703 | * Radio |
| 704 | * |
| 705 | *---------------------------------------------------------------------------------------------*/ |
| 706 | ul.acf-radio-list, |
| 707 | ul.acf-checkbox-list { |
| 708 | background: transparent; |
| 709 | position: relative; |
| 710 | padding: 1px; |
| 711 | margin: 0; |
| 712 | /* hl */ |
| 713 | /* rtl */ |
| 714 | } |
| 715 | ul.acf-radio-list li, |
| 716 | ul.acf-checkbox-list li { |
| 717 | font-size: 13px; |
| 718 | line-height: 22px; |
| 719 | margin: 0; |
| 720 | position: relative; |
| 721 | word-wrap: break-word; |
| 722 | /* attachment sidebar fix*/ |
| 723 | } |
| 724 | ul.acf-radio-list li label, |
| 725 | ul.acf-checkbox-list li label { |
| 726 | display: inline; |
| 727 | } |
| 728 | ul.acf-radio-list li input[type="checkbox"], |
| 729 | ul.acf-checkbox-list li input[type="checkbox"], |
| 730 | ul.acf-radio-list li input[type="radio"], |
| 731 | ul.acf-checkbox-list li input[type="radio"] { |
| 732 | margin: -1px 4px 0 0; |
| 733 | vertical-align: middle; |
| 734 | } |
| 735 | ul.acf-radio-list li input[type="text"], |
| 736 | ul.acf-checkbox-list li input[type="text"] { |
| 737 | width: auto; |
| 738 | vertical-align: middle; |
| 739 | margin: 2px 0; |
| 740 | } |
| 741 | ul.acf-radio-list li span, |
| 742 | ul.acf-checkbox-list li span { |
| 743 | float: none; |
| 744 | } |
| 745 | ul.acf-radio-list li i, |
| 746 | ul.acf-checkbox-list li i { |
| 747 | vertical-align: middle; |
| 748 | } |
| 749 | ul.acf-radio-list.acf-hl li, |
| 750 | ul.acf-checkbox-list.acf-hl li { |
| 751 | margin-right: 20px; |
| 752 | clear: none; |
| 753 | } |
| 754 | html[dir="rtl"] ul.acf-radio-list input[type="checkbox"], |
| 755 | html[dir="rtl"] ul.acf-checkbox-list input[type="checkbox"], |
| 756 | html[dir="rtl"] ul.acf-radio-list input[type="radio"], |
| 757 | html[dir="rtl"] ul.acf-checkbox-list input[type="radio"] { |
| 758 | margin-left: 4px; |
| 759 | margin-right: 0; |
| 760 | } |
| 761 | /*--------------------------------------------------------------------------------------------- |
| 762 | * |
| 763 | * Button Group |
| 764 | * |
| 765 | *---------------------------------------------------------------------------------------------*/ |
| 766 | .acf-button-group { |
| 767 | display: inline-block; |
| 768 | /* default (horizontal) */ |
| 769 | padding-left: 1px; |
| 770 | display: inline-flex; |
| 771 | flex-direction: row; |
| 772 | flex-wrap: nowrap; |
| 773 | /* vertical */ |
| 774 | } |
| 775 | .acf-button-group label { |
| 776 | display: inline-block; |
| 777 | border: #ccc solid 1px; |
| 778 | position: relative; |
| 779 | z-index: 1; |
| 780 | padding: 5px 10px; |
| 781 | background: #fff; |
| 782 | } |
| 783 | .acf-button-group label:hover { |
| 784 | border-color: #999999; |
| 785 | z-index: 2; |
| 786 | } |
| 787 | .acf-button-group label.selected { |
| 788 | border-color: #2b9af3; |
| 789 | background: #309cf3; |
| 790 | color: #fff; |
| 791 | z-index: 2; |
| 792 | } |
| 793 | .acf-button-group label.selected:hover { |
| 794 | background: #48a8f4; |
| 795 | } |
| 796 | .acf-button-group input { |
| 797 | display: none; |
| 798 | } |
| 799 | .acf-button-group label { |
| 800 | margin: 0 0 0 -1px; |
| 801 | flex: 1; |
| 802 | text-align: center; |
| 803 | white-space: nowrap; |
| 804 | } |
| 805 | .acf-button-group label:first-child { |
| 806 | border-radius: 3px 0 0 3px; |
| 807 | } |
| 808 | .acf-button-group label:last-child { |
| 809 | border-radius: 0 3px 3px 0; |
| 810 | } |
| 811 | .acf-button-group label:only-child { |
| 812 | border-radius: 3px; |
| 813 | } |
| 814 | .acf-button-group.-vertical { |
| 815 | padding-left: 0; |
| 816 | padding-top: 1px; |
| 817 | flex-direction: column; |
| 818 | } |
| 819 | .acf-button-group.-vertical label { |
| 820 | margin: -1px 0 0 0; |
| 821 | } |
| 822 | .acf-button-group.-vertical label:first-child { |
| 823 | border-radius: 3px 3px 0 0; |
| 824 | } |
| 825 | .acf-button-group.-vertical label:last-child { |
| 826 | border-radius: 0 0 3px 3px; |
| 827 | } |
| 828 | .acf-button-group.-vertical label:only-child { |
| 829 | border-radius: 3px; |
| 830 | } |
| 831 | /*--------------------------------------------------------------------------------------------- |
| 832 | * |
| 833 | * Checkbox |
| 834 | * |
| 835 | *---------------------------------------------------------------------------------------------*/ |
| 836 | .acf-checkbox-list .button { |
| 837 | margin: 10px 0 0; |
| 838 | } |
| 839 | /*--------------------------------------------------------------------------------------------- |
| 840 | * |
| 841 | * True / False |
| 842 | * |
| 843 | *---------------------------------------------------------------------------------------------*/ |
| 844 | .acf-switch { |
| 845 | display: inline-block; |
| 846 | border-radius: 5px; |
| 847 | cursor: pointer; |
| 848 | position: relative; |
| 849 | background: #f8f8f8; |
| 850 | height: 30px; |
| 851 | vertical-align: middle; |
| 852 | border: #ccc solid 1px; |
| 853 | -webkit-transition: background 0.25s ease; |
| 854 | -moz-transition: background 0.25s ease; |
| 855 | -o-transition: background 0.25s ease; |
| 856 | transition: background 0.25s ease; |
| 857 | /* hover */ |
| 858 | /* active */ |
| 859 | /* focus */ |
| 860 | /* message */ |
| 861 | } |
| 862 | .acf-switch span { |
| 863 | display: inline-block; |
| 864 | float: left; |
| 865 | text-align: center; |
| 866 | font-size: 13px; |
| 867 | line-height: 22px; |
| 868 | padding: 4px 10px; |
| 869 | min-width: 15px; |
| 870 | } |
| 871 | .acf-switch span i { |
| 872 | vertical-align: middle; |
| 873 | } |
| 874 | .acf-switch .acf-switch-on { |
| 875 | color: #fff; |
| 876 | text-shadow: #1f7db1 0 1px 0; |
| 877 | } |
| 878 | .acf-switch .acf-switch-slider { |
| 879 | position: absolute; |
| 880 | top: 2px; |
| 881 | left: 2px; |
| 882 | bottom: 2px; |
| 883 | right: 50%; |
| 884 | z-index: 1; |
| 885 | background: #fff; |
| 886 | border-radius: 3px; |
| 887 | border: #ccc solid 1px; |
| 888 | -webkit-transition: all 0.25s ease; |
| 889 | -moz-transition: all 0.25s ease; |
| 890 | -o-transition: all 0.25s ease; |
| 891 | transition: all 0.25s ease; |
| 892 | transition-property: left, right; |
| 893 | } |
| 894 | .acf-switch:hover .acf-switch-slider { |
| 895 | border-color: #b3b3b3; |
| 896 | } |
| 897 | .acf-switch.-on { |
| 898 | background: #309cf3; |
| 899 | border-color: #2b9af3; |
| 900 | /* hover */ |
| 901 | } |
| 902 | .acf-switch.-on .acf-switch-slider { |
| 903 | left: 50%; |
| 904 | right: 2px; |
| 905 | border-color: #0d84e3; |
| 906 | } |
| 907 | .acf-switch.-on:hover { |
| 908 | background: #48a8f4; |
| 909 | } |
| 910 | .acf-switch.-focus .acf-switch-slider { |
| 911 | border-color: #5b9dd9; |
| 912 | box-shadow: 0 0 2px rgba(30, 140, 190, 0.5); |
| 913 | } |
| 914 | .acf-switch.-focus.-on .acf-switch-slider { |
| 915 | border-color: #185e85; |
| 916 | box-shadow: 0 0 2px #1f7db1; |
| 917 | } |
| 918 | .acf-switch + span { |
| 919 | margin-left: 6px; |
| 920 | } |
| 921 | /* checkbox */ |
| 922 | .acf-switch-input { |
| 923 | opacity: 0; |
| 924 | position: absolute; |
| 925 | margin: 0; |
| 926 | } |
| 927 | /* in media modal */ |
| 928 | .compat-item .acf-true-false .message { |
| 929 | float: none; |
| 930 | padding: 0; |
| 931 | vertical-align: middle; |
| 932 | } |
| 933 | /*-------------------------------------------------------------------------- |
| 934 | * |
| 935 | * Google Map |
| 936 | * |
| 937 | *-------------------------------------------------------------------------*/ |
| 938 | .acf-google-map { |
| 939 | position: relative; |
| 940 | border: #DFDFDF solid 1px; |
| 941 | background: #fff; |
| 942 | /* default is focused */ |
| 943 | /* -search */ |
| 944 | /* -value */ |
| 945 | /* -loading */ |
| 946 | } |
| 947 | .acf-google-map .title { |
| 948 | position: relative; |
| 949 | border-bottom: #DFDFDF solid 1px; |
| 950 | } |
| 951 | .acf-google-map .title .search { |
| 952 | margin: 0; |
| 953 | font-size: 14px; |
| 954 | line-height: 30px; |
| 955 | height: 40px; |
| 956 | padding: 5px 10px; |
| 957 | border: 0 none; |
| 958 | box-shadow: none; |
| 959 | border-radius: 0; |
| 960 | font-family: inherit; |
| 961 | cursor: text; |
| 962 | } |
| 963 | .acf-google-map .title .acf-loading { |
| 964 | position: absolute; |
| 965 | top: 10px; |
| 966 | right: 11px; |
| 967 | display: none; |
| 968 | } |
| 969 | .acf-google-map .title:hover .acf-actions { |
| 970 | display: block; |
| 971 | } |
| 972 | .acf-google-map .canvas { |
| 973 | height: 400px; |
| 974 | } |
| 975 | .acf-google-map .title .acf-icon.-location { |
| 976 | display: inline-block; |
| 977 | } |
| 978 | .acf-google-map .title .acf-icon.-cancel { |
| 979 | display: none; |
| 980 | } |
| 981 | .acf-google-map .title .acf-icon.-search { |
| 982 | display: none; |
| 983 | } |
| 984 | .acf-google-map.-search .title .acf-icon.-location { |
| 985 | display: none; |
| 986 | } |
| 987 | .acf-google-map.-search .title .acf-icon.-cancel { |
| 988 | display: inline-block; |
| 989 | } |
| 990 | .acf-google-map.-search .title .acf-icon.-search { |
| 991 | display: inline-block; |
| 992 | } |
| 993 | .acf-google-map.-value .title .search { |
| 994 | font-weight: bold; |
| 995 | } |
| 996 | .acf-google-map.-value .title .acf-icon.-location { |
| 997 | display: none; |
| 998 | } |
| 999 | .acf-google-map.-value .title .acf-icon.-cancel { |
| 1000 | display: inline-block; |
| 1001 | } |
| 1002 | .acf-google-map.-value .title .acf-icon.-search { |
| 1003 | display: none; |
| 1004 | } |
| 1005 | .acf-google-map.-loading .title a { |
| 1006 | display: none !important; |
| 1007 | } |
| 1008 | .acf-google-map.-loading .title i { |
| 1009 | display: inline-block; |
| 1010 | } |
| 1011 | /* autocomplete */ |
| 1012 | .pac-container { |
| 1013 | border-width: 1px 0; |
| 1014 | box-shadow: none; |
| 1015 | } |
| 1016 | .pac-container:after { |
| 1017 | display: none; |
| 1018 | } |
| 1019 | .pac-container .pac-item:first-child { |
| 1020 | border-top: 0 none; |
| 1021 | } |
| 1022 | .pac-container .pac-item { |
| 1023 | padding: 5px 10px; |
| 1024 | cursor: pointer; |
| 1025 | } |
| 1026 | html[dir="rtl"] .pac-container .pac-item { |
| 1027 | text-align: right; |
| 1028 | } |
| 1029 | /*-------------------------------------------------------------------------- |
| 1030 | * |
| 1031 | * Relationship |
| 1032 | * |
| 1033 | *-------------------------------------------------------------------------*/ |
| 1034 | .acf-relationship { |
| 1035 | background: #fff; |
| 1036 | /* filters (top) */ |
| 1037 | /* list */ |
| 1038 | /* selection (bottom) */ |
| 1039 | } |
| 1040 | .acf-relationship .filters { |
| 1041 | border: #DFDFDF solid 1px; |
| 1042 | background: #fff; |
| 1043 | /* widths */ |
| 1044 | } |
| 1045 | .acf-relationship .filters:after { |
| 1046 | clear: both; |
| 1047 | content: ""; |
| 1048 | display: table; |
| 1049 | } |
| 1050 | .acf-relationship .filters .filter { |
| 1051 | margin: 0; |
| 1052 | padding: 0; |
| 1053 | float: left; |
| 1054 | width: 100%; |
| 1055 | /* inner padding */ |
| 1056 | } |
| 1057 | .acf-relationship .filters .filter span { |
| 1058 | display: block; |
| 1059 | padding: 7px 7px 7px 0; |
| 1060 | } |
| 1061 | .acf-relationship .filters .filter:first-child span { |
| 1062 | padding-left: 7px; |
| 1063 | } |
| 1064 | .acf-relationship .filters .filter input, |
| 1065 | .acf-relationship .filters .filter select { |
| 1066 | height: 28px; |
| 1067 | line-height: 28px; |
| 1068 | padding: 2px; |
| 1069 | width: 100%; |
| 1070 | margin: 0; |
| 1071 | float: none; |
| 1072 | /* potential fix for media popup? */ |
| 1073 | } |
| 1074 | .acf-relationship .filters .filter input:focus, |
| 1075 | .acf-relationship .filters .filter select:focus, |
| 1076 | .acf-relationship .filters .filter input:active, |
| 1077 | .acf-relationship .filters .filter select:active { |
| 1078 | outline: none; |
| 1079 | box-shadow: none; |
| 1080 | } |
| 1081 | .acf-relationship .filters .filter input { |
| 1082 | border-color: transparent; |
| 1083 | box-shadow: none; |
| 1084 | } |
| 1085 | .acf-relationship .filters.-f2 .filter { |
| 1086 | width: 50%; |
| 1087 | } |
| 1088 | .acf-relationship .filters.-f3 .filter { |
| 1089 | width: 25%; |
| 1090 | } |
| 1091 | .acf-relationship .filters.-f3 .filter.-search { |
| 1092 | width: 50%; |
| 1093 | } |
| 1094 | .acf-relationship .list { |
| 1095 | margin: 0; |
| 1096 | padding: 5px; |
| 1097 | height: 160px; |
| 1098 | overflow: auto; |
| 1099 | } |
| 1100 | .acf-relationship .list .acf-rel-label, |
| 1101 | .acf-relationship .list .acf-rel-item, |
| 1102 | .acf-relationship .list p { |
| 1103 | padding: 5px 7px; |
| 1104 | margin: 0; |
| 1105 | display: block; |
| 1106 | position: relative; |
| 1107 | min-height: 18px; |
| 1108 | } |
| 1109 | .acf-relationship .list .acf-rel-label { |
| 1110 | font-weight: bold; |
| 1111 | } |
| 1112 | .acf-relationship .list .acf-rel-item { |
| 1113 | cursor: pointer; |
| 1114 | /* hover */ |
| 1115 | /* disabled */ |
| 1116 | } |
| 1117 | .acf-relationship .list .acf-rel-item b { |
| 1118 | text-decoration: underline; |
| 1119 | font-weight: normal; |
| 1120 | } |
| 1121 | .acf-relationship .list .acf-rel-item .thumbnail { |
| 1122 | background: #e0e0e0; |
| 1123 | width: 22px; |
| 1124 | height: 22px; |
| 1125 | float: left; |
| 1126 | margin: -2px 5px 0 0; |
| 1127 | } |
| 1128 | .acf-relationship .list .acf-rel-item .thumbnail img { |
| 1129 | max-width: 22px; |
| 1130 | max-height: 22px; |
| 1131 | margin: 0 auto; |
| 1132 | display: block; |
| 1133 | } |
| 1134 | .acf-relationship .list .acf-rel-item .thumbnail.-icon { |
| 1135 | background: #fff; |
| 1136 | } |
| 1137 | .acf-relationship .list .acf-rel-item .thumbnail.-icon img { |
| 1138 | max-height: 20px; |
| 1139 | margin-top: 1px; |
| 1140 | } |
| 1141 | .acf-relationship .list .acf-rel-item:hover { |
| 1142 | background: #3875D7; |
| 1143 | color: #fff; |
| 1144 | } |
| 1145 | .acf-relationship .list .acf-rel-item:hover .thumbnail { |
| 1146 | background: #a2bfec; |
| 1147 | } |
| 1148 | .acf-relationship .list .acf-rel-item:hover .thumbnail.-icon { |
| 1149 | background: #fff; |
| 1150 | } |
| 1151 | .acf-relationship .list .acf-rel-item.disabled { |
| 1152 | opacity: 0.5; |
| 1153 | } |
| 1154 | .acf-relationship .list .acf-rel-item.disabled:hover { |
| 1155 | background: transparent; |
| 1156 | color: #333; |
| 1157 | cursor: default; |
| 1158 | } |
| 1159 | .acf-relationship .list .acf-rel-item.disabled:hover .thumbnail { |
| 1160 | background: #e0e0e0; |
| 1161 | } |
| 1162 | .acf-relationship .list .acf-rel-item.disabled:hover .thumbnail.-icon { |
| 1163 | background: #fff; |
| 1164 | } |
| 1165 | .acf-relationship .list ul { |
| 1166 | padding-bottom: 5px; |
| 1167 | } |
| 1168 | .acf-relationship .list ul .acf-rel-label, |
| 1169 | .acf-relationship .list ul .acf-rel-item, |
| 1170 | .acf-relationship .list ul p { |
| 1171 | padding-left: 20px; |
| 1172 | } |
| 1173 | .acf-relationship .selection { |
| 1174 | border: #DFDFDF solid 1px; |
| 1175 | position: relative; |
| 1176 | margin-top: -1px; |
| 1177 | /* choices */ |
| 1178 | /* values */ |
| 1179 | } |
| 1180 | .acf-relationship .selection:after { |
| 1181 | clear: both; |
| 1182 | content: ""; |
| 1183 | display: table; |
| 1184 | } |
| 1185 | .acf-relationship .selection .values, |
| 1186 | .acf-relationship .selection .choices { |
| 1187 | width: 50%; |
| 1188 | background: #fff; |
| 1189 | float: left; |
| 1190 | } |
| 1191 | .acf-relationship .selection .choices { |
| 1192 | background: #F9F9F9; |
| 1193 | } |
| 1194 | .acf-relationship .selection .choices .list { |
| 1195 | border-right: #DFDFDF solid 1px; |
| 1196 | } |
| 1197 | .acf-relationship .selection .values .acf-icon { |
| 1198 | position: absolute; |
| 1199 | top: 4px; |
| 1200 | right: 7px; |
| 1201 | display: none; |
| 1202 | /* rtl */ |
| 1203 | } |
| 1204 | html[dir="rtl"] .acf-relationship .selection .values .acf-icon { |
| 1205 | right: auto; |
| 1206 | left: 7px; |
| 1207 | } |
| 1208 | .acf-relationship .selection .values .acf-rel-item:hover .acf-icon { |
| 1209 | display: block; |
| 1210 | } |
| 1211 | .acf-relationship .selection .values .acf-rel-item { |
| 1212 | cursor: move; |
| 1213 | } |
| 1214 | .acf-relationship .selection .values .acf-rel-item b { |
| 1215 | text-decoration: none; |
| 1216 | } |
| 1217 | /* menu item fix */ |
| 1218 | .menu-item .acf-relationship ul { |
| 1219 | width: auto; |
| 1220 | } |
| 1221 | .menu-item .acf-relationship li { |
| 1222 | display: block; |
| 1223 | } |
| 1224 | /*-------------------------------------------------------------------------- |
| 1225 | * |
| 1226 | * WYSIWYG |
| 1227 | * |
| 1228 | *-------------------------------------------------------------------------*/ |
| 1229 | .acf-editor-wrap { |
| 1230 | /* delay */ |
| 1231 | } |
| 1232 | .acf-editor-wrap.delay .acf-editor-toolbar { |
| 1233 | content: ""; |
| 1234 | display: block; |
| 1235 | background: #f5f5f5; |
| 1236 | border-bottom: #dddddd solid 1px; |
| 1237 | color: #555d66; |
| 1238 | padding: 10px; |
| 1239 | } |
| 1240 | .acf-editor-wrap.delay textarea { |
| 1241 | padding: 10px; |
| 1242 | } |
| 1243 | .acf-editor-wrap iframe { |
| 1244 | min-height: 200px; |
| 1245 | } |
| 1246 | .acf-editor-wrap .wp-editor-container { |
| 1247 | border: 1px solid #E5E5E5; |
| 1248 | box-shadow: none; |
| 1249 | } |
| 1250 | #mce_fullscreen_container { |
| 1251 | z-index: 900000 !important; |
| 1252 | } |
| 1253 | /* WP < 4.1 */ |
| 1254 | .acf-editor-wrap .wp-switch-editor { |
| 1255 | float: left; |
| 1256 | -moz-box-sizing: content-box; |
| 1257 | -webkit-box-sizing: content-box; |
| 1258 | box-sizing: content-box; |
| 1259 | } |
| 1260 | .acf-editor-wrap.tmce-active .wp-editor-area { |
| 1261 | color: #333 !important; |
| 1262 | } |
| 1263 | /*--------------------------------------------------------------------------------------------- |
| 1264 | * |
| 1265 | * Tab |
| 1266 | * |
| 1267 | *---------------------------------------------------------------------------------------------*/ |
| 1268 | .acf-field-tab { |
| 1269 | display: none !important; |
| 1270 | } |
| 1271 | .hidden-by-tab { |
| 1272 | display: none !important; |
| 1273 | } |
| 1274 | .acf-tab-wrap { |
| 1275 | clear: both; |
| 1276 | } |
| 1277 | .acf-tab-wrap:first-child { |
| 1278 | clear: none; |
| 1279 | } |
| 1280 | .acf-tab-group { |
| 1281 | border-bottom: #ccc solid 1px; |
| 1282 | padding: 10px 10px 0; |
| 1283 | } |
| 1284 | .acf-tab-group li { |
| 1285 | margin: 0 0.5em 0 0; |
| 1286 | } |
| 1287 | .acf-tab-group li a { |
| 1288 | padding: 5px 10px; |
| 1289 | display: block; |
| 1290 | color: #555; |
| 1291 | font-size: 14px; |
| 1292 | font-weight: 600; |
| 1293 | line-height: 24px; |
| 1294 | border: #ccc solid 1px; |
| 1295 | border-bottom: 0 none; |
| 1296 | text-decoration: none; |
| 1297 | background: #e5e5e5; |
| 1298 | transition: none; |
| 1299 | } |
| 1300 | .acf-tab-group li a:hover { |
| 1301 | background: #FFF; |
| 1302 | } |
| 1303 | .acf-tab-group li a:focus { |
| 1304 | outline: none; |
| 1305 | box-shadow: none; |
| 1306 | } |
| 1307 | html[dir="rtl"] .acf-tab-group li { |
| 1308 | margin: 0 0 0 0.5em; |
| 1309 | } |
| 1310 | .acf-tab-group li.active a { |
| 1311 | background: #F1F1F1; |
| 1312 | color: #000; |
| 1313 | padding-bottom: 6px; |
| 1314 | margin-bottom: -1px; |
| 1315 | position: relative; |
| 1316 | z-index: 1; |
| 1317 | } |
| 1318 | /* inside acf-fields */ |
| 1319 | .acf-fields > .acf-tab-wrap { |
| 1320 | background: #F9F9F9; |
| 1321 | } |
| 1322 | .acf-fields > .acf-tab-wrap .acf-tab-group { |
| 1323 | position: relative; |
| 1324 | z-index: 1; |
| 1325 | margin-top: -1px; |
| 1326 | border-top: #DFDFDF solid 1px; |
| 1327 | border-bottom: #DFDFDF solid 1px; |
| 1328 | } |
| 1329 | .acf-fields > .acf-tab-wrap .acf-tab-group li a { |
| 1330 | background: #f1f1f1; |
| 1331 | } |
| 1332 | .acf-fields > .acf-tab-wrap .acf-tab-group li a:hover { |
| 1333 | background: #FFF; |
| 1334 | } |
| 1335 | .acf-fields > .acf-tab-wrap .acf-tab-group li.active a { |
| 1336 | background: #FFFFFF; |
| 1337 | } |
| 1338 | /* inside acf-fields.-left */ |
| 1339 | .acf-fields.-left > .acf-tab-wrap .acf-tab-group { |
| 1340 | padding-left: 20%; |
| 1341 | /* mobile */ |
| 1342 | /* rtl */ |
| 1343 | } |
| 1344 | @media screen and (max-width: 850px) { |
| 1345 | .acf-fields.-left > .acf-tab-wrap .acf-tab-group { |
| 1346 | padding-left: 10px; |
| 1347 | } |
| 1348 | } |
| 1349 | html[dir="rtl"] .acf-fields.-left > .acf-tab-wrap .acf-tab-group { |
| 1350 | padding-left: 0; |
| 1351 | padding-right: 20%; |
| 1352 | /* mobile */ |
| 1353 | } |
| 1354 | @media screen and (max-width: 850px) { |
| 1355 | html[dir="rtl"] .acf-fields.-left > .acf-tab-wrap .acf-tab-group { |
| 1356 | padding-right: 10px; |
| 1357 | } |
| 1358 | } |
| 1359 | /* space between field and tabs */ |
| 1360 | .acf-field + .acf-tab-wrap.-left:before { |
| 1361 | content: ""; |
| 1362 | display: block; |
| 1363 | position: absolute; |
| 1364 | z-index: 1; |
| 1365 | background: #DFDFDF; |
| 1366 | left: 0; |
| 1367 | width: 100%; |
| 1368 | height: 1px; |
| 1369 | } |
| 1370 | /* sidebar */ |
| 1371 | .acf-fields.-sidebar { |
| 1372 | padding: 0 0 0 20% !important; |
| 1373 | position: relative; |
| 1374 | /* before */ |
| 1375 | /* rtl */ |
| 1376 | /* tab wrap left */ |
| 1377 | /* .acf-fields.-left */ |
| 1378 | /* first tab group */ |
| 1379 | } |
| 1380 | .acf-fields.-sidebar:before { |
| 1381 | content: ""; |
| 1382 | display: block; |
| 1383 | position: absolute; |
| 1384 | top: 0; |
| 1385 | left: 0; |
| 1386 | width: 20%; |
| 1387 | bottom: 0; |
| 1388 | border-right: #DFDFDF solid 1px; |
| 1389 | background: #F9F9F9; |
| 1390 | z-index: 1; |
| 1391 | } |
| 1392 | html[dir="rtl"] .acf-fields.-sidebar { |
| 1393 | padding: 0 20% 0 0 !important; |
| 1394 | } |
| 1395 | html[dir="rtl"] .acf-fields.-sidebar:before { |
| 1396 | border-left: #DFDFDF solid 1px; |
| 1397 | border-right-width: 0; |
| 1398 | left: auto; |
| 1399 | right: 0; |
| 1400 | } |
| 1401 | .acf-fields.-sidebar > .acf-tab-wrap.-left .acf-tab-group { |
| 1402 | position: absolute; |
| 1403 | left: 0; |
| 1404 | width: 20%; |
| 1405 | border: 0 none; |
| 1406 | padding: 0 !important; |
| 1407 | /* important overrides 'left aligned labels' */ |
| 1408 | margin: 1px 0 0; |
| 1409 | /* rtl */ |
| 1410 | } |
| 1411 | html[dir="rtl"] .acf-fields.-sidebar > .acf-tab-wrap.-left .acf-tab-group { |
| 1412 | left: auto; |
| 1413 | right: 0; |
| 1414 | } |
| 1415 | .acf-fields.-sidebar > .acf-tab-wrap.-left .acf-tab-group li { |
| 1416 | float: none; |
| 1417 | margin: -1px 0 0; |
| 1418 | } |
| 1419 | .acf-fields.-sidebar > .acf-tab-wrap.-left .acf-tab-group li a { |
| 1420 | border: 1px solid #ededed; |
| 1421 | font-size: 13px; |
| 1422 | line-height: 18px; |
| 1423 | color: #0073aa; |
| 1424 | padding: 10px; |
| 1425 | font-weight: normal; |
| 1426 | border-width: 1px 0; |
| 1427 | border-radius: 0; |
| 1428 | background: transparent; |
| 1429 | } |
| 1430 | .acf-fields.-sidebar > .acf-tab-wrap.-left .acf-tab-group li a:hover { |
| 1431 | color: #00a0d2; |
| 1432 | } |
| 1433 | .acf-fields.-sidebar > .acf-tab-wrap.-left .acf-tab-group li.active a { |
| 1434 | border-color: #DFDFDF; |
| 1435 | color: #000; |
| 1436 | margin-right: -1px; |
| 1437 | background: #fff; |
| 1438 | } |
| 1439 | html[dir="rtl"] .acf-fields.-sidebar > .acf-tab-wrap.-left .acf-tab-group li.active a { |
| 1440 | margin-right: 0; |
| 1441 | margin-left: -1px; |
| 1442 | } |
| 1443 | .acf-fields.-sidebar.-left { |
| 1444 | padding: 0 0 0 180px !important; |
| 1445 | /* rtl */ |
| 1446 | } |
| 1447 | html[dir="rtl"] .acf-fields.-sidebar.-left { |
| 1448 | padding: 0 180px 0 0 !important; |
| 1449 | } |
| 1450 | .acf-fields.-sidebar.-left:before { |
| 1451 | background: #F1F1F1; |
| 1452 | border-color: #dfdfdf; |
| 1453 | width: 180px; |
| 1454 | } |
| 1455 | .acf-fields.-sidebar.-left .acf-tab-wrap.-left .acf-tab-group { |
| 1456 | width: 180px; |
| 1457 | } |
| 1458 | .acf-fields.-sidebar.-left .acf-tab-wrap.-left .acf-tab-group li a { |
| 1459 | border-color: #e4e4e4; |
| 1460 | } |
| 1461 | .acf-fields.-sidebar.-left .acf-tab-wrap.-left .acf-tab-group li.active a { |
| 1462 | background: #F9F9F9; |
| 1463 | } |
| 1464 | .acf-fields.-sidebar .acf-tab-wrap.-left:first-child .acf-tab-group li:first-child a { |
| 1465 | border-top-width: 0; |
| 1466 | } |
| 1467 | .acf-fields.-clear > .acf-tab-wrap { |
| 1468 | background: transparent; |
| 1469 | } |
| 1470 | .acf-fields.-clear > .acf-tab-wrap .acf-tab-group { |
| 1471 | margin-top: 0; |
| 1472 | border-top: none; |
| 1473 | padding: 0; |
| 1474 | } |
| 1475 | .acf-fields.-clear > .acf-tab-wrap .acf-tab-group li a { |
| 1476 | background: #e5e5e5; |
| 1477 | } |
| 1478 | .acf-fields.-clear > .acf-tab-wrap .acf-tab-group li a:hover { |
| 1479 | background: #fff; |
| 1480 | } |
| 1481 | .acf-fields.-clear > .acf-tab-wrap .acf-tab-group li.active a { |
| 1482 | background: #f1f1f1; |
| 1483 | } |
| 1484 | /* seamless */ |
| 1485 | .acf-postbox.seamless { |
| 1486 | /* standard */ |
| 1487 | /* left label */ |
| 1488 | } |
| 1489 | .acf-postbox.seamless > .acf-fields > .acf-tab-wrap { |
| 1490 | background: #f1f1f1; |
| 1491 | margin-bottom: 10px; |
| 1492 | padding-left: 12px; |
| 1493 | padding-right: 12px; |
| 1494 | } |
| 1495 | .acf-postbox.seamless > .acf-fields > .acf-tab-wrap .acf-tab-group { |
| 1496 | border-top: 0 none; |
| 1497 | } |
| 1498 | .acf-postbox.seamless > .acf-fields > .acf-tab-wrap .acf-tab-group li a { |
| 1499 | background: #e5e5e5; |
| 1500 | } |
| 1501 | .acf-postbox.seamless > .acf-fields > .acf-tab-wrap .acf-tab-group li a:hover { |
| 1502 | background: #fff; |
| 1503 | } |
| 1504 | .acf-postbox.seamless > .acf-fields > .acf-tab-wrap .acf-tab-group li.active a { |
| 1505 | background: #f1f1f1; |
| 1506 | } |
| 1507 | .acf-postbox.seamless > .acf-fields.-left { |
| 1508 | /* left label, top tab */ |
| 1509 | /* left label, left tab */ |
| 1510 | } |
| 1511 | .acf-postbox.seamless > .acf-fields.-left .acf-tab-wrap.-left .acf-tab-group { |
| 1512 | margin-bottom: 0; |
| 1513 | } |
| 1514 | .acf-postbox.seamless > .acf-fields.-left .acf-tab-wrap.-left .acf-tab-group li a { |
| 1515 | border-width: 1px 0 1px 1px !important; |
| 1516 | border-color: #cccccc; |
| 1517 | background: #e5e5e5; |
| 1518 | } |
| 1519 | .acf-postbox.seamless > .acf-fields.-left .acf-tab-wrap.-left .acf-tab-group li.active a { |
| 1520 | background: #f1f1f1; |
| 1521 | } |
| 1522 | .compat-item .acf-tab-wrap td { |
| 1523 | display: block; |
| 1524 | } |
| 1525 | /* within gallery sidebar */ |
| 1526 | .acf-gallery-side .acf-tab-wrap { |
| 1527 | border-top: 0 none !important; |
| 1528 | } |
| 1529 | .acf-gallery-side .acf-tab-wrap .acf-tab-group { |
| 1530 | margin: 10px 0 !important; |
| 1531 | padding: 0 !important; |
| 1532 | } |
| 1533 | .acf-gallery-side .acf-tab-group li.active a { |
| 1534 | background: #F9F9F9 !important; |
| 1535 | } |
| 1536 | /* withing widget */ |
| 1537 | .widget .acf-tab-group { |
| 1538 | border-bottom-color: #e8e8e8; |
| 1539 | } |
| 1540 | .widget .acf-tab-group li a { |
| 1541 | background: #F1F1F1; |
| 1542 | } |
| 1543 | .widget .acf-tab-group li.active a { |
| 1544 | background: #fff; |
| 1545 | } |
| 1546 | /* media popup (edit image) */ |
| 1547 | .media-modal.acf-expanded .compat-attachment-fields > tbody > tr.acf-tab-wrap .acf-tab-group { |
| 1548 | padding-left: 23%; |
| 1549 | border-bottom-color: #DDDDDD; |
| 1550 | } |
| 1551 | /* table */ |
| 1552 | .form-table > tbody > tr.acf-tab-wrap .acf-tab-group { |
| 1553 | padding: 0 5px 0 210px; |
| 1554 | } |
| 1555 | /* rtl */ |
| 1556 | html[dir="rtl"] .form-table > tbody > tr.acf-tab-wrap .acf-tab-group { |
| 1557 | padding: 0 210px 0 5px; |
| 1558 | } |
| 1559 | /*-------------------------------------------------------------------------------------------- |
| 1560 | * |
| 1561 | * oembed |
| 1562 | * |
| 1563 | *--------------------------------------------------------------------------------------------*/ |
| 1564 | .acf-oembed { |
| 1565 | position: relative; |
| 1566 | border: #DFDFDF solid 1px; |
| 1567 | background: #fff; |
| 1568 | } |
| 1569 | .acf-oembed .title { |
| 1570 | position: relative; |
| 1571 | border-bottom: #DFDFDF solid 1px; |
| 1572 | padding: 5px 10px; |
| 1573 | } |
| 1574 | .acf-oembed .title h4, |
| 1575 | .acf-oembed .title input[type="text"] { |
| 1576 | margin: 0; |
| 1577 | font-size: 14px; |
| 1578 | line-height: 30px; |
| 1579 | height: 30px; |
| 1580 | padding: 0; |
| 1581 | border: 0 none; |
| 1582 | box-shadow: none; |
| 1583 | border-radius: 0; |
| 1584 | font-family: inherit; |
| 1585 | cursor: text; |
| 1586 | } |
| 1587 | .acf-oembed .title .search { |
| 1588 | height: auto; |
| 1589 | border: 0 none; |
| 1590 | } |
| 1591 | .acf-oembed .title .acf-actions { |
| 1592 | padding: 6px; |
| 1593 | } |
| 1594 | .acf-oembed .title:hover .acf-actions { |
| 1595 | display: block; |
| 1596 | } |
| 1597 | .acf-oembed .canvas { |
| 1598 | position: relative; |
| 1599 | min-height: 250px; |
| 1600 | background: #F9F9F9; |
| 1601 | } |
| 1602 | .acf-oembed .canvas .canvas-media { |
| 1603 | position: relative; |
| 1604 | z-index: 1; |
| 1605 | } |
| 1606 | .acf-oembed .canvas iframe { |
| 1607 | display: block; |
| 1608 | margin: 0; |
| 1609 | padding: 0; |
| 1610 | width: 100%; |
| 1611 | } |
| 1612 | .acf-oembed .canvas .acf-icon.-picture { |
| 1613 | position: absolute; |
| 1614 | top: 50%; |
| 1615 | left: 50%; |
| 1616 | margin: -21px 0 0 -21px; |
| 1617 | z-index: 0; |
| 1618 | height: 42px; |
| 1619 | width: 42px; |
| 1620 | font-size: 42px; |
| 1621 | color: #999; |
| 1622 | } |
| 1623 | .acf-oembed .canvas .canvas-loading { |
| 1624 | position: absolute; |
| 1625 | top: 0; |
| 1626 | left: 0; |
| 1627 | right: 0; |
| 1628 | bottom: 0; |
| 1629 | background: rgba(255, 255, 255, 0.9); |
| 1630 | display: none; |
| 1631 | z-index: 2; |
| 1632 | } |
| 1633 | .acf-oembed .canvas .canvas-loading i { |
| 1634 | position: absolute; |
| 1635 | top: 50%; |
| 1636 | left: 50%; |
| 1637 | margin: -10px 0 0 -10px; |
| 1638 | } |
| 1639 | .acf-oembed .canvas .canvas-error { |
| 1640 | position: absolute; |
| 1641 | top: 50%; |
| 1642 | left: 0%; |
| 1643 | right: 0%; |
| 1644 | margin: -9px 0 0 0; |
| 1645 | text-align: center; |
| 1646 | display: none; |
| 1647 | } |
| 1648 | .acf-oembed .canvas .canvas-error p { |
| 1649 | padding: 8px; |
| 1650 | margin: 0; |
| 1651 | display: inline; |
| 1652 | } |
| 1653 | .acf-oembed.has-value .canvas { |
| 1654 | min-height: 0; |
| 1655 | } |
| 1656 | /* states */ |
| 1657 | .acf-oembed .title-value { |
| 1658 | display: none; |
| 1659 | } |
| 1660 | .acf-oembed .title-search { |
| 1661 | display: block; |
| 1662 | } |
| 1663 | .acf-oembed.has-value .title-value { |
| 1664 | display: block; |
| 1665 | } |
| 1666 | .acf-oembed.has-value .title-search { |
| 1667 | display: none; |
| 1668 | } |
| 1669 | .acf-oembed.has-value .canvas .acf-icon { |
| 1670 | display: none; |
| 1671 | } |
| 1672 | .acf-oembed.is-editing .title-value { |
| 1673 | display: none; |
| 1674 | } |
| 1675 | .acf-oembed.is-editing .title-search { |
| 1676 | display: block; |
| 1677 | } |
| 1678 | .acf-oembed.is-loading .canvas-loading { |
| 1679 | display: block; |
| 1680 | } |
| 1681 | .acf-oembed.is-loading .title .acf-icon { |
| 1682 | display: none; |
| 1683 | } |
| 1684 | .acf-oembed.has-error .canvas-error { |
| 1685 | display: block; |
| 1686 | } |
| 1687 | .acf-oembed.has-error .canvas .acf-icon { |
| 1688 | display: none; |
| 1689 | } |
| 1690 | /*-------------------------------------------------------------------------------------------- |
| 1691 | * |
| 1692 | * Image |
| 1693 | * |
| 1694 | *--------------------------------------------------------------------------------------------*/ |
| 1695 | .acf-image-uploader { |
| 1696 | position: relative; |
| 1697 | /* image wrap*/ |
| 1698 | /* input */ |
| 1699 | /* rtl */ |
| 1700 | } |
| 1701 | .acf-image-uploader:after { |
| 1702 | clear: both; |
| 1703 | content: ""; |
| 1704 | display: table; |
| 1705 | } |
| 1706 | .acf-image-uploader p { |
| 1707 | margin: 0; |
| 1708 | } |
| 1709 | .acf-image-uploader .image-wrap { |
| 1710 | position: relative; |
| 1711 | float: left; |
| 1712 | /* hover */ |
| 1713 | } |
| 1714 | .acf-image-uploader .image-wrap img { |
| 1715 | max-width: 100%; |
| 1716 | width: auto; |
| 1717 | height: auto; |
| 1718 | display: block; |
| 1719 | min-width: 30px; |
| 1720 | min-height: 30px; |
| 1721 | background: #f1f1f1; |
| 1722 | margin: 0; |
| 1723 | padding: 0; |
| 1724 | /* svg */ |
| 1725 | } |
| 1726 | .acf-image-uploader .image-wrap img[src$=".svg"] { |
| 1727 | min-height: 100px; |
| 1728 | min-width: 100px; |
| 1729 | } |
| 1730 | .acf-image-uploader .image-wrap:hover .acf-actions { |
| 1731 | display: block; |
| 1732 | } |
| 1733 | .acf-image-uploader input.button { |
| 1734 | width: auto; |
| 1735 | } |
| 1736 | html[dir="rtl"] .acf-image-uploader .image-wrap { |
| 1737 | float: right; |
| 1738 | } |
| 1739 | /*-------------------------------------------------------------------------------------------- |
| 1740 | * |
| 1741 | * File |
| 1742 | * |
| 1743 | *--------------------------------------------------------------------------------------------*/ |
| 1744 | .acf-file-uploader { |
| 1745 | position: relative; |
| 1746 | /* hover */ |
| 1747 | /* rtl */ |
| 1748 | } |
| 1749 | .acf-file-uploader p { |
| 1750 | margin: 0; |
| 1751 | } |
| 1752 | .acf-file-uploader .file-wrap { |
| 1753 | border: #DFDFDF solid 1px; |
| 1754 | min-height: 84px; |
| 1755 | position: relative; |
| 1756 | background: #fff; |
| 1757 | } |
| 1758 | .acf-file-uploader .file-icon { |
| 1759 | position: absolute; |
| 1760 | top: 0; |
| 1761 | left: 0; |
| 1762 | bottom: 0; |
| 1763 | padding: 10px; |
| 1764 | background: #F1F1F1; |
| 1765 | border-right: #E5E5E5 solid 1px; |
| 1766 | } |
| 1767 | .acf-file-uploader .file-icon img { |
| 1768 | display: block; |
| 1769 | padding: 0; |
| 1770 | margin: 0; |
| 1771 | max-width: 48px; |
| 1772 | } |
| 1773 | .acf-file-uploader .file-info { |
| 1774 | padding: 10px; |
| 1775 | margin-left: 69px; |
| 1776 | } |
| 1777 | .acf-file-uploader .file-info p { |
| 1778 | margin: 0 0 2px; |
| 1779 | font-size: 13px; |
| 1780 | line-height: 1.4em; |
| 1781 | word-break: break-all; |
| 1782 | } |
| 1783 | .acf-file-uploader .file-info a { |
| 1784 | text-decoration: none; |
| 1785 | } |
| 1786 | .acf-file-uploader:hover .acf-actions { |
| 1787 | display: block; |
| 1788 | } |
| 1789 | html[dir="rtl"] .acf-file-uploader .file-icon { |
| 1790 | left: auto; |
| 1791 | right: 0; |
| 1792 | border-left: #E5E5E5 solid 1px; |
| 1793 | border-right: none; |
| 1794 | } |
| 1795 | html[dir="rtl"] .acf-file-uploader .file-info { |
| 1796 | margin-right: 69px; |
| 1797 | margin-left: 0; |
| 1798 | } |
| 1799 | /*--------------------------------------------------------------------------------------------- |
| 1800 | * |
| 1801 | * Date Picker |
| 1802 | * |
| 1803 | *---------------------------------------------------------------------------------------------*/ |
| 1804 | .acf-ui-datepicker .ui-datepicker { |
| 1805 | z-index: 900000 !important; |
| 1806 | } |
| 1807 | .acf-ui-datepicker .ui-datepicker .ui-widget-header a { |
| 1808 | cursor: pointer; |
| 1809 | transition: none; |
| 1810 | } |
| 1811 | /* fix highlight state overriding hover / active */ |
| 1812 | .acf-ui-datepicker .ui-state-highlight.ui-state-hover { |
| 1813 | border: 1px solid #98b7e8 !important; |
| 1814 | background: #98b7e8 !important; |
| 1815 | font-weight: normal !important; |
| 1816 | color: #ffffff !important; |
| 1817 | } |
| 1818 | .acf-ui-datepicker .ui-state-highlight.ui-state-active { |
| 1819 | border: 1px solid #3875d7 !important; |
| 1820 | background: #3875d7 !important; |
| 1821 | font-weight: normal !important; |
| 1822 | color: #ffffff !important; |
| 1823 | } |
| 1824 | /*--------------------------------------------------------------------------------------------- |
| 1825 | * |
| 1826 | * Separator field |
| 1827 | * |
| 1828 | *---------------------------------------------------------------------------------------------*/ |
| 1829 | .acf-field-separator { |
| 1830 | /* fields */ |
| 1831 | } |
| 1832 | .acf-field-separator .acf-label { |
| 1833 | margin-bottom: 0; |
| 1834 | } |
| 1835 | .acf-field-separator .acf-label label { |
| 1836 | font-weight: normal; |
| 1837 | } |
| 1838 | .acf-field-separator .acf-input { |
| 1839 | display: none; |
| 1840 | } |
| 1841 | .acf-fields > .acf-field-separator { |
| 1842 | background: #f9f9f9; |
| 1843 | border-bottom: 1px solid #dfdfdf; |
| 1844 | border-top: 1px solid #dfdfdf; |
| 1845 | margin-bottom: -1px; |
| 1846 | z-index: 2; |
| 1847 | } |
| 1848 | /*--------------------------------------------------------------------------------------------- |
| 1849 | * |
| 1850 | * Taxonomy |
| 1851 | * |
| 1852 | *---------------------------------------------------------------------------------------------*/ |
| 1853 | .acf-taxonomy-field { |
| 1854 | position: relative; |
| 1855 | /* hover */ |
| 1856 | /* select */ |
| 1857 | } |
| 1858 | .acf-taxonomy-field .categorychecklist-holder { |
| 1859 | border: #DFDFDF solid 1px; |
| 1860 | border-radius: 3px; |
| 1861 | max-height: 200px; |
| 1862 | overflow: auto; |
| 1863 | } |
| 1864 | .acf-taxonomy-field .acf-checkbox-list { |
| 1865 | margin: 0; |
| 1866 | padding: 10px; |
| 1867 | } |
| 1868 | .acf-taxonomy-field .acf-checkbox-list ul.children { |
| 1869 | padding-left: 18px; |
| 1870 | } |
| 1871 | .acf-taxonomy-field:hover .acf-actions { |
| 1872 | display: block; |
| 1873 | } |
| 1874 | .acf-taxonomy-field[data-type="select"] .acf-actions { |
| 1875 | padding: 0; |
| 1876 | margin: -9px; |
| 1877 | } |
| 1878 | /*--------------------------------------------------------------------------------------------- |
| 1879 | * |
| 1880 | * Range |
| 1881 | * |
| 1882 | *---------------------------------------------------------------------------------------------*/ |
| 1883 | .acf-range-wrap { |
| 1884 | /* rtl */ |
| 1885 | } |
| 1886 | .acf-range-wrap .acf-append, |
| 1887 | .acf-range-wrap .acf-prepend { |
| 1888 | display: inline-block; |
| 1889 | vertical-align: middle; |
| 1890 | line-height: 28px; |
| 1891 | margin: 0 7px 0 0; |
| 1892 | } |
| 1893 | .acf-range-wrap .acf-append { |
| 1894 | margin: 0 0 0 7px; |
| 1895 | } |
| 1896 | .acf-range-wrap input[type="range"] { |
| 1897 | display: inline-block; |
| 1898 | padding: 0; |
| 1899 | margin: 0; |
| 1900 | vertical-align: middle; |
| 1901 | height: 28px; |
| 1902 | } |
| 1903 | .acf-range-wrap input[type="range"]:focus { |
| 1904 | outline: none; |
| 1905 | } |
| 1906 | .acf-range-wrap input[type="number"] { |
| 1907 | display: inline-block; |
| 1908 | min-width: 3em; |
| 1909 | margin-left: 10px; |
| 1910 | vertical-align: middle; |
| 1911 | } |
| 1912 | html[dir="rtl"] .acf-range-wrap input[type="number"] { |
| 1913 | margin-right: 10px; |
| 1914 | margin-left: 0; |
| 1915 | } |
| 1916 | html[dir="rtl"] .acf-range-wrap .acf-append { |
| 1917 | margin: 0 7px 0 0; |
| 1918 | } |
| 1919 | html[dir="rtl"] .acf-range-wrap .acf-prepend { |
| 1920 | margin: 0 0 0 7px; |
| 1921 | } |
| 1922 | /*--------------------------------------------------------------------------------------------- |
| 1923 | * |
| 1924 | * acf-panel |
| 1925 | * |
| 1926 | *---------------------------------------------------------------------------------------------*/ |
| 1927 | .acf-accordion { |
| 1928 | margin: 0; |
| 1929 | padding: 0; |
| 1930 | background: #fff; |
| 1931 | /* title */ |
| 1932 | /* open */ |
| 1933 | } |
| 1934 | .acf-accordion .acf-accordion-title { |
| 1935 | margin: 0; |
| 1936 | padding: 12px; |
| 1937 | font-weight: bold; |
| 1938 | cursor: pointer; |
| 1939 | font-size: inherit; |
| 1940 | font-size: 13px; |
| 1941 | line-height: 1.4em; |
| 1942 | } |
| 1943 | .acf-accordion .acf-accordion-title label { |
| 1944 | margin: 0; |
| 1945 | padding: 0; |
| 1946 | font-size: 13px; |
| 1947 | line-height: 1.4em; |
| 1948 | } |
| 1949 | .acf-accordion .acf-accordion-title p { |
| 1950 | font-weight: normal; |
| 1951 | } |
| 1952 | .acf-accordion .acf-accordion-title .acf-accordion-icon { |
| 1953 | float: right; |
| 1954 | } |
| 1955 | .acf-accordion .acf-accordion-content { |
| 1956 | margin: 0; |
| 1957 | padding: 0 12px 12px; |
| 1958 | display: none; |
| 1959 | } |
| 1960 | .acf-accordion.-open > .acf-accordion-content { |
| 1961 | display: block; |
| 1962 | } |
| 1963 | /* field specific */ |
| 1964 | .acf-field.acf-accordion { |
| 1965 | padding: 0; |
| 1966 | } |
| 1967 | .acf-field.acf-accordion .acf-accordion-title { |
| 1968 | padding: 12px !important; |
| 1969 | float: none !important; |
| 1970 | width: auto !important; |
| 1971 | } |
| 1972 | .acf-field.acf-accordion .acf-accordion-content { |
| 1973 | padding: 0; |
| 1974 | float: none !important; |
| 1975 | width: auto !important; |
| 1976 | } |
| 1977 | .acf-field.acf-accordion .acf-accordion-content > .acf-fields { |
| 1978 | border-top: #EEEEEE solid 1px; |
| 1979 | } |
| 1980 | .acf-field.acf-accordion .acf-accordion-content > .acf-fields.-clear { |
| 1981 | padding: 0 12px 15px; |
| 1982 | } |
| 1983 | /* field specific (left) */ |
| 1984 | .acf-fields.-left > .acf-field.acf-accordion { |
| 1985 | padding: 0 !important; |
| 1986 | } |
| 1987 | .acf-fields.-left > .acf-field.acf-accordion:before { |
| 1988 | display: none; |
| 1989 | } |
| 1990 | .acf-fields.-left > .acf-field.acf-accordion .acf-accordion-title { |
| 1991 | width: auto; |
| 1992 | margin: 0 !important; |
| 1993 | padding: 12px; |
| 1994 | float: none !important; |
| 1995 | } |
| 1996 | .acf-fields.-left > .acf-field.acf-accordion .acf-accordion-content { |
| 1997 | padding: 0 !important; |
| 1998 | } |
| 1999 | /* field specific (clear) */ |
| 2000 | .acf-fields.-clear > .acf-field.acf-accordion { |
| 2001 | border: #cccccc solid 1px; |
| 2002 | background: transparent; |
| 2003 | } |
| 2004 | .acf-fields.-clear > .acf-field.acf-accordion + .acf-field.acf-accordion { |
| 2005 | margin-top: -16px; |
| 2006 | } |
| 2007 | /* table */ |
| 2008 | tr.acf-field.acf-accordion { |
| 2009 | background: transparent; |
| 2010 | } |
| 2011 | tr.acf-field.acf-accordion > .acf-input { |
| 2012 | padding: 0 !important; |
| 2013 | border: #cccccc solid 1px; |
| 2014 | } |
| 2015 | tr.acf-field.acf-accordion .acf-accordion-content { |
| 2016 | padding: 0 12px 12px; |
| 2017 | } |
| 2018 | /* #addtag */ |
| 2019 | #addtag > .acf-field.acf-accordion { |
| 2020 | padding-right: 0; |
| 2021 | margin-right: 5%; |
| 2022 | } |
| 2023 | #addtag > .acf-field.acf-accordion + p.submit { |
| 2024 | margin-top: 0; |
| 2025 | } |
| 2026 | /* border */ |
| 2027 | tr.acf-accordion { |
| 2028 | margin: 15px 0 !important; |
| 2029 | } |
| 2030 | tr.acf-accordion + tr.acf-accordion { |
| 2031 | margin-top: -16px !important; |
| 2032 | } |
| 2033 | /* seamless */ |
| 2034 | .acf-postbox.seamless > .acf-fields > .acf-accordion { |
| 2035 | margin-left: 12px !important; |
| 2036 | margin-right: 12px !important; |
| 2037 | } |
| 2038 | /* rtl */ |
| 2039 | /* menu item */ |
| 2040 | /* |
| 2041 | .menu-item-settings > .field-acf > .acf-field.acf-accordion { |
| 2042 | border: #dfdfdf solid 1px; |
| 2043 | margin: 10px -13px 10px -11px; |
| 2044 | |
| 2045 | + .acf-field.acf-accordion { |
| 2046 | margin-top: -11px; |
| 2047 | } |
| 2048 | } |
| 2049 | */ |
| 2050 | /* widget */ |
| 2051 | .widget .widget-content > .acf-field.acf-accordion { |
| 2052 | border: #dfdfdf solid 1px; |
| 2053 | margin-bottom: 10px; |
| 2054 | } |
| 2055 | .widget .widget-content > .acf-field.acf-accordion .acf-accordion-title { |
| 2056 | margin-bottom: 0; |
| 2057 | } |
| 2058 | .widget .widget-content > .acf-field.acf-accordion + .acf-field.acf-accordion { |
| 2059 | margin-top: -11px; |
| 2060 | } |
| 2061 | .acf-postbox.seamless > .acf-fields > .acf-field.acf-accordion { |
| 2062 | border: #e5e5e5 solid 1px; |
| 2063 | } |
| 2064 | .acf-postbox.seamless > .acf-fields > .acf-field.acf-accordion + .acf-field.acf-accordion { |
| 2065 | margin-top: -1px; |
| 2066 | } |
| 2067 | .media-modal .compat-attachment-fields .acf-field.acf-accordion + .acf-field.acf-accordion { |
| 2068 | margin-top: -1px; |
| 2069 | } |
| 2070 | .media-modal .compat-attachment-fields .acf-field.acf-accordion > .acf-input { |
| 2071 | width: 100%; |
| 2072 | } |
| 2073 | /*--------------------------------------------------------------------------------------------- |
| 2074 | * |
| 2075 | * Attachment Form (single page) |
| 2076 | * |
| 2077 | *---------------------------------------------------------------------------------------------*/ |
| 2078 | #post .compat-attachment-fields .compat-field-acf-form-data { |
| 2079 | display: none; |
| 2080 | } |
| 2081 | #post .compat-attachment-fields, |
| 2082 | #post .compat-attachment-fields > tbody, |
| 2083 | #post .compat-attachment-fields > tbody > tr, |
| 2084 | #post .compat-attachment-fields > tbody > tr > th, |
| 2085 | #post .compat-attachment-fields > tbody > tr > td { |
| 2086 | display: block; |
| 2087 | } |
| 2088 | #post .compat-attachment-fields > tbody > .acf-field { |
| 2089 | margin: 15px 0; |
| 2090 | } |
| 2091 | #post .compat-attachment-fields > tbody > .acf-field > .acf-label { |
| 2092 | margin: 0; |
| 2093 | } |
| 2094 | #post .compat-attachment-fields > tbody > .acf-field > .acf-label label { |
| 2095 | margin: 0; |
| 2096 | padding: 0; |
| 2097 | } |
| 2098 | #post .compat-attachment-fields > tbody > .acf-field > .acf-label label p { |
| 2099 | margin: 0 0 3px !important; |
| 2100 | } |
| 2101 | #post .compat-attachment-fields > tbody > .acf-field > .acf-input { |
| 2102 | margin: 0; |
| 2103 | } |
| 2104 | /*--------------------------------------------------------------------------------------------- |
| 2105 | * |
| 2106 | * Media Model |
| 2107 | * |
| 2108 | *---------------------------------------------------------------------------------------------*/ |
| 2109 | /* WP sets tables to act as divs. ACF uses tables, so these muct be reset */ |
| 2110 | .media-modal .compat-attachment-fields td.acf-input table { |
| 2111 | display: table; |
| 2112 | } |
| 2113 | .media-modal .compat-attachment-fields td.acf-input table tbody { |
| 2114 | display: table-row-group; |
| 2115 | } |
| 2116 | .media-modal .compat-attachment-fields td.acf-input table tr { |
| 2117 | display: table-row; |
| 2118 | } |
| 2119 | .media-modal .compat-attachment-fields td.acf-input table td, |
| 2120 | .media-modal .compat-attachment-fields td.acf-input table th { |
| 2121 | display: table-cell; |
| 2122 | } |
| 2123 | /* field widths floats */ |
| 2124 | .media-modal .compat-attachment-fields > tbody > .acf-field { |
| 2125 | margin: 5px 0; |
| 2126 | } |
| 2127 | .media-modal .compat-attachment-fields > tbody > .acf-field > .acf-label { |
| 2128 | min-width: 30%; |
| 2129 | margin: 0; |
| 2130 | padding: 0; |
| 2131 | text-align: right; |
| 2132 | display: block; |
| 2133 | float: left; |
| 2134 | } |
| 2135 | .media-modal .compat-attachment-fields > tbody > .acf-field > .acf-label > label { |
| 2136 | padding-top: 6px; |
| 2137 | margin: 0; |
| 2138 | color: #666666; |
| 2139 | font-weight: 400; |
| 2140 | line-height: 16px; |
| 2141 | } |
| 2142 | .media-modal .compat-attachment-fields > tbody > .acf-field > .acf-input { |
| 2143 | width: 65%; |
| 2144 | margin: 0; |
| 2145 | padding: 0; |
| 2146 | float: right; |
| 2147 | display: block; |
| 2148 | } |
| 2149 | .media-modal .compat-attachment-fields > tbody > .acf-field p.description { |
| 2150 | margin: 0; |
| 2151 | } |
| 2152 | /* restricted selection (copy of WP .upload-errors)*/ |
| 2153 | .acf-selection-error { |
| 2154 | background: #ffebe8; |
| 2155 | border: 1px solid #c00; |
| 2156 | border-radius: 3px; |
| 2157 | padding: 8px; |
| 2158 | margin: 20px 0 0; |
| 2159 | } |
| 2160 | .acf-selection-error .selection-error-label { |
| 2161 | background: #CC0000; |
| 2162 | border-radius: 3px; |
| 2163 | color: #fff; |
| 2164 | font-weight: bold; |
| 2165 | margin-right: 8px; |
| 2166 | padding: 2px 4px; |
| 2167 | } |
| 2168 | .acf-selection-error .selection-error-message { |
| 2169 | color: #b44; |
| 2170 | display: block; |
| 2171 | padding-top: 8px; |
| 2172 | word-wrap: break-word; |
| 2173 | white-space: pre-wrap; |
| 2174 | } |
| 2175 | /* disabled attachment */ |
| 2176 | .media-modal .attachment.acf-disabled .thumbnail { |
| 2177 | opacity: 0.25 !important; |
| 2178 | } |
| 2179 | .media-modal .attachment.acf-disabled .attachment-preview:before { |
| 2180 | background: rgba(0, 0, 0, 0.15); |
| 2181 | z-index: 1; |
| 2182 | position: relative; |
| 2183 | } |
| 2184 | /* misc */ |
| 2185 | .media-modal { |
| 2186 | /* compat-item */ |
| 2187 | /* fix % margin which causes .acf-uploadedTo to drop down below select */ |
| 2188 | /* allow line breaks in upload error */ |
| 2189 | /* fix required span */ |
| 2190 | /* sidebar */ |
| 2191 | /* mobile md */ |
| 2192 | } |
| 2193 | .media-modal .compat-field-acf-form-data, |
| 2194 | .media-modal .compat-field-acf-blank { |
| 2195 | display: none !important; |
| 2196 | } |
| 2197 | .media-modal select.attachment-filters { |
| 2198 | margin-right: 6px !important; |
| 2199 | vertical-align: middle; |
| 2200 | } |
| 2201 | .media-modal .acf-uploadedTo { |
| 2202 | line-height: 28px; |
| 2203 | height: 28px; |
| 2204 | display: inline-block; |
| 2205 | position: relative; |
| 2206 | margin: 11px 6px 0 0; |
| 2207 | vertical-align: middle; |
| 2208 | } |
| 2209 | .media-modal .upload-error-message { |
| 2210 | white-space: pre-wrap; |
| 2211 | } |
| 2212 | .media-modal .acf-required { |
| 2213 | padding: 0 !important; |
| 2214 | margin: 0 !important; |
| 2215 | float: none !important; |
| 2216 | color: #f00 !important; |
| 2217 | } |
| 2218 | .media-modal .media-sidebar .compat-item { |
| 2219 | padding-bottom: 20px; |
| 2220 | } |
| 2221 | @media (max-width: 900px) { |
| 2222 | .media-modal { |
| 2223 | /* label */ |
| 2224 | /* field */ |
| 2225 | } |
| 2226 | .media-modal .setting span, |
| 2227 | .media-modal .compat-attachment-fields > tbody > .acf-field > .acf-label { |
| 2228 | width: 98%; |
| 2229 | float: none; |
| 2230 | text-align: left; |
| 2231 | min-height: 0; |
| 2232 | padding: 0; |
| 2233 | } |
| 2234 | .media-modal .setting input, |
| 2235 | .media-modal .setting textarea, |
| 2236 | .media-modal .compat-attachment-fields > tbody > .acf-field > .acf-input { |
| 2237 | float: none; |
| 2238 | height: auto; |
| 2239 | max-width: none; |
| 2240 | width: 98%; |
| 2241 | } |
| 2242 | } |
| 2243 | /*--------------------------------------------------------------------------------------------- |
| 2244 | * |
| 2245 | * Media Model (expand details) |
| 2246 | * |
| 2247 | *---------------------------------------------------------------------------------------------*/ |
| 2248 | .media-modal .acf-expand-details { |
| 2249 | float: right; |
| 2250 | padding: 1px 10px; |
| 2251 | margin-right: 6px; |
| 2252 | height: 18px; |
| 2253 | line-height: 18px; |
| 2254 | color: #AAAAAA; |
| 2255 | font-size: 12px; |
| 2256 | } |
| 2257 | .media-modal .acf-expand-details:focus, |
| 2258 | .media-modal .acf-expand-details:active { |
| 2259 | outline: 0 none; |
| 2260 | box-shadow: none; |
| 2261 | color: #AAAAAA; |
| 2262 | } |
| 2263 | .media-modal .acf-expand-details:hover { |
| 2264 | color: #666666 !important; |
| 2265 | } |
| 2266 | .media-modal .acf-expand-details span { |
| 2267 | display: block; |
| 2268 | float: left; |
| 2269 | } |
| 2270 | .media-modal .acf-expand-details .acf-icon { |
| 2271 | margin: 0 4px 0 0; |
| 2272 | } |
| 2273 | .media-modal .acf-expand-details:hover .acf-icon { |
| 2274 | border-color: #AAAAAA; |
| 2275 | } |
| 2276 | .media-modal .acf-expand-details .is-open { |
| 2277 | display: none; |
| 2278 | } |
| 2279 | .media-modal .acf-expand-details .is-closed { |
| 2280 | display: block; |
| 2281 | } |
| 2282 | /* expanded */ |
| 2283 | .media-modal.acf-expanded { |
| 2284 | /* toggle */ |
| 2285 | /* resize */ |
| 2286 | /* label & fields */ |
| 2287 | /* mobile md */ |
| 2288 | } |
| 2289 | .media-modal.acf-expanded .acf-expand-details .is-open { |
| 2290 | display: block; |
| 2291 | } |
| 2292 | .media-modal.acf-expanded .acf-expand-details .is-closed { |
| 2293 | display: none; |
| 2294 | } |
| 2295 | .media-modal.acf-expanded .attachments-browser .media-toolbar, |
| 2296 | .media-modal.acf-expanded .attachments-browser .attachments { |
| 2297 | right: 740px; |
| 2298 | } |
| 2299 | .media-modal.acf-expanded .media-sidebar { |
| 2300 | width: 708px; |
| 2301 | } |
| 2302 | .media-modal.acf-expanded .media-sidebar { |
| 2303 | /* label */ |
| 2304 | /* field */ |
| 2305 | /* larger thumbnail */ |
| 2306 | } |
| 2307 | .media-modal.acf-expanded .media-sidebar .attachment-info .thumbnail, |
| 2308 | .media-modal.acf-expanded .media-sidebar .setting span, |
| 2309 | .media-modal.acf-expanded .media-sidebar .compat-attachment-fields > tbody > .acf-field > .acf-label { |
| 2310 | min-width: 20%; |
| 2311 | } |
| 2312 | .media-modal.acf-expanded .media-sidebar .attachment-info .details, |
| 2313 | .media-modal.acf-expanded .media-sidebar .setting input, |
| 2314 | .media-modal.acf-expanded .media-sidebar .setting textarea, |
| 2315 | .media-modal.acf-expanded .media-sidebar .compat-attachment-fields > tbody > .acf-field > .acf-input { |
| 2316 | min-width: 77%; |
| 2317 | } |
| 2318 | .media-modal.acf-expanded .media-sidebar .setting span { |
| 2319 | margin-right: 2%; |
| 2320 | } |
| 2321 | .media-modal.acf-expanded .media-sidebar .attachment-info .thumbnail { |
| 2322 | max-height: none; |
| 2323 | } |
| 2324 | .media-modal.acf-expanded .media-sidebar .attachment-info .thumbnail img { |
| 2325 | max-width: 100%; |
| 2326 | max-height: 200px; |
| 2327 | } |
| 2328 | .media-modal.acf-expanded .media-sidebar .attachment-info .details { |
| 2329 | float: right; |
| 2330 | } |
| 2331 | @media (max-width: 900px) { |
| 2332 | .media-modal.acf-expanded { |
| 2333 | /* resize */ |
| 2334 | } |
| 2335 | .media-modal.acf-expanded .attachments-browser .media-toolbar { |
| 2336 | display: none; |
| 2337 | } |
| 2338 | .media-modal.acf-expanded .attachments { |
| 2339 | display: none; |
| 2340 | } |
| 2341 | .media-modal.acf-expanded .media-sidebar { |
| 2342 | width: auto; |
| 2343 | max-width: none !important; |
| 2344 | } |
| 2345 | .media-modal.acf-expanded .media-sidebar .attachment-info .thumbnail { |
| 2346 | min-width: 30%; |
| 2347 | margin: 0; |
| 2348 | } |
| 2349 | .media-modal.acf-expanded .media-sidebar .attachment-info .details { |
| 2350 | min-width: 67%; |
| 2351 | } |
| 2352 | } |
| 2353 | /*--------------------------------------------------------------------------------------------- |
| 2354 | * |
| 2355 | * ACF Media Model |
| 2356 | * |
| 2357 | *---------------------------------------------------------------------------------------------*/ |
| 2358 | .acf-media-modal { |
| 2359 | /* hide embed settings */ |
| 2360 | } |
| 2361 | .acf-media-modal .media-embed .setting.align, |
| 2362 | .acf-media-modal .media-embed .setting.link-to { |
| 2363 | display: none; |
| 2364 | } |
| 2365 | /*--------------------------------------------------------------------------------------------- |
| 2366 | * |
| 2367 | * ACF Media Model (Select Mode) |
| 2368 | * |
| 2369 | *---------------------------------------------------------------------------------------------*/ |
| 2370 | /*--------------------------------------------------------------------------------------------- |
| 2371 | * |
| 2372 | * ACF Media Model (Edit Mode) |
| 2373 | * |
| 2374 | *---------------------------------------------------------------------------------------------*/ |
| 2375 | .acf-media-modal.-edit { |
| 2376 | /* resize modal */ |
| 2377 | left: 15%; |
| 2378 | right: 15%; |
| 2379 | top: 100px; |
| 2380 | bottom: 100px; |
| 2381 | /* hide elements */ |
| 2382 | /* full width */ |
| 2383 | /* tidy up incorrect distance */ |
| 2384 | /* WP4 */ |
| 2385 | /* title box shadow (to match media grid) */ |
| 2386 | /* sidebar */ |
| 2387 | /* mobile md */ |
| 2388 | /* mobile sm */ |
| 2389 | } |
| 2390 | .acf-media-modal.-edit .media-frame-menu, |
| 2391 | .acf-media-modal.-edit .media-frame-router, |
| 2392 | .acf-media-modal.-edit .media-frame-content .attachments, |
| 2393 | .acf-media-modal.-edit .media-frame-content .media-toolbar { |
| 2394 | display: none; |
| 2395 | } |
| 2396 | .acf-media-modal.-edit .media-frame-title, |
| 2397 | .acf-media-modal.-edit .media-frame-content, |
| 2398 | .acf-media-modal.-edit .media-frame-toolbar, |
| 2399 | .acf-media-modal.-edit .media-sidebar { |
| 2400 | width: auto; |
| 2401 | left: 0; |
| 2402 | right: 0; |
| 2403 | } |
| 2404 | .acf-media-modal.-edit .media-frame-content { |
| 2405 | top: 56px; |
| 2406 | } |
| 2407 | body.major-4 .acf-media-modal.-edit .media-frame-content { |
| 2408 | top: 50px; |
| 2409 | } |
| 2410 | .acf-media-modal.-edit .media-frame-title { |
| 2411 | border-bottom: 1px solid #DFDFDF; |
| 2412 | box-shadow: 0 4px 4px -4px rgba(0, 0, 0, 0.1); |
| 2413 | } |
| 2414 | .acf-media-modal.-edit .media-sidebar { |
| 2415 | padding: 0 16px; |
| 2416 | /* WP details */ |
| 2417 | /* ACF fields */ |
| 2418 | /* WP required message */ |
| 2419 | } |
| 2420 | .acf-media-modal.-edit .media-sidebar .attachment-details { |
| 2421 | overflow: visible; |
| 2422 | /* hide 'Attachment Details' heading */ |
| 2423 | /* remove overflow */ |
| 2424 | /* move thumbnail */ |
| 2425 | } |
| 2426 | .acf-media-modal.-edit .media-sidebar .attachment-details > h3, |
| 2427 | .acf-media-modal.-edit .media-sidebar .attachment-details > h2 { |
| 2428 | display: none; |
| 2429 | } |
| 2430 | .acf-media-modal.-edit .media-sidebar .attachment-details .attachment-info { |
| 2431 | background: #fff; |
| 2432 | border-bottom: #dddddd solid 1px; |
| 2433 | padding: 16px; |
| 2434 | margin: 0 -16px 16px; |
| 2435 | } |
| 2436 | .acf-media-modal.-edit .media-sidebar .attachment-details .thumbnail { |
| 2437 | margin: 0 16px 0 0; |
| 2438 | } |
| 2439 | .acf-media-modal.-edit .media-sidebar .attachment-details .setting { |
| 2440 | display: block; |
| 2441 | overflow: hidden; |
| 2442 | float: none; |
| 2443 | width: auto; |
| 2444 | margin: 0 0 5px; |
| 2445 | } |
| 2446 | .acf-media-modal.-edit .media-sidebar .attachment-details .setting span { |
| 2447 | margin: 0; |
| 2448 | } |
| 2449 | .acf-media-modal.-edit .media-sidebar .compat-attachment-fields > tbody > .acf-field { |
| 2450 | margin: 0 0 5px; |
| 2451 | } |
| 2452 | .acf-media-modal.-edit .media-sidebar .compat-attachment-fields > tbody > .acf-field p.description { |
| 2453 | margin-top: 3px; |
| 2454 | } |
| 2455 | .acf-media-modal.-edit .media-sidebar .media-types-required-info { |
| 2456 | display: none; |
| 2457 | } |
| 2458 | @media (max-width: 900px) { |
| 2459 | .acf-media-modal.-edit { |
| 2460 | top: 30px; |
| 2461 | right: 30px; |
| 2462 | bottom: 30px; |
| 2463 | left: 30px; |
| 2464 | } |
| 2465 | } |
| 2466 | @media (max-width: 640px) { |
| 2467 | .acf-media-modal.-edit { |
| 2468 | top: 0; |
| 2469 | right: 0; |
| 2470 | bottom: 0; |
| 2471 | left: 0; |
| 2472 | } |
| 2473 | .acf-media-modal.-edit .media-sidebar { |
| 2474 | bottom: 0 !important; |
| 2475 | } |
| 2476 | } |
| 2477 | /*-------------------------------------------------------------------------------------------- |
| 2478 | * |
| 2479 | * User |
| 2480 | * |
| 2481 | *--------------------------------------------------------------------------------------------*/ |
| 2482 | .form-table > tbody { |
| 2483 | /* field */ |
| 2484 | /* tab wrap */ |
| 2485 | /* misc */ |
| 2486 | } |
| 2487 | .form-table > tbody > .acf-field { |
| 2488 | /* label */ |
| 2489 | /* input */ |
| 2490 | } |
| 2491 | .form-table > tbody > .acf-field > .acf-label { |
| 2492 | padding: 20px 10px 20px 0; |
| 2493 | width: 200px; |
| 2494 | /* rtl */ |
| 2495 | } |
| 2496 | html[dir="rtl"] .form-table > tbody > .acf-field > .acf-label { |
| 2497 | padding: 20px 0 20px 10px; |
| 2498 | } |
| 2499 | .form-table > tbody > .acf-field > .acf-label label { |
| 2500 | font-size: 14px; |
| 2501 | color: #23282d; |
| 2502 | } |
| 2503 | .form-table > tbody > .acf-field > .acf-input { |
| 2504 | padding: 15px 10px; |
| 2505 | /* rtl */ |
| 2506 | } |
| 2507 | html[dir="rtl"] .form-table > tbody > .acf-field > .acf-input { |
| 2508 | padding: 15px 10px 15px 5%; |
| 2509 | } |
| 2510 | .form-table > tbody > .acf-tab-wrap td { |
| 2511 | padding: 15px 5% 15px 0; |
| 2512 | /* rtl */ |
| 2513 | } |
| 2514 | html[dir="rtl"] .form-table > tbody > .acf-tab-wrap td { |
| 2515 | padding: 15px 0 15px 5%; |
| 2516 | } |
| 2517 | .form-table > tbody .form-table th.acf-th { |
| 2518 | width: auto; |
| 2519 | } |
| 2520 | /*-------------------------------------------------------------------------------------------- |
| 2521 | * |
| 2522 | * Term |
| 2523 | * |
| 2524 | *--------------------------------------------------------------------------------------------*/ |
| 2525 | .acf-addterm-fields { |
| 2526 | padding-right: 5%; |
| 2527 | } |
| 2528 | .acf-addterm-fields > .acf-field > .acf-label { |
| 2529 | margin: 0; |
| 2530 | } |
| 2531 | .acf-addterm-fields > .acf-field > .acf-label label { |
| 2532 | font-size: 12px; |
| 2533 | font-weight: normal; |
| 2534 | } |
| 2535 | p.submit .spinner, |
| 2536 | p.submit .acf-spinner { |
| 2537 | vertical-align: top; |
| 2538 | float: none; |
| 2539 | margin: 4px 4px 0; |
| 2540 | } |
| 2541 | #edittag .acf-fields.-left > .acf-field { |
| 2542 | padding-left: 220px; |
| 2543 | } |
| 2544 | #edittag .acf-fields.-left > .acf-field:before { |
| 2545 | width: 209px; |
| 2546 | } |
| 2547 | #edittag .acf-fields.-left > .acf-field > .acf-label { |
| 2548 | width: 220px; |
| 2549 | margin-left: -220px; |
| 2550 | padding: 0 10px; |
| 2551 | } |
| 2552 | #edittag .acf-fields.-left > .acf-field > .acf-input { |
| 2553 | padding: 0; |
| 2554 | } |
| 2555 | #edittag > .acf-fields.-left { |
| 2556 | width: 96%; |
| 2557 | } |
| 2558 | #edittag > .acf-fields.-left > .acf-field > .acf-label { |
| 2559 | padding-left: 0; |
| 2560 | } |
| 2561 | /*-------------------------------------------------------------------------------------------- |
| 2562 | * |
| 2563 | * Comment |
| 2564 | * |
| 2565 | *--------------------------------------------------------------------------------------------*/ |
| 2566 | .editcomment td:first-child { |
| 2567 | white-space: nowrap; |
| 2568 | width: 131px; |
| 2569 | } |
| 2570 | /*-------------------------------------------------------------------------------------------- |
| 2571 | * |
| 2572 | * Widget |
| 2573 | * |
| 2574 | *--------------------------------------------------------------------------------------------*/ |
| 2575 | #widgets-right .widget .acf-field .description { |
| 2576 | padding-left: 0; |
| 2577 | padding-right: 0; |
| 2578 | } |
| 2579 | .acf-widget-fields > .acf-field .acf-label { |
| 2580 | margin-bottom: 5px; |
| 2581 | } |
| 2582 | .acf-widget-fields > .acf-field .acf-label label { |
| 2583 | font-weight: normal; |
| 2584 | margin: 0; |
| 2585 | } |
| 2586 | .widget form > .acf-error-message { |
| 2587 | margin-top: 15px; |
| 2588 | } |
| 2589 | /*-------------------------------------------------------------------------------------------- |
| 2590 | * |
| 2591 | * Nav Menu |
| 2592 | * |
| 2593 | *--------------------------------------------------------------------------------------------*/ |
| 2594 | .acf-menu-settings { |
| 2595 | border-top: 1px solid #eee; |
| 2596 | margin-top: 2em; |
| 2597 | } |
| 2598 | .acf-menu-settings.-seamless { |
| 2599 | border-top: none; |
| 2600 | margin-top: 15px; |
| 2601 | } |
| 2602 | .acf-menu-settings.-seamless > h2 { |
| 2603 | display: none; |
| 2604 | } |
| 2605 | .acf-menu-item-fields { |
| 2606 | margin-right: 10px; |
| 2607 | float: left; |
| 2608 | } |
| 2609 | /*-------------------------------------------------------------------------------------------- |
| 2610 | * |
| 2611 | * Confirm remove |
| 2612 | * |
| 2613 | *--------------------------------------------------------------------------------------------*/ |
| 2614 | .acf-temp-remove { |
| 2615 | position: relative; |
| 2616 | opacity: 1; |
| 2617 | -webkit-transition: all 0.25s ease; |
| 2618 | -moz-transition: all 0.25s ease; |
| 2619 | -o-transition: all 0.25s ease; |
| 2620 | transition: all 0.25s ease; |
| 2621 | overflow: hidden; |
| 2622 | /* overlay prevents hover */ |
| 2623 | } |
| 2624 | .acf-temp-remove:after { |
| 2625 | display: block; |
| 2626 | content: ""; |
| 2627 | position: absolute; |
| 2628 | top: 0; |
| 2629 | left: 0; |
| 2630 | right: 0; |
| 2631 | bottom: 0; |
| 2632 | z-index: 99; |
| 2633 | } |
| 2634 | /*-------------------------------------------------------------------------- |
| 2635 | * |
| 2636 | * Conditional Logic |
| 2637 | * |
| 2638 | *-------------------------------------------------------------------------*/ |
| 2639 | /* Hide */ |
| 2640 | .hidden-by-conditional-logic { |
| 2641 | display: none !important; |
| 2642 | } |
| 2643 | /* Hide (appear empty) */ |
| 2644 | .hidden-by-conditional-logic.appear-empty { |
| 2645 | display: table-cell !important; |
| 2646 | } |
| 2647 | .hidden-by-conditional-logic.appear-empty .acf-input { |
| 2648 | display: none !important; |
| 2649 | } |
| 2650 | /*-------------------------------------------------------------------------- |
| 2651 | * |
| 2652 | * 3rd Party |
| 2653 | * |
| 2654 | *-------------------------------------------------------------------------*/ |
| 2655 | /* Tabify shows hidden postboxes */ |
| 2656 | .acf-postbox.acf-hidden { |
| 2657 | display: none !important; |
| 2658 | } |
| 2659 |