style.scss (13397B)
1 @import "../variables"; 2 3 .redux-templates-collections-modal-body { 4 display: flex; 5 flex: 1; 6 overflow-y: auto; 7 } 8 9 10 @mixin placeholder-color($color) { 11 &::-webkit-input-placeholder { /* WebKit browsers */ 12 color: $color; 13 font-style: italic; 14 opacity: 1; 15 } 16 &:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ 17 color: $color; 18 font-style: italic; 19 opacity: 1; 20 } 21 &::-moz-placeholder { /* Mozilla Firefox 19+ */ 22 color: $color; 23 font-style: italic; 24 opacity: 1; 25 } 26 &:-ms-input-placeholder { /* Internet Explorer 10+ */ 27 color: $color; 28 font-style: italic; 29 opacity: 1; 30 } 31 } 32 33 .redux-templates-builder-modal { 34 35 position: fixed; 36 top: 0; 37 left: 0; 38 width: 100%; 39 height: 100%; 40 z-index: 9999; 41 display: flex; 42 align-items: center; 43 justify-content: center; 44 pointer-events: none; 45 46 &.hidden { 47 display: none; 48 } 49 50 .wp-full-overlay-sidebar { 51 .wp-core-ui .button-group.button-hero .button, 52 .wp-core-ui .button.button-hero { 53 text-align: center !important; 54 } 55 } 56 57 * { 58 box-sizing: border-box; 59 pointer-events: all; 60 } 61 62 .redux-templates-pagelist-modal-overlay { 63 position: absolute; 64 width: 100%; 65 height: 100%; 66 background: #f00; 67 left: 0; 68 top: 0; 69 z-index: -1; 70 background: rgba(3, 8, 15, 0.75); 71 } 72 73 .components-base-control__field { 74 display: flex; 75 } 76 77 textarea { 78 width: 100%; 79 height: 80px; 80 } 81 82 .redux-icon-wrapper { 83 display: inline-block; 84 } 85 86 //.components-tooltip { 87 // z-index: 9999 !important; 88 // 89 // .components-popover__content > div { 90 // padding-bottom: 0; 91 // } 92 //} 93 94 button.components-button { 95 z-index: unset; 96 } 97 } 98 99 .redux-templates-builder-modal-header { 100 display: flex; 101 //z-index: 9999; 102 border-bottom: 1px solid #e2e4e7; 103 background: #fff; 104 105 .template-search-box { 106 position: relative; 107 width: 270px; 108 109 > div { 110 padding: 10px; 111 } 112 113 i { 114 font-size: 13px; 115 color: $secondaryColor; 116 position: absolute; 117 top: 50%; 118 right: 30px; 119 transform: translateY(-50%); 120 121 &.challenge-dot { 122 right: 20px; 123 left: auto; 124 } 125 126 &.clear-search { 127 right: 20px; 128 left: auto; 129 color: #fff; 130 font-size: 12px; 131 display: none; 132 cursor: pointer; 133 padding: 5px; 134 } 135 } 136 137 input { 138 display: block; 139 width: 100%; 140 box-shadow: 0 0 0 transparent; 141 transition: box-shadow 0.1s linear; 142 border-radius: 2px; 143 line-height: normal; 144 display: block; 145 padding: 16px 48px 16px 16px; 146 background: #f3f4f5; 147 border: none; 148 width: 100%; 149 height: 40px; 150 font-size: 13px; 151 152 @include placeholder-color(#606a73); 153 154 &:focus { 155 border-color: #007cba; 156 border-color: var(--wp-admin-theme-color); 157 background: #fff; 158 box-shadow: 0 0 0 1.5px #007cba; 159 box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color); 160 outline: 2px solid transparent; 161 } 162 } 163 164 &:hover .clear-search { 165 display: block; 166 } 167 } 168 } 169 170 .redux-templates-pagelist-modal-inner { 171 position: relative; 172 display: flex; 173 flex-direction: column; 174 overflow: hidden; 175 background: #f1f1f1; 176 width: 85.9375%; 177 height: 89.537037%; 178 max-width: 1650px; 179 max-height: 967px; 180 box-shadow: 0 0 45px 10px rgba(3, 8, 15, 0.2); 181 //border-radius: 5px; 182 animation: components-modal__appear-animation 0.1s ease-out; 183 animation-fill-mode: forwards; 184 185 .redux-templates-collection-modal-content-area { 186 flex-grow: 1; 187 max-height: 100%; 188 overflow-y: auto; 189 position: relative; 190 } 191 } 192 193 //template list header 194 .redux-templates-template-list-header { 195 text-align: center; 196 position: relative; 197 flex-grow: 1; 198 padding-right: 50px; 199 200 201 button:not(.redux-templates-builder-close-modal) { 202 flex-grow: 1; 203 line-height: 28px; 204 margin-top: 6px; 205 padding: 14px 15px 13px 15px; 206 text-align: left; 207 font-weight: 600; 208 width: 150px; 209 align-items: center; 210 background: none; 211 position: relative; 212 margin-bottom: -1px; 213 border-width: 0; 214 z-index: 1; 215 cursor: pointer; 216 outline: none; 217 border-color: transparent; 218 box-shadow: none; 219 border-bottom: unset; 220 221 &::after { 222 content: attr(data-label); 223 display: block; 224 height: 0; 225 overflow: hidden; 226 speak: none; 227 visibility: hidden; 228 } 229 230 &:hover { 231 color: #007cba; 232 color: var(--wp-admin-theme-color); 233 } 234 235 &:focus { 236 box-shadow: inset 0 0 0 1.5px #007cba; 237 box-shadow: inset 0 0 0 1.5px var(--wp-admin-theme-color); 238 } 239 240 &.active { 241 box-shadow: inset 0 0 0 1.5px transparent, inset 0 -4px 0 0 #007cba; 242 box-shadow: inset 0 0 0 1.5px transparent, inset 0 -4px 0 0 var(--wp-admin-theme-color); 243 244 &::before { 245 content: ""; 246 position: absolute; 247 top: 0; 248 bottom: 1px; 249 right: 0; 250 left: 0; 251 border-bottom: 4px solid transparent; 252 } 253 254 &:focus { 255 box-shadow: inset 0 0 0 1.5px #007cba, inset 0 -4px 0 0 #007cba; 256 box-shadow: inset 0 0 0 1.5px var(--wp-admin-theme-color), inset 0 -4px 0 0 var(--wp-admin-theme-color); 257 } 258 } 259 260 &.disabled { 261 opacity: 0.5; 262 } 263 264 } 265 266 .redux-templates-builder-close-modal { 267 position: absolute; 268 top: 0; 269 right: 0; 270 width: 60px; 271 height: 60px; 272 margin: 0; 273 padding: 0; 274 border: 1px solid transparent; 275 background: none; 276 font-size: 15px; 277 cursor: pointer; 278 outline: none; 279 transition: color 0.1s ease-in-out, background 0.1s ease-in-out; 280 281 i { 282 -webkit-text-stroke: 1.2px #fff; 283 } 284 285 svg { 286 margin-top: 4px; 287 } 288 289 &:hover, 290 &:active { 291 color: #00a0d2; 292 } 293 294 &:focus { 295 color: #00a0d2; 296 border-color: #5b9dd9; 297 box-shadow: 0 0 3px rgba(0, 115, 170, 0.8); 298 /* Only visible in Windows High Contrast mode */ 299 outline: 2px solid transparent; 300 } 301 } 302 } 303 304 //template list sub header 305 .redux-templates-template-list-sub-header { 306 display: flex; 307 justify-content: space-between; 308 align-items: center; 309 padding: 23px 25px 0; 310 311 h4 { 312 font-size: 21px; 313 color: #0e2244; 314 font-weight: 500; 315 margin: 0; 316 317 i.challenge-dot { 318 margin-left: 10px; 319 } 320 } 321 322 .redux-templates-template-filters { 323 display: flex; 324 justify-content: space-between; 325 align-items: center; 326 } 327 328 .redux-templates-template-filter-button-group { 329 background: #f8fafb; 330 display: inline-flex; 331 border: 1px solid #d8d8d8; 332 border-radius: 4px; 333 margin-left: 10px; 334 335 button { 336 display: inline-flex; 337 line-height: 28px; 338 padding: 5px 18px; 339 align-items: center; 340 background: none; 341 border: none; 342 color: #587e97; 343 position: relative; 344 z-index: 1; 345 cursor: pointer; 346 347 &:focus { 348 outline: none; 349 350 box-shadow: 0 0 0 1.5px #007cba; 351 box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color); 352 outline: 1px solid transparent; 353 } 354 355 &:last-child { 356 color: #f5a623; 357 } 358 359 &.active { 360 background: $missingColorHover; 361 color: #fff; 362 } 363 364 &.disabled { 365 opacity: 0.5; 366 } 367 368 img { 369 display: inline-block; 370 width: auto; 371 height: 14px; 372 margin-right: 4px; 373 } 374 375 &:not(:last-child)::after { 376 content: ""; 377 height: 13px; 378 background-color: #c4cbcf; 379 width: 1px; 380 right: 0px; 381 top: 50%; 382 position: absolute; 383 transform: translateY(-50%); 384 } 385 386 &.active::after { 387 display: none; 388 } 389 390 &::before { 391 content: ""; 392 position: absolute; 393 background: $missingColorHover; 394 height: calc(100% + 4px); 395 width: calc(100% + 4px); 396 left: -2px; 397 top: -2px; 398 z-index: -1; 399 border-radius: 4px; 400 box-shadow: 0 0 4px rgba(33, 32, 249, 0.3); 401 opacity: 0; 402 } 403 404 &.active::before { 405 opacity: 1; 406 } 407 } 408 } 409 } 410 411 .redux-templates-modal-loader { 412 display: inline-block; 413 position: absolute; 414 width: 80px; 415 height: 80px; 416 line-height: 80px; 417 text-align: center; 418 left: 50%; 419 margin-left: -50px; 420 top: 50%; 421 margin-top: -50px; 422 font-size: 24px; 423 color: #1e7ed8; 424 } 425 426 .redux-templates-modal-loader img { 427 height: 80px; 428 width: 80px; 429 } 430 431 /*block style*/ 432 .redux-templates-builder-template-found-empty { 433 text-align: center; 434 border-color: transparent !important; 435 436 .redux-templates-builder-empty-title { 437 display: block; 438 width: 100%; 439 } 440 } 441 442 .redux-templates-pro-badge { 443 position: absolute; 444 background: rgba(255, 0, 0, 0.75); 445 cursor: pointer; 446 padding: 5px 6px; 447 border-radius: 3px; 448 color: #fff; 449 font-size: 10px; 450 right: 20px; 451 top: 20px; 452 line-height: 1; 453 transition: background 0.1s linear; 454 } 455 456 .redux-templates-missing-badge { 457 position: absolute; 458 cursor: pointer; 459 background: rgba(242, 168, 72, 0.75); 460 border-radius: 3px; 461 color: #fff; 462 font-size: 10px; 463 right: 20px; 464 top: 20px; 465 line-height: 1; 466 transition: background 0.1s linear; 467 i { 468 margin: 5px; 469 } 470 } 471 472 .redux-templates-button-overlay { 473 .redux-templates-pro-badge { 474 background: rgba(255, 0, 0, 0.85); 475 } 476 477 .redux-templates-missing-badge { 478 background: rgba(242, 168, 72, 0.85); 479 } 480 } 481 482 .redux-templates-default-template-image { 483 /* background-image: url('/img/redux-templates-medium.jpg'); 484 background-size: cover; */ 485 background: #888; 486 //min-height: 200px; 487 transition: 300ms; 488 .imageloader-loaded { 489 max-height: 285px; 490 } 491 img { 492 width: 100%; 493 display: block; 494 } 495 } 496 497 .redux-templates-item-wrapper { 498 position: relative; 499 500 .redux-templates-button-overlay { 501 position: absolute; 502 width: 100%; 503 opacity: 0; 504 background: rgba(0, 0, 0, 0.5); 505 height: 100%; 506 top: 0; 507 left: 0; 508 display: flex; 509 flex-direction: column; 510 align-items: center; 511 justify-content: center; 512 transition: 300ms; 513 514 .redux-templates-tmpl-title { 515 margin: 0 0 15px; 516 color: #fff; 517 font-size: 19px; 518 font-weight: 400; 519 } 520 } 521 522 &.focused, 523 &:hover { 524 .redux-templates-button-overlay { 525 opacity: 1; 526 } 527 528 .redux-templates-default-template-image { 529 filter: blur(3px); 530 } 531 } 532 533 &.missing_requirements { 534 //border: 1px solid red; 535 //background: green; 536 .redux-templates-default-template-image { 537 //opacity: .9; 538 //border: 2px solid #ffeeba; 539 } 540 541 .warn_notice { 542 opacity: 1; 543 } 544 545 .redux-templates-button-download { 546 547 background-color: #fdbb05; 548 background-image: none; 549 border-color: #ffc107; 550 } 551 } 552 } 553 554 .redux-templates-template-option-header { 555 padding: 20px 20px 0; 556 557 .redux-templates-template-back { 558 cursor: pointer; 559 560 .dashicons { 561 vertical-align: text-bottom; 562 } 563 } 564 } 565 566 #wpwrap .edit-post-visual-editor .import-collection-btn-container { 567 text-align: center; 568 margin-top: 20px; 569 } 570 571 #wpwrap .edit-post-visual-editor .import-collection-btn-container #importCollectionBtn { 572 color: #fff; 573 font-size: 13px; 574 } 575 576 .redux-templates-template-back { 577 cursor: pointer; 578 579 .dashicons { 580 vertical-align: text-bottom; 581 } 582 } 583 584 .spinner-wrapper { 585 position: absolute; 586 left: 0; 587 top: 0; 588 right: 0; 589 bottom: 0; 590 display: flex; 591 justify-content: center; 592 align-items: center; 593 background: rgba(0, 0, 0, 0.5); 594 } 595