_blocks.scss
1 year ago
_field-group.scss
1 year ago
_fields.scss
1 year ago
acf-pro-field-group.scss
1 year ago
acf-pro-input.scss
1 year ago
acf-pro-input.scss
886 lines
| 1 | @charset "UTF-8"; |
| 2 | /*-------------------------------------------------------------------------------------------- |
| 3 | * |
| 4 | * Vars |
| 5 | * |
| 6 | *--------------------------------------------------------------------------------------------*/ |
| 7 | /* colors */ |
| 8 | /* acf-field */ |
| 9 | /* responsive */ |
| 10 | /*-------------------------------------------------------------------------------------------- |
| 11 | * |
| 12 | * ACF 6 ↓ |
| 13 | * |
| 14 | *--------------------------------------------------------------------------------------------*/ |
| 15 | /*-------------------------------------------------------------------------------------------- |
| 16 | * |
| 17 | * Mixins |
| 18 | * |
| 19 | *--------------------------------------------------------------------------------------------*/ |
| 20 | /*--------------------------------------------------------------------------------------------- |
| 21 | * |
| 22 | * Repeater |
| 23 | * |
| 24 | *---------------------------------------------------------------------------------------------*/ |
| 25 | .acf-repeater { |
| 26 | /* table */ |
| 27 | /* row handle (add/remove) */ |
| 28 | /* add in spacer to th (force correct width) */ |
| 29 | /* row */ |
| 30 | /* sortable */ |
| 31 | /* layouts */ |
| 32 | /* |
| 33 | &.-row > table > tbody > tr:before, |
| 34 | &.-block > table > tbody > tr:before { |
| 35 | content: ""; |
| 36 | display: table-row; |
| 37 | height: 2px; |
| 38 | background: #f00; |
| 39 | } |
| 40 | */ |
| 41 | /* empty */ |
| 42 | /* collapsed */ |
| 43 | /* collapsed (block layout) */ |
| 44 | /* collapsed (table layout) */ |
| 45 | } |
| 46 | .acf-repeater > table { |
| 47 | margin: 0 0 8px; |
| 48 | background: #F9F9F9; |
| 49 | } |
| 50 | .acf-repeater > table > tbody tr.acf-divider:not(:first-child) > td { |
| 51 | border-top: 10px solid #EAECF0; |
| 52 | } |
| 53 | .acf-repeater .acf-row-handle { |
| 54 | width: 16px; |
| 55 | text-align: center !important; |
| 56 | vertical-align: middle !important; |
| 57 | position: relative; |
| 58 | /* icons */ |
| 59 | /* .order */ |
| 60 | /* remove */ |
| 61 | } |
| 62 | .acf-repeater .acf-row-handle .acf-order-input-wrap { |
| 63 | width: 45px; |
| 64 | } |
| 65 | .acf-repeater .acf-row-handle .acf-order-input::-webkit-outer-spin-button, |
| 66 | .acf-repeater .acf-row-handle .acf-order-input::-webkit-inner-spin-button { |
| 67 | -webkit-appearance: none; |
| 68 | margin: 0; |
| 69 | } |
| 70 | .acf-repeater .acf-row-handle .acf-order-input { |
| 71 | -moz-appearance: textfield; |
| 72 | text-align: center; |
| 73 | } |
| 74 | .acf-repeater .acf-row-handle .acf-icon { |
| 75 | display: none; |
| 76 | position: absolute; |
| 77 | top: 0; |
| 78 | margin: -8px 0 0 -2px; |
| 79 | /* minus icon */ |
| 80 | } |
| 81 | .acf-repeater .acf-row-handle .acf-icon.-minus { |
| 82 | top: 50%; |
| 83 | /* ie fix */ |
| 84 | } |
| 85 | body.browser-msie .acf-repeater .acf-row-handle .acf-icon.-minus { |
| 86 | top: 25px; |
| 87 | } |
| 88 | .acf-repeater .acf-row-handle.order { |
| 89 | background: #f4f4f4; |
| 90 | cursor: move; |
| 91 | color: #aaa; |
| 92 | text-shadow: #fff 0 1px 0; |
| 93 | } |
| 94 | .acf-repeater .acf-row-handle.order:hover { |
| 95 | color: #666; |
| 96 | } |
| 97 | .acf-repeater .acf-row-handle.order + td { |
| 98 | border-left-color: #DFDFDF; |
| 99 | } |
| 100 | .acf-repeater .acf-row-handle.pagination { |
| 101 | cursor: auto; |
| 102 | } |
| 103 | .acf-repeater .acf-row-handle.remove { |
| 104 | background: #F9F9F9; |
| 105 | border-left-color: #DFDFDF; |
| 106 | } |
| 107 | .acf-repeater th.acf-row-handle:before { |
| 108 | content: ""; |
| 109 | width: 16px; |
| 110 | display: block; |
| 111 | height: 1px; |
| 112 | } |
| 113 | .acf-repeater .acf-row { |
| 114 | /* hide clone */ |
| 115 | /* hover */ |
| 116 | } |
| 117 | .acf-repeater .acf-row.acf-clone { |
| 118 | display: none !important; |
| 119 | } |
| 120 | .acf-repeater .acf-row:hover, .acf-repeater .acf-row.-hover { |
| 121 | /* icons */ |
| 122 | } |
| 123 | .acf-repeater .acf-row:hover > .acf-row-handle .acf-icon, .acf-repeater .acf-row.-hover > .acf-row-handle .acf-icon { |
| 124 | display: block; |
| 125 | } |
| 126 | .acf-repeater .acf-row:hover > .acf-row-handle .acf-icon.show-on-shift, .acf-repeater .acf-row.-hover > .acf-row-handle .acf-icon.show-on-shift { |
| 127 | display: none; |
| 128 | } |
| 129 | body.acf-keydown-shift .acf-repeater .acf-row:hover > .acf-row-handle .acf-icon.show-on-shift, body.acf-keydown-shift .acf-repeater .acf-row.-hover > .acf-row-handle .acf-icon.show-on-shift { |
| 130 | display: block; |
| 131 | } |
| 132 | body.acf-keydown-shift .acf-repeater .acf-row:hover > .acf-row-handle .acf-icon.hide-on-shift, body.acf-keydown-shift .acf-repeater .acf-row.-hover > .acf-row-handle .acf-icon.hide-on-shift { |
| 133 | display: none; |
| 134 | } |
| 135 | .acf-repeater > table > tbody > tr.ui-sortable-helper { |
| 136 | box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2); |
| 137 | } |
| 138 | .acf-repeater > table > tbody > tr.ui-sortable-placeholder { |
| 139 | visibility: visible !important; |
| 140 | } |
| 141 | .acf-repeater > table > tbody > tr.ui-sortable-placeholder td { |
| 142 | background: #F9F9F9; |
| 143 | } |
| 144 | .acf-repeater.-row > table > tbody > tr > td, .acf-repeater.-block > table > tbody > tr > td { |
| 145 | border-top-color: #E1E1E1; |
| 146 | } |
| 147 | .acf-repeater.-empty > table > thead > tr > th { |
| 148 | border-bottom: 0 none; |
| 149 | } |
| 150 | .acf-repeater.-empty.-row > table, .acf-repeater.-empty.-block > table { |
| 151 | display: none; |
| 152 | } |
| 153 | .acf-repeater .acf-row.-collapsed > .acf-field { |
| 154 | display: none !important; |
| 155 | } |
| 156 | .acf-repeater .acf-row.-collapsed > td.acf-field.-collapsed-target { |
| 157 | display: table-cell !important; |
| 158 | } |
| 159 | .acf-repeater .acf-row.-collapsed > .acf-fields > * { |
| 160 | display: none !important; |
| 161 | } |
| 162 | .acf-repeater .acf-row.-collapsed > .acf-fields > .acf-field.-collapsed-target { |
| 163 | display: block !important; |
| 164 | } |
| 165 | .acf-repeater .acf-row.-collapsed > .acf-fields > .acf-field.-collapsed-target[data-width]] { |
| 166 | float: none !important; |
| 167 | width: auto !important; |
| 168 | } |
| 169 | .acf-repeater.-table .acf-row.-collapsed .acf-field.-collapsed-target { |
| 170 | border-left-color: #dfdfdf; |
| 171 | } |
| 172 | .acf-repeater.-max .acf-icon[data-event=add-row]=add-row] { |
| 173 | display: none !important; |
| 174 | } |
| 175 | .acf-repeater > .acf-actions .acf-button { |
| 176 | float: right; |
| 177 | pointer-events: auto !important; |
| 178 | } |
| 179 | .acf-repeater > .acf-actions .acf-tablenav { |
| 180 | float: right; |
| 181 | margin-right: 20px; |
| 182 | } |
| 183 | .acf-repeater > .acf-actions .acf-tablenav .current-page { |
| 184 | width: auto !important; |
| 185 | } |
| 186 | |
| 187 | /*--------------------------------------------------------------------------------------------- |
| 188 | * |
| 189 | * Flexible Content |
| 190 | * |
| 191 | *---------------------------------------------------------------------------------------------*/ |
| 192 | .acf-flexible-content { |
| 193 | position: relative; |
| 194 | } |
| 195 | .acf-flexible-content > .clones { |
| 196 | display: none; |
| 197 | } |
| 198 | .acf-flexible-content > .values { |
| 199 | margin: 0 0 8px; |
| 200 | } |
| 201 | .acf-flexible-content > .values > .ui-sortable-placeholder { |
| 202 | visibility: visible !important; |
| 203 | border: 1px dashed #b4b9be; |
| 204 | box-shadow: none; |
| 205 | background: transparent; |
| 206 | } |
| 207 | .acf-flexible-content .layout { |
| 208 | position: relative; |
| 209 | margin: 20px 0 0; |
| 210 | background: #fff; |
| 211 | border: 1px solid #ccd0d4; |
| 212 | } |
| 213 | .acf-flexible-content .layout:first-child { |
| 214 | margin-top: 0; |
| 215 | } |
| 216 | .acf-flexible-content .layout .acf-fc-layout-handle { |
| 217 | display: block; |
| 218 | position: relative; |
| 219 | padding: 8px 10px; |
| 220 | cursor: move; |
| 221 | border-bottom: #ccd0d4 solid 1px; |
| 222 | color: #444; |
| 223 | font-size: 14px; |
| 224 | line-height: 1.4em; |
| 225 | } |
| 226 | .acf-flexible-content .layout .acf-fc-layout-order { |
| 227 | display: block; |
| 228 | width: 20px; |
| 229 | height: 20px; |
| 230 | border-radius: 10px; |
| 231 | display: inline-block; |
| 232 | text-align: center; |
| 233 | line-height: 20px; |
| 234 | margin: 0 2px 0 0; |
| 235 | background: #F1F1F1; |
| 236 | font-size: 12px; |
| 237 | color: #444; |
| 238 | } |
| 239 | html[dir=rtl]=rtl] .acf-flexible-content .layout .acf-fc-layout-order { |
| 240 | float: right; |
| 241 | margin-right: 0; |
| 242 | margin-left: 5px; |
| 243 | } |
| 244 | .acf-flexible-content .layout .acf-fc-layout-controls { |
| 245 | position: absolute; |
| 246 | top: 8px; |
| 247 | right: 8px; |
| 248 | } |
| 249 | .acf-flexible-content .layout .acf-fc-layout-controls .acf-icon { |
| 250 | display: block; |
| 251 | float: left; |
| 252 | margin: 0 0 0 5px; |
| 253 | } |
| 254 | .acf-flexible-content .layout .acf-fc-layout-controls .acf-icon.-plus, .acf-flexible-content .layout .acf-fc-layout-controls .acf-icon.-minus, .acf-flexible-content .layout .acf-fc-layout-controls .acf-icon.-duplicate { |
| 255 | visibility: hidden; |
| 256 | } |
| 257 | html[dir=rtl]=rtl] .acf-flexible-content .layout .acf-fc-layout-controls { |
| 258 | right: auto; |
| 259 | left: 9px; |
| 260 | } |
| 261 | .acf-flexible-content .layout.is-selected { |
| 262 | border-color: #7e8993; |
| 263 | } |
| 264 | .acf-flexible-content .layout.is-selected .acf-fc-layout-handle { |
| 265 | border-color: #7e8993; |
| 266 | } |
| 267 | .acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-plus, .acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-minus, .acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-duplicate, .acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-plus, .acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-minus, .acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-duplicate { |
| 268 | visibility: visible; |
| 269 | } |
| 270 | .acf-flexible-content .layout.-collapsed > .acf-fc-layout-handle { |
| 271 | border-bottom-width: 0; |
| 272 | } |
| 273 | .acf-flexible-content .layout.-collapsed > .acf-fields, |
| 274 | .acf-flexible-content .layout.-collapsed > .acf-table { |
| 275 | display: none; |
| 276 | } |
| 277 | .acf-flexible-content .layout > .acf-table { |
| 278 | border: 0 none; |
| 279 | box-shadow: none; |
| 280 | } |
| 281 | .acf-flexible-content .layout > .acf-table > tbody > tr { |
| 282 | background: #fff; |
| 283 | } |
| 284 | .acf-flexible-content .layout > .acf-table > thead > tr > th { |
| 285 | background: #F9F9F9; |
| 286 | } |
| 287 | .acf-flexible-content .no-value-message { |
| 288 | padding: 19px; |
| 289 | border: #ccc dashed 2px; |
| 290 | text-align: center; |
| 291 | display: none; |
| 292 | } |
| 293 | .acf-flexible-content.-empty > .no-value-message { |
| 294 | display: block; |
| 295 | } |
| 296 | |
| 297 | .acf-fc-popup { |
| 298 | padding: 5px 0; |
| 299 | z-index: 900001; |
| 300 | min-width: 135px; |
| 301 | } |
| 302 | .acf-fc-popup ul, .acf-fc-popup li { |
| 303 | list-style: none; |
| 304 | display: block; |
| 305 | margin: 0; |
| 306 | padding: 0; |
| 307 | } |
| 308 | .acf-fc-popup li { |
| 309 | position: relative; |
| 310 | float: none; |
| 311 | white-space: nowrap; |
| 312 | } |
| 313 | .acf-fc-popup .badge { |
| 314 | display: inline-block; |
| 315 | border-radius: 8px; |
| 316 | font-size: 9px; |
| 317 | line-height: 15px; |
| 318 | padding: 0 5px; |
| 319 | background: #d54e21; |
| 320 | text-align: center; |
| 321 | color: #fff; |
| 322 | vertical-align: top; |
| 323 | margin: 0 0 0 5px; |
| 324 | } |
| 325 | .acf-fc-popup a { |
| 326 | color: #eee; |
| 327 | padding: 5px 10px; |
| 328 | display: block; |
| 329 | text-decoration: none; |
| 330 | position: relative; |
| 331 | } |
| 332 | .acf-fc-popup a:hover { |
| 333 | background: #0073aa; |
| 334 | color: #fff; |
| 335 | } |
| 336 | .acf-fc-popup a.disabled { |
| 337 | color: #888; |
| 338 | background: transparent; |
| 339 | } |
| 340 | |
| 341 | /*--------------------------------------------------------------------------------------------- |
| 342 | * |
| 343 | * Galery |
| 344 | * |
| 345 | *---------------------------------------------------------------------------------------------*/ |
| 346 | .acf-gallery { |
| 347 | border: #ccd0d4 solid 1px; |
| 348 | height: 400px; |
| 349 | position: relative; |
| 350 | /* main */ |
| 351 | /* attachments */ |
| 352 | /* attachment */ |
| 353 | /* toolbar */ |
| 354 | /* sidebar */ |
| 355 | /* side info */ |
| 356 | /* side data */ |
| 357 | /* column widths */ |
| 358 | /* resizable */ |
| 359 | } |
| 360 | .acf-gallery .acf-gallery-main { |
| 361 | position: absolute; |
| 362 | top: 0; |
| 363 | right: 0; |
| 364 | bottom: 0; |
| 365 | left: 0; |
| 366 | background: #fff; |
| 367 | z-index: 2; |
| 368 | } |
| 369 | .acf-gallery .acf-gallery-attachments { |
| 370 | position: absolute; |
| 371 | top: 0; |
| 372 | right: 0; |
| 373 | bottom: 48px; |
| 374 | left: 0; |
| 375 | padding: 5px; |
| 376 | overflow: auto; |
| 377 | overflow-x: hidden; |
| 378 | } |
| 379 | .acf-gallery .acf-gallery-attachment { |
| 380 | width: 25%; |
| 381 | float: left; |
| 382 | cursor: pointer; |
| 383 | position: relative; |
| 384 | /* hover */ |
| 385 | /* sortable */ |
| 386 | /* active */ |
| 387 | /* icon */ |
| 388 | /* rtl */ |
| 389 | } |
| 390 | .acf-gallery .acf-gallery-attachment .margin { |
| 391 | margin: 5px; |
| 392 | border: #d5d9dd solid 1px; |
| 393 | position: relative; |
| 394 | overflow: hidden; |
| 395 | background: #eee; |
| 396 | } |
| 397 | .acf-gallery .acf-gallery-attachment .margin:before { |
| 398 | content: ""; |
| 399 | display: block; |
| 400 | padding-top: 100%; |
| 401 | } |
| 402 | .acf-gallery .acf-gallery-attachment .thumbnail { |
| 403 | position: absolute; |
| 404 | top: 0; |
| 405 | left: 0; |
| 406 | width: 100%; |
| 407 | height: 100%; |
| 408 | transform: translate(50%, 50%); |
| 409 | } |
| 410 | html[dir=rtl]=rtl] .acf-gallery .acf-gallery-attachment .thumbnail { |
| 411 | transform: translate(-50%, 50%); |
| 412 | } |
| 413 | .acf-gallery .acf-gallery-attachment .thumbnail img { |
| 414 | display: block; |
| 415 | height: auto; |
| 416 | max-height: 100%; |
| 417 | width: auto; |
| 418 | transform: translate(-50%, -50%); |
| 419 | } |
| 420 | html[dir=rtl]=rtl] .acf-gallery .acf-gallery-attachment .thumbnail img { |
| 421 | transform: translate(50%, -50%); |
| 422 | } |
| 423 | .acf-gallery .acf-gallery-attachment .filename { |
| 424 | position: absolute; |
| 425 | bottom: 0; |
| 426 | left: 0; |
| 427 | right: 0; |
| 428 | padding: 5%; |
| 429 | background: #F4F4F4; |
| 430 | background: rgba(255, 255, 255, 0.8); |
| 431 | border-top: #DFDFDF solid 1px; |
| 432 | font-weight: bold; |
| 433 | text-align: center; |
| 434 | word-wrap: break-word; |
| 435 | max-height: 90%; |
| 436 | overflow: hidden; |
| 437 | } |
| 438 | .acf-gallery .acf-gallery-attachment .actions { |
| 439 | position: absolute; |
| 440 | top: 0; |
| 441 | right: 0; |
| 442 | display: none; |
| 443 | } |
| 444 | .acf-gallery .acf-gallery-attachment:hover .actions { |
| 445 | display: block; |
| 446 | } |
| 447 | .acf-gallery .acf-gallery-attachment.ui-sortable-helper .margin { |
| 448 | border: none; |
| 449 | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); |
| 450 | } |
| 451 | .acf-gallery .acf-gallery-attachment.ui-sortable-placeholder .margin { |
| 452 | background: #F1F1F1; |
| 453 | border: none; |
| 454 | } |
| 455 | .acf-gallery .acf-gallery-attachment.ui-sortable-placeholder .margin * { |
| 456 | display: none !important; |
| 457 | } |
| 458 | .acf-gallery .acf-gallery-attachment.active .margin { |
| 459 | box-shadow: 0 0 0 1px #FFFFFF, 0 0 0 5px #0073aa; |
| 460 | } |
| 461 | .acf-gallery .acf-gallery-attachment.-icon .thumbnail img { |
| 462 | transform: translate(-50%, -70%); |
| 463 | } |
| 464 | html[dir=rtl]=rtl] .acf-gallery .acf-gallery-attachment { |
| 465 | float: right; |
| 466 | } |
| 467 | .acf-gallery.sidebar-open { |
| 468 | /* hide attachment actions when sidebar is open */ |
| 469 | /* allow sidebar to move over main for small widths (widget edit box) */ |
| 470 | } |
| 471 | .acf-gallery.sidebar-open .acf-gallery-attachment .actions { |
| 472 | display: none; |
| 473 | } |
| 474 | .acf-gallery.sidebar-open .acf-gallery-side { |
| 475 | z-index: 2; |
| 476 | } |
| 477 | .acf-gallery .acf-gallery-toolbar { |
| 478 | position: absolute; |
| 479 | right: 0; |
| 480 | bottom: 0; |
| 481 | left: 0; |
| 482 | padding: 10px; |
| 483 | border-top: #d5d9dd solid 1px; |
| 484 | background: #fff; |
| 485 | min-height: 28px; |
| 486 | } |
| 487 | .acf-gallery .acf-gallery-toolbar .acf-hl li { |
| 488 | line-height: 24px; |
| 489 | } |
| 490 | .acf-gallery .acf-gallery-toolbar .bulk-actions-select { |
| 491 | width: auto; |
| 492 | margin: 0 1px 0 0; |
| 493 | } |
| 494 | .acf-gallery .acf-gallery-side { |
| 495 | position: absolute; |
| 496 | top: 0; |
| 497 | right: 0; |
| 498 | bottom: 0; |
| 499 | width: 0; |
| 500 | background: #F9F9F9; |
| 501 | border-left: #ccd0d4 solid 1px; |
| 502 | z-index: 1; |
| 503 | overflow: hidden; |
| 504 | } |
| 505 | .acf-gallery .acf-gallery-side .acf-gallery-side-inner { |
| 506 | position: absolute; |
| 507 | top: 0; |
| 508 | left: 0; |
| 509 | bottom: 0; |
| 510 | width: 349px; |
| 511 | } |
| 512 | .acf-gallery .acf-gallery-side-info { |
| 513 | position: relative; |
| 514 | width: 100%; |
| 515 | padding: 10px; |
| 516 | margin: -10px 0 15px -10px; |
| 517 | background: #F1F1F1; |
| 518 | border-bottom: #DFDFDF solid 1px; |
| 519 | } |
| 520 | .acf-gallery .acf-gallery-side-info:after { |
| 521 | display: block; |
| 522 | clear: both; |
| 523 | content: ""; |
| 524 | } |
| 525 | html[dir=rtl]=rtl] .acf-gallery .acf-gallery-side-info { |
| 526 | margin-left: 0; |
| 527 | margin-right: -10px; |
| 528 | } |
| 529 | .acf-gallery .acf-gallery-side-info img { |
| 530 | float: left; |
| 531 | width: auto; |
| 532 | max-width: 65px; |
| 533 | max-height: 65px; |
| 534 | margin: 0 10px 1px 0; |
| 535 | background: #FFFFFF; |
| 536 | padding: 3px; |
| 537 | border: #ccd0d4 solid 1px; |
| 538 | border-radius: 1px; |
| 539 | /* rtl */ |
| 540 | } |
| 541 | html[dir=rtl]=rtl] .acf-gallery .acf-gallery-side-info img { |
| 542 | float: right; |
| 543 | margin: 0 0 0 10px; |
| 544 | } |
| 545 | .acf-gallery .acf-gallery-side-info p { |
| 546 | font-size: 13px; |
| 547 | line-height: 15px; |
| 548 | margin: 3px 0; |
| 549 | word-break: break-all; |
| 550 | color: #666; |
| 551 | } |
| 552 | .acf-gallery .acf-gallery-side-info p strong { |
| 553 | color: #000; |
| 554 | } |
| 555 | .acf-gallery .acf-gallery-side-info a { |
| 556 | text-decoration: none; |
| 557 | } |
| 558 | .acf-gallery .acf-gallery-side-info a.acf-gallery-edit { |
| 559 | color: #21759b; |
| 560 | } |
| 561 | .acf-gallery .acf-gallery-side-info a.acf-gallery-remove { |
| 562 | color: #bc0b0b; |
| 563 | } |
| 564 | .acf-gallery .acf-gallery-side-info a:hover { |
| 565 | text-decoration: underline; |
| 566 | } |
| 567 | .acf-gallery .acf-gallery-side-data { |
| 568 | position: absolute; |
| 569 | top: 0; |
| 570 | right: 0; |
| 571 | bottom: 48px; |
| 572 | left: 0; |
| 573 | overflow: auto; |
| 574 | overflow-x: inherit; |
| 575 | padding: 10px; |
| 576 | } |
| 577 | .acf-gallery .acf-gallery-side-data .acf-label, |
| 578 | .acf-gallery .acf-gallery-side-data th.label { |
| 579 | color: #666666; |
| 580 | font-size: 12px; |
| 581 | line-height: 25px; |
| 582 | padding: 0 4px 8px 0 !important; |
| 583 | width: auto !important; |
| 584 | vertical-align: top; |
| 585 | } |
| 586 | html[dir=rtl]=rtl] .acf-gallery .acf-gallery-side-data .acf-label, |
| 587 | html[dir=rtl]=rtl] .acf-gallery .acf-gallery-side-data th.label { |
| 588 | padding: 0 0 8px 4px !important; |
| 589 | } |
| 590 | .acf-gallery .acf-gallery-side-data .acf-label label, |
| 591 | .acf-gallery .acf-gallery-side-data th.label label { |
| 592 | font-weight: normal; |
| 593 | } |
| 594 | .acf-gallery .acf-gallery-side-data .acf-input, |
| 595 | .acf-gallery .acf-gallery-side-data td.field { |
| 596 | padding: 0 0 8px !important; |
| 597 | } |
| 598 | .acf-gallery .acf-gallery-side-data textarea { |
| 599 | min-height: 0; |
| 600 | height: 60px; |
| 601 | } |
| 602 | .acf-gallery .acf-gallery-side-data p.help { |
| 603 | font-size: 12px; |
| 604 | } |
| 605 | .acf-gallery .acf-gallery-side-data p.help:hover { |
| 606 | font-weight: normal; |
| 607 | } |
| 608 | .acf-gallery[data-columns="1"]="1""] .acf-gallery-attachment { |
| 609 | width: 100%; |
| 610 | } |
| 611 | .acf-gallery[data-columns="2"]="2""] .acf-gallery-attachment { |
| 612 | width: 50%; |
| 613 | } |
| 614 | .acf-gallery[data-columns="3"]="3""] .acf-gallery-attachment { |
| 615 | width: 33.333%; |
| 616 | } |
| 617 | .acf-gallery[data-columns="4"]="4""] .acf-gallery-attachment { |
| 618 | width: 25%; |
| 619 | } |
| 620 | .acf-gallery[data-columns="5"]="5""] .acf-gallery-attachment { |
| 621 | width: 20%; |
| 622 | } |
| 623 | .acf-gallery[data-columns="6"]="6""] .acf-gallery-attachment { |
| 624 | width: 16.666%; |
| 625 | } |
| 626 | .acf-gallery[data-columns="7"]="7""] .acf-gallery-attachment { |
| 627 | width: 14.285%; |
| 628 | } |
| 629 | .acf-gallery[data-columns="8"]="8""] .acf-gallery-attachment { |
| 630 | width: 12.5%; |
| 631 | } |
| 632 | .acf-gallery .ui-resizable-handle { |
| 633 | display: block; |
| 634 | position: absolute; |
| 635 | } |
| 636 | .acf-gallery .ui-resizable-s { |
| 637 | bottom: -5px; |
| 638 | cursor: ns-resize; |
| 639 | height: 7px; |
| 640 | left: 0; |
| 641 | width: 100%; |
| 642 | } |
| 643 | |
| 644 | /* media modal selected */ |
| 645 | .acf-media-modal .attachment.acf-selected { |
| 646 | box-shadow: 0 0 0 3px #fff inset, 0 0 0 7px #0073aa inset !important; |
| 647 | } |
| 648 | .acf-media-modal .attachment.acf-selected .check { |
| 649 | display: none !important; |
| 650 | } |
| 651 | .acf-media-modal .attachment.acf-selected .thumbnail { |
| 652 | opacity: 0.25 !important; |
| 653 | } |
| 654 | .acf-media-modal .attachment.acf-selected .attachment-preview:before { |
| 655 | background: rgba(0, 0, 0, 0.15); |
| 656 | z-index: 1; |
| 657 | position: relative; |
| 658 | } |
| 659 | |
| 660 | .acf-admin-single-options-page .select2-dropdown { |
| 661 | border-color: #6BB5D8 !important; |
| 662 | margin-top: -5px; |
| 663 | overflow: hidden; |
| 664 | box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.1); |
| 665 | } |
| 666 | .acf-admin-single-options-page .select2-dropdown.select2-dropdown--above { |
| 667 | margin-top: 0; |
| 668 | } |
| 669 | .acf-admin-single-options-page .select2-container--default .select2-results__option[aria-selected=true]=true] { |
| 670 | background-color: #F9FAFB !important; |
| 671 | color: #667085; |
| 672 | } |
| 673 | .acf-admin-single-options-page .select2-container--default .select2-results__option[aria-selected=true]=true]:hover { |
| 674 | color: #399CCB; |
| 675 | } |
| 676 | .acf-admin-single-options-page .select2-container--default .select2-results__option--highlighted[aria-selected]] { |
| 677 | color: #fff !important; |
| 678 | background-color: #0783BE !important; |
| 679 | } |
| 680 | .acf-admin-single-options-page .select2-dropdown .select2-results__option { |
| 681 | margin-bottom: 0; |
| 682 | } |
| 683 | |
| 684 | .acf-create-options-page-popup ~ .select2-container { |
| 685 | z-index: 999999999; |
| 686 | } |
| 687 | |
| 688 | /*----------------------------------------------------------------------------- |
| 689 | * |
| 690 | * ACF Blocks |
| 691 | * |
| 692 | *----------------------------------------------------------------------------*/ |
| 693 | .acf-block-component .components-placeholder { |
| 694 | margin: 0; |
| 695 | } |
| 696 | |
| 697 | .block-editor .acf-field.acf-error { |
| 698 | background-color: rgba(255, 0, 0, 0.05); |
| 699 | } |
| 700 | |
| 701 | .acf-block-component .acf-block-fields { |
| 702 | background: #fff; |
| 703 | text-align: left; |
| 704 | font-size: 13px; |
| 705 | line-height: 1.4em; |
| 706 | color: #444; |
| 707 | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 708 | } |
| 709 | .acf-block-component .acf-block-fields.acf-empty-block-fields { |
| 710 | border: 1px solid #1e1e1e; |
| 711 | padding: 12px; |
| 712 | } |
| 713 | .components-panel .acf-block-component .acf-block-fields.acf-empty-block-fields { |
| 714 | border: none; |
| 715 | border-top: 1px solid #ddd; |
| 716 | border-bottom: 1px solid #ddd; |
| 717 | } |
| 718 | html[dir=rtl]=rtl] .acf-block-component .acf-block-fields { |
| 719 | text-align: right; |
| 720 | } |
| 721 | .acf-block-component .acf-block-fields p { |
| 722 | font-size: 13px; |
| 723 | line-height: 1.5; |
| 724 | } |
| 725 | |
| 726 | .acf-block-body .acf-block-fields:has(> .acf-error-message), |
| 727 | .acf-block-fields:has(> .acf-error-message) .acf-block-fields:has(> .acf-error-message) { |
| 728 | border: none !important; |
| 729 | } |
| 730 | .acf-block-body .acf-error-message, |
| 731 | .acf-block-fields:has(> .acf-error-message) .acf-error-message { |
| 732 | margin-top: 0; |
| 733 | border: none; |
| 734 | } |
| 735 | .acf-block-body .acf-error-message .acf-notice-dismiss, |
| 736 | .acf-block-fields:has(> .acf-error-message) .acf-error-message .acf-notice-dismiss { |
| 737 | display: flex; |
| 738 | align-items: center; |
| 739 | justify-content: center; |
| 740 | overflow: hidden; |
| 741 | outline: unset; |
| 742 | } |
| 743 | .acf-block-body .acf-error-message .acf-icon.-cancel::before, |
| 744 | .acf-block-fields:has(> .acf-error-message) .acf-error-message .acf-icon.-cancel::before { |
| 745 | margin: 0 !important; |
| 746 | } |
| 747 | .acf-block-body.acf-block-has-validation-error, |
| 748 | .acf-block-fields:has(> .acf-error-message).acf-block-has-validation-error { |
| 749 | border: 2px solid #d94f4f; |
| 750 | } |
| 751 | .acf-block-body .acf-error .acf-input .acf-notice, |
| 752 | .acf-block-fields:has(> .acf-error-message) .acf-error .acf-input .acf-notice { |
| 753 | background: none !important; |
| 754 | border: none !important; |
| 755 | display: flex !important; |
| 756 | align-items: center !important; |
| 757 | padding-left: 0; |
| 758 | } |
| 759 | .acf-block-body .acf-error .acf-input .acf-notice p, |
| 760 | .acf-block-fields:has(> .acf-error-message) .acf-error .acf-input .acf-notice p { |
| 761 | margin: 0.5em 0 !important; |
| 762 | } |
| 763 | .acf-block-body .acf-error .acf-input .acf-notice::before, |
| 764 | .acf-block-fields:has(> .acf-error-message) .acf-error .acf-input .acf-notice::before { |
| 765 | content: ""; |
| 766 | position: relative; |
| 767 | top: 0; |
| 768 | left: 0; |
| 769 | font-size: 20px; |
| 770 | background-image: url(../../../images/icons/icon-info-red.svg); |
| 771 | background-repeat: no-repeat; |
| 772 | background-position: center; |
| 773 | background-size: 69%; |
| 774 | height: 26px !important; |
| 775 | width: 26px !important; |
| 776 | box-sizing: border-box; |
| 777 | } |
| 778 | .acf-block-body .acf-error .acf-label label, |
| 779 | .acf-block-fields:has(> .acf-error-message) .acf-error .acf-label label { |
| 780 | color: #d94f4f; |
| 781 | } |
| 782 | .acf-block-body .acf-error .acf-input input, |
| 783 | .acf-block-fields:has(> .acf-error-message) .acf-error .acf-input input { |
| 784 | border-color: #d94f4f; |
| 785 | } |
| 786 | .acf-block-body.acf-block-has-validation-error::before, |
| 787 | .acf-block-fields:has(> .acf-error-message).acf-block-has-validation-error::before { |
| 788 | content: ""; |
| 789 | position: absolute; |
| 790 | top: -2px; |
| 791 | left: -32px; |
| 792 | font-size: 20px; |
| 793 | background-color: #d94f4f; |
| 794 | background-image: url(../../../images/icons/icon-info-white.svg); |
| 795 | background-repeat: no-repeat; |
| 796 | background-position-x: center; |
| 797 | background-position-y: 52%; |
| 798 | background-size: 55%; |
| 799 | height: 40px; |
| 800 | width: 32px; |
| 801 | box-sizing: border-box; |
| 802 | } |
| 803 | .acf-block-body .acf-block-validation-error, |
| 804 | .acf-block-fields:has(> .acf-error-message) .acf-block-validation-error { |
| 805 | color: #d94f4f; |
| 806 | display: flex; |
| 807 | align-items: center; |
| 808 | } |
| 809 | .acf-block-body .acf-block-fields, |
| 810 | .acf-block-fields:has(> .acf-error-message) .acf-block-fields { |
| 811 | border: #adb2ad solid 1px; |
| 812 | } |
| 813 | .acf-block-body .acf-block-fields .acf-tab-wrap .acf-tab-group, |
| 814 | .acf-block-fields:has(> .acf-error-message) .acf-block-fields .acf-tab-wrap .acf-tab-group { |
| 815 | margin-left: 0; |
| 816 | padding: 16px 20px 0; |
| 817 | } |
| 818 | .acf-block-body .acf-fields > .acf-field, |
| 819 | .acf-block-fields:has(> .acf-error-message) .acf-fields > .acf-field { |
| 820 | padding: 16px 20px; |
| 821 | } |
| 822 | .acf-block-body .acf-fields > .acf-field.acf-accordion, |
| 823 | .acf-block-fields:has(> .acf-error-message) .acf-fields > .acf-field.acf-accordion { |
| 824 | border-color: #adb2ad; |
| 825 | } |
| 826 | .acf-block-body .acf-fields > .acf-field.acf-accordion .acf-accordion-title, |
| 827 | .acf-block-fields:has(> .acf-error-message) .acf-fields > .acf-field.acf-accordion .acf-accordion-title { |
| 828 | padding: 16px 20px; |
| 829 | } |
| 830 | .acf-block-body .acf-button, |
| 831 | .acf-block-body .acf-link a.button, |
| 832 | .acf-block-body .acf-add-checkbox, |
| 833 | .acf-block-fields:has(> .acf-error-message) .acf-button, |
| 834 | .acf-block-fields:has(> .acf-error-message) .acf-link a.button, |
| 835 | .acf-block-fields:has(> .acf-error-message) .acf-add-checkbox { |
| 836 | color: #2271b1 !important; |
| 837 | border-color: #2271b1 !important; |
| 838 | background: #f6f7f7 !important; |
| 839 | vertical-align: top; |
| 840 | } |
| 841 | .acf-block-body .acf-button.button-primary:hover, |
| 842 | .acf-block-body .acf-link a.button.button-primary:hover, |
| 843 | .acf-block-body .acf-add-checkbox.button-primary:hover, |
| 844 | .acf-block-fields:has(> .acf-error-message) .acf-button.button-primary:hover, |
| 845 | .acf-block-fields:has(> .acf-error-message) .acf-link a.button.button-primary:hover, |
| 846 | .acf-block-fields:has(> .acf-error-message) .acf-add-checkbox.button-primary:hover { |
| 847 | color: white !important; |
| 848 | background: #2271b1 !important; |
| 849 | } |
| 850 | .acf-block-body .acf-button:focus, |
| 851 | .acf-block-body .acf-link a.button:focus, |
| 852 | .acf-block-body .acf-add-checkbox:focus, |
| 853 | .acf-block-fields:has(> .acf-error-message) .acf-button:focus, |
| 854 | .acf-block-fields:has(> .acf-error-message) .acf-link a.button:focus, |
| 855 | .acf-block-fields:has(> .acf-error-message) .acf-add-checkbox:focus { |
| 856 | outline: none !important; |
| 857 | background: #f6f7f7 !important; |
| 858 | } |
| 859 | .acf-block-body .acf-button:hover, |
| 860 | .acf-block-body .acf-link a.button:hover, |
| 861 | .acf-block-body .acf-add-checkbox:hover, |
| 862 | .acf-block-fields:has(> .acf-error-message) .acf-button:hover, |
| 863 | .acf-block-fields:has(> .acf-error-message) .acf-link a.button:hover, |
| 864 | .acf-block-fields:has(> .acf-error-message) .acf-add-checkbox:hover { |
| 865 | color: #0a4b78 !important; |
| 866 | } |
| 867 | .acf-block-body .acf-block-preview, |
| 868 | .acf-block-fields:has(> .acf-error-message) .acf-block-preview { |
| 869 | min-height: 10px; |
| 870 | } |
| 871 | |
| 872 | .acf-block-panel .acf-block-fields { |
| 873 | border-top: #ddd solid 1px; |
| 874 | border-bottom: #ddd solid 1px; |
| 875 | min-height: 1px; |
| 876 | } |
| 877 | .acf-block-panel .acf-block-fields:empty { |
| 878 | border-top: none; |
| 879 | } |
| 880 | .acf-block-panel .acf-block-fields .acf-tab-wrap { |
| 881 | background: transparent; |
| 882 | } |
| 883 | |
| 884 | .components-panel__body .acf-block-panel { |
| 885 | margin: 16px -16px -16px; |
| 886 | } |