admin-foogallery-gallery-piles.css
1 week ago
admin-foogallery-modern.css
1 week ago
admin-foogallery.css
1 week ago
admin-page-foogallery-extensions.css
1 week ago
admin-page-foogallery-help.css
1 week ago
admin-page-foogallery-settings.css
1 week ago
admin-tinymce.css
1 week ago
foogallery-foovideo-overrides.css
1 week ago
foogallery.admin.datasources.css
1 week ago
foogallery.admin.min.css
1 week ago
foogallery.admin.template.css
1 week ago
admin-foogallery.css
1516 lines
| 1 | :root { |
| 2 | /* Main FooGallery Admin Colors */ |
| 3 | --foogallery-color-wp-primary: #2271b1; |
| 4 | --foogallery-color-wp-error: #BF1123; |
| 5 | |
| 6 | --foogallery-color-pro-starter: #1E8CBA; |
| 7 | --foogallery-color-pro-expert: #31be4d; |
| 8 | --foogallery-color-pro-commerce: #B0459D; |
| 9 | |
| 10 | /* 50% transparent colors */ |
| 11 | --foogallery-color-wp-primary-50: rgba(from var(--foogallery-color-wp-primary) R G B / 50%); |
| 12 | --foogallery-color-pro-starter-50: rgba(from var(--foogallery-color-pro-starter) R G B / 50%); |
| 13 | --foogallery-color-pro-expert-50: rgba(from var(--foogallery-color-pro-expert) R G B / 50%); |
| 14 | --foogallery-color-pro-commerce-50: rgba(from var(--foogallery-color-pro-commerce) R G B / 50%); |
| 15 | |
| 16 | /* Fully transparent colors - used for animations like pulse */ |
| 17 | --foogallery-color-wp-primary-0: rgba(from var(--foogallery-color-wp-primary) R G B / 0%); |
| 18 | --foogallery-color-pro-starter-0: rgba(from var(--foogallery-color-pro-starter) R G B / 0%); |
| 19 | --foogallery-color-pro-expert-0: rgba(from var(--foogallery-color-pro-expert) R G B / 0%); |
| 20 | --foogallery-color-pro-commerce-0: rgba(from var(--foogallery-color-pro-commerce) R G B / 0%); |
| 21 | } |
| 22 | |
| 23 | .foogallery-attachments-list .add-attachment { |
| 24 | background: #ddd; |
| 25 | border: #888 1px dashed; |
| 26 | position: relative; |
| 27 | float: left; |
| 28 | padding: 0; |
| 29 | color: #464646; |
| 30 | list-style: none; |
| 31 | text-align: center; |
| 32 | -webkit-user-select: none; |
| 33 | -moz-user-select: none; |
| 34 | -ms-user-select: none; |
| 35 | -o-user-select: none; |
| 36 | user-select: none; |
| 37 | } |
| 38 | |
| 39 | .foogallery-attachments-list .add-attachment a { |
| 40 | display: table-cell; |
| 41 | vertical-align: middle; |
| 42 | height: 150px; |
| 43 | text-align: center; |
| 44 | width: 150px; |
| 45 | color:#666; |
| 46 | font-weight: bold; |
| 47 | text-decoration: none; |
| 48 | } |
| 49 | |
| 50 | .foogallery-attachments-list .add-attachment a:hover { |
| 51 | color:#444; |
| 52 | } |
| 53 | |
| 54 | .foogallery-attachments-list .add-attachment a div.dashicons { |
| 55 | font-size:50px; |
| 56 | width: 50px; |
| 57 | height: 50px; |
| 58 | } |
| 59 | |
| 60 | .foogallery-attachments-list .add-attachment a span { |
| 61 | display: block; |
| 62 | } |
| 63 | |
| 64 | |
| 65 | .foogallery-attachments-list .attachment-preview, |
| 66 | .foogallery-attachments-list .attachment-preview .thumbnail { |
| 67 | width: 150px; |
| 68 | height: 150px; |
| 69 | cursor:move; |
| 70 | } |
| 71 | |
| 72 | .foogallery-attachments-list .attachment { |
| 73 | border: transparent 1px solid; |
| 74 | box-shadow: none !important; |
| 75 | width: auto !important; |
| 76 | padding: 0 !important; |
| 77 | } |
| 78 | |
| 79 | .foogallery-attachments-list .attachment.placeholder { |
| 80 | width: 150px !important; |
| 81 | height: 150px; |
| 82 | border: #1e8cbe 1px dashed; |
| 83 | background: #eee; |
| 84 | } |
| 85 | |
| 86 | .foogallery-attachments-list li { |
| 87 | margin: 0px 10px 10px 0px !important; |
| 88 | } |
| 89 | |
| 90 | .foogallery-attachments-list .attachment.ui-sortable-helper { |
| 91 | opacity: 0.5; |
| 92 | } |
| 93 | |
| 94 | .foogallery-attachments-list .attachment.ui-sortable-helper:hover .close { |
| 95 | display: none; |
| 96 | } |
| 97 | |
| 98 | .foogallery-attachments-list input.describe { |
| 99 | margin:0; |
| 100 | width: 150px; |
| 101 | font-size: 12px; |
| 102 | } |
| 103 | |
| 104 | .foogallery-attachments-list .attachment .attachment-preview a { |
| 105 | display: none; |
| 106 | position: absolute; |
| 107 | padding: 0; |
| 108 | font-size: 20px; |
| 109 | line-height: 20px; |
| 110 | text-align: center; |
| 111 | text-decoration: none; |
| 112 | background-color: #444; |
| 113 | border-top-right-radius: 50%; |
| 114 | border-top-left-radius: 50%; |
| 115 | border-bottom-right-radius: 50%; |
| 116 | border-bottom-left-radius: 50%; |
| 117 | } |
| 118 | |
| 119 | .foogallery-attachments-list .attachment .attachment-preview:hover a { |
| 120 | display: block; |
| 121 | } |
| 122 | |
| 123 | .foogallery-attachments-list .attachment .attachment-preview a span { |
| 124 | color:#fff; |
| 125 | } |
| 126 | |
| 127 | .foogallery-attachments-list .attachment .attachment-preview a:hover span { |
| 128 | color:#ddd; |
| 129 | } |
| 130 | |
| 131 | .foogallery-attachments-list .attachment .attachment-preview a.remove { |
| 132 | top: 5px; |
| 133 | right: 5px; |
| 134 | } |
| 135 | |
| 136 | .foogallery-attachments-list .attachment .attachment-preview a.info { |
| 137 | top: 5px; |
| 138 | left: 5px; |
| 139 | } |
| 140 | |
| 141 | .foogallery-attachments-list .attachment:not(:has(.filename))::after { |
| 142 | display: none; |
| 143 | } |
| 144 | |
| 145 | .foogallery_template_field td { |
| 146 | padding-bottom: 20px; |
| 147 | } |
| 148 | |
| 149 | .foogallery_template_field th { |
| 150 | vertical-align: top; |
| 151 | text-align: left; |
| 152 | padding: 0.3em 10px 0; |
| 153 | } |
| 154 | .rtl .foogallery_template_field th { |
| 155 | text-align: right; |
| 156 | } |
| 157 | |
| 158 | .foogallery_template_field textarea { |
| 159 | min-width: 500px; |
| 160 | min-height: 100px; |
| 161 | width: 100%; |
| 162 | } |
| 163 | |
| 164 | .foogallery_template_field.foogallery_template_field_type-help { |
| 165 | border-bottom: none; |
| 166 | } |
| 167 | |
| 168 | .foogallery_template_field.foogallery_template_field_type-help td { |
| 169 | padding-bottom: 0; |
| 170 | } |
| 171 | |
| 172 | .foogallery_template_field.foogallery_template_field_type-icon td { |
| 173 | padding-bottom: 0; |
| 174 | } |
| 175 | |
| 176 | .foogallery_metabox_field-icon label { |
| 177 | display:inline-block; |
| 178 | margin-right:10px; |
| 179 | border:solid 3px transparent; |
| 180 | background:#aaa; |
| 181 | border-radius: 3px; |
| 182 | -moz-border-radius: 3px; |
| 183 | -webkit-border-radius: 3px; |
| 184 | padding:5px; |
| 185 | line-height: 0; |
| 186 | margin-bottom: 10px; |
| 187 | } |
| 188 | |
| 189 | .foogallery_metabox_field-icon input:checked + label { |
| 190 | border:solid 3px #444; |
| 191 | background: #888; |
| 192 | } |
| 193 | |
| 194 | .foogallery_metabox_field-icon label:hover { |
| 195 | border:solid 3px #444; |
| 196 | } |
| 197 | |
| 198 | .foogallery_template_field.foogallery_template_field_type-htmlicon td { |
| 199 | padding-bottom: 0; |
| 200 | } |
| 201 | |
| 202 | .foogallery_metabox_field-htmlicon label { |
| 203 | display:inline-block; |
| 204 | margin-right:10px; |
| 205 | border:solid 3px transparent; |
| 206 | background:#aaa; |
| 207 | border-radius: 3px; |
| 208 | -moz-border-radius: 3px; |
| 209 | -webkit-border-radius: 3px; |
| 210 | padding:5px; |
| 211 | line-height: 0; |
| 212 | margin-bottom: 10px; |
| 213 | cursor: pointer; |
| 214 | } |
| 215 | |
| 216 | .foogallery_metabox_field-htmlicon { |
| 217 | display: flex; |
| 218 | flex-wrap: wrap; |
| 219 | align-items: flex-start; |
| 220 | gap: 10px; |
| 221 | } |
| 222 | |
| 223 | .foogallery-shortcode-choice-group-htmlicon { |
| 224 | display: inline-flex; |
| 225 | flex-direction: column; |
| 226 | align-items: flex-start; |
| 227 | } |
| 228 | |
| 229 | .foogallery-shortcode-choice-group-htmlicon > label { |
| 230 | margin-right: 0; |
| 231 | margin-bottom: 0; |
| 232 | } |
| 233 | |
| 234 | .foogallery_template_field_id-lightbox_custom_button_theme .foogallery_metabox_field-htmlicon label, |
| 235 | .foogallery_template_field_id-lightbox_custom_button_highlight .foogallery_metabox_field-htmlicon label |
| 236 | { |
| 237 | padding:0px; |
| 238 | } |
| 239 | |
| 240 | .foogallery_metabox_field-htmlicon input:checked + label { |
| 241 | border:solid 3px #444; |
| 242 | background: #888; |
| 243 | } |
| 244 | |
| 245 | .foogallery_metabox_field-htmlicon label:hover { |
| 246 | border:solid 3px #444; |
| 247 | } |
| 248 | |
| 249 | .foogallery_metabox_field-thumb_size label { |
| 250 | vertical-align: baseline; |
| 251 | } |
| 252 | |
| 253 | .foogallery_metabox_field-thumb_size input[type="number"] { |
| 254 | margin-right: 10px; |
| 255 | margin-left: 10px; |
| 256 | } |
| 257 | |
| 258 | .foogallery_template_field_type-text input[type="text"] { |
| 259 | width: 100%; |
| 260 | } |
| 261 | |
| 262 | .foogallery_template_field_type-text input.small-text { |
| 263 | width: 65px; |
| 264 | height: 28px; |
| 265 | line-height: 1; |
| 266 | } |
| 267 | |
| 268 | #foogallery_pages ul li:hover .row-actions { visibility: visible; } |
| 269 | |
| 270 | .foogallery-shortcode { |
| 271 | text-align: center; |
| 272 | } |
| 273 | |
| 274 | .foogallery-shortcode input { |
| 275 | cursor: pointer; |
| 276 | text-align: center; |
| 277 | padding: 10px; |
| 278 | font-family: "courier new", courier; |
| 279 | border: none; |
| 280 | box-shadow: none; |
| 281 | background: #efefef; |
| 282 | } |
| 283 | |
| 284 | .foogallery-shortcode-helper-action { |
| 285 | margin: 10px 0 0; |
| 286 | text-align: center; |
| 287 | } |
| 288 | |
| 289 | .wp-list-table .foogallery-shortcode { |
| 290 | cursor: pointer; |
| 291 | font-size: 1em; |
| 292 | border: none; |
| 293 | box-shadow: none; |
| 294 | background: #efefef; |
| 295 | font-family: "courier new", courier; |
| 296 | } |
| 297 | |
| 298 | .foogallery-shortcode-message { |
| 299 | font-style: italic; |
| 300 | color: #2EA2CC !important; |
| 301 | } |
| 302 | |
| 303 | .foogallery_template_field th label[data-setting] { |
| 304 | display: block; |
| 305 | } |
| 306 | |
| 307 | .foogallery-shortcode-argument-helper { |
| 308 | display: none; |
| 309 | margin-top: 4px; |
| 310 | font-weight: 400; |
| 311 | cursor: pointer; |
| 312 | } |
| 313 | |
| 314 | .foogallery-show-argument-helpers .foogallery-shortcode-argument-helper { |
| 315 | display: block; |
| 316 | } |
| 317 | |
| 318 | .foogallery-shortcode-argument-helper code { |
| 319 | font-size: 10px; |
| 320 | line-height: 1.4; |
| 321 | } |
| 322 | |
| 323 | .foogallery-shortcode-choice-helper { |
| 324 | display: none; |
| 325 | margin-top: 4px; |
| 326 | margin-left: 22px; |
| 327 | font-weight: 400; |
| 328 | cursor: pointer; |
| 329 | } |
| 330 | |
| 331 | .foogallery-show-argument-helpers .foogallery-shortcode-choice-helper { |
| 332 | display: block; |
| 333 | } |
| 334 | |
| 335 | .foogallery-shortcode-choice-helper code { |
| 336 | font-size: 10px; |
| 337 | line-height: 1.4; |
| 338 | } |
| 339 | |
| 340 | .foogallery-shortcode-choice-helper-radio { |
| 341 | display: none; |
| 342 | margin-top: 0; |
| 343 | margin-left: 6px; |
| 344 | vertical-align: middle; |
| 345 | } |
| 346 | |
| 347 | .foogallery-show-argument-helpers .foogallery-shortcode-choice-helper-radio { |
| 348 | display: inline-block; |
| 349 | } |
| 350 | |
| 351 | .foogallery-shortcode-choice-helper-htmlicon { |
| 352 | display: none; |
| 353 | margin-top: 4px; |
| 354 | margin-left: 0; |
| 355 | line-height: 1.4; |
| 356 | cursor: pointer; |
| 357 | } |
| 358 | |
| 359 | .foogallery-show-argument-helpers .foogallery-shortcode-choice-helper-htmlicon { |
| 360 | display: block; |
| 361 | } |
| 362 | |
| 363 | .foogallery-help { |
| 364 | position: relative; |
| 365 | display: block; |
| 366 | line-height: 19px; |
| 367 | padding: 10px; |
| 368 | text-align: left; |
| 369 | background-color: #F4F4FF; |
| 370 | box-shadow: 0px 0px 2px #1E8CBA88; |
| 371 | -webkit-box-shadow: 0px 0px 2px #1E8CBA88; |
| 372 | border-radius: 10px; |
| 373 | margin-bottom: 10px; |
| 374 | } |
| 375 | |
| 376 | .foogallery-help .dashicons { |
| 377 | color: #1E8CBA; |
| 378 | } |
| 379 | |
| 380 | .foogallery-help h4 { |
| 381 | display: inline-block; |
| 382 | margin: 0; |
| 383 | color: #1E8CBA; |
| 384 | } |
| 385 | |
| 386 | .foogallery-help p { |
| 387 | display: inline; |
| 388 | margin: 0; |
| 389 | } |
| 390 | |
| 391 | .foogallery-help h4 + p { |
| 392 | display: block; |
| 393 | margin: 5px 0 0 22px; |
| 394 | } |
| 395 | |
| 396 | .foogallery-help p code { |
| 397 | font-size: 12px; |
| 398 | } |
| 399 | |
| 400 | .rtl .foogallery-help { |
| 401 | text-align: right; |
| 402 | } |
| 403 | |
| 404 | .foogallery-settings-line-height2 .foogallery-help p { |
| 405 | line-height: 2; |
| 406 | } |
| 407 | |
| 408 | .foogallery-warning { |
| 409 | box-shadow: 0px 0px 2px #dba617; |
| 410 | -webkit-box-shadow: 0px 0px 2px #dba617; |
| 411 | background-color: #fffcf4; |
| 412 | } |
| 413 | |
| 414 | .foogallery-warning .dashicons, |
| 415 | .foogallery-warning h4 { |
| 416 | color: #dba617; |
| 417 | } |
| 418 | |
| 419 | tr.foogallery_template_field[data-foogallery-hidden] { |
| 420 | display: none; |
| 421 | } |
| 422 | |
| 423 | tr.foogallery_template_field[data-foogallery-invisible] { |
| 424 | display: none; |
| 425 | } |
| 426 | |
| 427 | .foogallery_template_field_type-promo .foogallery-promo { |
| 428 | position: relative; |
| 429 | display: block; |
| 430 | font-size: 14px; |
| 431 | line-height: 19px; |
| 432 | padding: 10px 10px 10px 40px; |
| 433 | text-align: left; |
| 434 | background-color: #f7fff4; |
| 435 | box-shadow: 0px 0px 2px #31be4d88; |
| 436 | -webkit-box-shadow: 0px 0px 2px #31be4d88; |
| 437 | border-radius: 10px; |
| 438 | margin-bottom: 10px; |
| 439 | } |
| 440 | |
| 441 | |
| 442 | .rtl .foogallery_template_field_type-promo .foogallery-promo { |
| 443 | padding: 11px 40px 11px 10px; |
| 444 | text-align: right; |
| 445 | margin: 2px 0 0 5px; |
| 446 | } |
| 447 | |
| 448 | .foogallery_template_field_type-promo.foogallery_promo_prostarter .foogallery-promo { |
| 449 | border-color: #3397C1; |
| 450 | background-color: #f6fffe; |
| 451 | box-shadow: 0px 0px 2px #3397C188; |
| 452 | -webkit-box-shadow: 0px 0px 2px #3397C188; |
| 453 | } |
| 454 | |
| 455 | .foogallery_template_field_type-promo.foogallery_promo_commerce .foogallery-promo { |
| 456 | border-color: #B0459D; |
| 457 | background-color: #fdf6ff; |
| 458 | box-shadow: 0px 0px 2px #B0459D88; |
| 459 | -webkit-box-shadow: 0px 0px 2px #B0459D88; |
| 460 | } |
| 461 | |
| 462 | .foogallery_template_field_type-promo .foogallery-promo:before { |
| 463 | /* content: "\f313"; award */ |
| 464 | content: "\f155"; /* star */ |
| 465 | font: 400 30px/1 dashicons !important; |
| 466 | speak: none; |
| 467 | color: #31be4d; |
| 468 | display: inline-block; |
| 469 | -webkit-font-smoothing: antialiased; |
| 470 | -moz-osx-font-smoothing: grayscale; |
| 471 | position: absolute; |
| 472 | left: 5px; |
| 473 | margin-top: -5px; |
| 474 | height: 1em; |
| 475 | } |
| 476 | |
| 477 | .rtl .foogallery_template_field_type-promo .foogallery-promo:before { |
| 478 | left: auto; |
| 479 | right: 5px; |
| 480 | } |
| 481 | |
| 482 | .foogallery_template_field_type-promo.foogallery_promo_prostarter .foogallery-promo:before { |
| 483 | color: #3397C1; |
| 484 | } |
| 485 | |
| 486 | .foogallery_template_field_type-promo.foogallery_promo_commerce .foogallery-promo:before { |
| 487 | color: #B0459D; |
| 488 | } |
| 489 | |
| 490 | #post-body.columns-2 #postbox-container-1 .foogallery-promo { |
| 491 | padding-left: 11px; |
| 492 | margin-left: 5px; |
| 493 | } |
| 494 | .rtl #post-body.columns-2 #postbox-container-1 .foogallery-promo { |
| 495 | padding-right: 11px; |
| 496 | margin-right: 5px; |
| 497 | } |
| 498 | |
| 499 | #post-body.columns-2 #postbox-container-1 .foogallery-promo:before { |
| 500 | content: ''; |
| 501 | } |
| 502 | |
| 503 | .foogallery_template_field_type-promo .foogallery-promo .button-primary { |
| 504 | background: #1d7b30; |
| 505 | border-color: #1d7b30; |
| 506 | margin-right: 10px; |
| 507 | } |
| 508 | .rtl .foogallery_template_field_type-promo .foogallery-promo .button-primary { |
| 509 | margin-left: 10px; |
| 510 | margin-right: 0; |
| 511 | } |
| 512 | |
| 513 | .foogallery_template_field_type-promo .foogallery-promo .button-secondary { |
| 514 | border-color: #1d7b30; |
| 515 | color: #1d7b30; |
| 516 | } |
| 517 | |
| 518 | .foogallery_template_field_type-promo.foogallery_promo_prostarter .foogallery-promo .button-primary { |
| 519 | background: #3397C1; |
| 520 | border-color: #3397C1; |
| 521 | } |
| 522 | |
| 523 | .foogallery_template_field_type-promo.foogallery_promo_prostarter .foogallery-promo .button-secondary { |
| 524 | border-color: #3397C1; |
| 525 | color: #3397C1; |
| 526 | } |
| 527 | |
| 528 | .foogallery_template_field_type-promo.foogallery_promo_commerce .foogallery-promo .button-primary { |
| 529 | background: #B0459D; |
| 530 | border-color: #B0459D; |
| 531 | } |
| 532 | |
| 533 | .foogallery_template_field_type-promo.foogallery_promo_commerce .foogallery-promo .button-secondary { |
| 534 | border-color: #B0459D; |
| 535 | color: #B0459D; |
| 536 | } |
| 537 | |
| 538 | .foogallery_template_field_promo th .dashicons { |
| 539 | color: #31be4d; |
| 540 | } |
| 541 | |
| 542 | .foogallery_metabox_field-radio label.foogallery-promo i { |
| 543 | font: 400 15px/1 dashicons !important; |
| 544 | speak: none; |
| 545 | color: #31be4d; |
| 546 | vertical-align: inherit; |
| 547 | padding-left: 2px; |
| 548 | } |
| 549 | |
| 550 | .foogallery_metabox_field-radio label.foogallery-promo-prostarter i { |
| 551 | font: 400 15px/1 dashicons !important; |
| 552 | speak: none; |
| 553 | color: #3397C1; |
| 554 | vertical-align: inherit; |
| 555 | padding-left: 2px; |
| 556 | } |
| 557 | |
| 558 | .foogallery_metabox_field-radio label.foogallery_promo_commerce i { |
| 559 | font: 400 15px/1 dashicons !important; |
| 560 | speak: none; |
| 561 | color: #B0459D; |
| 562 | vertical-align: inherit; |
| 563 | padding-left: 2px; |
| 564 | } |
| 565 | |
| 566 | /** <gallery settings styling overrides> **/ |
| 567 | |
| 568 | .foogallery-metabox-settings { |
| 569 | width: 100%; |
| 570 | border-collapse: collapse; |
| 571 | } |
| 572 | |
| 573 | .foogallery-metabox-settings th { |
| 574 | font-weight: 500; |
| 575 | padding: 10px; |
| 576 | width: 180px; |
| 577 | text-align: right; |
| 578 | border-right: solid 1px #eee; |
| 579 | } |
| 580 | |
| 581 | .foogallery-metabox-settings td { |
| 582 | padding: 10px; |
| 583 | } |
| 584 | |
| 585 | .foogallery_metabox_field-select select { |
| 586 | min-width: 250px; |
| 587 | } |
| 588 | |
| 589 | .foogallery-shortcode-select-helper { |
| 590 | display: none; |
| 591 | margin-left: 8px; |
| 592 | font-weight: 400; |
| 593 | vertical-align: middle; |
| 594 | cursor: pointer; |
| 595 | } |
| 596 | |
| 597 | .foogallery-show-argument-helpers .foogallery-shortcode-select-helper { |
| 598 | display: inline-block; |
| 599 | } |
| 600 | |
| 601 | .foogallery-shortcode-select-helper code { |
| 602 | font-size: 10px; |
| 603 | line-height: 1.4; |
| 604 | } |
| 605 | |
| 606 | .foogallery-thumbsize-crop { |
| 607 | margin-top: 10px; |
| 608 | } |
| 609 | |
| 610 | .foogallery_metabox_field-checkboxlist > input, |
| 611 | .foogallery_metabox_field-checkboxlist > label { |
| 612 | margin-bottom: 10px; |
| 613 | display: inline-block; |
| 614 | } |
| 615 | |
| 616 | .foogallery_metabox_field-checkboxlist input[type="checkbox"] { |
| 617 | margin: 0 0 10px 0; |
| 618 | } |
| 619 | |
| 620 | .foogallery-metabox-settings .foogallery-settings-description { |
| 621 | color: #aaa; |
| 622 | font-style: italic; |
| 623 | margin: 0.7em 0 0 0; |
| 624 | font-size: 0.9em; |
| 625 | } |
| 626 | |
| 627 | .foogallery-metabox-settings .foogallery_template_field_type-htmlicon .foogallery-settings-description { |
| 628 | margin: 0; |
| 629 | } |
| 630 | |
| 631 | .foogallery-metabox-settings .foogallery-settings-help { |
| 632 | color: #aaa; |
| 633 | } |
| 634 | |
| 635 | /** </gallery settings styling overrides> **/ |
| 636 | |
| 637 | /* <Gallery Settings Radio Fields> */ |
| 638 | |
| 639 | .foogallery_metabox_field-radio { |
| 640 | display: flex; |
| 641 | flex-wrap: wrap; |
| 642 | flex-direction: row; |
| 643 | gap: 10px; |
| 644 | } |
| 645 | |
| 646 | .foogallery_metabox_field-radio label { |
| 647 | min-width: 6em; |
| 648 | } |
| 649 | |
| 650 | .foogallery-radios-8em .foogallery_metabox_field-radio label { |
| 651 | min-width: 8em; |
| 652 | } |
| 653 | |
| 654 | .foogallery-radios-10em .foogallery_metabox_field-radio label { |
| 655 | min-width: 10em; |
| 656 | } |
| 657 | |
| 658 | .foogallery-radios-12em .foogallery_metabox_field-radio label { |
| 659 | min-width: 12em; |
| 660 | } |
| 661 | |
| 662 | .foogallery-radios-stacked .foogallery_metabox_field-radio label { |
| 663 | width: 100%; /* the label will be 100%, which will stack them */ |
| 664 | } |
| 665 | |
| 666 | /* </Gallery Settings Radio Fields> */ |
| 667 | |
| 668 | .foogallery_metabox_custom_css { |
| 669 | width: 100%; |
| 670 | height: 10em; |
| 671 | } |
| 672 | |
| 673 | .foo-nav-tabs a:focus { |
| 674 | box-shadow: none; |
| 675 | outline: 0; |
| 676 | } |
| 677 | |
| 678 | .foogallery-thumbnail-preview { |
| 679 | display: inline-block; |
| 680 | } |
| 681 | |
| 682 | #foogallery_apply_retina_support_container { |
| 683 | margin-top: 5px; |
| 684 | } |
| 685 | |
| 686 | .widefat th.column-icon { |
| 687 | width: 60px; |
| 688 | } |
| 689 | |
| 690 | #foogallery_settings .inside { |
| 691 | margin: 0; |
| 692 | padding: 0; |
| 693 | } |
| 694 | /** Balloon.css **/ |
| 695 | button[data-balloon]{overflow:visible}[data-balloon]{position:relative}[data-balloon]:after,[data-balloon]:before{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:alpha(opacity=0);-khtml-opacity:0;-moz-opacity:0;opacity:0;pointer-events:none;-webkit-transition:all .18s ease-out .18s;transition:all .18s ease-out .18s;bottom:100%;left:50%;position:absolute;z-index:10;-webkit-transform:translate(-50%,10px);-ms-transform:translate(-50%,10px);transform:translate(-50%,10px);-webkit-transform-origin:top;-ms-transform-origin:top;transform-origin:top}[data-balloon]:after{background:rgba(17,17,17,.9);border-radius:4px;color:#fff;content:attr(data-balloon);font-size:12px;padding:.5em 1em;white-space:nowrap;margin-bottom:11px}[data-balloon]:before{background:url('data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2236px%22%20height%3D%2212px%22%3E%3Cpath%20fill%3D%22rgba%2817,%2017,%2017,%200.9%29%22%20transform%3D%22rotate%280%29%22%20d%3D%22M2.658,0.000%20C-13.615,0.000%2050.938,0.000%2034.662,0.000%20C28.662,0.000%2023.035,12.002%2018.660,12.002%20C14.285,12.002%208.594,0.000%202.658,0.000%20Z%22/%3E%3C/svg%3E') no-repeat;background-size:100% auto;height:6px;width:18px;content:"";margin-bottom:5px}[data-balloon]:hover:after,[data-balloon]:hover:before,[data-balloon][data-balloon-visible]:after,[data-balloon][data-balloon-visible]:before{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1;pointer-events:auto;-webkit-transform:translate(-50%,0);-ms-transform:translate(-50%,0);transform:translate(-50%,0)}[data-balloon].font-awesome:after{font-family:FontAwesome}[data-balloon][data-balloon-break]:after{white-space:pre}[data-balloon-pos=down]:after,[data-balloon-pos=down]:before{bottom:auto;left:50%;top:100%;-webkit-transform:translate(-50%,-10px);-ms-transform:translate(-50%,-10px);transform:translate(-50%,-10px)}[data-balloon-pos=down]:after{margin-top:11px}[data-balloon-pos=down]:before{background:url('data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2236px%22%20height%3D%2212px%22%3E%3Cpath%20fill%3D%22rgba%2817,%2017,%2017,%200.9%29%22%20transform%3D%22rotate%28180%2018%206%29%22%20d%3D%22M2.658,0.000%20C-13.615,0.000%2050.938,0.000%2034.662,0.000%20C28.662,0.000%2023.035,12.002%2018.660,12.002%20C14.285,12.002%208.594,0.000%202.658,0.000%20Z%22/%3E%3C/svg%3E') no-repeat;background-size:100% auto;height:6px;width:18px;margin-top:5px;margin-bottom:0}[data-balloon-pos=down]:hover:after,[data-balloon-pos=down]:hover:before,[data-balloon-pos=down][data-balloon-visible]:after,[data-balloon-pos=down][data-balloon-visible]:before{-webkit-transform:translate(-50%,0);-ms-transform:translate(-50%,0);transform:translate(-50%,0)}[data-balloon-pos=left]:after,[data-balloon-pos=left]:before{bottom:auto;left:auto;right:100%;top:50%;-webkit-transform:translate(10px,-50%);-ms-transform:translate(10px,-50%);transform:translate(10px,-50%)}[data-balloon-pos=left]:after{margin-right:11px}[data-balloon-pos=left]:before{background:url('data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2212px%22%20height%3D%2236px%22%3E%3Cpath%20fill%3D%22rgba%2817,%2017,%2017,%200.9%29%22%20transform%3D%22rotate%28-90%2018%2018%29%22%20d%3D%22M2.658,0.000%20C-13.615,0.000%2050.938,0.000%2034.662,0.000%20C28.662,0.000%2023.035,12.002%2018.660,12.002%20C14.285,12.002%208.594,0.000%202.658,0.000%20Z%22/%3E%3C/svg%3E') no-repeat;background-size:100% auto;height:18px;width:6px;margin-right:5px;margin-bottom:0}[data-balloon-pos=left]:hover:after,[data-balloon-pos=left]:hover:before,[data-balloon-pos=left][data-balloon-visible]:after,[data-balloon-pos=left][data-balloon-visible]:before{-webkit-transform:translate(0,-50%);-ms-transform:translate(0,-50%);transform:translate(0,-50%)}[data-balloon-pos=right]:after,[data-balloon-pos=right]:before{bottom:auto;left:100%;top:50%;-webkit-transform:translate(-10px,-50%);-ms-transform:translate(-10px,-50%);transform:translate(-10px,-50%)}[data-balloon-pos=right]:after{margin-left:11px}[data-balloon-pos=right]:before{background:url('data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2212px%22%20height%3D%2236px%22%3E%3Cpath%20fill%3D%22rgba%2817,%2017,%2017,%200.9%29%22%20transform%3D%22rotate%2890%206%206%29%22%20d%3D%22M2.658,0.000%20C-13.615,0.000%2050.938,0.000%2034.662,0.000%20C28.662,0.000%2023.035,12.002%2018.660,12.002%20C14.285,12.002%208.594,0.000%202.658,0.000%20Z%22/%3E%3C/svg%3E') no-repeat;background-size:100% auto;height:18px;width:6px;margin-bottom:0;margin-left:5px}[data-balloon-pos=right]:hover:after,[data-balloon-pos=right]:hover:before,[data-balloon-pos=right][data-balloon-visible]:after,[data-balloon-pos=right][data-balloon-visible]:before{-webkit-transform:translate(0,-50%);-ms-transform:translate(0,-50%);transform:translate(0,-50%)}[data-balloon-length]:after{white-space:normal}[data-balloon-length=small]:after{width:80px}[data-balloon-length=medium]:after{width:150px}[data-balloon-length=large]:after{width:260px}[data-balloon-length=xlarge]:after{width:90vw}@media screen and (min-width:768px){[data-balloon-length=xlarge]:after{width:380px}}[data-balloon-length=fit]:after{width:100%} |
| 696 | |
| 697 | /** Balloon.css overrides **/ |
| 698 | [data-balloon]:after, |
| 699 | [data-balloon]:before { |
| 700 | text-align: center; |
| 701 | line-height: 1.2em; |
| 702 | } |
| 703 | |
| 704 | .foogallery-items-view-switch-container.foogallery-hidden { |
| 705 | display: none; |
| 706 | } |
| 707 | |
| 708 | .foogallery-items-view-switch-container { |
| 709 | display: inline-flex; |
| 710 | margin: 0 10px; |
| 711 | } |
| 712 | |
| 713 | .foogallery-items-view-switch-container .spinner { |
| 714 | margin: 2px 10px 0; |
| 715 | } |
| 716 | |
| 717 | .foogallery-items-view-switch { |
| 718 | vertical-align: middle; |
| 719 | display: inline-block; |
| 720 | } |
| 721 | |
| 722 | .foogallery-items-view-switch a { |
| 723 | font-size: 11px; |
| 724 | padding: 4px 10px; |
| 725 | line-height: 12px; |
| 726 | border: 1px solid #2271b1; |
| 727 | float: left; |
| 728 | display: inline-block; |
| 729 | text-decoration: none; |
| 730 | margin: 0; |
| 731 | border-radius: 3px; |
| 732 | text-align: center; |
| 733 | white-space: nowrap; |
| 734 | vertical-align: middle; |
| 735 | -ms-touch-action: manipulation; |
| 736 | touch-action: manipulation; |
| 737 | cursor: pointer; |
| 738 | -webkit-user-select: none; |
| 739 | -moz-user-select: none; |
| 740 | -ms-user-select: none; |
| 741 | user-select: none; |
| 742 | /*background: #f7f7f7;*/ |
| 743 | /*color: #555;*/ |
| 744 | |
| 745 | color: #2271b1; |
| 746 | background: #f6f7f7; |
| 747 | } |
| 748 | .foogallery-items-view-switch a:hover { |
| 749 | background: #f0f0f1; |
| 750 | border-color: #0a4b78; |
| 751 | color: #0a4b78; |
| 752 | } |
| 753 | .foogallery-items-view-switch a:focus { |
| 754 | box-shadow: none; |
| 755 | outline: none; |
| 756 | } |
| 757 | |
| 758 | .foogallery-items-view-switch a:first-child:not(:last-child) { |
| 759 | border-top-right-radius: 0; |
| 760 | border-bottom-right-radius: 0; |
| 761 | border-right: none; |
| 762 | } |
| 763 | |
| 764 | .foogallery-items-view-switch a:last-child:not(:first-child) { |
| 765 | border-top-left-radius: 0; |
| 766 | border-bottom-left-radius: 0; |
| 767 | border-left: none; |
| 768 | } |
| 769 | |
| 770 | .foogallery-items-view-switch a:first-child { |
| 771 | margin-right: 0; |
| 772 | } |
| 773 | |
| 774 | .foogallery-items-view-switch a.current { |
| 775 | background: #2271b1; |
| 776 | border-color: #2271b1; |
| 777 | color: #fff; |
| 778 | } |
| 779 | |
| 780 | .foogallery-items-view-switch a.current:hover { |
| 781 | background: #135e96; |
| 782 | border-color: #135e96; |
| 783 | color: #fff; |
| 784 | } |
| 785 | |
| 786 | .foogallery-items-view-switch a+a { |
| 787 | margin-left: -1px; |
| 788 | } |
| 789 | |
| 790 | .foogallery-gallery-items-metabox-title { |
| 791 | float:none; |
| 792 | } |
| 793 | |
| 794 | .foogallery_preview_container { |
| 795 | position: relative; |
| 796 | padding: 10px; |
| 797 | } |
| 798 | |
| 799 | /* Header-based Viewport Controls */ |
| 800 | .foogallery-items-view-switch-container { |
| 801 | display: flex; |
| 802 | align-items: center; |
| 803 | gap: 15px; |
| 804 | padding: 0; |
| 805 | } |
| 806 | |
| 807 | .foogallery-preview-actions { |
| 808 | display: flex; |
| 809 | gap: 4px; |
| 810 | } |
| 811 | |
| 812 | .foogallery-preview-actions button { |
| 813 | display: flex; |
| 814 | align-items: center; |
| 815 | justify-content: center; |
| 816 | padding: 0; |
| 817 | background: #fff; |
| 818 | border: none; |
| 819 | cursor: pointer; |
| 820 | transition: all 0.2s ease; |
| 821 | color: #ddd; |
| 822 | } |
| 823 | |
| 824 | .foogallery-preview-actions button:hover { |
| 825 | color: #aaa; |
| 826 | } |
| 827 | |
| 828 | .foogallery-preview-actions button.foogallery-preview-refresh-btn { |
| 829 | color: #aaa; |
| 830 | } |
| 831 | |
| 832 | .foogallery-preview-actions button.active { |
| 833 | color: #000; |
| 834 | } |
| 835 | |
| 836 | .foogallery-viewport-btn .dashicons { |
| 837 | width: 16px; |
| 838 | height: 16px; |
| 839 | font-size: 16px; |
| 840 | line-height: 1; |
| 841 | } |
| 842 | |
| 843 | /* Preview Wrapper with Viewport Simulation */ |
| 844 | .foogallery-preview-wrapper { |
| 845 | transition: all 0.3s ease; |
| 846 | margin: 0 auto; |
| 847 | border: 1px solid #ddd; |
| 848 | background: #fff; |
| 849 | position: relative; |
| 850 | width: 100%; |
| 851 | } |
| 852 | |
| 853 | .foogallery-preview-wrapper.viewport-desktop { |
| 854 | max-width: 100% !important; |
| 855 | box-shadow: none !important; |
| 856 | border: none; |
| 857 | } |
| 858 | |
| 859 | .foogallery-preview-wrapper.viewport-tablet { |
| 860 | max-width: 768px !important; |
| 861 | box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important; |
| 862 | } |
| 863 | |
| 864 | .foogallery-preview-wrapper.viewport-mobile { |
| 865 | max-width: 375px !important; |
| 866 | box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important; |
| 867 | } |
| 868 | |
| 869 | /* The editor narrows a container rather than the browser viewport, so emulate |
| 870 | * the Responsive template's mobile column media query inside its preview. */ |
| 871 | .foogallery-preview-wrapper.viewport-mobile .fg-default:is(.fg-d-col1,.fg-d-col2,.fg-d-col3,.fg-d-col4,.fg-d-col5,.fg-d-col6) { |
| 872 | max-width: 100%; |
| 873 | } |
| 874 | |
| 875 | .foogallery-preview-wrapper.viewport-mobile .fg-default:is(.fg-d-col1,.fg-d-col2,.fg-d-col3,.fg-d-col4,.fg-d-col5,.fg-d-col6) .fg-item { |
| 876 | width: auto; |
| 877 | min-width: 0; |
| 878 | max-width: none; |
| 879 | } |
| 880 | |
| 881 | .foogallery-preview-wrapper.viewport-mobile .fg-default:is(.fg-d-col1,.fg-d-col2,.fg-d-col3,.fg-d-col4,.fg-d-col5,.fg-d-col6) .fg-image { |
| 882 | width: auto; |
| 883 | } |
| 884 | |
| 885 | .foogallery-preview-wrapper.viewport-mobile .fg-default.fg-m-col1 { |
| 886 | --fg-m-columns: 1; |
| 887 | } |
| 888 | |
| 889 | .foogallery-preview-wrapper.viewport-mobile .fg-default.fg-m-col2 { |
| 890 | --fg-m-columns: 2; |
| 891 | } |
| 892 | |
| 893 | .foogallery-preview-wrapper.viewport-mobile .fg-default.fg-m-col3 { |
| 894 | --fg-m-columns: 3; |
| 895 | } |
| 896 | |
| 897 | .foogallery-preview-wrapper.viewport-mobile .fg-default:is(.fg-m-col1,.fg-m-col2,.fg-m-col3) { |
| 898 | --fg-m-gallery-max-width: calc( |
| 899 | (var(--fg-m-columns) * var(--fg-column-max-width, 99999px)) + |
| 900 | ((var(--fg-m-columns) - 1) * var(--fg-gutter)) |
| 901 | ); |
| 902 | max-width: min(100%, var(--fg-m-gallery-max-width)); |
| 903 | } |
| 904 | |
| 905 | .foogallery-preview-wrapper.viewport-mobile .fg-default.fg-m-col1 .fg-item { |
| 906 | --fg-m-column-width: 100%; |
| 907 | } |
| 908 | |
| 909 | .foogallery-preview-wrapper.viewport-mobile .fg-default.fg-m-col2 .fg-item { |
| 910 | --fg-m-column-width: calc( calc( 100% - var(--fg-gutter) ) / 2 ); |
| 911 | } |
| 912 | |
| 913 | .foogallery-preview-wrapper.viewport-mobile .fg-default.fg-m-col3 .fg-item { |
| 914 | --fg-m-column-width: calc( calc( 100% - calc( var(--fg-gutter) * 2 ) ) / 3 ); |
| 915 | } |
| 916 | |
| 917 | .foogallery-preview-wrapper.viewport-mobile .fg-default:is(.fg-m-col1,.fg-m-col2,.fg-m-col3) .fg-item { |
| 918 | width: var(--fg-m-column-width); |
| 919 | min-width: var(--fg-m-column-width); |
| 920 | max-width: var(--fg-m-column-width); |
| 921 | } |
| 922 | |
| 923 | .foogallery-preview-wrapper.viewport-mobile .fg-default:is(.fg-m-col1,.fg-m-col2,.fg-m-col3) .fg-image { |
| 924 | width: 100%; |
| 925 | } |
| 926 | |
| 927 | .foogallery-setting-viewport-actions { |
| 928 | display: flex; |
| 929 | justify-content: flex-end; |
| 930 | gap: 2px; |
| 931 | margin-top: 4px; |
| 932 | } |
| 933 | |
| 934 | .foogallery-setting-viewport-btn { |
| 935 | display: inline-flex; |
| 936 | align-items: center; |
| 937 | justify-content: center; |
| 938 | min-width: 24px; |
| 939 | min-height: 24px; |
| 940 | padding: 2px; |
| 941 | border: 0; |
| 942 | background: transparent; |
| 943 | color: #8c8f94; |
| 944 | cursor: pointer; |
| 945 | } |
| 946 | |
| 947 | .foogallery-setting-viewport-btn:hover, |
| 948 | .foogallery-setting-viewport-btn:focus, |
| 949 | .foogallery-setting-viewport-btn.active { |
| 950 | color: var(--wp-admin-theme-color, #2271b1); |
| 951 | } |
| 952 | |
| 953 | .foogallery-setting-viewport-btn:focus-visible { |
| 954 | border-radius: 2px; |
| 955 | box-shadow: 0 0 0 1px var(--wp-admin-theme-color, #2271b1); |
| 956 | outline: 1px solid transparent; |
| 957 | } |
| 958 | |
| 959 | .foogallery-setting-viewport-btn .dashicons { |
| 960 | width: 16px; |
| 961 | height: 16px; |
| 962 | font-size: 16px; |
| 963 | line-height: 1; |
| 964 | } |
| 965 | |
| 966 | .foogallery-setting-control[hidden] { |
| 967 | display: none !important; |
| 968 | } |
| 969 | |
| 970 | .rtl .foogallery-setting-viewport-actions { |
| 971 | justify-content: flex-start; |
| 972 | } |
| 973 | |
| 974 | .foogallery-items-add { |
| 975 | padding:20px; |
| 976 | text-align: center |
| 977 | } |
| 978 | .foogallery-items-view-preview { |
| 979 | overflow: hidden; |
| 980 | } |
| 981 | |
| 982 | .foogallery-items-view .button-hero .dashicons { |
| 983 | vertical-align: middle; |
| 984 | width: 24px; |
| 985 | height: 24px; |
| 986 | font-size: 24px; |
| 987 | font-weight: normal; |
| 988 | } |
| 989 | |
| 990 | .foogallery_preview_container .foogallery { |
| 991 | visibility: visible; |
| 992 | opacity: 1; |
| 993 | transition: visibility 0.3s ease, opacity 0.3s ease; |
| 994 | } |
| 995 | |
| 996 | .foogallery_preview_container.loading .foogallery { |
| 997 | /* visibility: hidden; */ |
| 998 | opacity: 0.5; |
| 999 | } |
| 1000 | |
| 1001 | .fs-submenu-item.foogallery { |
| 1002 | font-size: 13px; |
| 1003 | line-height: 1.2; |
| 1004 | } |
| 1005 | |
| 1006 | .foogallery_metabox_field-thumb_size_no_crop { |
| 1007 | display: inline-flex; |
| 1008 | align-items: center; |
| 1009 | } |
| 1010 | |
| 1011 | .foogallery_template_field_type-thumb_size_no_crop input.small-text+label { |
| 1012 | margin-left: 10px; |
| 1013 | } |
| 1014 | .rtl .foogallery_template_field_type-thumb_size_no_crop input.small-text+label { |
| 1015 | margin-left: 0; |
| 1016 | margin-right: 10px; |
| 1017 | } |
| 1018 | |
| 1019 | .foogallery_template_field_type-thumb_size_no_crop label+input { |
| 1020 | margin-left: 5px; |
| 1021 | } |
| 1022 | .rtl .foogallery_template_field_type-thumb_size_no_crop label+input { |
| 1023 | margin-left: 0; |
| 1024 | margin-right: 5px; |
| 1025 | } |
| 1026 | |
| 1027 | /* changes to the media modal */ |
| 1028 | .compat-item .compat-attachment-fields th.label label span { |
| 1029 | text-align: left; |
| 1030 | } |
| 1031 | |
| 1032 | .compat-item .compat-attachment-fields td.field { |
| 1033 | width: 100%; |
| 1034 | margin: 0; |
| 1035 | } |
| 1036 | |
| 1037 | .foogallery-attachments-list { |
| 1038 | max-height: 486px; |
| 1039 | /*max-height: 324px;*/ |
| 1040 | /*max-height: 162px;*/ |
| 1041 | overflow: scroll; |
| 1042 | overflow-x: hidden; |
| 1043 | list-style: none; |
| 1044 | border: 1px solid #ccd0d4; |
| 1045 | padding: 10px; |
| 1046 | } |
| 1047 | .foogallery-attachments-list-bar { |
| 1048 | display: flex; |
| 1049 | flex-direction: row; |
| 1050 | justify-content: flex-end; |
| 1051 | align-items: center; |
| 1052 | } |
| 1053 | .foogallery-attachments-list:after, |
| 1054 | .foogallery-attachments-list-bar:after { |
| 1055 | content: ''; |
| 1056 | display: block; |
| 1057 | clear: both; |
| 1058 | } |
| 1059 | |
| 1060 | .foogallery-attachments-list-bar button.alignright { |
| 1061 | margin-left: 5px; |
| 1062 | } |
| 1063 | |
| 1064 | .foogallery-custom-metabox-header { |
| 1065 | justify-content: flex-start !important; |
| 1066 | } |
| 1067 | |
| 1068 | .foogallery-custom-metabox-header .foogallery-template-selector { |
| 1069 | margin: 0 10px; |
| 1070 | } |
| 1071 | |
| 1072 | .foogallery-custom-metabox-header .foogallery-template-selector select { |
| 1073 | font-size: 13px; |
| 1074 | margin: 0 6px; |
| 1075 | } |
| 1076 | |
| 1077 | .foogallery-multi-filtering-modal-close { |
| 1078 | float: right; |
| 1079 | margin-left: 5px !important; |
| 1080 | } |
| 1081 | |
| 1082 | #foogallery-image-edit-modal .foogallery-image-edit-main { |
| 1083 | text-align: center; |
| 1084 | padding: 0 0 20px; |
| 1085 | } |
| 1086 | #foogallery-image-edit-modal .foogallery-image-edit-meta{ |
| 1087 | padding: 10px 0px; |
| 1088 | position: relative; |
| 1089 | } |
| 1090 | #foogallery-image-edit-modal .attachment-details { |
| 1091 | display: grid; |
| 1092 | grid-template-columns: 1fr 2fr; |
| 1093 | /*grid-gap: 15px;*/ |
| 1094 | padding: 0; |
| 1095 | background: #f0f0f1; |
| 1096 | } |
| 1097 | #foogallery-image-edit-modal .foogallery-image-edit-view { |
| 1098 | margin-bottom: 15px; |
| 1099 | } |
| 1100 | /* |
| 1101 | CSS for the main interaction |
| 1102 | */ |
| 1103 | #foogallery-image-edit-modal .tabset .foogallery-img-modal-tab-wrapper > input[type="radio"] { |
| 1104 | position: absolute; |
| 1105 | left: -200vw; |
| 1106 | } |
| 1107 | |
| 1108 | #foogallery-image-edit-modal .tab-panel { |
| 1109 | display: none; |
| 1110 | padding: 30px 0; |
| 1111 | } |
| 1112 | #foogallery-image-edit-modal .tab-panel.active { |
| 1113 | display: block; |
| 1114 | } |
| 1115 | #foogallery-image-edit-modal .tabset .foogallery-img-modal-tab-wrapper > label { |
| 1116 | position: relative; |
| 1117 | display: inline-block; |
| 1118 | padding: 5px 10px 5px; |
| 1119 | border: 1px solid transparent; |
| 1120 | border-bottom: 0; |
| 1121 | cursor: pointer; |
| 1122 | font-weight: 600; |
| 1123 | } |
| 1124 | #foogallery-image-edit-modal .tabset .foogallery-img-modal-tab-wrapper > label:hover, |
| 1125 | #foogallery-image-edit-modal .tabset .foogallery-img-modal-tab-wrapper > input:focus + label { |
| 1126 | color: #06c; |
| 1127 | } |
| 1128 | #foogallery-image-edit-modal .tabset .foogallery-img-modal-tab-wrapper > input:checked + label { |
| 1129 | border-color: #ccc; |
| 1130 | border-bottom-color: rgb(204, 204, 204); |
| 1131 | border-bottom: 3px solid #fff !important; |
| 1132 | margin-bottom: -1.7px; |
| 1133 | cursor: pointer; |
| 1134 | } |
| 1135 | .foogallery-image-edit-meta { |
| 1136 | background-color: #fff; |
| 1137 | padding: 10px; |
| 1138 | } |
| 1139 | #foogallery-image-edit-modal .tabset{ |
| 1140 | max-width: 100%; |
| 1141 | padding: 0px 10px; |
| 1142 | border-bottom: 1px solid #ccc; |
| 1143 | } |
| 1144 | |
| 1145 | #foogallery-image-edit-modal .media-frame-title h1 { |
| 1146 | float: left; |
| 1147 | } |
| 1148 | #foogallery-image-edit-modal .media-frame-title .attachment-modal-autosave { |
| 1149 | float: right; |
| 1150 | display: inline-block; |
| 1151 | margin: 15px; |
| 1152 | } |
| 1153 | #foogallery-image-edit-modal .media-frame-title .attachment-modal-autosave label { |
| 1154 | vertical-align: text-bottom; |
| 1155 | } |
| 1156 | |
| 1157 | #foogallery-panel-main select { |
| 1158 | margin: 0px 8px; |
| 1159 | } |
| 1160 | #foogallery-panel-taxonomies label{ |
| 1161 | margin-bottom: 10px; |
| 1162 | display: block; |
| 1163 | } |
| 1164 | #foogallery-panel-taxonomies li { |
| 1165 | position: relative; |
| 1166 | float: left; |
| 1167 | margin-right: 8px; |
| 1168 | margin-bottom: 10px; |
| 1169 | } |
| 1170 | #foogallery-image-edit-modal .tab-panels #foogallery-panel-taxonomies .taxonomy_add input { |
| 1171 | width: 100px; |
| 1172 | margin-right: 5px !important; |
| 1173 | float: left; |
| 1174 | min-height: 26px; |
| 1175 | font-size: 11px; |
| 1176 | margin-top: 0; |
| 1177 | } |
| 1178 | #foogallery-panel-taxonomies .taxonomy_add a, #foogallery-panel-taxonomies .taxonomy_remove a { |
| 1179 | box-shadow: none; |
| 1180 | } |
| 1181 | #foogallery-panel-thumbnails label { |
| 1182 | display: inline-block; |
| 1183 | vertical-align: text-bottom; |
| 1184 | margin-right: 30px; |
| 1185 | } |
| 1186 | #foogallery-panel-thumbnails #foogallery_crop_pos { |
| 1187 | display: inline-block; |
| 1188 | vertical-align: text-top; |
| 1189 | margin-bottom: 20px; |
| 1190 | } |
| 1191 | #foogallery-panel-watermark-preview { |
| 1192 | margin-bottom: 20px; |
| 1193 | display: none; |
| 1194 | } |
| 1195 | #foogallery-panel-watermark-preview label { |
| 1196 | margin-bottom: 10px; |
| 1197 | display: block; |
| 1198 | } |
| 1199 | .foogallery-panel-info-inner{ |
| 1200 | background: #f6f7f7; |
| 1201 | padding: 10px;; |
| 1202 | } |
| 1203 | #foogallery-image-edit-modal .attachment-details .setting .name { |
| 1204 | font-weight: 600; |
| 1205 | } |
| 1206 | #foogallery-image-edit-modal .attachment-details .copy-to-clipboard-container { |
| 1207 | margin-left: 0; |
| 1208 | margin-bottom: 15px; |
| 1209 | padding: 0; |
| 1210 | } |
| 1211 | #foogallery-image-edit-modal .foogallery-attachments-list-bar { |
| 1212 | margin-top: 20px; |
| 1213 | } |
| 1214 | |
| 1215 | #foogallery_clear_img_thumb_cache, #foogallery-img-modal-alternate-image-delete { |
| 1216 | background: #d63638; |
| 1217 | border-color: #d63638; |
| 1218 | } |
| 1219 | #foogallery-image-edit-modal .not-loaded .spinner.is-active{ |
| 1220 | margin: 10px; |
| 1221 | } |
| 1222 | .foogallery-img-modal-tab-wrapper { |
| 1223 | display: inline-block; |
| 1224 | } |
| 1225 | #foogallery-image-edit-modal .tab-panels .settings span.setting { |
| 1226 | display: grid; |
| 1227 | grid-template-columns: 35% auto; |
| 1228 | grid-gap: 30px; |
| 1229 | } |
| 1230 | #foogallery-image-edit-modal .tab-panels .settings span.setting.has-description { |
| 1231 | margin-bottom: 0px; |
| 1232 | } |
| 1233 | #foogallery-image-edit-modal .tab-panels .settings .description { |
| 1234 | padding-left: calc(35% + 30px); |
| 1235 | float: none; |
| 1236 | width: auto; |
| 1237 | } |
| 1238 | #foogallery-image-edit-modal .tab-panels .settings span.setting > *:not(label) { |
| 1239 | width: calc(100% - 10px); |
| 1240 | box-sizing: border-box; |
| 1241 | max-width: 100%; |
| 1242 | margin-left: 0px !important; |
| 1243 | margin-right: 0px !important; |
| 1244 | } |
| 1245 | #foogallery-image-edit-modal .tab-panels .settings span.setting input, |
| 1246 | #foogallery-image-edit-modal .tab-panels .settings span.setting textarea, |
| 1247 | #foogallery-image-edit-modal .tab-panels .settings span.setting select { |
| 1248 | margin: 0; |
| 1249 | } |
| 1250 | #foogallery-image-edit-modal .tab-panels .settings span.setting .setting-with-buttons { |
| 1251 | display: flex; |
| 1252 | flex-wrap: nowrap; |
| 1253 | grid-template-columns: unset; |
| 1254 | grid-gap: unset; |
| 1255 | } |
| 1256 | |
| 1257 | #foogallery-image-edit-modal .tab-panels .settings span.setting .setting-with-buttons input { |
| 1258 | width: 100%; |
| 1259 | } |
| 1260 | |
| 1261 | #foogallery-image-edit-modal .tab-panels .settings span.setting .setting-with-buttons > div { |
| 1262 | display: flex; |
| 1263 | } |
| 1264 | |
| 1265 | #foogallery-image-edit-modal .tab-panels .settings span.setting .setting-with-buttons > div > button { |
| 1266 | margin-left: 5px; |
| 1267 | } |
| 1268 | |
| 1269 | #foogallery-image-edit-modal .tab-panels .settings span.setting span { |
| 1270 | text-align: left; |
| 1271 | } |
| 1272 | #foogallery-image-edit-modal .tab-panels { |
| 1273 | padding: 0px 10px; |
| 1274 | } |
| 1275 | #foogallery-image-edit-modal .tab-panels .settings span.setting input[type="radio"] { |
| 1276 | width: auto; |
| 1277 | margin: 8px 3px 0 !important; |
| 1278 | } |
| 1279 | #foogallery-image-edit-modal .attachment-details #foogallery-panel-taxonomies .setting .name { |
| 1280 | padding-top: 5px; |
| 1281 | } |
| 1282 | #foogallery-panel-watermark .attachment_protection_generate { |
| 1283 | float: left; |
| 1284 | } |
| 1285 | .foogallery-modal-footer-wrap { |
| 1286 | text-align: right; |
| 1287 | margin-bottom: 10px; |
| 1288 | margin-right: 20px; |
| 1289 | } |
| 1290 | #foogallery-panel-watermark-preview.watermark-preview-show { |
| 1291 | display: block; |
| 1292 | } |
| 1293 | #foogallery-panel-watermark-preview a:focus { |
| 1294 | outline: none; |
| 1295 | box-shadow: none; |
| 1296 | } |
| 1297 | .foogallery-modal-footer-wrap { |
| 1298 | text-align: right; |
| 1299 | margin-bottom: 10px; |
| 1300 | margin-right: 20px; |
| 1301 | } |
| 1302 | .foogallery-image-edit-footer { |
| 1303 | position: absolute; |
| 1304 | bottom: 10px; |
| 1305 | width: 100%; |
| 1306 | right: 10px; |
| 1307 | text-align: right; |
| 1308 | } |
| 1309 | .foogallery-image-edit-footer .spinner { |
| 1310 | margin-top: 5px; |
| 1311 | float: unset; |
| 1312 | } |
| 1313 | #attachments-data-save-btn { |
| 1314 | float: right; |
| 1315 | } |
| 1316 | #foogallery-panel-taxonomies ul { |
| 1317 | margin: 0; |
| 1318 | padding: 0; |
| 1319 | } |
| 1320 | #foogallery-panel-taxonomies ul:after { |
| 1321 | content: ''; |
| 1322 | display: block; |
| 1323 | clear: both; |
| 1324 | } |
| 1325 | #foogallery-image-edit-modal .media-modal-close { |
| 1326 | border-left: 1px solid #dcdcde; |
| 1327 | } |
| 1328 | #foogallery-panel-info .foogallery-panel-info-inner { |
| 1329 | text-align: left; |
| 1330 | padding: 10px 20px; |
| 1331 | column-count: 2; |
| 1332 | column-rule: 2px solid #000; |
| 1333 | column-gap: 50px; |
| 1334 | margin-bottom: 20px; |
| 1335 | -webkit-column-break-inside: avoid; |
| 1336 | page-break-inside: avoid; |
| 1337 | break-inside: avoid; |
| 1338 | column-fill: balance; |
| 1339 | } |
| 1340 | .foogallery-panel-info-inner > div { |
| 1341 | webkit-column-break-inside: avoid; |
| 1342 | page-break-inside: avoid; |
| 1343 | break-inside: avoid; |
| 1344 | } |
| 1345 | .foogallery-modal-info-fields * { |
| 1346 | vertical-align: middle; |
| 1347 | font-size: 13px; |
| 1348 | } |
| 1349 | #foogallery-panel-info .foogallery-modal-info-fields { |
| 1350 | display: flex; |
| 1351 | align-items: baseline; |
| 1352 | } |
| 1353 | #foogallery-panel-info .foogallery-modal-info-fields label { |
| 1354 | font-weight: 600; |
| 1355 | display: block; |
| 1356 | flex: 0 0 100px; |
| 1357 | width: 100px; |
| 1358 | } |
| 1359 | .foogallery-modal-info-fields-full { |
| 1360 | -webkit-column-span: all; |
| 1361 | column-span: all; |
| 1362 | overflow: hidden; |
| 1363 | } |
| 1364 | #attachment-details-two-column-copy-file-name { |
| 1365 | display: block; |
| 1366 | min-width: 0; |
| 1367 | flex: 1 1 auto; |
| 1368 | overflow: hidden; |
| 1369 | text-overflow: ellipsis; |
| 1370 | white-space: nowrap; |
| 1371 | } |
| 1372 | #foogallery-img-modal-alternate-image-delete { |
| 1373 | background-color: #f6f7f7; |
| 1374 | color: #2271b1; |
| 1375 | border: 1px solid #2271b1; |
| 1376 | } |
| 1377 | #foogallery-img-modal-alternate-image-delete:hover { |
| 1378 | color: #0a4b78; |
| 1379 | background-color: #f0f0f1; |
| 1380 | border-color: #0a4b78; |
| 1381 | } |
| 1382 | #foogallery-image-edit-modal .tab-panels .settings span.setting.alternate-image-upload-settings { |
| 1383 | grid-template-columns: 1fr; |
| 1384 | } |
| 1385 | #foogallery-image-edit-modal .tab-panels .alternate-image-upload-wrap { |
| 1386 | margin-left: 43px; |
| 1387 | } |
| 1388 | #foogallery-image-edit-modal .tab-panels .settings span.setting.override-thumbnail, #foogallery-image-edit-modal .tab-panels .settings span.setting.override-thumbnail-preview, #foogallery-image-edit-modal .tab-panels .settings span.setting.alternate-image-delete { |
| 1389 | display: none; |
| 1390 | } |
| 1391 | #foogallery-image-edit-modal .tab-panels .settings span.setting.override-thumbnail.is-override-thumbnail, #foogallery-image-edit-modal .tab-panels .settings span.setting.override-thumbnail-preview.is-override-thumbnail, #foogallery-image-edit-modal .tab-panels .settings span.alternate-image-delete.is-override-thumbnail { |
| 1392 | display: grid; |
| 1393 | } |
| 1394 | |
| 1395 | .foogallery-feature-promo { |
| 1396 | position: relative; |
| 1397 | padding-left: 40px; |
| 1398 | vertical-align: middle; |
| 1399 | flex: 1; |
| 1400 | line-height: 2; |
| 1401 | } |
| 1402 | |
| 1403 | .foogallery-feature-promo:before { |
| 1404 | content: "\f348"; |
| 1405 | font: 400 30px/1 dashicons !important; |
| 1406 | speak: none; |
| 1407 | color: #2271b1; |
| 1408 | display: inline-block; |
| 1409 | -webkit-font-smoothing: antialiased; |
| 1410 | -moz-osx-font-smoothing: grayscale; |
| 1411 | position: absolute; |
| 1412 | left: 5px; |
| 1413 | height: 1em; |
| 1414 | } |
| 1415 | |
| 1416 | .foogallery-gallery-notice .dashicons { |
| 1417 | color: #00d0ff; |
| 1418 | } |
| 1419 | |
| 1420 | .foogallery-gallery-notice ul { |
| 1421 | margin-top: 0; |
| 1422 | } |
| 1423 | |
| 1424 | .foogallery-hidden { |
| 1425 | display: none; |
| 1426 | } |
| 1427 | |
| 1428 | |
| 1429 | .foogallery-add-actions { |
| 1430 | display: flex; |
| 1431 | justify-content: center; |
| 1432 | align-items: stretch; |
| 1433 | gap: 18px; |
| 1434 | flex-wrap: wrap; |
| 1435 | margin: 15px 0 0; |
| 1436 | } |
| 1437 | |
| 1438 | .foogallery-add-actions .button.button-hero { |
| 1439 | display: flex; |
| 1440 | flex-direction: column; |
| 1441 | align-items: center; |
| 1442 | justify-content: center; |
| 1443 | text-align: center; |
| 1444 | min-width: 160px; |
| 1445 | min-height: 120px; |
| 1446 | padding: 20px 24px; |
| 1447 | font-size: 14px; |
| 1448 | line-height: 1.4; |
| 1449 | } |
| 1450 | |
| 1451 | .foogallery-add-actions .button.button-hero .dashicons { |
| 1452 | font-size: 32px; |
| 1453 | width: 32px; |
| 1454 | height: 32px; |
| 1455 | margin-bottom: 8px; |
| 1456 | line-height: 1; |
| 1457 | } |
| 1458 | |
| 1459 | .foogallery-add-actions .button.button-hero.button-primary .dashicons { |
| 1460 | color : #fff; |
| 1461 | } |
| 1462 | |
| 1463 | .foogallery-add-actions .foogallery-add-button-label { |
| 1464 | display: block; |
| 1465 | } |
| 1466 | |
| 1467 | |
| 1468 | .foogallery-dropzone { |
| 1469 | display: none; |
| 1470 | border: 2px dashed #ccc; |
| 1471 | border-radius: 6px; |
| 1472 | padding: 30px; |
| 1473 | text-align: center; |
| 1474 | margin-bottom: 15px; |
| 1475 | color: #777; |
| 1476 | background: #fafafa; |
| 1477 | position: relative; |
| 1478 | transition: all 0.2s ease; |
| 1479 | } |
| 1480 | .foogallery-dropzone.visible { display: block; animation: fadeIn 0.15s ease; } |
| 1481 | .foogallery-dropzone.drag-over { |
| 1482 | border-color: #0073aa; |
| 1483 | background: #f0f8ff; |
| 1484 | color: #0073aa; |
| 1485 | } |
| 1486 | .foogallery-dropzone .upload-progress { |
| 1487 | position: absolute; |
| 1488 | bottom: 0; |
| 1489 | left: 0; |
| 1490 | height: 4px; |
| 1491 | width: 0%; |
| 1492 | background: #0073aa; |
| 1493 | transition: width 0.2s ease; |
| 1494 | } |
| 1495 | @keyframes fadeIn { |
| 1496 | from { opacity: 0; transform: scale(0.98); } |
| 1497 | to { opacity: 1; transform: scale(1); } |
| 1498 | } |
| 1499 | |
| 1500 | .attachments-browser .media-toolbar-secondary { |
| 1501 | width: 100% |
| 1502 | } |
| 1503 | |
| 1504 | .media-modal-content .media-frame select.attachment-filters { |
| 1505 | width: auto; |
| 1506 | max-width: unset; |
| 1507 | } |
| 1508 | |
| 1509 | .foogallery-modal-toolbar .media-toolbar-secondary > .media-button.button-large { |
| 1510 | height: 32px; |
| 1511 | } |
| 1512 | |
| 1513 | .foogallery-modal-toolbar .media-toolbar-secondary > p { |
| 1514 | line-height: 32px; |
| 1515 | } |
| 1516 |