Changeset 3785341
- Timestamp:
- 11/05/2026 06:44:05 AM (3 weeks ago)
- File:
-
- 1 edited
-
erdo-draft-links/assets/icon.svg (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
erdo-draft-links/assets/icon.svg
r3784241 r3785341 47 47 </defs> 48 48 49 <!-- Animation (runs inside <img> too). One 4s loop: the draft lifts, the 50 arrow sends it, the link glows and the padlock clicks shut. --> 51 <style> 52 .anim { transform-box: fill-box; transform-origin: center; animation-duration: 4s; animation-iteration-count: infinite; animation-timing-function: cubic-bezier(.45,0,.25,1); } 53 .doc-back { animation-name: docBack; } 54 .doc-front { animation-name: docFront; } 55 .arrow { animation-name: arrow; } 56 .glow { animation-name: glow; } 57 .chain { animation-name: chain; } 58 .shackle { animation-name: shackle; } 59 .lock { animation-name: lock; transform-origin: 50% 100%; } 60 61 @keyframes docBack { 0%, 100% { transform: translate(0, 0); } 30%, 60% { transform: translate(3px, -2px); } } 62 @keyframes docFront { 0%, 100% { transform: translate(0, 0); } 30%, 60% { transform: translate(-2px, -4px); } } 63 @keyframes arrow { 64 0%, 22% { transform: translate(0, 0) scale(1); } 65 38% { transform: translate(6px, -6px) scale(1.04); } 66 52% { transform: translate(-1px, 1px) scale(.99); } 67 62%, 100%{ transform: translate(0, 0) scale(1); } 68 } 69 @keyframes glow { 0%, 35% { opacity: .55; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.15); } 75%, 100% { opacity: .55; transform: scale(.85); } } 70 @keyframes chain { 0%, 38% { transform: scale(1); } 46% { transform: scale(1.08); } 56%, 100% { transform: scale(1); } } 71 @keyframes shackle { 0%, 55% { transform: translateY(-4px); } 66% { transform: translateY(.6px); } 70%, 92% { transform: translateY(0); } 100% { transform: translateY(-4px); } } 72 @keyframes lock { 0%, 64% { transform: scale(1); } 68% { transform: scale(1.12, .9); } 74% { transform: scale(.97, 1.04); } 80%, 100% { transform: scale(1); } } 73 74 @media (prefers-reduced-motion: reduce) { .anim { animation: none; } } 75 </style> 76 49 77 <!-- Background tile --> 50 78 <rect width="256" height="256" fill="url(#bg)"/> … … 56 84 57 85 <!-- Back document --> 58 <rect x="87" y="68" width="83" height="126" rx="6" fill="url(#docBack)" filter="url(#softShadow)"/> 86 <g class="anim doc-back"> 87 <rect x="87" y="68" width="83" height="126" rx="6" fill="url(#docBack)" filter="url(#softShadow)"/> 88 </g> 59 89 60 90 <!-- Front document with folded top-right corner and curled bottom-right corner --> 61 <g filter="url(#softShadow)">91 <g class="anim doc-front"><g filter="url(#softShadow)"> 62 92 <path d="M83 55 H144 L165 76 V150 H160 Q150 150 150 160 V184 H83 a6 6 0 0 1 -6 -6 V61 a6 6 0 0 1 6 -6 Z" fill="url(#docFront)"/> 63 93 <path d="M144 55 L165 76 H151 a7 7 0 0 1 -7 -7 Z" fill="url(#fold)"/> 64 94 <path d="M150 184 V160 Q150 150 160 150 H173 Q168 170 150 184 Z" fill="url(#fold)"/> 65 </g> 95 </g></g> 66 96 67 97 <!-- Swoosh arrow --> 68 <g filter="url(#shadow)">98 <g class="anim arrow"><g filter="url(#shadow)"> 69 99 <path d="M71 117 70 100 C 55 129, 54 156, 84 159 … … 73 103 C 116 127, 99 138, 84 140 74 104 C 70 142, 63 131, 71 117 Z" fill="url(#white)"/> 75 </g> 105 </g></g> 76 106 77 107 <!-- Chain glow --> 78 <circle c x="190" cy="76" r="34" fill="url(#glow)"/>108 <circle class="anim glow" cx="190" cy="76" r="34" fill="url(#glow)"/> 79 109 80 110 <!-- Chain: two interlocked links on a diagonal --> 81 <g transform="translate(184 78) rotate(-42)" filter="url(#softShadow)">111 <g class="anim chain"><g transform="translate(184 78) rotate(-42)" filter="url(#softShadow)"> 82 112 <clipPath id="crossing"><circle cx="0" cy="7.5" r="7"/></clipPath> 83 113 <g fill="none" stroke="#f4f7fb" stroke-width="8"> … … 87 117 <rect x="-31" y="-11" width="34" height="22" rx="11" clip-path="url(#crossing)"/> 88 118 </g> 89 </g> 119 </g></g> 90 120 91 <!-- Padlock -->92 <g filter="url(#softShadow)">93 <path d="M211.5 46 V41.5 a6.5 6.5 0 0 1 13 0 V46" fill="none" stroke="url(#white)" stroke-width="3.2"/>121 <!-- Padlock: the shackle drops in and the body squashes on the "click" --> 122 <g class="anim lock"><g filter="url(#softShadow)"> 123 <path class="anim shackle" d="M211.5 46 V41.5 a6.5 6.5 0 0 1 13 0 V46" fill="none" stroke="url(#white)" stroke-width="3.2"/> 94 124 <rect x="207.5" y="45" width="21" height="15.5" rx="3" fill="url(#white)"/> 95 125 <circle cx="218" cy="51" r="2.3" fill="#1b2b4a"/> 96 126 <rect x="217" y="52" width="2" height="4.5" rx="1" fill="#1b2b4a"/> 97 </g> 127 </g></g> 98 128 </svg>
Note:
See TracChangeset
for help on using the changeset viewer.