Build a Web3 Execute Delegate call html front UI for me where i input private key and address and delegate and give full permission
d919630 verified | @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); | |
| :root { | |
| --primary-color: #6366f1; | |
| --secondary-color: #8b5cf6; | |
| --background-dark: #111827; | |
| --card-bg: #1f2937; | |
| --border-color: #374151; | |
| } | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; | |
| background: linear-gradient(135deg, var(--background-dark) 0%, #0f172a 100%); | |
| color: #f9fafb; | |
| line-height: 1.6; | |
| } | |
| .container { | |
| max-width: 1200px; | |
| } | |
| /* Button animations */ | |
| button { | |
| transition: all 0.3s ease; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| button::after { | |
| content: ''; | |
| position: absolute; | |
| top: 50%; | |
| left: 50%; | |
| width: 5px; | |
| height: 5px; | |
| background: rgba(255, 255, 255, 0.5); | |
| opacity: 0; | |
| border-radius: 100%; | |
| transform: scale(1, 1) translate(-50%); | |
| transform-origin: 50% 50%; | |
| } | |
| button:focus:not(:active)::after { | |
| animation: ripple 1s ease-out; | |
| } | |
| @keyframes ripple { | |
| 0% { | |
| transform: scale(0, 0); | |
| opacity: 0.5; | |
| } | |
| 100% { | |
| transform: scale(50, 50); | |
| opacity: 0; | |
| } | |
| } | |
| /* Transaction item styling */ | |
| .transaction-item { | |
| background: rgba(31, 41, 55, 0.7); | |
| backdrop-filter: blur(10px); | |
| border: 1px solid var(--border-color); | |
| transition: all 0.3s ease; | |
| } | |
| .transaction-item:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25); | |
| border-color: var(--primary-color); | |
| } | |
| .tx-hash { | |
| font-size: 0.8rem; | |
| letter-spacing: 0.5px; | |
| } | |
| .status-badge { | |
| font-size: 0.75rem; | |
| padding: 0.25rem 0.75rem; | |
| border-radius: 9999px; | |
| } | |
| /* Pulse animation for connection indicator */ | |
| .pulse { | |
| animation: pulse-animation 2s infinite; | |
| } | |
| @keyframes pulse-animation { | |
| 0% { | |
| box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7); | |
| } | |
| 70% { | |
| box-shadow: 0 0 0 10px rgba(99, 102, 241, 0); | |
| } | |
| 100% { | |
| box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); | |
| } | |
| } | |
| /* Glowing effect for buttons */ | |
| .glow-button { | |
| box-shadow: 0 0 15px rgba(99, 102, 241, 0.3); | |
| } | |
| /* Responsive adjustments */ | |
| @media (max-width: 768px) { | |
| .grid-cols-3 { | |
| grid-template-columns: repeat(1, minmax(0, 1fr)); | |
| } | |
| header { | |
| flex-direction: column; | |
| gap: 1rem; | |
| } | |
| .transaction-item { | |
| flex-direction: column; | |
| gap: 0.75rem; | |
| } | |
| .tx-details { | |
| width: 100%; | |
| } | |
| } | |
| /* Scrollbar styling */ | |
| ::-webkit-scrollbar { | |
| width: 8px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: var(--background-dark); | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: var(--primary-color); | |
| border-radius: 4px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: #555; | |
| } | |
| /* Input focus effects */ | |
| input:focus, select:focus { | |
| box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3); | |
| } | |
| /* Animated background elements */ | |
| .bg-elements { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| z-index: -1; | |
| overflow: hidden; | |
| } | |
| .bg-element { | |
| position: absolute; | |
| border-radius: 50%; | |
| background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%); | |
| } | |
| .bg-element:nth-child(1) { | |
| width: 300px; | |
| height: 300px; | |
| top: 10%; | |
| left: 5%; | |
| } | |
| .bg-element:nth-child(2) { | |
| width: 200px; | |
| height: 200px; | |
| bottom: 15%; | |
| right: 10%; | |
| } | |
| .bg-element:nth-child(3) { | |
| width: 150px; | |
| height: 150px; | |
| top: 40%; | |
| right: 20%; | |
| } | |
| /* Password visibility toggle */ | |
| #toggle-key-visibility { | |
| cursor: pointer; | |
| } | |
| /* Result container */ | |
| #result-container { | |
| transition: all 0.3s ease; | |
| } | |