santycss 2.4.8 → 2.5.0

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.
@@ -7351,3 +7351,375 @@
7351
7351
  }
7352
7352
  .animate-dragon-fire { animation: santy-dragon-fire 1.6s ease-out infinite; transform-origin: left center; }
7353
7353
  .animate-fire-flicker { animation: santy-fire-flicker 0.14s ease-in-out infinite; }
7354
+
7355
+ /* ═══════════════════════════════════════════════════════════════════════
7356
+ PORTFOLIO TEMPLATE COMPONENTS (Added v2.4.9)
7357
+ ═══════════════════════════════════════════════════════════════════════ */
7358
+
7359
+ /* ── Icon base class for essential UI icons (uses --icon-url variable) ── */
7360
+ .icon {
7361
+ display: inline-block;
7362
+ background-color: currentColor;
7363
+ -webkit-mask: var(--icon-url, none) no-repeat center / contain;
7364
+ mask: var(--icon-url, none) no-repeat center / contain;
7365
+ vertical-align: -0.125em;
7366
+ flex-shrink: 0;
7367
+ width: 1em;
7368
+ height: 1em;
7369
+ }
7370
+ .icon-16 { width: 16px; height: 16px; }
7371
+ .icon-20 { width: 20px; height: 20px; }
7372
+ .icon-24 { width: 24px; height: 24px; }
7373
+ .icon-28 { width: 28px; height: 28px; }
7374
+ .icon-32 { width: 32px; height: 32px; }
7375
+ .icon-40 { width: 40px; height: 40px; }
7376
+ .icon-48 { width: 48px; height: 48px; }
7377
+
7378
+ /* ── Near-black background utility ── */
7379
+ .background-zinc-950 { background-color: #09090b; }
7380
+
7381
+ /* ── Full-page scroll-snap container ── */
7382
+ .portfolio-snap {
7383
+ height: 100vh;
7384
+ overflow-y: scroll;
7385
+ scroll-snap-type: y mandatory;
7386
+ scroll-behavior: smooth;
7387
+ overscroll-behavior: none;
7388
+ }
7389
+ .portfolio-snap::-webkit-scrollbar { display: none; }
7390
+ .portfolio-snap { -ms-overflow-style: none; scrollbar-width: none; }
7391
+
7392
+ /* ── Snap section (full-vh, overflow hidden) ── */
7393
+ .snap-section {
7394
+ height: 100vh;
7395
+ min-height: 100vh;
7396
+ scroll-snap-align: start;
7397
+ scroll-snap-stop: always;
7398
+ overflow: hidden;
7399
+ position: relative;
7400
+ }
7401
+
7402
+ /* ── Snap section with internal scroll ── */
7403
+ .snap-section-scrollable {
7404
+ height: 100vh;
7405
+ scroll-snap-align: start;
7406
+ scroll-snap-stop: always;
7407
+ overflow-y: auto;
7408
+ overscroll-behavior: contain;
7409
+ position: relative;
7410
+ }
7411
+ .snap-section-scrollable::-webkit-scrollbar { width: 3px; }
7412
+ .snap-section-scrollable::-webkit-scrollbar-track { background: transparent; }
7413
+ .snap-section-scrollable::-webkit-scrollbar-thumb { background: rgba(247,191,4,0.3); border-radius: 9999px; }
7414
+
7415
+ /* ── Right-side dot navigation ── */
7416
+ .portfolio-right-nav {
7417
+ position: fixed;
7418
+ right: 28px;
7419
+ top: 50%;
7420
+ transform: translateY(-50%);
7421
+ display: flex;
7422
+ flex-direction: column;
7423
+ align-items: center;
7424
+ gap: 14px;
7425
+ z-index: 100;
7426
+ }
7427
+ @media (max-width: 767px) { .portfolio-right-nav { display: none; } }
7428
+
7429
+ .nav-dot {
7430
+ display: block;
7431
+ width: 10px;
7432
+ height: 10px;
7433
+ border-radius: 9999px;
7434
+ background: rgba(255,255,255,0.2);
7435
+ border: none;
7436
+ cursor: pointer;
7437
+ text-decoration: none;
7438
+ transition: all 0.25s ease;
7439
+ position: relative;
7440
+ }
7441
+ .nav-dot::after {
7442
+ content: attr(data-label);
7443
+ position: absolute;
7444
+ right: 20px;
7445
+ top: 50%;
7446
+ transform: translateY(-50%);
7447
+ background: #f7bf04;
7448
+ color: #111;
7449
+ font-size: 11px;
7450
+ font-weight: 700;
7451
+ padding: 3px 10px;
7452
+ border-radius: 6px;
7453
+ white-space: nowrap;
7454
+ opacity: 0;
7455
+ pointer-events: none;
7456
+ transition: opacity 0.2s;
7457
+ font-family: ui-sans-serif, system-ui, sans-serif;
7458
+ }
7459
+ .nav-dot:hover::after { opacity: 1; }
7460
+ .nav-dot:hover { background: rgba(255,255,255,0.5); transform: scale(1.3); }
7461
+ .nav-dot.nav-dot-active {
7462
+ background: #f7bf04;
7463
+ transform: scale(1.4);
7464
+ box-shadow: 0 0 0 3px rgba(247,191,4,0.25);
7465
+ }
7466
+
7467
+ /* ── Glass card ── */
7468
+ .glass-card {
7469
+ background: rgba(255,255,255,0.05);
7470
+ backdrop-filter: blur(12px);
7471
+ -webkit-backdrop-filter: blur(12px);
7472
+ border: 1px solid rgba(255,255,255,0.1);
7473
+ border-radius: 16px;
7474
+ }
7475
+ .glass-card-light {
7476
+ background: rgba(255,255,255,0.08);
7477
+ backdrop-filter: blur(16px);
7478
+ -webkit-backdrop-filter: blur(16px);
7479
+ border: 1px solid rgba(255,255,255,0.15);
7480
+ border-radius: 16px;
7481
+ }
7482
+
7483
+ /* ── Large avatar with animated gradient ring ── */
7484
+ .avatar-ring-lg {
7485
+ position: relative;
7486
+ width: 130px;
7487
+ height: 130px;
7488
+ flex-shrink: 0;
7489
+ }
7490
+ .avatar-ring-lg::before {
7491
+ content: '';
7492
+ position: absolute;
7493
+ inset: -4px;
7494
+ border-radius: 50%;
7495
+ background: conic-gradient(#f7bf04, #fcd34d, rgba(255,255,255,0.04), #f7bf04);
7496
+ animation: santy-spin 4s linear infinite;
7497
+ z-index: 0;
7498
+ }
7499
+ .avatar-ring-lg > img,
7500
+ .avatar-ring-lg > .avatar-photo {
7501
+ position: relative;
7502
+ z-index: 1;
7503
+ width: 100%;
7504
+ height: 100%;
7505
+ border-radius: 50%;
7506
+ object-fit: cover;
7507
+ display: block;
7508
+ border: 4px solid #09090b;
7509
+ }
7510
+
7511
+ /* ── Skill bar track + fill ── */
7512
+ .skill-bar-track {
7513
+ width: 100%;
7514
+ height: 6px;
7515
+ background: rgba(255,255,255,0.1);
7516
+ border-radius: 9999px;
7517
+ overflow: hidden;
7518
+ }
7519
+ .skill-bar-fill {
7520
+ height: 100%;
7521
+ background: linear-gradient(90deg, #f7bf04, #fcd34d);
7522
+ border-radius: 9999px;
7523
+ width: 0;
7524
+ transition: width 1.4s cubic-bezier(0.25, 0.8, 0.25, 1);
7525
+ }
7526
+ .skill-bar-fill-blue { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
7527
+ .skill-bar-fill-purple { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
7528
+ .skill-bar-fill-green { background: linear-gradient(90deg, #22c55e, #4ade80); }
7529
+ .skill-bar-fill-pink { background: linear-gradient(90deg, #ec4899, #f472b6); }
7530
+ .skill-bar-fill-cyan { background: linear-gradient(90deg, #06b6d4, #22d3ee); }
7531
+
7532
+ /* ── Amber gradient text ── */
7533
+ .text-gradient-amber-to-yellow {
7534
+ background-image: linear-gradient(135deg, #f7bf04, #fcd34d);
7535
+ -webkit-background-clip: text;
7536
+ background-clip: text;
7537
+ -webkit-text-fill-color: transparent;
7538
+ color: transparent;
7539
+ }
7540
+
7541
+ /* ── Progress bar amber variant ── */
7542
+ .progress-bar-amber { background: linear-gradient(90deg, #f7bf04, #fcd34d); }
7543
+
7544
+ /* ── Section badge ── */
7545
+ .section-badge {
7546
+ display: inline-flex;
7547
+ align-items: center;
7548
+ gap: 6px;
7549
+ padding: 4px 14px;
7550
+ border-radius: 9999px;
7551
+ border: 1px solid rgba(247,191,4,0.35);
7552
+ background: rgba(247,191,4,0.08);
7553
+ font-size: 11px;
7554
+ font-weight: 700;
7555
+ color: #f7bf04;
7556
+ letter-spacing: 0.1em;
7557
+ text-transform: uppercase;
7558
+ }
7559
+
7560
+ /* ── Mobile nav overlay ── */
7561
+ .mobile-menu-overlay {
7562
+ position: fixed;
7563
+ inset: 0;
7564
+ background: rgba(8, 8, 14, 0.97);
7565
+ z-index: 200;
7566
+ display: none;
7567
+ flex-direction: column;
7568
+ align-items: center;
7569
+ justify-content: center;
7570
+ gap: 6px;
7571
+ backdrop-filter: blur(20px);
7572
+ -webkit-backdrop-filter: blur(20px);
7573
+ }
7574
+ .mobile-menu-overlay.open {
7575
+ display: flex;
7576
+ animation: santy-fade-in 0.2s ease both;
7577
+ }
7578
+ .mobile-nav-link {
7579
+ display: flex;
7580
+ align-items: center;
7581
+ gap: 16px;
7582
+ font-size: 24px;
7583
+ font-weight: 700;
7584
+ color: rgba(255,255,255,0.55);
7585
+ text-decoration: none;
7586
+ padding: 12px 40px;
7587
+ border-radius: 14px;
7588
+ transition: color 0.2s ease, background 0.2s ease;
7589
+ width: 100%;
7590
+ max-width: 320px;
7591
+ }
7592
+ .mobile-nav-link:hover,
7593
+ .mobile-nav-link.nav-dot-active { color: #f7bf04; background: rgba(247,191,4,0.08); }
7594
+
7595
+ /* ── Portfolio hamburger button ── */
7596
+ .portfolio-hamburger {
7597
+ position: fixed;
7598
+ top: 20px;
7599
+ right: 20px;
7600
+ z-index: 300;
7601
+ width: 44px;
7602
+ height: 44px;
7603
+ border-radius: 10px;
7604
+ background: rgba(255,255,255,0.07);
7605
+ backdrop-filter: blur(8px);
7606
+ -webkit-backdrop-filter: blur(8px);
7607
+ border: 1px solid rgba(255,255,255,0.12);
7608
+ cursor: pointer;
7609
+ display: none;
7610
+ align-items: center;
7611
+ justify-content: center;
7612
+ color: #fff;
7613
+ transition: background 0.2s, border-color 0.2s;
7614
+ }
7615
+ .portfolio-hamburger:hover { background: rgba(247,191,4,0.15); border-color: rgba(247,191,4,0.4); }
7616
+ @media (max-width: 767px) { .portfolio-hamburger { display: flex; } }
7617
+
7618
+ /* ═══════════════════════════════════════════════════════════════════════
7619
+ PORTFOLIO CV SIDEBAR TEMPLATE COMPONENTS (Added v2.4.9)
7620
+ ═══════════════════════════════════════════════════════════════════════ */
7621
+
7622
+ /* ── Brand cyan accent ── */
7623
+ .color-brand-cyan { color: #0099e5; }
7624
+ .background-brand-cyan { background-color: #0099e5; }
7625
+ .border-color-brand-cyan { border-color: #0099e5; }
7626
+ .background-brand-cyan-soft { background-color: rgba(0,153,229,0.08); }
7627
+ .background-brand-cyan-10 { background-color: rgba(0,153,229,0.10); }
7628
+
7629
+ /* ── CV sidebar fixed-left layout ── */
7630
+ .cv-sidebar {
7631
+ position: fixed; top: 0; left: 0; width: 220px; height: 100vh;
7632
+ overflow-y: auto; display: flex; flex-direction: column;
7633
+ z-index: 100; background: #1c1c1e; border-right: 1px solid #252525;
7634
+ scrollbar-width: none;
7635
+ }
7636
+ .cv-sidebar::-webkit-scrollbar { display: none; }
7637
+ .cv-main { margin-left: 220px; background: #0f0f0f; min-height: 100vh; }
7638
+ @media (max-width: 900px) {
7639
+ .cv-sidebar { transform: translateX(-100%); transition: transform 0.3s ease; }
7640
+ .cv-sidebar.cv-sidebar-open { transform: translateX(0); box-shadow: 4px 0 32px rgba(0,0,0,0.7); }
7641
+ .cv-main { margin-left: 0; }
7642
+ }
7643
+
7644
+ /* ── Sidebar nav links ── */
7645
+ .cv-nav-link {
7646
+ display: flex; align-items: center; gap: 10px; padding: 11px 22px;
7647
+ font-size: 13px; font-weight: 600; color: #777; text-decoration: none;
7648
+ border-left: 3px solid transparent; transition: all 0.2s; letter-spacing: 0.02em;
7649
+ }
7650
+ .cv-nav-link:hover, .cv-nav-link.cv-nav-active {
7651
+ color: #0099e5; border-left-color: #0099e5; background: rgba(0,153,229,0.07);
7652
+ }
7653
+
7654
+ /* ── Section wrapper ── */
7655
+ .cv-section { padding: 64px 56px; }
7656
+ .cv-section-alt { background: #161616; }
7657
+ @media (max-width: 700px) { .cv-section { padding: 40px 22px; } }
7658
+ .cv-section-label { font-size: 11px; font-weight: 700; color: #0099e5; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 6px; }
7659
+ .cv-section-title { font-size: 30px; font-weight: 800; color: #f0f0f0; margin: 0 0 8px; }
7660
+ .cv-section-divider { width: 36px; height: 3px; background: #0099e5; border-radius: 2px; margin-bottom: 36px; }
7661
+
7662
+ /* ── Dark timeline variant ── */
7663
+ .timeline-dark .timeline-item:not(:last-child) .timeline-dot::after { background-color: #252525; }
7664
+ .timeline-dot-cyan { background-color: #0099e5; box-shadow: 0 0 0 2px rgba(0,153,229,0.25); color: #fff; }
7665
+ .timeline-dot-zinc { background-color: #3f3f46; box-shadow: 0 0 0 2px #27272a; color: #a1a1aa; }
7666
+
7667
+ /* ── Skill bar (dark) ── */
7668
+ .skill-bar-dark { width: 100%; height: 4px; background: #252525; border-radius: 9999px; overflow: hidden; }
7669
+ .skill-bar-dark-fill { height: 100%; background: #0099e5; border-radius: 9999px; width: 0; transition: width 1.4s cubic-bezier(0.25,0.8,0.25,1); }
7670
+
7671
+ /* ── Fun fact card ── */
7672
+ .fun-fact-card { background: #1c1c1e; border: 1px solid #252525; border-radius: 14px; padding: 28px 16px; text-align: center; transition: border-color 0.2s, transform 0.2s; }
7673
+ .fun-fact-card:hover { border-color: #0099e5; transform: translateY(-4px); }
7674
+ .fun-fact-number { font-size: 44px; font-weight: 900; color: #0099e5; line-height: 1; }
7675
+ .fun-fact-suffix { font-size: 28px; font-weight: 900; color: #0099e5; }
7676
+ .fun-fact-label { font-size: 11px; color: #555; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 8px; font-weight: 600; }
7677
+
7678
+ /* ── Portfolio filter ── */
7679
+ .pf-filter-btn { padding: 7px 20px; border-radius: 9999px; font-size: 12px; font-weight: 600; cursor: pointer; border: 1px solid #252525; background: #1c1c1e; color: #666; transition: all 0.2s; font-family: inherit; letter-spacing: 0.02em; }
7680
+ .pf-filter-btn:hover, .pf-filter-btn.pf-active { background: #0099e5; color: #fff; border-color: #0099e5; }
7681
+
7682
+ /* ── Project card (dark) ── */
7683
+ .project-card-dark { background: #1c1c1e; border: 1px solid #252525; border-radius: 14px; overflow: hidden; transition: border-color 0.25s, transform 0.25s; display: flex; flex-direction: column; }
7684
+ .project-card-dark:hover { border-color: #0099e5; transform: translateY(-5px); }
7685
+ .project-thumb-dark { height: 155px; display: flex; align-items: center; justify-content: center; background: #141414; }
7686
+ .project-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
7687
+
7688
+ /* ── Blog card (dark) ── */
7689
+ .blog-card-dark { background: #1c1c1e; border: 1px solid #252525; border-radius: 14px; overflow: hidden; transition: border-color 0.25s, transform 0.25s; display: flex; flex-direction: column; cursor: pointer; }
7690
+ .blog-card-dark:hover { border-color: #0099e5; transform: translateY(-5px); }
7691
+ .blog-thumb-dark { height: 175px; display: flex; align-items: center; justify-content: center; }
7692
+
7693
+ /* ── Service card (dark) ── */
7694
+ .service-card-dark { background: #1c1c1e; border: 1px solid #252525; border-radius: 12px; padding: 26px 22px; transition: border-color 0.2s, transform 0.2s; }
7695
+ .service-card-dark:hover { border-color: #0099e5; transform: translateY(-3px); }
7696
+
7697
+ /* ── Dark inputs ── */
7698
+ .input-dark { width: 100%; background: #1c1c1e; border: 1px solid #252525; border-radius: 8px; padding: 12px 16px; color: #e2e8f0; font-size: 14px; transition: border-color 0.2s; outline: none; font-family: inherit; box-sizing: border-box; }
7699
+ .input-dark:focus { border-color: #0099e5; }
7700
+ .textarea-dark { width: 100%; background: #1c1c1e; border: 1px solid #252525; border-radius: 8px; padding: 12px 16px; color: #e2e8f0; font-size: 14px; transition: border-color 0.2s; outline: none; font-family: inherit; box-sizing: border-box; resize: vertical; min-height: 130px; }
7701
+ .textarea-dark:focus { border-color: #0099e5; }
7702
+
7703
+ /* ── Cyan CTA buttons ── */
7704
+ .btn-cyan { background: #0099e5; color: #fff; border: none; padding: 12px 28px; border-radius: 9999px; font-size: 14px; font-weight: 700; cursor: pointer; transition: background 0.2s, transform 0.15s; font-family: inherit; display: inline-flex; align-items: center; gap: 8px; }
7705
+ .btn-cyan:hover { background: #0087cc; transform: translateY(-2px); }
7706
+ .btn-cyan-outline { background: transparent; color: #0099e5; border: 1.5px solid #0099e5; padding: 11px 26px; border-radius: 9999px; font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.2s; font-family: inherit; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
7707
+ .btn-cyan-outline:hover { background: rgba(0,153,229,0.1); transform: translateY(-2px); }
7708
+
7709
+ /* ── Tag pill (dark) ── */
7710
+ .tag-dark { display: inline-flex; padding: 5px 14px; background: #1c1c1e; border: 1px solid #252525; border-radius: 9999px; font-size: 12px; font-weight: 500; color: #888; transition: all 0.2s; }
7711
+ .tag-dark:hover { border-color: #0099e5; color: #0099e5; }
7712
+
7713
+ /* ── Mobile hamburger & sidebar overlay ── */
7714
+ .cv-hamburger { display: none; position: fixed; top: 14px; left: 14px; z-index: 300; width: 42px; height: 42px; background: #1c1c1e; border: 1px solid #252525; border-radius: 8px; cursor: pointer; align-items: center; justify-content: center; color: #ccc; transition: border-color 0.2s, color 0.2s; }
7715
+ .cv-hamburger:hover { border-color: #0099e5; color: #0099e5; }
7716
+ @media (max-width: 900px) { .cv-hamburger { display: flex; } }
7717
+ .cv-sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.75); z-index: 99; }
7718
+ .cv-sidebar-overlay.cv-overlay-open { display: block; animation: santy-fade-in 0.2s ease; }
7719
+
7720
+ /* ── Testimonial card dark ── */
7721
+ .testimonial-card-dark { background: #1c1c1e; border: 1px solid #252525; border-radius: 14px; padding: 26px 24px; }
7722
+
7723
+ /* ── What I do card ── */
7724
+ .what-i-do-card { background: #1c1c1e; border: 1px solid #252525; border-radius: 12px; padding: 22px; transition: border-color 0.2s, transform 0.2s; }
7725
+ .what-i-do-card:hover { border-color: #0099e5; transform: translateY(-3px); }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "santycss",
3
- "version": "2.4.8",
3
+ "version": "2.5.0",
4
4
  "description": "Plain-English utility-first CSS framework — no build step, just classes",
5
5
  "main": "index.js",
6
6
  "style": "dist/santy.css",