decaptcha.css (11687B)
1 @media only screen and (max-width: 556px) { 2 .popout-box.login { 3 height: 650px; 4 } 5 6 .decaptcha { 7 text-align: center; 8 } 9 } 10 11 .decaptcha { 12 width: 250px; 13 font-size: 0; 14 position: relative; 15 } 16 17 form.std > .decaptcha, 18 .addComments > form.add-comment > .decaptcha { 19 margin: 0 0 10px !important; 20 } 21 22 form > .decaptcha { 23 margin: 0 auto 10px auto; 24 } 25 26 .decaptcha > .init-ui { 27 display: inline-block; 28 vertical-align: top; 29 width: 250px; 30 position: relative; 31 padding: 20px 10px 20px 50px; 32 border-radius: 3px; 33 border: 1px solid #ccc; 34 background-color: #fff; 35 height: 58px; 36 } 37 38 .decaptcha > .init-ui > .text { 39 font-size: 16px; 40 color: #000; 41 text-align: left; 42 } 43 44 .decaptcha > .init-ui > .check { 45 width: 30px; 46 height: 30px; 47 border: 1px solid #888; 48 border-radius: 3px; 49 position: absolute; 50 top: 50%; 51 left: 10px; 52 margin-top: -15px; 53 background: #fff; 54 transition: border-color 0.5s ease-in-out; 55 } 56 57 .decaptcha > .init-ui > .check:before { 58 position: absolute; 59 top: 16px; 60 left: 3px; 61 width: 0; 62 height: 3px; 63 background: #9b59b6; 64 content: ""; 65 transform: rotate(45deg); 66 opacity: 0; 67 } 68 69 @keyframes decaptcha-check-left { 70 from { 71 width: 0; 72 opacity: 0; 73 } 74 75 to { 76 width: 8px; 77 opacity: 1; 78 } 79 } 80 81 .decaptcha > .init-ui > .check:after { 82 position: absolute; 83 top: 13px; 84 left: 6px; 85 width: 0; 86 height: 3px; 87 background: #9b59b6; 88 content: ""; 89 transform: rotate(-45deg); 90 opacity: 0; 91 } 92 93 @keyframes decaptcha-check-right { 94 from { 95 width: 0; 96 opacity: 0; 97 } 98 99 to { 100 width: 20px; 101 opacity: 1; 102 } 103 } 104 105 .decaptcha > .event { 106 cursor: pointer; 107 position: absolute; 108 bottom: 0; 109 left: 0; 110 margin: 0; 111 padding: 0; 112 width: 100%; 113 height: 58px; 114 opacity: 0; 115 z-index: 10; 116 } 117 118 .decaptcha:hover > .init-ui > .check { 119 border-color: #333; 120 } 121 122 .decaptcha > .init-ui > .check > .spinner { 123 width: 18px; 124 height: 18px; 125 position: absolute; 126 top: 50%; 127 left: 0; 128 right: 0; 129 margin: -9px auto 0 auto; 130 border-radius: 100%; 131 border: 2px solid transparent; 132 border-left: 2px solid #666; 133 border-top: 2px solid #666; 134 animation: decaptcha-spinner 1s linear infinite; 135 opacity: 0; 136 transition: opacity 0.5s ease-in-out; 137 } 138 139 @-webkit-keyframes decaptcha-spinner { 140 0% { 141 transform: rotate(0deg); 142 } 143 144 100% { 145 transform: rotate(360deg); 146 } 147 } 148 149 .decaptcha > .event:checked ~ .init-ui > .check > .spinner { 150 opacity: 1; 151 } 152 153 .decaptcha > .event:checked ~ .init-ui > .check { 154 border-color: #9b59b6; 155 } 156 157 .decaptcha > .decaptcha-ui { 158 position: absolute; 159 bottom: 63px; 160 left: 5px; 161 padding-top: 10px; 162 width: 240px; 163 background: #fff; 164 text-align: center; 165 height: 240px; 166 color: #000; 167 font-size: 16px; 168 border-radius: 3px; 169 border: 1px solid #666; 170 z-index: 15; 171 } 172 173 .decaptcha > .decaptcha-ui > .query { 174 width: 100%; 175 text-align: center; 176 position: relative; 177 font-size: 16px; 178 line-height: 18px; 179 height: 36px; 180 } 181 182 .decaptcha > .decaptcha-ui > .query > .riddle { 183 position: absolute; 184 top: 50%; 185 left: 0; 186 right: 0; 187 margin: 0 auto; 188 width: 100%; 189 transform: translateY(-50%); 190 } 191 192 .decaptcha > .decaptcha-ui:after, 193 .decaptcha > .decaptcha-ui:before { 194 position: absolute; 195 width: 0; 196 height: 0; 197 border-style: solid; 198 border-width: 10px 8px 0 8px; 199 border-color: #fff transparent transparent transparent; 200 top: 100%; 201 left: 12px; 202 content: ""; 203 } 204 205 .decaptcha > .decaptcha-ui:before { 206 top: calc(100% + 2px); 207 border-color: #666 transparent transparent transparent; 208 } 209 210 .decaptcha > input[type="checkbox"][name^="captcha_answer"] { 211 position: absolute; 212 width: 50px; 213 height: 50px; 214 border: 1px solid #000; 215 cursor: pointer; 216 margin: 0; 217 padding: 0; 218 bottom: 248px; 219 left: 20px; 220 z-index: 20; 221 background: none; 222 opacity: 0; 223 } 224 225 .decaptcha > .captcha_thumb { 226 position: absolute; 227 width: 50px; 228 height: 50px; 229 border: 1px solid #000; 230 cursor: pointer; 231 margin: 0; 232 padding: 0; 233 bottom: 248px; 234 left: 15px; 235 z-index: 15; 236 border-radius: 100%; 237 transition: transform 0.5s ease-in-out, border-color 0.5s ease-in-out; 238 overflow: hidden; 239 background-size: 200px auto; 240 } 241 242 .decaptcha > .captcha_thumb > .dull { 243 position: absolute; 244 top: 0; 245 left: 0; 246 width: 100%; 247 height: 100%; 248 opacity: 0; 249 background: #000; 250 transition: opacity 0.5s ease-in-out; 251 } 252 253 .decaptcha > .captcha_thumb:before { 254 position: absolute; 255 top: 26px; 256 left: 13px; 257 width: 0; 258 height: 3px; 259 background: #fff; 260 content: ""; 261 transform: rotate(45deg); 262 opacity: 0; 263 z-index: 15; 264 } 265 266 .decaptcha > .captcha_thumb:after { 267 position: absolute; 268 top: 23px; 269 left: 16px; 270 width: 0; 271 height: 3px; 272 background: #fff; 273 content: ""; 274 transform: rotate(-45deg); 275 opacity: 0; 276 z-index: 15; 277 } 278 279 .decaptcha > .captcha_thumb_id_1 { 280 bottom: 198px; 281 left: 15px; 282 background-position: 0 0; 283 } 284 285 .decaptcha > .captcha_thumb_id_2 { 286 bottom: 198px; 287 left: 71px; 288 background-position: -50px 0; 289 } 290 291 .decaptcha > .captcha_thumb_id_3 { 292 bottom: 198px; 293 left: 126px; 294 background-position: -100px 0; 295 } 296 297 .decaptcha > .captcha_thumb_id_4 { 298 bottom: 198px; 299 left: 182px; 300 background-position: -150px 0; 301 } 302 303 .decaptcha > .captcha_thumb_id_5 { 304 bottom: 143px; 305 left: 15px; 306 background-position: 0 -50px; 307 } 308 309 .decaptcha > .captcha_thumb_id_6 { 310 bottom: 143px; 311 left: 71px; 312 background-position: -50px -50px; 313 } 314 315 .decaptcha > .captcha_thumb_id_7 { 316 bottom: 143px; 317 left: 126px; 318 background-position: -100px -50px; 319 } 320 321 .decaptcha > .captcha_thumb_id_8 { 322 bottom: 143px; 323 left: 182px; 324 background-position: -150px -50px; 325 } 326 327 .decaptcha > .captcha_thumb_id_9 { 328 bottom: 88px; 329 left: 15px; 330 background-position: 0 -100px; 331 } 332 333 .decaptcha > .captcha_thumb_id_10 { 334 bottom: 88px; 335 left: 71px; 336 background-position: -50px -100px; 337 } 338 339 .decaptcha > .captcha_thumb_id_11 { 340 bottom: 88px; 341 left: 126px; 342 background-position: -100px -100px; 343 } 344 345 .decaptcha > .captcha_thumb_id_12 { 346 bottom: 88px; 347 left: 182px; 348 background-position: -150px -100px; 349 } 350 351 .decaptcha > input[type="checkbox"][name="captcha_answer[1]"] { 352 bottom: 198px; 353 left: 15px; 354 } 355 356 .decaptcha > input[type="checkbox"][name="captcha_answer[2]"] { 357 bottom: 198px; 358 left: 71px; 359 } 360 361 .decaptcha > input[type="checkbox"][name="captcha_answer[3]"] { 362 bottom: 198px; 363 left: 126px; 364 } 365 366 .decaptcha > input[type="checkbox"][name="captcha_answer[4]"] { 367 bottom: 198px; 368 left: 182px; 369 } 370 371 .decaptcha > input[type="checkbox"][name="captcha_answer[5]"] { 372 bottom: 143px; 373 left: 15px; 374 } 375 376 .decaptcha > input[type="checkbox"][name="captcha_answer[6]"] { 377 bottom: 143px; 378 left: 71px; 379 } 380 381 .decaptcha > input[type="checkbox"][name="captcha_answer[7]"] { 382 bottom: 143px; 383 left: 126px; 384 } 385 386 .decaptcha > input[type="checkbox"][name="captcha_answer[8]"] { 387 bottom: 143px; 388 left: 182px; 389 } 390 391 .decaptcha > input[type="checkbox"][name="captcha_answer[9]"] { 392 bottom: 88px; 393 left: 15px; 394 } 395 396 .decaptcha > input[type="checkbox"][name="captcha_answer[10]"] { 397 bottom: 88px; 398 left: 71px; 399 } 400 401 .decaptcha > input[type="checkbox"][name="captcha_answer[11]"] { 402 bottom: 88px; 403 left: 126px; 404 } 405 406 .decaptcha > input[type="checkbox"][name="captcha_answer[12]"] { 407 bottom: 88px; 408 left: 182px; 409 } 410 411 .decaptcha > input[type="checkbox"][name^="captcha_answer"]:hover, 412 .decaptcha 413 > input[type="checkbox"][name^="captcha_answer"]:hover 414 + .captcha_thumb { 415 transform: scale(1.4); 416 } 417 418 .decaptcha 419 > input[type="checkbox"][name^="captcha_answer"]:hover 420 + .captcha_thumb { 421 z-index: 16; 422 } 423 424 .decaptcha 425 > input[type="checkbox"][name^="captcha_answer"]:checked 426 + .captcha_thumb { 427 border-color: #9b59b6; 428 } 429 430 .decaptcha 431 > input[type="checkbox"][name^="captcha_answer"]:checked 432 + .captcha_thumb:before { 433 opacity: 1; 434 } 435 436 .decaptcha 437 > input[type="checkbox"][name^="captcha_answer"]:checked 438 + .captcha_thumb:after { 439 opacity: 1; 440 } 441 442 .decaptcha 443 > input[type="checkbox"][name^="captcha_answer"]:checked 444 + .captcha_thumb 445 > .dull { 446 opacity: 0.5; 447 } 448 449 .decaptcha 450 > input[type="checkbox"][name^="captcha_answer"]:checked 451 ~ .init-ui 452 > .check:before, 453 .decaptcha 454 > input[type="checkbox"][name^="captcha_answer"]:checked 455 + .captcha_thumb:before { 456 animation: decaptcha-check-left 1s; 457 animation-fill-mode: forwards; 458 } 459 460 .decaptcha 461 > input[type="checkbox"][name^="captcha_answer"]:checked 462 ~ .init-ui 463 > .check:after, 464 .decaptcha 465 > input[type="checkbox"][name^="captcha_answer"]:checked 466 + .captcha_thumb:after { 467 animation: decaptcha-check-right 1s; 468 animation-fill-mode: forwards; 469 } 470 471 .decaptcha > .decaptcha-ui, 472 .decaptcha > input[type="checkbox"][name^="captcha_answer"], 473 .decaptcha > .captcha_thumb { 474 display: none; 475 } 476 477 .decaptcha > .event:checked ~ .decaptcha-ui, 478 .decaptcha > .event:checked ~ input[type="checkbox"][name^="captcha_answer"], 479 .decaptcha > .event:checked ~ .captcha_thumb { 480 display: block; 481 } 482 483 .decaptcha 484 > input[type="checkbox"][name^="captcha_answer"]:checked 485 ~ .init-ui 486 > .check 487 > .spinner { 488 display: none; 489 } 490 491 .popout-box:not(.login) .decaptcha > .event:checked ~ .init-ui { 492 margin-top: 250px; 493 } 494 495 .popout-box.message-reply .decaptcha > .event:checked ~ .init-ui { 496 margin-top: 50px; 497 } 498 499 .cbdespinner { 500 position:relative; 501 width:2em; 502 height:2em; 503 display:flex; 504 margin:2em 1em; 505 align-items:center; 506 justify-content:center; 507 } 508 509 .cbdespinner input[type="checkbox"] { 510 position: absolute; 511 opacity: 0; 512 z-index: -1; 513 } 514 515 .cbdespinner input[type="checkbox"]+.checkmark { 516 display:inline-block; 517 width:2em; 518 height:2em; 519 background-color:#fcfcfc; 520 border:2.5px solid #c3c3c3; 521 border-radius:3px; 522 display:flex; 523 justify-content:center; 524 align-items:center; 525 cursor: pointer; 526 } 527 528 .cbdespinner input[type="checkbox"]+.checkmark span { 529 content:''; 530 position:relative;/* 531 position:absolute; 532 border-bottom:3px solid; 533 border-right:3px solid; 534 border-color:#029f56;*/ 535 margin-top:-3px; 536 transform:rotate(45deg); 537 width:.75em; 538 height:1.2em; 539 opacity:0; 540 } 541 542 .cbdespinner input[type="checkbox"]+.checkmark>span:after { 543 content:''; 544 position:absolute; 545 display:block; 546 height:3px; 547 bottom:0;left:0; 548 background-color:#029f56; 549 } 550 551 .cbdespinner input[type="checkbox"]+.checkmark>span:before { 552 content:''; 553 position:absolute; 554 display:block; 555 width:3px; 556 bottom:0;right:0; 557 background-color:#029f56; 558 } 559 560 .cbdespinner input[type="checkbox"]:checked+.checkmark { 561 animation:2s cbdespin forwards; 562 } 563 564 .cbdespinner input[type="checkbox"]:checked+.checkmark>span { 565 animation:1s cbdefadein 1.9s forwards; 566 } 567 568 .cbdespinner input[type="checkbox"]:checked+.checkmark>span:after {animation:.3s cbdebottomslide 2s forwards;} 569 .cbdespinner input[type="checkbox"]:checked+.checkmark>span:before {animation:.5s cbderightslide 2.2s forwards;} 570 571 @keyframes cbdefadein { 572 0% {opacity:0;} 573 100% {opacity:1;} 574 } 575 @keyframes cbdebottomslide { 576 0% {width:0;} 577 100% {width:100%;} 578 } 579 @keyframes cbderightslide { 580 0% {height:0;} 581 100% {height:100%;} 582 } 583 584 @keyframes cbdespin { 585 10% { 586 width:0; 587 height:0; 588 border-width:6px; 589 } 590 30% { 591 width:0; 592 height:0; 593 border-radius:50%; 594 border-width:1em; 595 transform: rotate(0deg); 596 border-color:rgb(199,218,245); 597 } 598 50% { 599 width:2em; 600 height:2em; 601 border-radius:50%; 602 border-width:4px; 603 border-color:rgb(199,218,245); 604 border-right-color:rgb(89,152,239); 605 } 606 70% { 607 border-width:4px; 608 border-color:rgb(199,218,245); 609 border-right-color:rgb(89,152,239); 610 } 611 90% { 612 border-width:4px; 613 } 614 100% { 615 width:2em; 616 height:2em; 617 border-radius:50%; 618 transform: rotate(720deg); 619 border-color:transparent; 620 } 621 } 622 ::selection { 623 background-color:transparent; 624 color:teal; 625 } 626 ::-moz-selection { 627 background-color:transparent; 628 color:teal; 629 } 630 631 /* 632 <div class="cbdespinner"> 633 <label> 634 <input type="checkbox"> 635 <span class="cbdecheckmark"><span> </span></span> 636 </label> 637 </div> 638 */