@akropolys/kiku 1.2.0 → 1.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/styles.css CHANGED
@@ -2478,59 +2478,46 @@
2478
2478
  --hsk-border: #202124;
2479
2479
  }
2480
2480
  }
2481
- .hsk-cb-payment-prompt {
2482
- margin: 12px 0;
2483
- padding: 18px 16px;
2484
- border-radius: 14px;
2485
- background: color-mix(in srgb, var(--hsk-primary, #6366f1) 8%, transparent);
2486
- border: 1px solid color-mix(in srgb, var(--hsk-primary, #6366f1) 25%, transparent);
2487
- text-align: center;
2481
+ .hsk-cb-phone-form {
2488
2482
  display: flex;
2489
2483
  flex-direction: column;
2490
- align-items: center;
2491
- gap: 10px;
2492
- animation: hsk-fade-in 0.3s ease;
2493
- }
2494
- .hsk-cb-payment-icon {
2495
- font-size: 1.5rem;
2484
+ gap: 8px;
2485
+ margin-top: 8px;
2496
2486
  }
2497
- .hsk-cb-payment-label {
2498
- margin: 0;
2487
+ .hsk-cb-phone-label {
2499
2488
  font-size: 0.875rem;
2500
- color: var(--hsk-text, #1f1f1f);
2501
- font-weight: 500;
2489
+ color: var(--hsk-text, inherit);
2490
+ margin: 0;
2502
2491
  }
2503
2492
  .hsk-cb-phone-input {
2504
2493
  width: 100%;
2505
- max-width: 240px;
2506
- padding: 10px 14px;
2507
- border: 1px solid color-mix(in srgb, var(--hsk-primary, #6366f1) 35%, transparent);
2508
- border-radius: 10px;
2494
+ box-sizing: border-box;
2495
+ padding: 8px 12px;
2496
+ border: 1px solid var(--hsk-border, #e4e4e7);
2497
+ border-radius: var(--hsk-radius, 8px);
2509
2498
  background: var(--hsk-bg, #fff);
2510
- color: var(--hsk-text, #1f1f1f);
2499
+ color: var(--hsk-text, inherit);
2511
2500
  font-size: 0.9rem;
2512
- text-align: center;
2513
2501
  outline: none;
2514
- transition: border-color 0.2s;
2502
+ transition: border-color 0.15s;
2515
2503
  }
2516
2504
  .hsk-cb-phone-input:focus {
2517
2505
  border-color: var(--hsk-primary, #6366f1);
2518
- box-shadow: 0 0 0 3px color-mix(in srgb, var(--hsk-primary, #6366f1) 15%, transparent);
2519
2506
  }
2520
- .hsk-cb-pay-submit {
2521
- padding: 10px 22px;
2522
- border-radius: 10px;
2523
- border: none;
2524
- background: var(--hsk-primary, #6366f1);
2525
- color: #fff;
2507
+ .hsk-cb-phone-submit {
2508
+ align-self: flex-start;
2509
+ padding: 8px 16px;
2510
+ border: 1px solid var(--hsk-border, #e4e4e7);
2511
+ border-radius: var(--hsk-radius, 8px);
2512
+ background: var(--hsk-bg, #fff);
2513
+ color: var(--hsk-text, inherit);
2526
2514
  font-size: 0.875rem;
2527
- font-weight: 600;
2515
+ font-weight: 500;
2528
2516
  cursor: pointer;
2529
- transition: opacity 0.2s, transform 0.15s;
2517
+ transition: background 0.15s, border-color 0.15s;
2530
2518
  }
2531
- .hsk-cb-pay-submit:hover {
2532
- opacity: 0.9;
2533
- transform: translateY(-1px);
2519
+ .hsk-cb-phone-submit:hover {
2520
+ border-color: var(--hsk-primary, #6366f1);
2534
2521
  }
2535
2522
  .hsk-checkout-backdrop-full {
2536
2523
  position: fixed;
@@ -3630,6 +3617,40 @@
3630
3617
  font-size: 13px;
3631
3618
  line-height: 1;
3632
3619
  }
3620
+ .hsk-cb-payment-prompt {
3621
+ display: flex;
3622
+ flex-direction: column;
3623
+ align-items: center;
3624
+ justify-content: center;
3625
+ text-align: center;
3626
+ padding: 24px;
3627
+ margin: 12px 0;
3628
+ border-radius: 12px;
3629
+ border: 1px solid var(--hsk-chat-divide, rgba(0,0,0,.1));
3630
+ background: var(--hsk-pill-bg, #ffffff);
3631
+ gap: 12px;
3632
+ }
3633
+ .hsk-cb-payment-label {
3634
+ margin: 0;
3635
+ font-size: 1.05rem;
3636
+ font-weight: 600;
3637
+ color: var(--hsk-chat-text, #1f1f1f);
3638
+ }
3639
+ .hsk-cb-pay-submit {
3640
+ padding: 8px 18px;
3641
+ border-radius: 8px;
3642
+ border: none;
3643
+ background: var(--hsk-primary, #ff6a33);
3644
+ color: #ffffff;
3645
+ font-size: 0.85rem;
3646
+ font-weight: 500;
3647
+ cursor: pointer;
3648
+ font-family: inherit;
3649
+ transition: all .15s;
3650
+ }
3651
+ .hsk-cb-pay-submit:hover {
3652
+ background: color-mix(in srgb, var(--hsk-primary, #ff6a33) 85%, #000000);
3653
+ }
3633
3654
  .hsk-cb-payment-prompt--awaiting {
3634
3655
  position: relative;
3635
3656
  overflow: hidden;