UNPKG

gogo-movement-starter

Version:

GOGO Movement Network React Starter Template - Complete React + Vite + Move contracts setup

203 lines (174 loc) 3.82 kB
.movement-demo { margin: 2rem auto; padding: 2rem; border: 1px solid rgba(234, 200, 43, 0.3); border-radius: 16px; background: rgba(255, 255, 255, 0.02); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); } .movement-demo-header { margin-bottom: 2rem; text-align: center; } .movement-demo-title { font-size: 2.5rem; font-weight: 700; background: linear-gradient(45deg, #fffc41, #ff6dec, #19dc99); background-size: 200% 200%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 0.5rem; animation: gradient-shift 3s ease infinite; } .movement-demo-subtitle { color: #a0a0a0; font-size: 1.1rem; margin: 0; } .network-info { margin-bottom: 2rem; padding: 1.5rem; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(234, 200, 43, 0.2); border-radius: 12px; } .network-info h3 { color: #fff; margin-bottom: 1rem; font-size: 1.3rem; font-weight: 600; } .network-info p { color: #a0a0a0; margin: 0.5rem 0; font-size: 0.9rem; } .network-info strong { color: #eac82b; } .operations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; } .operation-card { padding: 1.5rem; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(234, 200, 43, 0.2); border-radius: 12px; transition: all 0.3s ease; } .operation-card:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(234, 200, 43, 0.4); transform: translateY(-2px); } .operation-card h4 { color: #fff; margin-bottom: 1rem; font-size: 1.1rem; font-weight: 600; } .operation-button { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 13px; height: 40px; min-width: 0; font-weight: 600; font-size: 14px; color: #fff; overflow: hidden; transition: all 0.3s ease; border: 2px solid #eac82b; background: none; cursor: pointer; outline: none; font-family: inherit; } .operation-button:hover { background: rgba(234, 200, 43, 0.1); border-color: #eac82b; transform: translateY(-1px); } .operation-button:disabled { opacity: 0.6; cursor: not-allowed; transform: none; } .operation-result { margin-top: 1rem; padding: 0.75rem; border-radius: 8px; font-size: 0.9rem; line-height: 1.4; } .operation-result.success { background: rgba(76, 175, 80, 0.1); color: #4caf50; border: 1px solid rgba(76, 175, 80, 0.3); } .operation-result.info { background: rgba(33, 150, 243, 0.1); color: #2196f3; border: 1px solid rgba(33, 150, 243, 0.3); } .operation-result.error { background: rgba(244, 67, 54, 0.1); color: #f44336; border: 1px solid rgba(244, 67, 54, 0.3); } .connect-prompt { text-align: center; padding: 3rem 2rem; color: #a0a0a0; font-size: 1.1rem; } .connect-prompt-icon { font-size: 2rem; margin-bottom: 1rem; display: block; } @keyframes gradient-shift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } } /* Responsive Design */ @media (max-width: 768px) { .movement-demo { margin: 1rem; padding: 1.5rem; } .movement-demo-title { font-size: 2rem; } .operations-grid { grid-template-columns: 1fr; gap: 1rem; } .operation-card { padding: 1.25rem; } } @media (max-width: 480px) { .movement-demo { margin: 0.5rem; padding: 1rem; } .movement-demo-title { font-size: 1.75rem; } .operation-button { padding: 0.6rem 1.2rem; font-size: 0.85rem; } }