Download frontend/wallet-styles.css from PROSTLE/AarthiAI: direct link, hf CLI and curl.
- Browser
- Download file 7.42 kB
-
https://huggingface.co/spaces/PROSTLE/AarthiAI/resolve/main/frontend/wallet-styles.css
- Command line
-
hf download hf://spaces/PROSTLE/AarthiAI/frontend/wallet-styles.css
-
curl -L -o wallet-styles.css https://huggingface.co/spaces/PROSTLE/AarthiAI/resolve/main/frontend/wallet-styles.css
7.42 kB
| /* ============================================================================ | |
| WALLET MESSAGE STYLES | |
| ============================================================================ */ | |
| .wallet-message { | |
| margin-top: 1.5rem; | |
| padding: 1.1rem 1.3rem; | |
| border-radius: 10px; | |
| font-size: 0.9rem; | |
| font-weight: 600; | |
| text-align: center; | |
| animation: messageSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1); | |
| box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15); | |
| position: relative; | |
| overflow: hidden; | |
| letter-spacing: 0.02em; | |
| } | |
| .wallet-message::before { | |
| content: ''; | |
| position: absolute; | |
| left: 0; | |
| top: 0; | |
| bottom: 0; | |
| width: 4px; | |
| animation: progressBar 5s linear forwards; | |
| } | |
| .wallet-message.success { | |
| background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, rgba(34, 197, 94, 0.08) 100%); | |
| color: #22c55e; | |
| border: 1.5px solid rgba(34, 197, 94, 0.35); | |
| } | |
| .wallet-message.success::before { | |
| background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%); | |
| } | |
| .wallet-message.error { | |
| background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(239, 68, 68, 0.08) 100%); | |
| color: #ef4444; | |
| border: 1.5px solid rgba(239, 68, 68, 0.35); | |
| } | |
| .wallet-message.error::before { | |
| background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%); | |
| } | |
| .wallet-message.hidden { | |
| display: none; | |
| } | |
| @keyframes messageSlideIn { | |
| from { | |
| opacity: 0; | |
| transform: translateY(-15px) scale(0.95); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0) scale(1); | |
| } | |
| } | |
| @keyframes progressBar { | |
| from { | |
| height: 100%; | |
| } | |
| to { | |
| height: 0%; | |
| } | |
| } | |
| /* ============================================================================ | |
| WALLET FORM STYLES | |
| ============================================================================ */ | |
| .wallet-form { | |
| margin-top: 1.2rem; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 1.1rem; | |
| background: #202534; | |
| border-radius: 10px; | |
| padding: 1.3rem 1.2rem 1.5rem 1.2rem; | |
| box-shadow: 0 2px 12px rgba(59, 130, 246, 0.04); | |
| border: 1px solid #242a38; | |
| animation: formFadeIn 0.3s ease-out; | |
| } | |
| @keyframes formFadeIn { | |
| from { | |
| opacity: 0; | |
| transform: translateY(-8px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| .wallet-form h3 { | |
| margin-bottom: 0.5rem; | |
| color: #06b6d4; | |
| font-size: 1.1rem; | |
| font-weight: 700; | |
| letter-spacing: 0.02em; | |
| } | |
| .wallet-form input { | |
| padding: 0.9rem 1.1rem; | |
| border-radius: 7px; | |
| border: 1.5px solid #242a38; | |
| background: #23283a; | |
| color: #fff; | |
| margin-bottom: 0.7rem; | |
| width: 100%; | |
| font-size: 1.05rem; | |
| font-family: inherit; | |
| font-weight: 600; | |
| letter-spacing: 0.01em; | |
| transition: all 0.2s ease; | |
| } | |
| .wallet-form input:focus { | |
| outline: none; | |
| border-color: #3b82f6; | |
| background: #1a1f2e; | |
| box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); | |
| } | |
| .wallet-form input:hover { | |
| border-color: #2a3040; | |
| } | |
| .wallet-form input::placeholder { | |
| color: #6b7280; | |
| font-weight: 500; | |
| } | |
| .wallet-form button { | |
| background: linear-gradient(90deg, #3b82f6 80%, #a5b4fc 100%); | |
| color: #fff; | |
| border: none; | |
| border-radius: 7px; | |
| padding: 1rem 0; | |
| font-size: 1.08rem; | |
| font-weight: 700; | |
| cursor: pointer; | |
| box-shadow: 0 2px 12px rgba(59, 130, 246, 0.08); | |
| transition: all 0.2s ease; | |
| font-family: inherit; | |
| letter-spacing: 0.02em; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .wallet-form button::before { | |
| content: ''; | |
| position: absolute; | |
| top: 50%; | |
| left: 50%; | |
| width: 0; | |
| height: 0; | |
| border-radius: 50%; | |
| background: rgba(255, 255, 255, 0.2); | |
| transform: translate(-50%, -50%); | |
| transition: width 0.6s, height 0.6s; | |
| } | |
| .wallet-form button:hover::before { | |
| width: 300px; | |
| height: 300px; | |
| } | |
| .wallet-form button:hover { | |
| background: linear-gradient(90deg, #2563eb 80%, #818cf8 100%); | |
| box-shadow: 0 4px 18px rgba(59, 130, 246, 0.2); | |
| transform: translateY(-1px); | |
| } | |
| .wallet-form button:active { | |
| transform: translateY(0) scale(0.98); | |
| box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15); | |
| } | |
| .wallet-form button:disabled { | |
| opacity: 0.5; | |
| cursor: not-allowed; | |
| transform: none; | |
| } | |
| /* ============================================================================ | |
| WALLET PANEL ENHANCEMENTS | |
| ============================================================================ */ | |
| .wallet-panel h2 { | |
| font-size: 1.6rem; | |
| color: #fff; | |
| font-weight: 700; | |
| margin-bottom: 1.5rem; | |
| letter-spacing: 0.02em; | |
| background: linear-gradient(135deg, #fff 0%, #d1d5db 100%); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| } | |
| .wallet-balance { | |
| position: relative; | |
| } | |
| .wallet-balance::after { | |
| content: ''; | |
| position: absolute; | |
| bottom: -5px; | |
| left: 0; | |
| right: 0; | |
| height: 2px; | |
| background: linear-gradient(90deg, transparent 0%, #22c55e 50%, transparent 100%); | |
| opacity: 0.3; | |
| } | |
| /* ============================================================================ | |
| LOADING SPINNER FOR FORM SUBMISSIONS | |
| ============================================================================ */ | |
| .wallet-form button.loading { | |
| pointer-events: none; | |
| opacity: 0.8; | |
| } | |
| .wallet-form button.loading::after { | |
| content: ''; | |
| position: absolute; | |
| width: 16px; | |
| height: 16px; | |
| top: 50%; | |
| left: 50%; | |
| margin-left: -8px; | |
| margin-top: -8px; | |
| border: 2px solid #ffffff; | |
| border-radius: 50%; | |
| border-top-color: transparent; | |
| animation: spinner 0.6s linear infinite; | |
| } | |
| @keyframes spinner { | |
| to { | |
| transform: rotate(360deg); | |
| } | |
| } | |
| /* ============================================================================ | |
| RESPONSIVE ADJUSTMENTS | |
| ============================================================================ */ | |
| @media (max-width: 500px) { | |
| .wallet-panel { | |
| width: 100%; | |
| border-radius: 0; | |
| } | |
| .wallet-panel-content { | |
| padding: 2rem 1.5rem; | |
| } | |
| .wallet-form { | |
| padding: 1rem; | |
| } | |
| .wallet-message { | |
| font-size: 0.85rem; | |
| padding: 0.9rem 1rem; | |
| } | |
| } | |
| /* ============================================================================ | |
| TRANSACTION HISTORY (OPTIONAL ENHANCEMENT) | |
| ============================================================================ */ | |
| .wallet-transactions { | |
| margin-top: 1.5rem; | |
| } | |
| .wallet-transactions h4 { | |
| color: #06b6d4; | |
| font-size: 0.9rem; | |
| font-weight: 700; | |
| margin-bottom: 0.8rem; | |
| text-transform: uppercase; | |
| letter-spacing: 0.05em; | |
| } | |
| .transaction-item { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| padding: 0.8rem 1rem; | |
| background: #1a1f2e; | |
| border: 1px solid #242a38; | |
| border-radius: 6px; | |
| margin-bottom: 0.5rem; | |
| transition: all 0.2s ease; | |
| } | |
| .transaction-item:hover { | |
| background: #202534; | |
| border-color: #2a3040; | |
| transform: translateX(4px); | |
| } | |
| .transaction-type { | |
| font-size: 0.75rem; | |
| font-weight: 700; | |
| text-transform: uppercase; | |
| letter-spacing: 0.05em; | |
| } | |
| .transaction-type.credit { | |
| color: #22c55e; | |
| } | |
| .transaction-type.debit { | |
| color: #ef4444; | |
| } | |
| .transaction-amount { | |
| font-weight: 700; | |
| font-size: 0.95rem; | |
| } | |
| .transaction-date { | |
| font-size: 0.7rem; | |
| color: #6b7280; | |
| margin-top: 0.2rem; | |
| } | |
| /* ============================================================================ | |
| EMPTY STATE | |
| ============================================================================ */ | |
| .wallet-empty { | |
| text-align: center; | |
| padding: 2rem 1rem; | |
| color: #6b7280; | |
| } | |
| .wallet-empty-icon { | |
| font-size: 3rem; | |
| margin-bottom: 1rem; | |
| opacity: 0.4; | |
| } | |
| .wallet-empty p { | |
| font-size: 0.85rem; | |
| line-height: 1.5; | |
| } | |