| 1 |
/*-----------------------------------------------------------------------------------*/ |
| 2 |
/* *. Library Importer Style |
| 3 |
/*-----------------------------------------------------------------------------------*/ |
| 4 |
|
| 5 |
:root { |
| 6 |
--main-color:#712cf9; |
| 7 |
--bg-color: white; |
| 8 |
--text-color: #57606a; |
| 9 |
--link-color: #444444; |
| 10 |
--heading-color: #111111; |
| 11 |
--border-color: #e0e0e0; |
| 12 |
--header-bg: white; |
| 13 |
--block-bg: transparent; |
| 14 |
--shadow-color: #0001; |
| 15 |
} |
| 16 |
|
| 17 |
.borderless-library { |
| 18 |
background-color: var(--bg-color); |
| 19 |
} |
| 20 |
|
| 21 |
.borderless-library input { |
| 22 |
border-color: var(--border-color); |
| 23 |
background-color: transparent; |
| 24 |
color: var(--link-color); |
| 25 |
outline-offset: 2px; |
| 26 |
outline: transparent solid 2px; |
| 27 |
} |
| 28 |
|
| 29 |
.borderless-library input:focus { |
| 30 |
background-color: transparent; |
| 31 |
color: var(--link-color) !important; |
| 32 |
border-color: var(--link-color) !important; |
| 33 |
} |
| 34 |
|
| 35 |
.borderless-library__dropdown-nav-link { |
| 36 |
display: flex !important; |
| 37 |
align-items: center; |
| 38 |
justify-content: space-between; |
| 39 |
padding: 0.5rem 0.875rem!important; |
| 40 |
margin-bottom: 0.25rem; |
| 41 |
border-radius: 0.375rem; |
| 42 |
} |
| 43 |
|
| 44 |
.borderless-library__collapse-nav { |
| 45 |
position: relative; |
| 46 |
padding-left: 1.9375rem; |
| 47 |
} |
| 48 |
|
| 49 |
.borderless-library__dropdown-nav-link:focus { |
| 50 |
box-shadow: none; |
| 51 |
} |
| 52 |
|
| 53 |
.borderless-library__collapse-nav::before { |
| 54 |
position: absolute; |
| 55 |
top: 0; |
| 56 |
left: 1.3125rem; |
| 57 |
width: 0.125rem; |
| 58 |
height: calc(100% - 0.25rem); |
| 59 |
content: ""; |
| 60 |
background-color: var(--border-color); |
| 61 |
} |
| 62 |
|
| 63 |
.borderless-library__collapse-nav-link { |
| 64 |
padding: 0.5rem 0.875rem!important; |
| 65 |
margin-bottom: 0.25rem; |
| 66 |
border-radius: 0.375rem; |
| 67 |
} |
| 68 |
|
| 69 |
.borderless-library__collapse-nav-link:focus { |
| 70 |
box-shadow: none; |
| 71 |
} |
| 72 |
|
| 73 |
.borderless-library__dropdown-nav-link::after { |
| 74 |
border: none !important; |
| 75 |
margin: 0 !important; |
| 76 |
vertical-align: 0 !important; |
| 77 |
font-family: "bootstrap-icons"; |
| 78 |
content: "\F282" !important; |
| 79 |
transition: transform .3s; |
| 80 |
} |
| 81 |
|
| 82 |
.borderless-library__dropdown-nav-link[aria-expanded=true]::after { |
| 83 |
-webkit-transform: rotate(-180deg); |
| 84 |
transform: rotate(-180deg); |
| 85 |
} |
| 86 |
|
| 87 |
.borderless-library__collapse-nav-link.active, |
| 88 |
.borderless-library__collapse-nav-link:hover, |
| 89 |
.borderless-library__dropdown-nav-link:hover { |
| 90 |
color: var(--bg-color) !important; |
| 91 |
background-color: var(--main-color); |
| 92 |
} |
| 93 |
|
| 94 |
.borderless-library__dropdown-nav-link-inner { |
| 95 |
display: flex; |
| 96 |
align-items: center; |
| 97 |
} |
| 98 |
|
| 99 |
.borderless-library__dropdown-nav-link-inner i { |
| 100 |
margin-right: 1rem; |
| 101 |
} |
| 102 |
|
| 103 |
.borderless-library__header { |
| 104 |
top: var(--wp-admin--admin-bar--height) !important; |
| 105 |
background-color: var(--bg-color); |
| 106 |
border-bottom: 1px solid var(--border-color); |
| 107 |
z-index: 2; |
| 108 |
} |
| 109 |
|
| 110 |
@media screen and (max-width: 600px) { |
| 111 |
.borderless-library__header { |
| 112 |
top: 0 !important; |
| 113 |
} |
| 114 |
} |
| 115 |
|
| 116 |
.borderless-library__filters { |
| 117 |
position: fixed; |
| 118 |
height: 100%; |
| 119 |
min-height: 100%; |
| 120 |
max-height: 100%; |
| 121 |
min-width: 250px !important; |
| 122 |
max-width: 250px !important; |
| 123 |
padding-top: calc(var(--wp-admin--admin-bar--height) + 60px) !important; |
| 124 |
padding-bottom: var(--wp-admin--admin-bar--height); |
| 125 |
background-color: var(--bg-color); |
| 126 |
border-right: 1px solid var(--border-color); |
| 127 |
overflow-y: auto; |
| 128 |
z-index: 1; |
| 129 |
} |
| 130 |
|
| 131 |
.borderless-library__filters::-webkit-scrollbar { |
| 132 |
width: 0.6125rem; |
| 133 |
} |
| 134 |
|
| 135 |
.borderless-library__filters::-webkit-scrollbar-thumb { |
| 136 |
background-color: var(--border-color); |
| 137 |
} |
| 138 |
|
| 139 |
.borderless-library__filters::-webkit-scrollbar-thumb:hover { |
| 140 |
background-color: var(--text-color); |
| 141 |
} |
| 142 |
|
| 143 |
.borderless-library__filters-inner { |
| 144 |
position: -webkit-sticky; |
| 145 |
position: sticky; |
| 146 |
z-index: 1020; |
| 147 |
} |
| 148 |
|
| 149 |
.borderless-library__templates-container { |
| 150 |
padding-left: 265px !important; |
| 151 |
} |
| 152 |
|
| 153 |
.borderless-library__live-search { |
| 154 |
display: flex; |
| 155 |
align-items: center; |
| 156 |
width: 85%; |
| 157 |
border: 1px solid var(--border-color); |
| 158 |
font-size: 18px; |
| 159 |
padding: 0.75rem 1rem; |
| 160 |
border-radius: 99px; |
| 161 |
transition-property: all; |
| 162 |
transition-timing-function: cubic-bezier(.4,0,.2,1); |
| 163 |
transition-duration: .15s; |
| 164 |
} |
| 165 |
|
| 166 |
.borderless-library__live-search:hover { |
| 167 |
border-color: var(--text-color); |
| 168 |
} |
| 169 |
|
| 170 |
.borderless-library__live-search i { |
| 171 |
font-size: 1.2rem; |
| 172 |
color: var(--link-color); |
| 173 |
} |
| 174 |
|
| 175 |
.borderless-library__live-search input { |
| 176 |
color: var(--link-color); |
| 177 |
font-weight: 600; |
| 178 |
} |
| 179 |
|
| 180 |
.borderless-library__live-search input::placeholder { |
| 181 |
color: #c4c8cf; |
| 182 |
font-weight: 600; |
| 183 |
} |
| 184 |
|
| 185 |
.borderless-library__live-search input, |
| 186 |
.borderless-library__live-search input:hover, |
| 187 |
.borderless-library__live-search input:focus { |
| 188 |
border-color: transparent !important; |
| 189 |
box-shadow: none; |
| 190 |
} |
| 191 |
|
| 192 |
.borderless-library__live-search input |
| 193 |
.borderless-library__live-search input:hover { |
| 194 |
color: var(--link-color); |
| 195 |
} |
| 196 |
|
| 197 |
.borderless-library .navbar-brand { |
| 198 |
background-color: var(--main-color); |
| 199 |
padding: 0.5rem 0.8rem 0.9rem 0.9rem; |
| 200 |
border-radius: 10px; |
| 201 |
} |
| 202 |
|
| 203 |
.borderless-library .navbar-brand img { |
| 204 |
width: 1.5rem; |
| 205 |
} |
| 206 |
|
| 207 |
.borderless-library__template { |
| 208 |
margin-bottom: 1.5rem; |
| 209 |
} |
| 210 |
|
| 211 |
.borderless-library__template-inner { |
| 212 |
border: 1px solid var(--border-color); |
| 213 |
border-radius: 0.75rem; |
| 214 |
transition-property: all; |
| 215 |
transition-timing-function: cubic-bezier(.4,0,.2,1); |
| 216 |
transition-duration: .15s; |
| 217 |
} |
| 218 |
|
| 219 |
.borderless-library__template-inner:hover { |
| 220 |
border-color: var(--text-color); |
| 221 |
} |
| 222 |
|
| 223 |
.borderless-library__template-item-image { |
| 224 |
width: 100%; |
| 225 |
border-radius: 0.75rem 0.75rem 0 0; |
| 226 |
} |
| 227 |
|
| 228 |
.borderless-library__template-body { |
| 229 |
padding: 2rem; |
| 230 |
} |
| 231 |
|
| 232 |
.borderless-library__template-body-page-builder { |
| 233 |
height: 48px; |
| 234 |
width: 48px; |
| 235 |
margin-bottom: 2rem; |
| 236 |
} |
| 237 |
|
| 238 |
.borderless-library__template-body-title { |
| 239 |
font-size: 1.2rem; |
| 240 |
margin-bottom: 2rem; |
| 241 |
} |
| 242 |
|
| 243 |
.borderless-library__template-body-buttons { |
| 244 |
display: flex; |
| 245 |
flex-direction: column; |
| 246 |
} |
| 247 |
|
| 248 |
.borderless-library__template-body-button:first-child { |
| 249 |
margin-bottom: 1rem; |
| 250 |
} |
| 251 |
|
| 252 |
.borderless-library__template-body-button { |
| 253 |
width: 100%; |
| 254 |
background-color: transparent; |
| 255 |
color: var(--link-color); |
| 256 |
height: 46px; |
| 257 |
font-size: 18px; |
| 258 |
text-decoration: none; |
| 259 |
line-height: 0; |
| 260 |
border: 1px solid var(--border-color); |
| 261 |
border-radius: 23px; |
| 262 |
padding: 20px; |
| 263 |
transition-property: all; |
| 264 |
transition-timing-function: cubic-bezier(.4,0,.2,1); |
| 265 |
transition-duration: .15s; |
| 266 |
} |
| 267 |
|
| 268 |
.borderless-library__template-body-button:hover { |
| 269 |
color: var(--link-color); |
| 270 |
border-color: var(--text-color); |
| 271 |
} |
| 272 |
|
| 273 |
.borderless-library__template-body-button--no-license { |
| 274 |
color: var(--bg-color); |
| 275 |
background-color: var(--main-color); |
| 276 |
border-color: var(--main-color); |
| 277 |
} |
| 278 |
|
| 279 |
.borderless-library__template-body-button--no-license:hover { |
| 280 |
color: var(--bg-color); |
| 281 |
border-color: var(--main-color); |
| 282 |
} |
| 283 |
|
| 284 |
#wpfooter, |
| 285 |
.borderless-library .notice { |
| 286 |
display: none !important; |
| 287 |
} |
| 288 |
|
| 289 |
#wpcontent, |
| 290 |
#wpbody-content { |
| 291 |
padding:0; |
| 292 |
} |
| 293 |
|
| 294 |
|
| 295 |
/* Import Page */ |
| 296 |
|
| 297 |
.borderless-library-import__content { |
| 298 |
display: flex; |
| 299 |
flex-direction: column; |
| 300 |
justify-content: center; |
| 301 |
align-items: center; |
| 302 |
min-height: 50vw; |
| 303 |
border: 1px solid var(--border-color); |
| 304 |
border-radius: 0.75rem; |
| 305 |
transition-property: all; |
| 306 |
transition-timing-function: cubic-bezier(.4,0,.2,1); |
| 307 |
transition-duration: .15s; |
| 308 |
} |
| 309 |
|
| 310 |
.borderless-library-import__content:hover { |
| 311 |
border-color: var(--text-color); |
| 312 |
} |
| 313 |
|
| 314 |
.borderless-library-import__required-plugins { |
| 315 |
width: 100%; |
| 316 |
} |
| 317 |
|
| 318 |
|
| 319 |
|
| 320 |
.borderless-library-import__plugins.list-group { |
| 321 |
max-width: 600px; |
| 322 |
margin: 2rem auto; |
| 323 |
} |
| 324 |
|
| 325 |
.borderless-library-import__plugins .form-check-input:checked + .form-checked-content { |
| 326 |
opacity: .5; |
| 327 |
} |
| 328 |
|
| 329 |
.borderless-library-import__plugins .form-check-input-placeholder { |
| 330 |
border-style: dashed; |
| 331 |
} |
| 332 |
.borderless-library-import__plugins [contenteditable]:focus { |
| 333 |
outline: 0; |
| 334 |
} |
| 335 |
|
| 336 |
.borderless-library-import__plugins .list-group-checkable .list-group-item { |
| 337 |
cursor: pointer; |
| 338 |
} |
| 339 |
.borderless-library-import__plugins .list-group-item-check { |
| 340 |
position: absolute; |
| 341 |
clip: rect(0, 0, 0, 0); |
| 342 |
} |
| 343 |
.borderless-library-import__plugins .list-group-item-check:hover + .list-group-item { |
| 344 |
background-color: var(--main-color); |
| 345 |
} |
| 346 |
.borderless-library-import__plugins .list-group-item-check:checked + .list-group-item { |
| 347 |
color: #fff; |
| 348 |
background-color: var(--main-color); |
| 349 |
} |
| 350 |
.borderless-library-import__plugins .list-group-item-check[disabled] + .list-group-item, |
| 351 |
.borderless-library-import__plugins .list-group-item-check:disabled + .list-group-item { |
| 352 |
pointer-events: none; |
| 353 |
filter: none; |
| 354 |
opacity: .5; |
| 355 |
} |
| 356 |
|
| 357 |
.borderless-library-import__plugin:not(.plugin-item--active) .borderless-library-import__plugin-item-checkbox input { |
| 358 |
background-image: none !important; |
| 359 |
} |
| 360 |
|
| 361 |
.borderless-library-import__plugin:not(.plugin-item--loading) .borderless-library-import__plugin-loading { |
| 362 |
display: none; |
| 363 |
} |
| 364 |
|
| 365 |
.borderless-library-import__plugins.list-group-radio .list-group-item { |
| 366 |
cursor: pointer; |
| 367 |
border-radius: .5rem !important; |
| 368 |
transition-property: all; |
| 369 |
transition-timing-function: ease-in-out; |
| 370 |
transition-duration: .15s; |
| 371 |
} |
| 372 |
.borderless-library-import__plugins.list-group-radio .form-check-input { |
| 373 |
z-index: 2; |
| 374 |
margin-top: -.5em; |
| 375 |
width: 1em; |
| 376 |
height: 1em; |
| 377 |
vertical-align: top; |
| 378 |
background-color: var(--bg-color); |
| 379 |
background-repeat: no-repeat; |
| 380 |
background-position: center; |
| 381 |
background-size: contain; |
| 382 |
border: 1px solid var(--border-color); |
| 383 |
border-radius: 99px !important; |
| 384 |
appearance: none; |
| 385 |
print-color-adjust: exact; |
| 386 |
box-shadow: none !important; |
| 387 |
} |
| 388 |
|
| 389 |
|
| 390 |
|
| 391 |
|
| 392 |
|
| 393 |
|
| 394 |
.borderless-library-import__plugins input[type=checkbox]:focus, |
| 395 |
.borderless-library-import__plugins.list-group-radio .list-group-item:hover, |
| 396 |
.borderless-library-import__plugins.list-group-radio .list-group-item:focus { |
| 397 |
border-color: var(--main-color) !important; |
| 398 |
background-color: var(--bs-light); |
| 399 |
box-shadow: none !important; |
| 400 |
} |
| 401 |
|
| 402 |
.borderless-library-import__plugins.list-group-radio .form-check-input:checked + .list-group-item { |
| 403 |
background-color: var(--bs-body); |
| 404 |
border-color: var(--main-color); |
| 405 |
box-shadow: 0 0 0 2px var(--main-color); |
| 406 |
} |
| 407 |
.borderless-library-import__plugins.list-group-radio .form-check-input[disabled] + .list-group-item, |
| 408 |
.borderless-library-import__plugins.list-group-radio .form-check-input:disabled + .list-group-item { |
| 409 |
pointer-events: none; |
| 410 |
filter: none; |
| 411 |
opacity: .5; |
| 412 |
} |
| 413 |
|
| 414 |
|
| 415 |
.borderless-library-import__plugins input[type=checkbox]:checked::before { |
| 416 |
display: none; |
| 417 |
} |
| 418 |
|
| 419 |
.borderless-library-import__plugins .form-check-input:checked { |
| 420 |
background-color: var(--main-color) !important; |
| 421 |
border-color: var(--main-color) !important; |
| 422 |
} |
| 423 |
|
| 424 |
|
| 425 |
|
| 426 |
.borderless-library-import__plugin-checkbox { |
| 427 |
display: flex; |
| 428 |
margin-top: -14px; |
| 429 |
margin-right: 12px; |
| 430 |
z-index: 1; |
| 431 |
} |
| 432 |
|
| 433 |
.borderless-library-import__plugin-checkbox .spinner-border { |
| 434 |
border: var(--bs-spinner-border-width) solid var(--border-color); |
| 435 |
border-right-color: transparent; |
| 436 |
height: 1.75rem; |
| 437 |
width: 1.75rem; |
| 438 |
} |
| 439 |
|
| 440 |
.borderless-library-import__plugin-checkbox i { |
| 441 |
color: var(--main-color) !important; |
| 442 |
} |
| 443 |
|
| 444 |
|
| 445 |
.borderless-library-import__content-buttons a { |
| 446 |
border-radius: 999px; |
| 447 |
} |
| 448 |
|
| 449 |
.borderless-library-import__content-button-cancel { |
| 450 |
color: var(--link-color); |
| 451 |
border: 1px solid var(--border-color) !important; |
| 452 |
background-color: transparent; |
| 453 |
} |
| 454 |
|
| 455 |
.borderless-library-import__content-button-cancel:hover { |
| 456 |
color: var(--link-color); |
| 457 |
border-color: var(--text-color) !important; |
| 458 |
} |
| 459 |
|
| 460 |
.borderless-library-import__content-button-import { |
| 461 |
color: var(--bg-color) !important; |
| 462 |
background-color: var(--main-color) !important; |
| 463 |
border-color: var(--main-color) !important; |
| 464 |
} |
| 465 |
|
| 466 |
|
| 467 |
/* Import Page / Installing */ |
| 468 |
|
| 469 |
.borderless-library-import__installing { |
| 470 |
display: none; |
| 471 |
width: 100%; |
| 472 |
} |
| 473 |
|
| 474 |
.borderless-library-import__installing-progress { |
| 475 |
background-color: var(--main-color) !important; |
| 476 |
} |
| 477 |
|
| 478 |
|
| 479 |
/* Import Page / Icon Installing */ |
| 480 |
|
| 481 |
.borderless-library-import__installing-icon-container { |
| 482 |
position: relative; |
| 483 |
height: 360px; |
| 484 |
} |
| 485 |
|
| 486 |
.borderless-library-import__installing-icon { |
| 487 |
background-color: var(--main-color)!important; |
| 488 |
background-image: var(--main-color); |
| 489 |
} |
| 490 |
.borderless-library-import__installing-icon{ |
| 491 |
height:120px; |
| 492 |
width:120px; |
| 493 |
position:absolute; |
| 494 |
top:50%; |
| 495 |
left:50%; |
| 496 |
text-align:center; |
| 497 |
margin:-60px 0 0 -60px; |
| 498 |
border-radius:100px; |
| 499 |
z-index:1 |
| 500 |
} |
| 501 |
.borderless-library-import__installing-icon i{ |
| 502 |
line-height:56px; |
| 503 |
font-size:30px |
| 504 |
} |
| 505 |
.borderless-library-import__installing-icon .ripple{ |
| 506 |
position:absolute; |
| 507 |
width:320px; |
| 508 |
height:320px; |
| 509 |
z-index:-1; |
| 510 |
left:50%; |
| 511 |
top:50%; |
| 512 |
opacity:0; |
| 513 |
margin:-160px 0 0 -160px; |
| 514 |
border-radius:999px; |
| 515 |
-webkit-animation:ripple 1.8s infinite; |
| 516 |
animation:ripple 1.8s infinite |
| 517 |
} |
| 518 |
|
| 519 |
@-webkit-keyframes ripple{ |
| 520 |
0%{ |
| 521 |
opacity:1; |
| 522 |
-webkit-transform:scale(0); |
| 523 |
transform:scale(0) |
| 524 |
} |
| 525 |
100%{ |
| 526 |
opacity:0; |
| 527 |
-webkit-transform:scale(1); |
| 528 |
transform:scale(1) |
| 529 |
} |
| 530 |
} |
| 531 |
@keyframes ripple{ |
| 532 |
0%{ |
| 533 |
opacity:1; |
| 534 |
-webkit-transform:scale(0); |
| 535 |
transform:scale(0) |
| 536 |
} |
| 537 |
100%{ |
| 538 |
opacity:0; |
| 539 |
-webkit-transform:scale(1); |
| 540 |
transform:scale(1) |
| 541 |
} |
| 542 |
} |
| 543 |
.borderless-library-import__installing-icon .ripple:nth-child(2){ |
| 544 |
animation-delay:.3s; |
| 545 |
-webkit-animation-delay:.3s |
| 546 |
} |
| 547 |
.borderless-library-import__installing-icon .ripple:nth-child(3){ |
| 548 |
animation-delay:.6s; |
| 549 |
-webkit-animation-delay:.6s |
| 550 |
} |
| 551 |
|
| 552 |
/* Import Page / Imported */ |
| 553 |
|
| 554 |
.borderless-library-import__imported { |
| 555 |
width: 100%; |
| 556 |
display: none; |
| 557 |
} |
| 558 |
|
| 559 |
.borderless-library-import__imported-icon, |
| 560 |
.borderless-library-import__failed-imported-icon { |
| 561 |
color: var(--main-color); |
| 562 |
font-size: 8rem; |
| 563 |
} |